- Resource: Application
- DeploymentSource
- ComponentParameters
- ConnectionParameters
- State
- DeploymentMetadata
- ComponentOutputParameters
- DeploymentError
- ErrorType
- ErrorCode
- TerraformError
- DeploymentFailureResolutionInfo
- ProjectParameters
- UpdatedTemplateRevision
- Methods
Resource: Application
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 uses 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 uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
source |
Optional. 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 |
Optional. 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. |
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. |
ComponentParameters
Information about the component level parameters for an application.
JSON representation |
---|
{ "component": string, "parameters": [ { object ( |
Fields | |
---|---|
component |
Required. The name of the component parameter. |
parameters[] |
Optional. A list of parameters associated with the component. |
connectionsParameters[] |
Optional. A list of connections associated with the component. |
ConnectionParameters
Connection level parameters associated with each component within an application.
JSON representation |
---|
{
"connection": string,
"parameters": [
{
object ( |
Fields | |
---|---|
connection |
Required. The name of the connection parameter. |
parameters[] |
Optional. A list of parameters associated with the connection. |
State
Possible values for the application deployment state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified application deployment state. |
DRAFT |
Application is in draft. |
CREATING_DEPLOYMENT |
New application deployment is in progress. |
UPDATING_DEPLOYMENT |
Update application deployment is in progress. |
DELETING |
Delete appication deployment is in progress. |
DEPLOYED |
Appication deployment is completed. |
DELETED |
Appication deployment is deleted. |
FAILED |
Appication deployment is failed. |
DEPLOYING |
Application deployment is in progress. |
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. |
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. |
ErrorType
Possible values for the deployment error types. This categorization is based on the error code returned by Infrastructure Manager.
Enums | |
---|---|
ERROR_TYPE_UNSPECIFIED |
Unspecified error type. |
PERMISSION |
Permission related error. |
QUOTA |
Quota related error. |
ALREADY_EXISTS |
Resource already exists. |
RESOURCE_UNAVAILABLE |
Resource is unavailable. |
BILLING |
Billing related error. |
GENERIC |
Generic error if error does not fall under any of the above. |
TERRAFORM |
Terraform related error. |
BAD_INPUT |
Bad input error. |
PLATFORM |
Platform related error. |
API_ENABLEMENT |
API enablement error. |
BAD_REQUEST |
Bad request error. |
ErrorCode
Possible errors that can occur with deployments.
Enums | |
---|---|
ERROR_CODE_UNSPECIFIED |
No error code was specified. |
REVISION_FAILED |
The revision failed. See Revision for more details. |
CLOUD_BUILD_PERMISSION_DENIED |
Cloud Build failed due to a permission issue. |
DELETE_BUILD_API_FAILED |
Cloud Build job associated with a deployment deletion could not be started. |
DELETE_BUILD_RUN_FAILED |
Cloud Build job associated with a deployment deletion was started but failed. |
BUCKET_CREATION_PERMISSION_DENIED |
Cloud Storage bucket creation failed due to a permission issue. |
BUCKET_CREATION_FAILED |
Cloud Storage bucket creation failed due to an issue unrelated to permissions. |
TerraformError
Errors encountered during actuation using Terraform
JSON representation |
---|
{
"resourceAddress": string,
"httpResponseCode": integer,
"errorDescription": string,
"error": {
object ( |
Fields | |
---|---|
resourceAddress |
Address of the resource associated with the error, e.g. |
httpResponseCode |
HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform. |
errorDescription |
A human-readable error description. |
error |
Output only. Original error response from underlying Google API, if available. |
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. |
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 uses 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. |
Methods |
|
---|---|
|
Creates an application. |
|
Deletes an application. |
|
Deploys an application. |
|
Generates Terraform files for an application. |
|
Gets details about an application. |
|
Lists applications in a given space. |
|
Updates an application. |
|
Previews deployment of an application. |