Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

REST Resource: customers.customerAssets

Resource: CustomerAsset

A link between a customer and an asset.

JSON representation
{
  "resourceName": string,
  "asset": string,
  "fieldType": enum (AssetFieldType),
  "status": enum (AssetLinkStatus)
}
Fields
resourceName

string

Immutable. The resource name of the customer asset. CustomerAsset resource names have the form:

customers/{customerId}/customerAssets/{asset_id}~{fieldType}

asset

string

Required. Immutable. The asset which is linked to the customer.

fieldType

enum (AssetFieldType)

Required. Immutable. Role that the asset takes for the customer link.

status

enum (AssetLinkStatus)

Status of the customer asset.

Methods

get

Returns the requested customer asset in full detail.

mutate

Creates, updates, or removes customer assets.