OrganizationsEnvironmentsApisRevisions
class OrganizationsEnvironmentsApisRevisions extends Resource (View source)
The "revisions" collection of methods.
Typical usage is:
$apigeeService = new Google\Service\Apigee(...);
$revisions = $apigeeService->organizations_environments_apis_revisions;
Methods
Deploys a revision of an API proxy. If another revision of the same API proxy
revision is currently deployed, set the override
parameter to true
to
have this revision replace the currently deployed revision. You cannot invoke
an API proxy until it has been deployed to an environment. After you deploy
an API proxy revision, you cannot edit it. To edit the API proxy, you must
create and deploy a new revision. For a request path organizations/{org}/env ironments/{env}/apis/{api}/revisions/{rev}/deployments
, two permissions are
required: apigee.deployments.create
on the resource
organizations/{org}/environments/{env}
apigee.proxyrevisions.deploy
on
the resource organizations/{org}/apis/{api}/revisions/{rev}
(revisions.deploy)
Gets the deployment of an API proxy revision and actual state reported by runtime pods. (revisions.getDeployments)
Undeploys an API proxy revision from an environment. For a request path orga nizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments
,
two permissions are required: apigee.deployments.delete
on the resource
organizations/{org}/environments/{env}
apigee.proxyrevisions.undeploy
on the resource organizations/{org}/apis/{api}/revisions/{rev}
(revisions.undeploy)
Details
GoogleCloudApigeeV1Deployment
deploy(string $name, array $optParams = [])
Deploys a revision of an API proxy. If another revision of the same API proxy
revision is currently deployed, set the override
parameter to true
to
have this revision replace the currently deployed revision. You cannot invoke
an API proxy until it has been deployed to an environment. After you deploy
an API proxy revision, you cannot edit it. To edit the API proxy, you must
create and deploy a new revision. For a request path organizations/{org}/env ironments/{env}/apis/{api}/revisions/{rev}/deployments
, two permissions are
required: apigee.deployments.create
on the resource
organizations/{org}/environments/{env}
apigee.proxyrevisions.deploy
on
the resource organizations/{org}/apis/{api}/revisions/{rev}
(revisions.deploy)
GoogleCloudApigeeV1Deployment
getDeployments(string $name, array $optParams = [])
Gets the deployment of an API proxy revision and actual state reported by runtime pods. (revisions.getDeployments)
GoogleProtobufEmpty
undeploy(string $name, array $optParams = [])
Undeploys an API proxy revision from an environment. For a request path orga nizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments
,
two permissions are required: apigee.deployments.delete
on the resource
organizations/{org}/environments/{env}
apigee.proxyrevisions.undeploy
on the resource organizations/{org}/apis/{api}/revisions/{rev}
(revisions.undeploy)