AutomationRun

An `AutomationRun` resource in the Cloud Deploy API. An `AutomationRun` represents an execution instance of an automation rule.

Continuous DeliveryDeploymentDevOpsKubernetesPipelinesRelease ManagementCI/CD

Properties

Name Type Description
etag string Output only. The weak etag of the `AutomationRun` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the clie
updateTime string Output only. Time at which the automationRun was updated.
policyViolation object Output only. Contains information about what policies prevented the `AutomationRun` from proceeding.
expireTime string Output only. Time the `AutomationRun` expires. An `AutomationRun` expires after 14 days from its creation date.
createTime string Output only. Time at which the `AutomationRun` was created.
name string Output only. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
repairRolloutOperation object Output only. Repairs a failed 'Rollout'.
timedPromoteReleaseOperation object Output only. Promotes a release to a specified 'Target' as defined in a Timed Promote Release rule.
uid string Output only. Unique identifier of the `AutomationRun`.
serviceAccount string Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
promoteReleaseOperation object Output only. Promotes a release to a specified 'Target'.
ruleId string Output only. The ID of the automation rule that initiated the operation.
stateDescription string Output only. Explains the current state of the `AutomationRun`. Present only when an explanation is needed.
state string Output only. Current state of the `AutomationRun`.
automationId string Output only. The ID of the automation that initiated the operation.
waitUntilTime string Output only. Earliest time the `AutomationRun` will attempt to resume. Wait-time is configured by `wait` in automation rule.
targetId string Output only. The ID of the source target that initiates the `AutomationRun`. The value of this field is the last segment of a target name.
automationSnapshot object Output only. Snapshot of the Automation taken at AutomationRun creation time.
advanceRolloutOperation object Output only. Advances a rollout to the next phase.
View JSON Schema on GitHub

JSON Schema

google-cloud-deploy-automation-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-deploy/json-schema/google-cloud-deploy-automation-run-schema.json",
  "title": "AutomationRun",
  "description": "An `AutomationRun` resource in the Cloud Deploy API. An `AutomationRun` represents an execution instance of an automation rule.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-deploy-projects-api-openapi.yml#/components/schemas/AutomationRun",
  "properties": {
    "etag": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. The weak etag of the `AutomationRun` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding."
    },
    "updateTime": {
      "readOnly": true,
      "description": "Output only. Time at which the automationRun was updated.",
      "format": "google-datetime",
      "type": "string"
    },
    "policyViolation": {
      "$ref": "#/$defs/PolicyViolation",
      "description": "Output only. Contains information about what policies prevented the `AutomationRun` from proceeding."
    },
    "expireTime": {
      "type": "string",
      "description": "Output only. Time the `AutomationRun` expires. An `AutomationRun` expires after 14 days from its creation date.",
      "readOnly": true,
      "format": "google-datetime"
    },
    "createTime": {
      "readOnly": true,
      "description": "Output only. Time at which the `AutomationRun` was created.",
      "type": "string",
      "format": "google-datetime"
    },
    "name": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`."
    },
    "repairRolloutOperation": {
      "$ref": "#/$defs/RepairRolloutOperation",
      "description": "Output only. Repairs a failed 'Rollout'."
    },
    "timedPromoteReleaseOperation": {
      "$ref": "#/$defs/TimedPromoteReleaseOperation",
      "description": "Output only. Promotes a release to a specified 'Target' as defined in a Timed Promote Release rule."
    },
    "uid": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. Unique identifier of the `AutomationRun`."
    },
    "serviceAccount": {
      "type": "string",
      "description": "Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.",
      "readOnly": true
    },
    "promoteReleaseOperation": {
      "$ref": "#/$defs/PromoteReleaseOperation",
      "description": "Output only. Promotes a release to a specified 'Target'."
    },
    "ruleId": {
      "type": "string",
      "description": "Output only. The ID of the automation rule that initiated the operation.",
      "readOnly": true
    },
    "stateDescription": {
      "type": "string",
      "description": "Output only. Explains the current state of the `AutomationRun`. Present only when an explanation is needed.",
      "readOnly": true
    },
    "state": {
      "readOnly": true,
      "description": "Output only. Current state of the `AutomationRun`.",
      "enum": [
        "STATE_UNSPECIFIED",
        "SUCCEEDED",
        "CANCELLED",
        "FAILED",
        "IN_PROGRESS",
        "PENDING",
        "ABORTED"
      ],
      "type": "string"
    },
    "automationId": {
      "description": "Output only. The ID of the automation that initiated the operation.",
      "type": "string",
      "readOnly": true
    },
    "waitUntilTime": {
      "description": "Output only. Earliest time the `AutomationRun` will attempt to resume. Wait-time is configured by `wait` in automation rule.",
      "readOnly": true,
      "type": "string",
      "format": "google-datetime"
    },
    "targetId": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. The ID of the source target that initiates the `AutomationRun`. The value of this field is the last segment of a target name."
    },
    "automationSnapshot": {
      "$ref": "#/$defs/Automation",
      "description": "Output only. Snapshot of the Automation taken at AutomationRun creation time."
    },
    "advanceRolloutOperation": {
      "$ref": "#/$defs/AdvanceRolloutOperation",
      "description": "Output only. Advances a rollout to the next phase."
    }
  },
  "type": "object",
  "$defs": {
    "AdvanceRolloutOperation": {
      "type": "object",
      "description": "Contains the information of an automated advance-rollout operation.",
      "properties": {
        "destinationPhase": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The phase the rollout will be advanced to."
        },
        "wait": {
          "type": "string",
          "description": "Output only. How long the operation will be paused.",
          "readOnly": true,
          "format": "google-duration"
        },
        "sourcePhase": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The phase of a deployment that initiated the operation."
        },
        "rollout": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The name of the rollout that initiates the `AutomationRun`."
        }
      }
    },
    "AdvanceRolloutRule": {
      "properties": {
        "sourcePhases": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.",
          "type": "array"
        },
        "wait": {
          "format": "google-duration",
          "type": "string",
          "description": "Optional. How long to wait after a rollout is finished."
        },
        "condition": {
          "$ref": "#/$defs/AutomationRuleCondition",
          "description": "Output only. Information around the state of the Automation rule."
        },
        "id": {
          "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.",
          "type": "string"
        }
      },
      "description": "The `AdvanceRollout` automation rule will automatically advance a successful Rollout to the next phase.",
      "type": "object"
    },
    "Automation": {
      "description": "An `Automation` resource in the Cloud Deploy API. An `Automation` enables the automation of manually driven actions for a Delivery Pipeline, which includes Release promotion among Targets, Rollout repair and Rollout deployment strategy advancement. The intention of Automation is to reduce manual intervention in the continuous delivery process.",
      "properties": {
        "createTime": {
          "description": "Output only. Time at which the automation was created.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Time at which the automation was updated.",
          "readOnly": true,
          "format": "google-datetime",
          "type": "string"
        },
        "annotations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details."
        },
        "rules": {
          "description": "Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutomationRule"
          }
        },
        "selector": {
          "$ref": "#/$defs/AutomationResourceSelector",
          "description": "Required. Selected resources to which the automation will be applied."
        },
        "uid": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Unique identifier of the `Automation`."
        },
        "labels": {
          "description": "Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "description": {
          "type": "string",
          "description": "Optional. Description of the `Automation`. Max length is 255 characters."
        },
        "suspended": {
          "description": "Optional. When Suspended, automation is deactivated from execution.",
          "type": "boolean"
        },
        "name": {
          "description": "Output only. Name of the `Automation`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.",
          "type": "string",
          "readOnly": true
        },
        "serviceAccount": {
          "type": "string",
          "description": "Required. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources."
        },
        "etag": {
          "description": "Optional. The weak etag of the `Automation` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "AutomationResourceSelector": {
      "properties": {
        "targets": {
          "description": "Optional. Contains attributes about a target.",
          "items": {
            "$ref": "#/$defs/TargetAttribute"
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied."
    },
    "AutomationRule": {
      "description": "`AutomationRule` defines the automation activities.",
      "type": "object",
      "properties": {
        "promoteReleaseRule": {
          "$ref": "#/$defs/PromoteReleaseRule",
          "description": "Optional. `PromoteReleaseRule` will automatically promote a release from the current target to a specified target."
        },
        "repairRolloutRule": {
          "$ref": "#/$defs/RepairRolloutRule",
          "description": "Optional. The `RepairRolloutRule` will automatically repair a failed rollout."
        },
        "advanceRolloutRule": {
          "$ref": "#/$defs/AdvanceRolloutRule",
          "description": "Optional. The `AdvanceRolloutRule` will automatically advance a successful Rollout."
        },
        "timedPromoteReleaseRule": {
          "$ref": "#/$defs/TimedPromoteReleaseRule",
          "description": "Optional. The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule."
        }
      }
    },
    "AutomationRuleCondition": {
      "description": "`AutomationRuleCondition` contains conditions relevant to an `Automation` rule.",
      "type": "object",
      "properties": {
        "timedPromoteReleaseCondition": {
          "$ref": "#/$defs/TimedPromoteReleaseCondition",
          "description": "Optional. TimedPromoteReleaseCondition contains rule conditions specific to a an Automation with a timed promote release rule defined."
        },
        "targetsPresentCondition": {
          "$ref": "#/$defs/TargetsPresentCondition",
          "description": "Optional. Details around targets enumerated in the rule."
        }
      }
    },
    "PolicyViolation": {
      "description": "Returned from an action if one or more policies were violated, and therefore the action was prevented. Contains information about what policies were violated and why.",
      "type": "object",
      "properties": {
        "policyViolationDetails": {
          "type": "array",
          "description": "Policy violation details.",
          "items": {
            "$ref": "#/$defs/PolicyViolationDetails"
          }
        }
      }
    },
    "PolicyViolationDetails": {
      "type": "object",
      "description": "Policy violation details.",
      "properties": {
        "ruleId": {
          "description": "Id of the rule that triggered the policy violation.",
          "type": "string"
        },
        "failureMessage": {
          "type": "string",
          "description": "User readable message about why the request violated a policy. This is not intended for machine parsing."
        },
        "policy": {
          "description": "Name of the policy that was violated. Policy resource will be in the format of `projects/{project}/locations/{location}/policies/{policy}`.",
          "type": "string"
        }
      }
    },
    "PromoteReleaseOperation": {
      "type": "object",
      "description": "Contains the information of an automated promote-release operation.",
      "properties": {
        "targetId": {
          "description": "Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.",
          "type": "string",
          "readOnly": true
        },
        "phase": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The starting phase of the rollout created by this operation."
        },
        "rollout": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The name of the rollout that initiates the `AutomationRun`."
        },
        "wait": {
          "readOnly": true,
          "format": "google-duration",
          "description": "Output only. How long the operation will be paused.",
          "type": "string"
        }
      }
    },
    "PromoteReleaseRule": {
      "type": "object",
      "description": "The `PromoteRelease` rule will automatically promote a release from the current target to a specified target.",
      "properties": {
        "id": {
          "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.",
          "type": "string"
        },
        "condition": {
          "$ref": "#/$defs/AutomationRuleCondition",
          "description": "Output only. Information around the state of the Automation rule."
        },
        "destinationPhase": {
          "type": "string",
          "description": "Optional. The starting phase of the rollout created by this operation. Default to the first phase."
        },
        "wait": {
          "type": "string",
          "description": "Optional. How long the release need to be paused until being promoted to the next target.",
          "format": "google-duration"
        },
        "destinationTargetId": {
          "description": "Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name * \"@next\", the next target in the promotion sequence",
          "type": "string"
        }
      }
    },
    "RepairPhase": {
      "properties": {
        "retry": {
          "$ref": "#/$defs/RetryPhase",
          "description": "Output only. Records of the retry attempts for retry repair mode."
        },
        "rollback": {
          "$ref": "#/$defs/RollbackAttempt",
          "description": "Output only. Rollback attempt for rollback repair mode ."
        }
      },
      "description": "RepairPhase tracks the repair attempts that have been made for each `RepairPhaseConfig` specified in the `Automation` resource.",
      "type": "object"
    },
    "RepairPhaseConfig": {
      "type": "object",
      "description": "Configuration of the repair phase.",
      "properties": {
        "retry": {
          "$ref": "#/$defs/Retry",
          "description": "Optional. Retries a failed job."
        },
        "rollback": {
          "$ref": "#/$defs/Rollback",
          "description": "Optional. Rolls back a `Rollout`."
        }
      }
    },
    "RepairRolloutOperation": {
      "properties": {
        "phaseId": {
          "type": "string",
          "description": "Output only. The phase ID of the phase that includes the job being repaired.",
          "readOnly": true
        },
        "rollout": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The name of the rollout that initiates the `AutomationRun`."
        },
        "jobId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The job ID for the Job to repair."
        },
        "repairPhases": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RepairPhase"
          },
          "description": "Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.",
          "readOnly": true
        },
        "currentRepairPhaseIndex": {
          "format": "int64",
          "type": "string",
          "description": "Output only. The index of the current repair action in the repair sequence.",
          "readOnly": true
        }
      },
      "type": "object",
      "description": "Contains the information for an automated `repair rollout` operation."
    },
    "RepairRolloutRule": {
      "description": "The `RepairRolloutRule` automation rule will automatically repair a failed `Rollout`.",
      "properties": {
        "phases": {
          "type": "array",
          "description": "Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.",
          "items": {
            "type": "string"
          }
        },
        "repairPhases": {
          "description": "Required. Defines the types of automatic repair phases for failed jobs.",
          "items": {
            "$ref": "#/$defs/RepairPhaseConfig"
          },
          "type": "array"
        },
        "jobs": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.",
          "type": "array"
        },
        "condition": {
          "$ref": "#/$defs/AutomationRuleCondition",
          "description": "Output only. Information around the state of the 'Automation' rule."
        },
        "id": {
          "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Retry": {
      "properties": {
        "wait": {
          "format": "google-duration",
          "description": "Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.",
          "type": "string"
        },
        "attempts": {
          "type": "string",
          "description": "Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.",
          "format": "int64"
        },
        "backoffMode": {
          "description": "Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.",
          "type": "string",
          "enum": [
            "BACKOFF_MODE_UNSPECIFIED",
            "BACKOFF_MODE_LINEAR",
            "BACKOFF_MODE_EXPONENTIAL"
          ]
        }
      },
      "type": "object",
      "description": "Retries the failed job."
    },
    "RetryAttempt": {
      "type": "object",
      "properties": {
        "attempt": {
          "readOnly": true,
          "format": "int64",
          "description": "Output only. The index of this retry attempt.",
          "type": "string"
        },
        "stateDesc": {
          "readOnly": true,
          "description": "Output only. Description of the state of the Retry.",
          "type": "string"
        },
        "state": {
          "enum": [
            "REPAIR_STATE_UNSPECIFIED",
            "REPAIR_STATE_SUCCEEDED",
            "REPAIR_STATE_CANCELLED",
            "REPAIR_STATE_FAILED",
            "REPAIR_STATE_IN_PROGRESS",
            "REPAIR_STATE_PENDING",
            "REPAIR_STATE_ABORTED"
          ],
          "type": "string",
          "readOnly": true,
          "description": "Output only. Valid state of this retry action."
        },
        "wait": {
          "format": "google-duration",
          "type": "string",
          "description": "Output only. How long the operation will be paused.",
          "readOnly": true
        }
      },
      "description": "RetryAttempt represents an action of retrying the failed Cloud Deploy job."
    },
    "RetryPhase": {
      "properties": {
        "totalAttempts": {
          "format": "int64",
          "readOnly": true,
          "type": "string",
          "description": "Output only. The number of attempts that have been made."
        },
        "backoffMode": {
          "readOnly": true,
          "description": "Output only. The pattern of how the wait time of the retry attempt is calculated.",
          "type": "string",
          "enum": [
            "BACKOFF_MODE_UNSPECIFIED",
            "BACKOFF_MODE_LINEAR",
            "BACKOFF_MODE_EXPONENTIAL"
          ]
        },
        "attempts": {
          "items": {
            "$ref": "#/$defs/RetryAttempt"
          },
          "readOnly": true,
          "type": "array",
          "description": "Output only. Detail of a retry action."
        }
      },
      "type": "object",
      "description": "RetryPhase contains the retry attempts and the metadata for initiating a new attempt."
    },
    "Rollback": {
      "properties": {
        "destinationPhase": {
          "description": "Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.",
          "type": "string"
        },
        "disableRollbackIfRolloutPending": {
          "description": "Optional. If pending rollout exists on the target, the rollback operation will be aborted.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Rolls back a `Rollout`."
    },
    "RollbackAttempt": {
      "type": "object",
      "description": "RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.",
      "properties": {
        "disableRollbackIfRolloutPending": {
          "description": "Output only. If active rollout exists on the target, abort this rollback.",
          "readOnly": true,
          "type": "boolean"
        },
        "state": {
          "enum": [
            "REPAIR_STATE_UNSPECIFIED",
            "REPAIR_STATE_SUCCEEDED",
            "REPAIR_STATE_CANCELLED",
            "REPAIR_STATE_FAILED",
            "REPAIR_STATE_IN_PROGRESS",
            "REPAIR_STATE_PENDING",
            "REPAIR_STATE_ABORTED"
          ],
          "readOnly": true,
          "description": "Output only. Valid state of this rollback action.",
          "type": "string"
        },
        "rolloutId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. ID of the rollback `Rollout` to create."
        },
        "destinationPhase": {
          "description": "Output only. The phase to which the rollout will be rolled back to.",
          "type": "string",
          "readOnly": true
        },
        "stateDesc": {
          "description": "Output only. Description of the state of the Rollback.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "TargetAttribute": {
      "description": "Contains criteria for selecting Targets. This could be used to select targets for a Deploy Policy or for an Automation.",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Optional. ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name * \"*\", all targets in a location"
        },
        "labels": {
          "description": "Target labels.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "Targets": {
      "type": "object",
      "properties": {
        "destinationTargetId": {
          "type": "string",
          "description": "Optional. The destination target ID."
        },
        "sourceTargetId": {
          "description": "Optional. The source target ID.",
          "type": "string"
        }
      },
      "description": "The targets involved in a single timed promotion."
    },
    "TargetsPresentCondition": {
      "type": "object",
      "properties": {
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Last time the condition was updated."
        },
        "status": {
          "type": "boolean",
          "description": "True if there aren't any missing Targets."
        },
        "missingTargets": {
          "description": "The list of Target names that do not exist. For example, `projects/{project_id}/locations/{location_name}/targets/{target_name}`.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "description": "`TargetsPresentCondition` contains information on any Targets referenced in the Delivery Pipeline that do not actually exist."
    },
    "TimedPromoteReleaseCondition": {
      "properties": {
        "targetsList": {
          "readOnly": true,
          "type": "array",
          "description": "Output only. A list of targets involved in the upcoming timed promotion(s).",
          "items": {
            "$ref": "#/$defs/Targets"
          }
        },
        "nextPromotionTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. When the next scheduled promotion(s) will occur.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "`TimedPromoteReleaseCondition` contains conditions specific to an Automation with a Timed Promote Release rule defined."
    },
    "TimedPromoteReleaseOperation": {
      "properties": {
        "release": {
          "description": "Output only. The name of the release to be promoted.",
          "type": "string",
          "readOnly": true
        },
        "phase": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The starting phase of the rollout created by this operation."
        },
        "targetId": {
          "description": "Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.",
          "type": "string",
          "readOnly": true
        }
      },
      "type": "object",
      "description": "Contains the information of an automated timed promote-release operation."
    },
    "TimedPromoteReleaseRule": {
      "description": "The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.",
      "type": "object",
      "properties": {
        "destinationPhase": {
          "description": "Optional. The starting phase of the rollout created by this rule. Default to the first phase.",
          "type": "string"
        },
        "condition": {
          "$ref": "#/$defs/AutomationRuleCondition",
          "description": "Output only. Information around the state of the Automation rule."
        },
        "destinationTargetId": {
          "description": "Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name * \"@next\", the next target in the promotion sequence",
          "type": "string"
        },
        "id": {
          "type": "string",
          "description": "Required. ID of the rule. This ID must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`."
        },
        "schedule": {
          "description": "Required. Schedule in crontab format. e.g. \"0 9 * * 1\" for every Monday at 9am.",
          "type": "string"
        },
        "timeZone": {
          "description": "Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).",
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-deploy-automation-run"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.