Class GoogleCloudPrivatecatalogproducerV1beta1Product
The producer representation of a product which is a child resource of Catalog
with display metadata
and a list of Version
resources.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data
Assembly: Google.Apis.CloudPrivateCatalogProducer.v1beta1.dll
Syntax
public class GoogleCloudPrivatecatalogproducerV1beta1Product : IDirectResponseSchema
Properties
AssetType
Required. The type of the product asset, which cannot be changed after the product is created. It
supports the values google.deploymentmanager.Template
and google.cloudprivatecatalog.ListingOnly
. Other
values will be rejected by the server. Read only after creation.
The following fields or resource types have different validation rules under each asset_type
values:
- Product.display_metadata has different validation schema for each asset type value. See its comment for
details. * Version resource isn't allowed to be added under the
google.cloudprivatecatalog.ListingOnly
type.
Declaration
[JsonProperty("assetType")]
public virtual string AssetType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreateTime
Output only. The time when the product was created.
Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
DisplayMetadata
Declaration
[JsonProperty("displayMetadata")]
public virtual IDictionary<string, object> DisplayMetadata { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IconUri
Output only. The public accessible URI of the icon uploaded by PrivateCatalogProducer.UploadIcon.
If no icon is uploaded, it will be the default icon's URI.
Declaration
[JsonProperty("iconUri")]
public virtual string IconUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Required. The resource name of the product in the format `catalogs/{catalog_id}/products/a-z*[a-z0-9]'.
A unique identifier for the product under a catalog, which cannot be changed after the product is created. The final segment of the name must between 1 and 256 characters in length.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UpdateTime
Output only. The time when the product was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Object |