Class ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource
The "automationRuns" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource
Constructors
AutomationRunsResource(IClientService)
Constructs a new resource.
Declaration
public AutomationRunsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Cancel(CancelAutomationRunRequest, string)
Cancels an AutomationRun. The state of the AutomationRun after cancelling is CANCELLED.
CancelAutomationRun can be called on AutomationRun in the state IN_PROGRESS and PENDING;
AutomationRun in a different state returns an FAILED_PRECONDITION error.
Declaration
public virtual ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.CancelRequest Cancel(CancelAutomationRunRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| CancelAutomationRunRequest | body | The body of the request. |
| string | name | Required. Name of the |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.CancelRequest |
Get(string)
Gets details of a single AutomationRun.
Declaration
public virtual ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.GetRequest |
List(string)
Lists AutomationRuns in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.ListRequest |