Design Center v1 API - Class SharedTemplateRevision (1.0.0-beta01)

public sealed class SharedTemplateRevision : IMessage<SharedTemplateRevision>, IEquatable<SharedTemplateRevision>, IDeepCloneable<SharedTemplateRevision>, IBufferMessage, IMessage

Reference documentation and code samples for the Design Center v1 API class SharedTemplateRevision.

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

Inheritance

object > SharedTemplateRevision

Namespace

Google.Cloud.DesignCenter.V1

Assembly

Google.Cloud.DesignCenter.V1.dll

Constructors

SharedTemplateRevision()

public SharedTemplateRevision()

SharedTemplateRevision(SharedTemplateRevision)

public SharedTemplateRevision(SharedTemplateRevision other)
Parameter
Name Description
other SharedTemplateRevision

Properties

Annotations

public MapField<string, string> Annotations { get; }

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

Property Value
Type Description
MapFieldstringstring

ApplicationParameters

public RepeatedField<Parameter> ApplicationParameters { get; }

Optional. The values provided for the input variables.

Property Value
Type Description
RepeatedFieldParameter

ApplicationTemplateRevision

public SerializedApplicationTemplate ApplicationTemplateRevision { get; set; }

Output only. The serialized application template revision.

Property Value
Type Description
SerializedApplicationTemplate

ApplicationTemplateRevisionSource

public string ApplicationTemplateRevisionSource { get; set; }

Optional. The application template revision source.

Property Value
Type Description
string

ApplicationTemplateRevisionSourceAsApplicationTemplateRevisionName

public ApplicationTemplateRevisionName ApplicationTemplateRevisionSourceAsApplicationTemplateRevisionName { get; set; }

ApplicationTemplateRevisionName-typed view over the ApplicationTemplateRevisionSource resource name property.

Property Value
Type Description
ApplicationTemplateRevisionName

ArtifactLocationCase

public SharedTemplateRevision.ArtifactLocationOneofCase ArtifactLocationCase { get; }
Property Value
Type Description
SharedTemplateRevisionArtifactLocationOneofCase

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The shared template revision creation timestamp.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. The shared template revision description.

Property Value
Type Description
string

DeveloperConnectSourceConfig

public DeveloperConnectSourceConfig DeveloperConnectSourceConfig { get; set; }

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

Property Value
Type Description
DeveloperConnectSourceConfig

GcsSourceUri

[Obsolete]
public string GcsSourceUri { get; set; }

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

Property Value
Type Description
string

GitSource

public GitSource GitSource { get; set; }

Optional. The git source.

Property Value
Type Description
GitSource

HasApplicationTemplateRevisionSource

public bool HasApplicationTemplateRevisionSource { get; }

Gets whether the "application_template_revision_source" field is set

Property Value
Type Description
bool

HasGcsSourceUri

[Obsolete]
public bool HasGcsSourceUri { get; }

Gets whether the "gcs_source_uri" field is set

Property Value
Type Description
bool

HelmChartMetadata

public HelmChartMetadata HelmChartMetadata { get; set; }

Output only. The helm chart metadata.

Property Value
Type Description
HelmChartMetadata

IacSource

public IACSource IacSource { get; set; }

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

Property Value
Type Description
IACSource

InferredMetadata

public InferredMetadata InferredMetadata { get; set; }

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

Property Value
Type Description
InferredMetadata

LogicalProducts

public RepeatedField<LogicalProduct> LogicalProducts { get; }

Output only. The Product Main logical product type information.

Property Value
Type Description
RepeatedFieldLogicalProduct

Name

public string Name { get; set; }

Identifier. The shared template revision name. $sharedTemplate is a server-generated UUID. projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate/revisions/$revision

Property Value
Type Description
string

OciRepo

public OciRepo OciRepo { get; set; }

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

Property Value
Type Description
OciRepo

OriginTemplateRevision

public string OriginTemplateRevision { get; set; }

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

Property Value
Type Description
string

OriginTemplateRevisionAsCatalogTemplateRevisionName

public CatalogTemplateRevisionName OriginTemplateRevisionAsCatalogTemplateRevisionName { get; set; }

CatalogTemplateRevisionName-typed view over the OriginTemplateRevision resource name property.

Property Value
Type Description
CatalogTemplateRevisionName

ResourceTypes

public RepeatedField<ResourceType> ResourceTypes { get; }

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

Property Value
Type Description
RepeatedFieldResourceType

SharedTemplateMetadata

public TFBlueprintMetadata SharedTemplateMetadata { get; set; }

Output only. The shared template metadata.

Property Value
Type Description
TFBlueprintMetadata

SharedTemplateRevisionName

public SharedTemplateRevisionName SharedTemplateRevisionName { get; set; }

SharedTemplateRevisionName-typed view over the Name resource name property.

Property Value
Type Description
SharedTemplateRevisionName

TemplateCategory

public TemplateCategory TemplateCategory { get; set; }

Output only. The category of the template.

Property Value
Type Description
TemplateCategory

Type

public TemplateType Type { get; set; }

Optional. The Application Design Center assembly template type.

Property Value
Type Description
TemplateType