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

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

A read-only template revision that is shared with a space.

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

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 shared template revision name. $sharedTemplate is a server-generated UUID. projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate/revisions/$revision

↳ description string

Optional. The shared template revision description.

↳ type int

Optional. The Application Design Center assembly template type.

↳ shared_template_metadata TFBlueprintMetadata

Output only. The shared template metadata.

↳ origin_template_revision string

Output only. The shared template revision refers to the following catalog template revision.

↳ create_time Google\Protobuf\Timestamp

Output only. The shared template revision creation timestamp.

↳ application_template_revision SerializedApplicationTemplate

Output only. The serialized application template revision.

↳ helm_chart_metadata HelmChartMetadata

Output only. The helm chart metadata.

↳ 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 shared 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.

↳ 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 shared 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 shared template revision name.

$sharedTemplate is a server-generated UUID. projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate/revisions/$revision

Returns
Type Description
string

setName

Identifier. The shared template revision name.

$sharedTemplate is a server-generated UUID. projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate/revisions/$revision

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. The shared template revision description.

Returns
Type Description
string

setDescription

Optional. The shared template revision description.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Optional. The Application Design Center assembly template type.

Returns
Type Description
int Enum of type TemplateType.

setType

Optional. The Application Design Center assembly template type.

Parameter
Name Description
var int

Enum of type TemplateType.

Returns
Type Description
$this

getSharedTemplateMetadata

Output only. The shared template metadata.

Returns
Type Description
TFBlueprintMetadata|null

hasSharedTemplateMetadata

clearSharedTemplateMetadata

setSharedTemplateMetadata

Output only. The shared template metadata.

Parameter
Name Description
var TFBlueprintMetadata
Returns
Type Description
$this

getOriginTemplateRevision

Output only. The shared template revision refers to the following catalog template revision.

Returns
Type Description
string

setOriginTemplateRevision

Output only. The shared template revision refers to the following catalog template revision.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The shared template revision creation timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The shared template revision creation timestamp.

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

getApplicationTemplateRevision

Output only. The serialized application template revision.

Returns
Type Description
SerializedApplicationTemplate|null

hasApplicationTemplateRevision

clearApplicationTemplateRevision

setApplicationTemplateRevision

Output only. The serialized 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

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 shared 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 shared 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.

Returns
Type Description
InferredMetadata|null

hasInferredMetadata

clearInferredMetadata

setInferredMetadata

Output only. Metadata that was automatically inferred from the template content.

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 shared template revision.

Returns
Type Description
int Enum of type IACSource.

setIacSource

Output only. Indicates the IaC source format of this shared 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