- JSON representation
- DeploymentSource
- DeploymentMetadata
- ComponentOutputParameters
- DeploymentError
- DeploymentFailureResolutionInfo
- ApplicationOutputParameters
- HelmApplicationOutputParameters
- ProjectParameters
- UpdatedTemplateRevision
- ConnectionConfig
- DeploymentTarget
- GKEDeploymentTarget
- CompositeApplicationParameters
- ProjectParametersList
- DeploymentGroupMetadata
Represents the application resource.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "source": { object ( |
| Fields | |
|---|---|
name |
Identifier. The name of the application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application} |
createTime |
Output only. Create 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. 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: |
source |
Required. The application deployment source. |
appParameters[] |
Optional. A list of parameters to attach to the deployment source object, which is a catalog entry or application template snapshot. |
componentParameters[] |
Optional. A list of component parameters to associate with the application. |
serviceAccount |
Optional. Your own service account that you use to deploy an application. |
displayName |
Optional. Display name of the application. |
description |
Optional. Description of the application. |
attributes |
Optional. Attributes of the application. |
scope |
Required. Scope of the application. |
importExistingResources |
Optional. Import existing resources into the application. |
previewReference |
Output only. Preview reference for the application. |
deploymentRevision |
Output only. [Output only] Optional Infra Manager deployment Id with revision |
apphubApplication |
Output only. The App Hub App associated with the application. |
serializedApplicationTemplate |
Output only. [Output only] Serialized application template. |
state |
Output only. Deployment state of the application. |
deploymentMetadata |
Output only. Deployment metadata of the application. |
projectParameters[] |
Output only. List of project parameters for the application. |
deploymentRegion |
Optional. The region where the application is deployed. |
updatedTemplateRevision |
Output only. The updated template revision because of which the application is outdated. |
deploymentProject |
Optional. Deployment project of the application. |
connectionConfigs[] |
Optional. Connection configuration for the application. |
artifactLocation |
Output only. Details of the location where the IaC for this application was last successfully exported. |
type |
Optional. The type of the application. |
deploymentTarget |
Optional. The deployment target of the application. |
compositionType |
Output only. The composition type of the application: STANDARD OR COMPOSITE. |
compositeApplicationParameters |
Optional. Parameters that are required for composite applications. |
deploymentGroupMetadata |
Output only. The deployment group metadata of the application. This is applicable only for composite applications. |
paramsUpdateStrategy |
Optional. Specifies the strategy to use when updating the application parameters while updating the application template revision. |
DeploymentSource
Source template information for the deployment.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field source. The source for the IaC deployment. source can be only one of the following: |
|
applicationTemplateRevision |
Application template revision URI. |
sharedTemplateRevisionUri |
Shared template revision URI. |
DeploymentMetadata
Deployment information for the application.
| JSON representation |
|---|
{ "revision": string, "componentOutputParameters": [ { object ( |
| Fields | |
|---|---|
revision |
Output only. The revision of the deployment associated with the Application. |
componentOutputParameters[] |
Output only. The component output parameters of the deployment. |
error |
Output only. The error associated with the deployment. |
build |
Output only. Cloud Build instance UUID associated with this deployment. |
workerPool |
Output only. The user-specified Cloud Build worker pool resource used, which the system uses to deploy the application. Format: |
retryAttempts |
Output only. The attempted number of deployment retries. |
applicationOutputParameters |
Output only. The application output parameters of the deployment. |
ComponentOutputParameters
The component output parameters of the deployment.
| JSON representation |
|---|
{
"component": string,
"parameters": [
{
object ( |
| Fields | |
|---|---|
component |
Output only. The component name of the output parameters. |
parameters[] |
Output only. The output parameters of the component. |
DeploymentError
The error associated with the deployment.
| JSON representation |
|---|
{ "type": enum ( |
| Fields | |
|---|---|
type |
Output only. The error type based on the deployment error code. |
code |
Output only. The deployment error code. Based on Infrastructure Manager error codes. |
tfErrors[] |
Output only. The error message associated with the deployment. |
detail |
Output only. Human readable string that summarizes the deployment error issue. |
deploymentFailureResolutionInfo[] |
Output only. The call to actions associated with the deployment issue. |
errorMessage |
Output only. Stores errors generated by Infra Manager, as well as all non-internal errors (such as INVALID_ARGUMENT) that occur before initiating the deployment. |
DeploymentFailureResolutionInfo
The call to action associated with the deployment issue.
| JSON representation |
|---|
{ "resolutionLink": string, "resolutionMessage": string, "resolutionLinkText": string } |
| Fields | |
|---|---|
resolutionLink |
Output only. Link for the call to action. |
resolutionMessage |
Output only. Elaborative error resolution message. |
resolutionLinkText |
Output only. Call to action link text. |
ApplicationOutputParameters
The application output parameters of the deployment.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field parameters. The output parameters of the application. parameters can be only one of the following: |
|
helmApplicationOutputParameters |
Output only. Helm application output parameters. |
HelmApplicationOutputParameters
The helm application output parameters of the deployment.
| JSON representation |
|---|
{
"parameters": [
{
object ( |
| Fields | |
|---|---|
parameters[] |
Output only. The output parameters of the helm application. |
ProjectParameters
The ProjectParameters provides the parameters needed to deploy the application in the given project.
| JSON representation |
|---|
{ "projectId": string, "roles": [ string ], "apis": [ string ] } |
| Fields | |
|---|---|
projectId |
Output only. The project ID of the project. |
roles[] |
Output only. IAM roles required by the service account to deploy the application in given project. |
apis[] |
Output only. APIs required to be enabled to deploy the application, in the form of "*.googleapis.com". |
UpdatedTemplateRevision
The updated template revision, which results in an outdated application.
| JSON representation |
|---|
{ "templateRevision": string, "createTime": string, "templateDisplayName": string } |
| Fields | |
|---|---|
templateRevision |
Output only. The details of the updated template revision. |
createTime |
Output only. The time when the template was created. 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: |
templateDisplayName |
Output only. The display name of the template. If the display name is not available, the template resource name is used. |
ConnectionConfig
Connection configuration for the application.
| JSON representation |
|---|
{ "connectionUri": string, "sourceComponentParameters": [ { object ( |
| Fields | |
|---|---|
connectionUri |
Required. The connection URI. |
sourceComponentParameters[] |
Optional. The parameters of the connection associated with the source component. |
destinationComponentParameters[] |
Optional. The parameters of the connection associated with the destination component. |
DeploymentTarget
The deployment target of the application.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field target. Different deployment targets for the application. target can be only one of the following: |
|
gkeDeploymentTarget |
Optional. The GKE deployment target. |
GKEDeploymentTarget
The GKE deployment target.
| JSON representation |
|---|
{ "clusterSelfLink": string, "namespace": string, "kubernetesServiceAccount": string, "kubernetesServiceAccountCreation": boolean } |
| Fields | |
|---|---|
clusterSelfLink |
Required. The self link of the cluster where GKE based application is deployed. |
namespace |
Required. The namespace where the application is deployed. |
kubernetesServiceAccount |
Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa |
kubernetesServiceAccountCreation |
Optional. Whether to create the provided KSA. If true, the KSA will be created in the namespace provided above. If false, the KSA is expected to already exist in the namespace provided above. |
CompositeApplicationParameters
Holds parameters that are specific to composite applications.
| JSON representation |
|---|
{
"serviceAccountMap": {
string: string,
...
},
"projectParametersMap": {
string: {
object ( |
| Fields | |
|---|---|
serviceAccountMap |
Optional. A map from a component's URI to the deployment service account for composite application. key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{applicationTemplate}/components/{component} value format: projects/{project}/serviceAccounts/{email_address} An object containing a list of |
projectParametersMap |
Output only. A map from a component's URI to its project parameters. The key format is: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{applicationTemplate}/components/{component} An object containing a list of |
ProjectParametersList
Provides the list of project parameters needed to deploy an application.
| JSON representation |
|---|
{
"projectParameters": [
{
object ( |
| Fields | |
|---|---|
projectParameters[] |
Output only. List of project parameters for the application. |
DeploymentGroupMetadata
Metadata for the infra manager deployment group. A deployment group in Infrastructure Manager is a logical grouping of one or more deployments.
| JSON representation |
|---|
{
"deploymentGroup": string,
"deploymentMetadataMap": {
string: {
object ( |
| Fields | |
|---|---|
deploymentGroup |
Output only. The deployment group name. Format: projects/{project}/locations/{location}/deploymentGroup/{deploymentGroup} |
deploymentMetadataMap |
Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{applicationTemplate}/components/{component} An object containing a list of |