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.

CustomerAsset

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

A link between a customer and an asset.

JSON representation
{
  "resourceName": string,
  "asset": string,
  "fieldType": enum (AssetFieldType),
  "source": enum (AssetSource),
  "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.

source

enum (AssetSource)

Output only. Source of the customer asset link.

status

enum (AssetLinkStatus)

Status of the customer asset.