REST Resource: projects.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,
  "quota": {
    object (FolderQuota)
  }
}
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, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

title

string

The title of the asset.

description

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, accurate to nanoseconds. Example: "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, accurate to nanoseconds. Example: "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.

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

Type

Types of asset.

Enums
TYPE_UNSPECIFIED Unspecified.
IMAGE Image.
IMAGE_COLLECTION Image collection.
TABLE Table.
FOLDER Folder.

ImageBand

Information about a single data band of an image asset.

JSON representation
{
  "id": string,
  "dataType": {
    object (PixelDataType)
  },
  "grid": {
    object (PixelGrid)
  },
  "pyramidingPolicy": enum (PyramidingPolicy),
  "missingData": {
    object (MissingData)
  }
}
Fields
id

string

The ID of the band.

dataType

object (PixelDataType)

The numeric type of the band.

grid

object (PixelGrid)

The pixel grid of the band.

pyramidingPolicy

enum (PyramidingPolicy)

The pyramiding policy of the band.

missingData

object (MissingData)

The value(s) denoting missing data.

PixelDataType

Specifies the numeric type of the pixels in an image band.

JSON representation
{
  "precision": enum (Precision),
  "range": {
    object (DoubleRange)
  },
  "dimensionsCount": number
}
Fields
precision

enum (Precision)

The numeric precision of the type.

range

object (DoubleRange)

The range of the numeric type, if any. Typically absent for floating-point types.

dimensionsCount

number

The number of dimensions in an array-valued data type, or zero to indicate an ordinary scalar type.

Precision

Specifies the precision of a numeric data type.

Enums
PRECISION_UNSPECIFIED Unspecified.
INT The data type has integer precision. Note that this could represent differently sized integers.
FLOAT The data type has 32-bit floating point precision.
DOUBLE The data type has 64-bit floating point (double) precision.

PyramidingPolicy

The algorithm to be used when creating reduced-resolution versions of an image band. By default, the mask is computed as the MEAN of the input masks, reflecting the total weight of the input data over which the requested output statistic was calculated. In the case of SAMPLE, the sampled pixel's mask is used directly.

Enums
PYRAMIDING_POLICY_UNSPECIFIED Not specified.
MEAN Output pixel is the mask-weighted mean of the input pixels. Should be used for direct observation results and continuous quantities like temperature.
SAMPLE Output pixel is identical to the upper-left input pixel. Should be used for QA/bitmask bands or other non-continuous fields like date of pixel acquisition.
MIN Output pixel is the minimum value of the input pixels.
MAX Output pixel is the maximum value of the input pixels.
MODE Output pixel is the mask-weighted mode of the input pixels. Should be used for landcover bands.

MissingData

A list of values which represent no data.

JSON representation
{
  "values": [
    number
  ]
}
Fields
values[]

number

Values which represent no data.

FolderQuota

Describes the current usage and limits of a top-level folder.

JSON representation
{
  "sizeBytes": string,
  "maxSizeBytes": string,
  "assetCount": string,
  "maxAssetCount": string
}
Fields
sizeBytes

string (int64 format)

The size of the folder in bytes.

maxSizeBytes

string (int64 format)

The maximum size of the folder in bytes.

assetCount

string (int64 format)

The number of assets stored in the folder.

maxAssetCount

string (int64 format)

The maximum number of assets that can be stored in the folder.

Methods

copy

Copies an asset.

create

Creates an asset.

delete

Deletes an asset.

get

Gets detailed information about an asset.

getIamPolicy

Gets the access control policy for a resource.

getPixels

Fetches pixels from an image asset.

listAssets

Lists any container asset, such as a folder or collection.

listFeatures

Lists the features in a table asset.

listImages

Lists the images in an image collection asset.

move

Moves an asset.

patch

Updates an asset.
Searches for assets.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.