REST Resource: projects.locations.assets

Resource: EarthEngineAsset

Information about an Earth Engine asset.

JSON representation
{
  "type": enum (Type),
  "name": string,
  "id": string,
  "updateTime": string,
  "title": string,
  "description": string,
  "properties": {
    object
  },
  "startTime": string,
  "endTime": string,
  "geometry": {
    object
  },
  "bands": [
    {
      object (ImageBand)
    }
  ],
  "sizeBytes": string,
  "featureCount": string,
  "quota": {
    object (FolderQuota)
  },
  "tilesets": [
    {
      object (Tileset)
    }
  ],

  // Union field location can be only one of the following:
  "cloudStorageLocation": {
    object (CloudStorageLocation)
  },
  "gcsLocation": {
    object (GcsLocation)
  },
  "featureViewAssetLocation": {
    object (FeatureViewLocation)
  }
  // End of list of possible types for union field location.
}
Fields
type

enum (Type)

The type of the asset.

name

string

The name of the asset. name is of the format "projects/*/assets/**" (e.g. "projects/earthengine-legacy/assets/users//").

id

string

The ID of the asset. Equivalent to name without the "projects/*/assets/" prefix (e.g. "users//"). Note that this is intended for display purposes only. It should not be used as an input to another operation. Use name instead.

updateTime

string (Timestamp format)

The last-modified time of the asset.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

title
(deprecated)

string

The title of the asset.

description
(deprecated)

string

The description of the asset.

properties

object (Struct format)

Key/value properties associated with the asset.

startTime

string (Timestamp format)

The timestamp associated with the asset, if any, e.g. the time at which a satellite image was taken. For assets that correspond to an interval of time, such as average values over a month or year, this timestamp corresponds to the start of that interval.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

For assets that correspond to an interval of time, such as average values over a month or year, this timestamp corresponds to the end of that interval (exclusive).

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

geometry

object (Struct format)

The spatial footprint associated with the asset, if any, as a GeoJSON geometry object (see RFC 7946).

bands[]

object (ImageBand)

Information about the data bands of the image asset. Omitted for non-image assets.

sizeBytes

string (int64 format)

The size of a leaf asset (e.g. an image) in bytes.

featureCount

string (int64 format)

The number of features in the asset, if applicable.

quota

object (FolderQuota)

The quota information associated with the folder asset, if any. Returned for top-level user-owned folder assets (e.g. "users/*" or "projects/*").

tilesets[]

object (Tileset)

The tilesets backing this image. Only present for external images, whose pixels are retrieved from storage not owned by Earth Engine.

Union field location. Information about where and how the raster tiles are stored. location can be only one of the following:
cloudStorageLocation

object (CloudStorageLocation)

The location of this asset on Cloud Storage. For VCOGs (Virtual Cloud Optimized GeoTIFFs).

gcsLocation
(deprecated)

object (GcsLocation)

The location of this asset on Cloud Storage.

featureViewAssetLocation

object (FeatureViewLocation)

The location of this FeatureView in EE.

Methods

create

Creates an asset.