REST Resource: projects.locations.assets

Stay organized with collections Save and categorize content based on your preferences.

Resource: EarthEngineAsset

Information about an Earth Engine asset.

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

  // Union field location can be only one of the following:
  "cloudStorageLocation": {
    object (CloudStorageLocation)
  },
  "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".

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/*").

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).

featureViewAssetLocation

object (FeatureViewLocation)

The location of this FeatureView in EE.

Methods

create

Creates an asset.