REST Resource: projects.locations.spaces.catalogs.templates.revisions

Resource: CatalogTemplateRevision

Template revisions inside a catalog.

JSON representation
{
  "name": string,
  "description": string,
  "type": enum (TemplateType),
  "createTime": string,
  "updateTime": string,
  "templateMetadata": {
    object (TFBlueprintMetadata)
  },
  "state": enum (State),
  "applicationTemplateRevision": {
    object (SerializedApplicationTemplate)
  },
  "helmChartMetadata": {
    object (HelmChartMetadata)
  },
  "uuid": string,
  "metadataInput": {
    object (MetadataInput)
  },
  "templateCategory": enum (TemplateCategory),
  "logicalProducts": [
    {
      object (LogicalProduct)
    }
  ],
  "annotations": {
    string: string,
    ...
  },
  "inferredMetadata": {
    object (InferredMetadata)
  },
  "resourceTypes": [
    {
      object (ResourceType)
    }
  ],

  // Union field artifact_location can be only one of the following:
  "gitSource": {
    object (GitSource)
  },
  "gcsSourceUri": string,
  "applicationTemplateRevisionSource": string,
  "developerConnectSourceConfig": {
    object (DeveloperConnectSourceConfig)
  },
  "ociRepo": {
    object (OciRepo)
  }
  // End of list of possible types for union field artifact_location.
}
Fields
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

enum (TemplateType)

Optional. The Application Design Center assembly template type.

createTime

string (Timestamp format)

Output only. The catalog template creation timestamp.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The catalog template update timestamp.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

templateMetadata

object (TFBlueprintMetadata)

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

state

enum (State)

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

applicationTemplateRevision

object (SerializedApplicationTemplate)

Output only. The application template revision.

helmChartMetadata

object (HelmChartMetadata)

Output only. The helm chart metadata.

uuid

string

Output only. UUID of the template revision.

metadataInput

object (MetadataInput)

Optional. Metadata input.

templateCategory

enum (TemplateCategory)

Output only. The category of the template.

logicalProducts[]

object (LogicalProduct)

Output only. The Product Main logical product type information.

annotations

map (key: string, value: string)

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

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

inferredMetadata

object (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.

resourceTypes[]

object (ResourceType)

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

Union field artifact_location. The artifact location of the Terraform in the template. artifact_location can be only one of the following:
gitSource

object (GitSource)

Optional. The git source.

gcsSourceUri

string

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

applicationTemplateRevisionSource

string

Optional. The application template revision source.

developerConnectSourceConfig

object (DeveloperConnectSourceConfig)

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

ociRepo

object (OciRepo)

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

Methods

create

Creates a template revision.

delete

Deletes a template revision.

get

Gets details about a template revision.

list

Lists template revisions.