SerializedApplicationTemplate

Serialized application template.

JSON representation
{
  "uri": string,
  "displayName": string,
  "description": string,
  "applicationParameters": [
    {
      object (Parameter)
    }
  ],
  "iacFormat": enum (IACFormat),
  "components": [
    {
      object (SerializedComponent)
    }
  ],
  "apphubApplicationParameters": {
    object (AppHubApplicationParameters)
  },
  "hasGlobalResource": boolean,
  "compositionType": enum (ApplicationCompositionType),
  "rootInputVariables": [
    {
      object (ComponentVariable)
    }
  ],
  "rootOutputVariables": [
    {
      object (ComponentVariable)
    }
  ],
  "saasRuntimeContext": {
    object (SaaSRuntimeContext)
  },
  "serializedPolicies": [
    {
      object (SerializedPolicy)
    }
  ]
}
Fields
uri

string

Optional. The application template URI.

displayName

string

Optional. The application template display name.

description

string

Optional. The application template description.

applicationParameters[]

object (Parameter)

Optional. Parameters to apply to all components in the application template.

iacFormat

enum (IACFormat)

Optional. The IaC format of the application template.

components[]

object (SerializedComponent)

Optional. The application template components.

apphubApplicationParameters

object (AppHubApplicationParameters)

Optional. The App Hub application parameters.

hasGlobalResource

boolean

Output only. Whether the application template is compatible with regional scope.

compositionType

enum (ApplicationCompositionType)

Output only. The composition type of the applicationTemplate: STANDARD OR COMPOSITE.

rootInputVariables[]

object (ComponentVariable)

Output only. Root level input variables of the application template.

rootOutputVariables[]

object (ComponentVariable)

Output only. Root level output variables of the application template.

saasRuntimeContext

object (SaaSRuntimeContext)

Optional. SaaS runtime context for the application template.

serializedPolicies[]

object (SerializedPolicy)

Output only. Policies of the application template.

SerializedComponent

Serialized component.

JSON representation
{
  "uri": string,
  "sharedTemplateRevisionUri": string,
  "parameters": [
    {
      object (Parameter)
    }
  ],
  "connections": [
    {
      object (SerializedConnection)
    }
  ],
  "roles": [
    string
  ],
  "apis": [
    string
  ],
  "displayName": string,
  "connectionsParameters": [
    {
      object (ConnectionParameters)
    }
  ],
  "componentParameterSchema": [
    {
      object (ComponentParameterSchema)
    }
  ],
  "applicationInfo": {
    object (ComponentApplicationInfo)
  }
}
Fields
uri

string

Optional. The component URI.

sharedTemplateRevisionUri

string

Optional. The shared template used to generate the component.

parameters[]

object (Parameter)

Optional. The component parameters.

connections[]

object (SerializedConnection)

Optional. The component connections.

roles[]

string

Optional. IAM roles required by the service account to deploy the component.

apis[]

string

Optional. APIs required to be enabled to deploy the component, in the form of "*.googleapis.com".

displayName

string

Optional. The component display name.

connectionsParameters[]

object (ConnectionParameters)

Output only. The connection parameters of the component.

componentParameterSchema[]

object (ComponentParameterSchema)

Output only. The component parameter schema, which includes possible parameter values.

applicationInfo

object (ComponentApplicationInfo)

Optional. The application associated with the component.

SerializedConnection

Serialized connection.

JSON representation
{
  "uri": string,
  "destinationComponentUri": string,
  "sourceComponentParameters": [
    {
      object (Parameter)
    }
  ],
  "destinationComponentParameters": [
    {
      object (Parameter)
    }
  ]
}
Fields
uri

string

Optional. The connection URI.

destinationComponentUri

string

Optional. The destination component URI used to generate the connection.

sourceComponentParameters[]

object (Parameter)

Optional. The parameters of the connection associated with the source component.

destinationComponentParameters[]

object (Parameter)

Optional. The parameters of the connection associated with the destination component.

SerializedPolicy

Serialized policy.

JSON representation
{
  "uri": string,
  "displayName": string,
  "description": string,
  "policyType": enum (PolicyType),
  "applyConditions": [
    {
      object (ApplyCondition)
    }
  ],

  // Union field source_uri can be only one of the following:
  "policyUri": string,
  "policyRevisionUri": string
  // End of list of possible types for union field source_uri.
}
Fields
uri

string

Required. The uri of the policy in application template. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{applicationTemplate}/policies/{policy}

displayName

string

Optional. The serialized policy display name. The number of characters should be less than 128 characters.

description

string

Optional. The serialized policy description. At most 2048 characters.

policyType

enum (PolicyType)

Required. Policy type will be used to determine the domain of the policy.

applyConditions[]

object (ApplyCondition)

Optional. The serialized policy apply conditions.

Union field source_uri. Source uri of the policy or the policy revision. source_uri can be only one of the following:
policyUri

string

Optional. URI of the policy.

policyRevisionUri

string

Optional. URI of the policy revision.

ApplyCondition

Condition for applying the policy. Accepts the criticality and environment parameters from the application template.

JSON representation
{
  "conditionKey": string,
  "conditionValue": string
}
Fields
conditionKey

string

Required. The key of the parameter for the condition.

conditionValue

string

Required. The value of the parameter for the condition.