Skip to main content

revisions_deployments

Creates, updates, deletes, gets or lists a revisions_deployments resource.

Overview

Namerevisions_deployments
TypeResource
Idgoogle.apigee.revisions_deployments

Fields

NameDatatypeDescription
apiProxystringAPI proxy.
deployStartTimestringTime the API proxy was marked deployed in the control plane in millisconds since epoch.
environmentstringEnvironment.
errorsarrayErrors reported for this deployment. Populated only when state == ERROR. Note: This field is displayed only when viewing deployment status.
instancesarrayStatus reported by each runtime instance. Note: This field is displayed only when viewing deployment status.
podsarrayStatus reported by runtime pods. Note: This field is deprecated. Runtime versions 1.3 and above report instance level status rather than pod status.
proxyDeploymentTypestringOutput only. The type of the deployment (standard or extensible) Deployed proxy revision will be marked as extensible in following 2 cases. 1. The deployed proxy revision uses extensible policies. 2. If a environment supports flowhooks and flow hook is configured.
revisionstringAPI proxy revision.
routeConflictsarrayConflicts in the desired state routing configuration. The presence of conflicts does not cause the state to be ERROR, but it will mean that some of the deployment's base paths are not routed to its environment. If the conflicts change, the state will transition to PROGRESSING until the latest configuration is rolled out to all instances. Note: This field is displayed only when viewing deployment status.
serviceAccountstringThe full resource name of Cloud IAM Service Account that this deployment is using, eg, projects/-/serviceAccounts/{email}.
statestringCurrent state of the deployment. Note: This field is displayed only when viewing deployment status.

Methods

NameAccessible byRequired ParamsDescription
organizations_environments_apis_revisions_get_deploymentsSELECTapisId, environmentsId, organizationsId, revisionsIdGets the deployment of an API proxy revision and actual state reported by runtime pods.
organizations_environments_sharedflows_revisions_get_deploymentsSELECTenvironmentsId, organizationsId, revisionsId, sharedflowsIdGets the deployment of a shared flow revision and actual state reported by runtime pods.

SELECT examples

Gets the deployment of an API proxy revision and actual state reported by runtime pods.

SELECT
apiProxy,
deployStartTime,
environment,
errors,
instances,
pods,
proxyDeploymentType,
revision,
routeConflicts,
serviceAccount,
state
FROM google.apigee.revisions_deployments
WHERE apisId = '{{ apisId }}'
AND environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}'
AND revisionsId = '{{ revisionsId }}';