Interface ProductOrBuilder (0.45.0)

public interface ProductOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetReferences(int index)

public abstract AssetReference getAssetReferences(int index)

Output only. A collection of assets referred by a product. This field is set for Terraform Products only.

repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AssetReference

getAssetReferencesCount()

public abstract int getAssetReferencesCount()

Output only. A collection of assets referred by a product. This field is set for Terraform Products only.

repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAssetReferencesList()

public abstract List<AssetReference> getAssetReferencesList()

Output only. A collection of assets referred by a product. This field is set for Terraform Products only.

repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AssetReference>

getAssetReferencesOrBuilder(int index)

public abstract AssetReferenceOrBuilder getAssetReferencesOrBuilder(int index)

Output only. A collection of assets referred by a product. This field is set for Terraform Products only.

repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AssetReferenceOrBuilder

getAssetReferencesOrBuilderList()

public abstract List<? extends AssetReferenceOrBuilder> getAssetReferencesOrBuilderList()

Output only. A collection of assets referred by a product. This field is set for Terraform Products only.

repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.privatecatalog.v1beta1.AssetReferenceOrBuilder>

getAssetType()

public abstract String getAssetType()

Output only. The type of the product asset. It can be one of the following values:

  • google.deploymentmanager.Template
  • google.cloudprivatecatalog.ListingOnly
  • google.cloudprivatecatalog.Terraform

string asset_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The assetType.

getAssetTypeBytes()

public abstract ByteString getAssetTypeBytes()

Output only. The type of the product asset. It can be one of the following values:

  • google.deploymentmanager.Template
  • google.cloudprivatecatalog.ListingOnly
  • google.cloudprivatecatalog.Terraform

string asset_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for assetType.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when the product was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the product was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDisplayMetadata()

public abstract Struct getDisplayMetadata()

Required. Output only. The display metadata to describe the product. The JSON schema of the metadata differs by Product.asset_type. When the type is google.deploymentmanager.Template, the schema is as follows:

` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:

  • name
  • description additionalProperties: false

When the asset type is google.cloudprivatecatalog.ListingOnly, the schema is as follows:

"$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 signup_url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" required:

  • name
  • description
  • signup_url additionalProperties: false

  • When the asset type is google.cloudprivatecatalog.Terraform, the schema is as follows:

    `` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:

  • name
  • description additionalProperties: true
  • .google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    Struct

    The displayMetadata.

    getDisplayMetadataOrBuilder()

    public abstract StructOrBuilder getDisplayMetadataOrBuilder()

    Required. Output only. The display metadata to describe the product. The JSON schema of the metadata differs by Product.asset_type. When the type is google.deploymentmanager.Template, the schema is as follows:

    ` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:

    • name
    • description additionalProperties: false

    When the asset type is google.cloudprivatecatalog.ListingOnly, the schema is as follows:

    "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 signup_url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" required:

  • name
  • description
  • signup_url additionalProperties: false

  • When the asset type is google.cloudprivatecatalog.Terraform, the schema is as follows:

    `` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:

  • name
  • description additionalProperties: true
  • .google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    StructOrBuilder

    getIconUri()

    public abstract String getIconUri()

    Output only. The icon URI of the product.

    string icon_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    String

    The iconUri.

    getIconUriBytes()

    public abstract ByteString getIconUriBytes()

    Output only. The icon URI of the product.

    string icon_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    ByteString

    The bytes for iconUri.

    getName()

    public abstract String getName()

    Output only. The resource name of the target product, in the format of `products/a-z*[a-z0-9]'.

    A unique identifier for the product under a catalog.

    string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    String

    The name.

    getNameBytes()

    public abstract ByteString getNameBytes()

    Output only. The resource name of the target product, in the format of `products/a-z*[a-z0-9]'.

    A unique identifier for the product under a catalog.

    string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    ByteString

    The bytes for name.

    getUpdateTime()

    public abstract Timestamp getUpdateTime()

    Output only. The time when the product was last updated.

    .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    Timestamp

    The updateTime.

    getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

    Output only. The time when the product was last updated.

    .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    TimestampOrBuilder

    hasCreateTime()

    public abstract boolean hasCreateTime()

    Output only. The time when the product was created.

    .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    boolean

    Whether the createTime field is set.

    hasDisplayMetadata()

    public abstract boolean hasDisplayMetadata()

    Required. Output only. The display metadata to describe the product. The JSON schema of the metadata differs by Product.asset_type. When the type is google.deploymentmanager.Template, the schema is as follows:

    ` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:

    • name
    • description additionalProperties: false

    When the asset type is google.cloudprivatecatalog.ListingOnly, the schema is as follows:

    "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 signup_url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" required:

  • name
  • description
  • signup_url additionalProperties: false

  • When the asset type is google.cloudprivatecatalog.Terraform, the schema is as follows:

    `` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:

  • name
  • description additionalProperties: true
  • .google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    boolean

    Whether the displayMetadata field is set.

    hasUpdateTime()

    public abstract boolean hasUpdateTime()

    Output only. The time when the product was last updated.

    .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

    Returns
    Type Description
    boolean

    Whether the updateTime field is set.