- Resource: CatalogTemplateRevision
- State
- MetadataInput
- MetadataInputSpec
- TemplateInfo
- IacFormatInfo
- TemplateSchema
- TemplateVariable
- TemplateConnections
- ConnectionSource
- ConnectionSpec
- TemplateRequirements
- TemplateRoles
- TemplateUi
- TemplateUiInput
- DisplayVariable
- Methods
Resource: CatalogTemplateRevision
Template revisions inside a catalog.
JSON representation |
---|
{ "name": string, "description": string, "type": enum ( |
Fields | |
---|---|
name |
Identifier. The catalog template revision name. projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template/revisions/$revision |
description |
Optional. The catalog template revision description. |
type |
Optional. The Application Design Center assembly template type. |
createTime |
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: |
updateTime |
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: |
templateMetadata |
Output only. Template metadata related to Terraform input and output. |
state |
Output only. The template state (validating/ready/invalid). |
applicationTemplateRevision |
Output only. The application template revision. |
helmChartMetadata |
Output only. The helm chart metadata. |
uuid |
Output only. UUID of the template revision. |
metadataInput |
Optional. Metadata input. |
templateCategory |
Output only. The category of the ADC template. |
Union field artifact_location . The artifact location of the Terraform in the template. artifact_location can be only one of the following: |
|
gitSource |
Optional. The git source. |
gcsSourceUri |
Optional. The Cloud Storage URI, which must be in the format gs://[bucket] or gs://[bucket]/[object]. |
applicationTemplateRevisionSource |
Optional. The application template revision source. |
developerConnectSourceConfig |
Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect. |
ociRepo |
Optional. The Open Container Initiative (OCI) repo source that contains helm charts. |
State
The template state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default. |
VALIDATING |
The template is being validated. |
ACTIVE |
The template is ready to be used. |
INVALID |
The template is invalid. |
MetadataInput
Metadata for the input
JSON representation |
---|
{
"spec": {
object ( |
Fields | |
---|---|
spec |
Required. spec containing the metadata |
MetadataInputSpec
Specifications for the input
JSON representation |
---|
{ "info": { object ( |
Fields | |
---|---|
info |
Optional. TemplateInfo provides the actuation tool information. |
interfaces |
Optional. TemplateSchemas provides the input variables lists and connection information. |
requirements |
Required. TemplateRequirements defines the roles required and the provider versions. |
ui |
Optional. TemplateUi defines the UI related information for the Template. |
TemplateInfo
TemplateInfo provides the actuation tool information.
JSON representation |
---|
{
"actuationTool": {
object ( |
Fields | |
---|---|
actuationTool |
Required. IaCFormatInfo defines the actuation tool used to provision the Template. |
IacFormatInfo
IacFormatInfo defines the actuation tool used to provision the Template.
JSON representation |
---|
{ "flavor": string, "version": string } |
Fields | |
---|---|
flavor |
Required. Flavor is the type of the actuation tool. |
version |
Required. Required version for the actuation tool. required_version = ">= 0.13" |
TemplateSchema
TemplateSchema provides the input variables lists and connection information.
JSON representation |
---|
{
"variables": [
{
object ( |
Fields | |
---|---|
variables[] |
Required. All defined variables for the Template |
TemplateVariable
TemplateTerraform inputs.
JSON representation |
---|
{
"name": string,
"connections": [
{
object ( |
Fields | |
---|---|
name |
Required. Input variable name present in Terraform. |
connections[] |
Required. Terraform input connections. |
TemplateConnections
TemplateConnections
JSON representation |
---|
{ "source": { object ( |
Fields | |
---|---|
source |
Required. Source of the connection. |
spec |
Required. Connection specifications. |
ConnectionSource
Defines the source of a connection.
JSON representation |
---|
{ "source": string, "version": string } |
Fields | |
---|---|
source |
Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references. |
version |
Required. Version constraint syntax using the same format as module version constraints. |
ConnectionSpec
Defines the specifications of a connection.
JSON representation |
---|
{ "outputExpr": string, "inputPath": string } |
Fields | |
---|---|
outputExpr |
Required. Output expression identifying output being connected to variable. |
inputPath |
Optional. Optional dot separated attribuite notation to connect to a specific object field of the input variable. |
TemplateRequirements
TemplateRequirements defines the roles required and the associated services that need to be enabled to provision Template resources.
JSON representation |
---|
{ "roles": [ { object ( |
Fields | |
---|---|
roles[] |
Required. All roles required for the component |
providerVersions[] |
Required. Required provider versions. |
TemplateRoles
Template Roles provide the level and roles
JSON representation |
---|
{ "level": string, "roles": [ string ] } |
Fields | |
---|---|
level |
Required. Level of the role. |
roles[] |
Required. List of roles. |
TemplateUi
TemplateUi defines the UI related information for the Template.
JSON representation |
---|
{
"input": {
object ( |
Fields | |
---|---|
input |
Required. The top-level input section that defines the list of variables and their sections on the deployment page. |
TemplateUiInput
TemplateUiInput defines the list of variables and their sections on the deployment page.
JSON representation |
---|
{
"variables": {
string: {
object ( |
Fields | |
---|---|
variables |
Required. variables is a map defining all inputs on the UI. An object containing a list of |
DisplayVariable
Additional display specific Template pertaining to a particular input variable.
JSON representation |
---|
{ "name": string, "title": string } |
Fields | |
---|---|
name |
Required. The variable name from the corresponding standard Template file. |
title |
Required. Visible title for the variable on the UI. If not present, Name will be used for the Title. |
Methods |
|
---|---|
|
Creates a template revision. |
|
Deletes a template revision. |
|
Gets details about a template revision. |
|
Lists template revisions. |