Deployments
class Deployments extends Resource (View source)
The "deployments" collection of methods.
Typical usage is:
$deploymentmanagerService = new Google\Service\DeploymentManager(...);
$deployments = $deploymentmanagerService->deployments;
Methods
Cancels and removes the preview currently associated with the deployment.
Deletes a deployment and all of the resources in the deployment.
Gets information about a specific deployment. (deployments.get)
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (deployments.getIamPolicy)
Creates a deployment and all of the resources described by the deployment manifest. (deployments.insert)
Lists all deployments for a given project. (deployments.listDeployments)
Patches a deployment and all of the resources described by the deployment manifest. (deployments.patch)
Sets the access control policy on the specified resource. Replaces any existing policy. (deployments.setIamPolicy)
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
Returns permissions that a caller has on the specified resource.
Updates a deployment and all of the resources described by the deployment manifest. (deployments.update)
Details
Operation
cancelPreview(string $project, string $deployment, DeploymentsCancelPreviewRequest $postBody, array $optParams = [])
Cancels and removes the preview currently associated with the deployment.
(deployments.cancelPreview)
Operation
delete(string $project, string $deployment, array $optParams = [])
Deletes a deployment and all of the resources in the deployment.
(deployments.delete)
Deployment
get(string $project, string $deployment, array $optParams = [])
Gets information about a specific deployment. (deployments.get)
Policy
getIamPolicy(string $project, string $resource, array $optParams = [])
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (deployments.getIamPolicy)
Operation
insert(string $project, Deployment $postBody, array $optParams = [])
Creates a deployment and all of the resources described by the deployment manifest. (deployments.insert)
DeploymentsListResponse
listDeployments(string $project, array $optParams = [])
Lists all deployments for a given project. (deployments.listDeployments)
Operation
patch(string $project, string $deployment, Deployment $postBody, array $optParams = [])
Patches a deployment and all of the resources described by the deployment manifest. (deployments.patch)
Policy
setIamPolicy(string $project, string $resource, GlobalSetPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy. (deployments.setIamPolicy)
Operation
stop(string $project, string $deployment, DeploymentsStopRequest $postBody, array $optParams = [])
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
(deployments.stop)
TestPermissionsResponse
testIamPermissions(string $project, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(deployments.testIamPermissions)
Operation
update(string $project, string $deployment, Deployment $postBody, array $optParams = [])
Updates a deployment and all of the resources described by the deployment manifest. (deployments.update)