ProjectsLocationsApisDeployments
class ProjectsLocationsApisDeployments extends Resource (View source)
The "deployments" collection of methods.
Typical usage is:
$apigeeregistryService = new Google\Service\ApigeeRegistry(...);
$deployments = $apigeeregistryService->projects_locations_apis_deployments;
Methods
Creates a specified deployment. (deployments.create)
Removes a specified deployment, all revisions, and all child resources (e.g., artifacts). (deployments.delete)
Deletes a revision of a deployment. (deployments.deleteRevision)
Returns a specified deployment. (deployments.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (deployments.getIamPolicy)
Returns matching deployments.
Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time. (deployments.listRevisions)
Used to modify a specified deployment. (deployments.patch)
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID. (deployments.rollback)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (deployments.setIamPolicy)
Adds a tag to a specified revision of a deployment. (deployments.tagRevision)
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
Details
ApiDeployment
create(string $parent, ApiDeployment $postBody, array $optParams = [])
Creates a specified deployment. (deployments.create)
ApigeeregistryEmpty
delete(string $name, array $optParams = [])
Removes a specified deployment, all revisions, and all child resources (e.g., artifacts). (deployments.delete)
ApiDeployment
deleteRevision(string $name, array $optParams = [])
Deletes a revision of a deployment. (deployments.deleteRevision)
ApiDeployment
get(string $name, array $optParams = [])
Returns a specified deployment. (deployments.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (deployments.getIamPolicy)
ListApiDeploymentsResponse
listProjectsLocationsApisDeployments(string $parent, array $optParams = [])
Returns matching deployments.
(deployments.listProjectsLocationsApisDeployments)
ListApiDeploymentRevisionsResponse
listRevisions(string $name, array $optParams = [])
Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time. (deployments.listRevisions)
ApiDeployment
patch(string $name, ApiDeployment $postBody, array $optParams = [])
Used to modify a specified deployment. (deployments.patch)
ApiDeployment
rollback(string $name, RollbackApiDeploymentRequest $postBody, array $optParams = [])
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID. (deployments.rollback)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (deployments.setIamPolicy)
ApiDeployment
tagRevision(string $name, TagApiDeploymentRevisionRequest $postBody, array $optParams = [])
Adds a tag to a specified revision of a deployment. (deployments.tagRevision)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning. (deployments.testIamPermissions)