Class DeploymentsResource
The "deployments" collection of methods.
Inherited Members
Namespace: Google.Apis.DeploymentManager.alpha
Assembly: Google.Apis.DeploymentManager.alpha.dll
Syntax
public class DeploymentsResource
Constructors
DeploymentsResource(IClientService)
Constructs a new resource.
Declaration
public DeploymentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
CancelPreview(DeploymentsCancelPreviewRequest, string, string)
Cancels and removes the preview currently associated with the deployment.
Declaration
public virtual DeploymentsResource.CancelPreviewRequest CancelPreview(DeploymentsCancelPreviewRequest body, string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
DeploymentsCancelPreviewRequest | body | The body of the request. |
string | project | The project ID for this request. |
string | deployment | The name of the deployment for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.CancelPreviewRequest |
Delete(string, string)
Deletes a deployment and all of the resources in the deployment.
Declaration
public virtual DeploymentsResource.DeleteRequest Delete(string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
string | project | The project ID for this request. |
string | deployment | The name of the deployment for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.DeleteRequest |
Get(string, string)
Gets information about a specific deployment.
Declaration
public virtual DeploymentsResource.GetRequest Get(string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
string | project | The project ID for this request. |
string | deployment | The name of the deployment for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.GetRequest |
GetIamPolicy(string, string)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Declaration
public virtual DeploymentsResource.GetIamPolicyRequest GetIamPolicy(string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.GetIamPolicyRequest |
Insert(Deployment, string)
Creates a deployment and all of the resources described by the deployment manifest.
Declaration
public virtual DeploymentsResource.InsertRequest Insert(Deployment body, string project)
Parameters
Type | Name | Description |
---|---|---|
Deployment | body | The body of the request. |
string | project | The project ID for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.InsertRequest |
List(string)
Lists all deployments for a given project.
Declaration
public virtual DeploymentsResource.ListRequest List(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | The project ID for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.ListRequest |
Patch(Deployment, string, string)
Patches a deployment and all of the resources described by the deployment manifest.
Declaration
public virtual DeploymentsResource.PatchRequest Patch(Deployment body, string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
Deployment | body | The body of the request. |
string | project | The project ID for this request. |
string | deployment | The name of the deployment for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.PatchRequest |
SetIamPolicy(GlobalSetPolicyRequest, string, string)
Sets the access control policy on the specified resource. Replaces any existing policy.
Declaration
public virtual DeploymentsResource.SetIamPolicyRequest SetIamPolicy(GlobalSetPolicyRequest body, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
GlobalSetPolicyRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.SetIamPolicyRequest |
Stop(DeploymentsStopRequest, string, string)
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
Declaration
public virtual DeploymentsResource.StopRequest Stop(DeploymentsStopRequest body, string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
DeploymentsStopRequest | body | The body of the request. |
string | project | The project ID for this request. |
string | deployment | The name of the deployment for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.StopRequest |
TestIamPermissions(TestPermissionsRequest, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual DeploymentsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.TestIamPermissionsRequest |
Update(Deployment, string, string)
Updates a deployment and all of the resources described by the deployment manifest.
Declaration
public virtual DeploymentsResource.UpdateRequest Update(Deployment body, string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
Deployment | body | The body of the request. |
string | project | The project ID for this request. |
string | deployment | The name of the deployment for this request. |
Returns
Type | Description |
---|---|
DeploymentsResource.UpdateRequest |