Google Cloud Design Center V1 Client - Class CatalogTemplateRevision (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class CatalogTemplateRevision.

Template revisions inside a catalog.

Generated from protobuf message google.cloud.designcenter.v1.CatalogTemplateRevision

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ git_source GitSource

Optional. The git source.

↳ gcs_source_uri string

Optional. Deprecated: Added new field tf_module_gcs_uri. The Cloud Storage URI, which must be in the format gs://[bucket] or gs://[bucket]/[object].

↳ application_template_revision_source string

Optional. The application template revision source.

↳ developer_connect_source_config DeveloperConnectSourceConfig

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

↳ oci_repo OciRepo

Optional. The Open Container Initiative (OCI) repo source that contains helm charts.

↳ name string

Identifier. The catalog template revision name. projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template/revisions/$revision

↳ description string

Optional. The catalog template revision description.

↳ type int

Optional. The Application Design Center application template type.

↳ create_time Google\Protobuf\Timestamp

Output only. The catalog template creation timestamp.

↳ update_time Google\Protobuf\Timestamp

Output only. The catalog template update timestamp.

↳ template_metadata TFBlueprintMetadata

Output only. Template metadata related to Terraform input and output.

↳ state int

Output only. The template state (validating/ready/invalid).

↳ application_template_revision SerializedApplicationTemplate

Output only. The application template revision.

↳ helm_chart_metadata HelmChartMetadata

Output only. The helm chart metadata.

↳ uuid string

Output only. UUID of the template revision.

↳ metadata_input MetadataInput

Optional. Metadata input.

↳ template_category int

Output only. The category of the template.

↳ logical_products array<LogicalProduct>

Output only. The Product Main logical product type information.

↳ annotations array|Google\Protobuf\Internal\MapField

Optional. The annotations of the template revision. Key is the annotation name. Value is the annotation value.

↳ inferred_metadata InferredMetadata

Output only. Metadata that was automatically inferred from the template content. This field can be updated by the system as it gets new information.

↳ resource_types array<ResourceType>

Output only. The resource types present in the template revision.

↳ iac_source int

Output only. Indicates the IaC source format of this catalog template revision.

↳ application_parameters array<Parameter>

Optional. The values provided for the input variables.

getGitSource

Optional. The git source.

Returns
Type Description
GitSource|null

hasGitSource

setGitSource

Optional. The git source.

Parameter
Name Description
var GitSource
Returns
Type Description
$this

getGcsSourceUri

Optional. Deprecated: Added new field tf_module_gcs_uri.

The Cloud Storage URI, which must be in the format gs://[bucket] or gs://[bucket]/[object].

Returns
Type Description
string

hasGcsSourceUri

setGcsSourceUri

Optional. Deprecated: Added new field tf_module_gcs_uri.

The Cloud Storage URI, which must be in the format gs://[bucket] or gs://[bucket]/[object].

Parameter
Name Description
var string
Returns
Type Description
$this

getApplicationTemplateRevisionSource

Optional. The application template revision source.

Returns
Type Description
string

hasApplicationTemplateRevisionSource

setApplicationTemplateRevisionSource

Optional. The application template revision source.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeveloperConnectSourceConfig

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

Returns
Type Description
DeveloperConnectSourceConfig|null

hasDeveloperConnectSourceConfig

setDeveloperConnectSourceConfig

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

Parameter
Name Description
var DeveloperConnectSourceConfig
Returns
Type Description
$this

getOciRepo

Optional. The Open Container Initiative (OCI) repo source that contains helm charts.

Returns
Type Description
OciRepo|null

hasOciRepo

setOciRepo

Optional. The Open Container Initiative (OCI) repo source that contains helm charts.

Parameter
Name Description
var OciRepo
Returns
Type Description
$this

getName

Identifier. The catalog template revision name.

projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template/revisions/$revision

Returns
Type Description
string

setName

Identifier. The catalog template revision name.

projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template/revisions/$revision

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. The catalog template revision description.

Returns
Type Description
string

setDescription

Optional. The catalog template revision description.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Optional. The Application Design Center application template type.

Returns
Type Description
int Enum of type TemplateType.

setType

Optional. The Application Design Center application template type.

Parameter
Name Description
var int

Enum of type TemplateType.

Returns
Type Description
$this

getCreateTime

Output only. The catalog template creation timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The catalog template creation timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The catalog template update timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The catalog template update timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getTemplateMetadata

Output only. Template metadata related to Terraform input and output.

Returns
Type Description
TFBlueprintMetadata|null

hasTemplateMetadata

clearTemplateMetadata

setTemplateMetadata

Output only. Template metadata related to Terraform input and output.

Parameter
Name Description
var TFBlueprintMetadata
Returns
Type Description
$this

getState

Output only. The template state (validating/ready/invalid).

Returns
Type Description
int Enum of type State.

setState

Output only. The template state (validating/ready/invalid).

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this

getApplicationTemplateRevision

Output only. The application template revision.

Returns
Type Description
SerializedApplicationTemplate|null

hasApplicationTemplateRevision

clearApplicationTemplateRevision

setApplicationTemplateRevision

Output only. The application template revision.

Parameter
Name Description
var SerializedApplicationTemplate
Returns
Type Description
$this

getHelmChartMetadata

Output only. The helm chart metadata.

Returns
Type Description
HelmChartMetadata|null

hasHelmChartMetadata

clearHelmChartMetadata

setHelmChartMetadata

Output only. The helm chart metadata.

Parameter
Name Description
var HelmChartMetadata
Returns
Type Description
$this

getUuid

Output only. UUID of the template revision.

Returns
Type Description
string

setUuid

Output only. UUID of the template revision.

Parameter
Name Description
var string
Returns
Type Description
$this

getMetadataInput

Optional. Metadata input.

Returns
Type Description
MetadataInput|null

hasMetadataInput

clearMetadataInput

setMetadataInput

Optional. Metadata input.

Parameter
Name Description
var MetadataInput
Returns
Type Description
$this

getTemplateCategory

Output only. The category of the template.

Returns
Type Description
int Enum of type TemplateCategory.

setTemplateCategory

Output only. The category of the template.

Parameter
Name Description
var int

Enum of type TemplateCategory.

Returns
Type Description
$this

getLogicalProducts

Output only. The Product Main logical product type information.

Returns
Type Description
Google\Protobuf\RepeatedField<LogicalProduct>

setLogicalProducts

Output only. The Product Main logical product type information.

Parameter
Name Description
var array<LogicalProduct>
Returns
Type Description
$this

getAnnotations

Optional. The annotations of the template revision.

Key is the annotation name. Value is the annotation value.

Returns
Type Description
Google\Protobuf\Internal\MapField

setAnnotations

Optional. The annotations of the template revision.

Key is the annotation name. Value is the annotation value.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getInferredMetadata

Output only. Metadata that was automatically inferred from the template content. This field can be updated by the system as it gets new information.

Returns
Type Description
InferredMetadata|null

hasInferredMetadata

clearInferredMetadata

setInferredMetadata

Output only. Metadata that was automatically inferred from the template content. This field can be updated by the system as it gets new information.

Parameter
Name Description
var InferredMetadata
Returns
Type Description
$this

getResourceTypes

Output only. The resource types present in the template revision.

Returns
Type Description
Google\Protobuf\RepeatedField<ResourceType>

setResourceTypes

Output only. The resource types present in the template revision.

Parameter
Name Description
var array<ResourceType>
Returns
Type Description
$this

getIacSource

Output only. Indicates the IaC source format of this catalog template revision.

Returns
Type Description
int Enum of type IACSource.

setIacSource

Output only. Indicates the IaC source format of this catalog template revision.

Parameter
Name Description
var int

Enum of type IACSource.

Returns
Type Description
$this

getApplicationParameters

Optional. The values provided for the input variables.

Returns
Type Description
Google\Protobuf\RepeatedField<Parameter>

setApplicationParameters

Optional. The values provided for the input variables.

Parameter
Name Description
var array<Parameter>
Returns
Type Description
$this

getArtifactLocation

Returns
Type Description
string