class ProjectsLocationsDeliveryPipelinesAutomations extends Resource (View source)

The "automations" collection of methods.

Typical usage is:

 $clouddeployService = new Google\Service\CloudDeploy(...);
 $automations = $clouddeployService->projects_locations_deliveryPipelines_automations;

Methods

create(string $parent, Automation $postBody, array $optParams = [])

Creates a new Automation in a given project and location.

delete(string $name, array $optParams = [])

Deletes a single Automation resource. (automations.delete)

get(string $name, array $optParams = [])

Gets details of a single Automation. (automations.get)

listProjectsLocationsDeliveryPipelinesAutomations(string $parent, array $optParams = [])

Lists Automations in a given project and location.

patch(string $name, Automation $postBody, array $optParams = [])

Updates the parameters of a single Automation resource. (automations.patch)

Details

Operation create(string $parent, Automation $postBody, array $optParams = [])

Creates a new Automation in a given project and location.

(automations.create)

Parameters

string $parent

Required. The parent collection in which the Automation must be created. The format is projects/{project_id}/locations/ {location_name}/deliveryPipelines/{pipeline_name}.

Automation $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single Automation resource. (automations.delete)

Parameters

string $name

Required. The name of the Automation to delete. The format is projects/{project_id}/locations/{location_name}/deliveryPipelines/ {pipeline_name}/automations/{automation_name}.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Automation get(string $name, array $optParams = [])

Gets details of a single Automation. (automations.get)

Parameters

string $name

Required. Name of the Automation. Format must be proje cts/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/ automations/{automation_name}.

array $optParams

Optional parameters.

Return Value

Automation

Exceptions

Exception

ListAutomationsResponse listProjectsLocationsDeliveryPipelinesAutomations(string $parent, array $optParams = [])

Lists Automations in a given project and location.

(automations.listProjectsLocationsDeliveryPipelinesAutomations)

Parameters

string $parent

Required. The parent Delivery Pipeline, which owns this collection of automations. Format must be projects/{project_id}/locatio ns/{location_name}/deliveryPipelines/{pipeline_name}.

array $optParams

Optional parameters.

Return Value

ListAutomationsResponse

Exceptions

Exception

Operation patch(string $name, Automation $postBody, array $optParams = [])

Updates the parameters of a single Automation resource. (automations.patch)

Parameters

string $name

Output only. Name of the Automation. Format is project s/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automa tions/{automation}.

Automation $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception