    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](https://learn.microsoft.com/dotnet/api/system.object) \> SharedTemplateRevision

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SharedTemplateRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevision), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SharedTemplateRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevision), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SharedTemplateRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevision), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DesignCenter.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1)

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### SharedTemplateRevision()

    public SharedTemplateRevision()

### SharedTemplateRevision(SharedTemplateRevision)

    public SharedTemplateRevision(SharedTemplateRevision other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### ApplicationParameters

    public RepeatedField<Parameter> ApplicationParameters { get; }

Optional. The values provided for the input variables.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.Parameter` |   |

### ApplicationTemplateRevision

    public SerializedApplicationTemplate ApplicationTemplateRevision { get; set; }

Output only. The serialized application template revision.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SerializedApplicationTemplate` |   |

### ApplicationTemplateRevisionSource

    public string ApplicationTemplateRevisionSource { get; set; }

Optional. The application template revision source.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ApplicationTemplateRevisionSourceAsApplicationTemplateRevisionName

    public ApplicationTemplateRevisionName ApplicationTemplateRevisionSourceAsApplicationTemplateRevisionName { get; set; }

[ApplicationTemplateRevisionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ApplicationTemplateRevisionName)-typed view over the
[ApplicationTemplateRevisionSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevision#Google_Cloud_DesignCenter_V1_SharedTemplateRevision_ApplicationTemplateRevisionSource) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ApplicationTemplateRevisionName` |   |

### ArtifactLocationCase

    public SharedTemplateRevision.ArtifactLocationOneofCase ArtifactLocationCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevisionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevision.ArtifactLocationOneofCase` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The shared template revision creation timestamp.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Description

    public string Description { get; set; }

Optional. The shared template revision description.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### GitSource

    public GitSource GitSource { get; set; }

Optional. The git source.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.GitSource` |   |

### HasApplicationTemplateRevisionSource

    public bool HasApplicationTemplateRevisionSource { get; }

Gets whether the "application_template_revision_source" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasGcsSourceUri

    [Obsolete]
    public bool HasGcsSourceUri { get; }

Gets whether the "gcs_source_uri" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HelmChartMetadata

    public HelmChartMetadata HelmChartMetadata { get; set; }

Output only. The helm chart metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.HelmChartMetadata` |   |

### IacSource

    public IACSource IacSource { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.IACSource` |   |

### InferredMetadata

    public InferredMetadata InferredMetadata { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.InferredMetadata` |   |

### LogicalProducts

    public RepeatedField<LogicalProduct> LogicalProducts { get; }

Output only. The Product Main logical product type information.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.LogicalProduct` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OciRepo

    public OciRepo OciRepo { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.OciRepo` |   |

### OriginTemplateRevision

    public string OriginTemplateRevision { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OriginTemplateRevisionAsCatalogTemplateRevisionName

    public CatalogTemplateRevisionName OriginTemplateRevisionAsCatalogTemplateRevisionName { get; set; }

[CatalogTemplateRevisionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.CatalogTemplateRevisionName)-typed view over the [OriginTemplateRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevision#Google_Cloud_DesignCenter_V1_SharedTemplateRevision_OriginTemplateRevision) resource
name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.CatalogTemplateRevisionName` |   |

### ResourceTypes

    public RepeatedField<ResourceType> ResourceTypes { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ResourceType` |   |

### SharedTemplateMetadata

    public TFBlueprintMetadata SharedTemplateMetadata { get; set; }

Output only. The shared template metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TFBlueprintMetadata` |   |

### SharedTemplateRevisionName

    public SharedTemplateRevisionName SharedTemplateRevisionName { get; set; }

[SharedTemplateRevisionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevisionName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevision#Google_Cloud_DesignCenter_V1_SharedTemplateRevision_Name) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.SharedTemplateRevisionName` |   |

### TemplateCategory

    public TemplateCategory TemplateCategory { get; set; }

Output only. The category of the template.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TemplateCategory` |   |

### Type

    public TemplateType Type { get; set; }

Optional. The Application Design Center assembly template type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TemplateType` |   |