ManageApplicationTemplateRequest

Request message for ManageApplicationTemplate. This request is used by an agent via an MCP tool to perform operations on application template resources. The agent should populate fields based on the operation being performed.

JSON representation
{
  "parent": string,
  "applicationTemplateId": string,
  "applicationTemplate": {
    object (ApplicationTemplate)
  },
  "updateMask": string,
  "operation": enum (ApplicationTemplateOperation),
  "iacModule": {
    object (IaCModule)
  },
  "componentParameters": [
    {
      object (ComponentParameters)
    }
  ],
  "artifactLocation": {
    object (ArtifactLocation)
  }
}
Fields
parent

string

Required. The parent resource. Format: projects/{project}/locations/{location}/spaces/{space}

applicationTemplateId

string

Required. The ID of application template. For APPLICATION_TEMPLATE_CREATE, this is the ID of application template to create. For other operations like UPDATE, COMMIT, GENERATE_IAC, this is used to identify the application template.

applicationTemplate

object (ApplicationTemplate)

Optional. The application template resource. Required for APPLICATION_TEMPLATE_CREATE and APPLICATION_TEMPLATE_UPDATE operations.

updateMask

string (FieldMask format)

Optional. Field mask for APPLICATION_TEMPLATE_UPDATE operation.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

operation

enum (ApplicationTemplateOperation)

Required. The operation to perform on the application template.

iacModule

object (IaCModule)

Optional. The IaC module to import.

componentParameters[]

object (ComponentParameters)

Optional. The component parameters to import.

artifactLocation

object (ArtifactLocation)

Optional. Specifies the location of the artifact for the application template. Used for APPLICATION_TEMPLATE_OPERATION_GENERATE_IAC operation.