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

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
apiProxystringAPI proxy.
deployStartTimestring (int64)Time 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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_environments_apis_revisions_get_deploymentsselectorganizationsId, environmentsId, apisId, revisionsIdGets the deployment of an API proxy revision and actual state reported by runtime pods.
organizations_environments_sharedflows_revisions_get_deploymentsselectorganizationsId, environmentsId, sharedflowsId, revisionsIdGets the deployment of a shared flow revision and actual state reported by runtime pods.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
apisIdstring
environmentsIdstring
organizationsIdstring
revisionsIdstring
sharedflowsIdstring

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 organizationsId = '{{ organizationsId }}' -- required
AND environmentsId = '{{ environmentsId }}' -- required
AND apisId = '{{ apisId }}' -- required
AND revisionsId = '{{ revisionsId }}' -- required;