class ProjectsLocationsDeliveryPipelinesReleases extends Resource (View source)

The "releases" collection of methods.

Typical usage is:

 $clouddeployService = new Google\Service\CloudDeploy(...);
 $releases = $clouddeployService->projects_locations_deliveryPipelines_releases;

Methods

abandon(string $name, AbandonReleaseRequest $postBody, array $optParams = [])

Abandons a Release in the Delivery Pipeline. (releases.abandon)

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

Creates a new Release in a given project and location. (releases.create)

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

Gets details of a single Release. (releases.get)

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

Lists Releases in a given project and location.

Details

AbandonReleaseResponse abandon(string $name, AbandonReleaseRequest $postBody, array $optParams = [])

Abandons a Release in the Delivery Pipeline. (releases.abandon)

Parameters

string $name

Required. Name of the Release. Format is projects/{proje ct}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{relea se}.

AbandonReleaseRequest $postBody
array $optParams

Optional parameters.

Return Value

AbandonReleaseResponse

Exceptions

Exception

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

Creates a new Release in a given project and location. (releases.create)

Parameters

string $parent

Required. The parent collection in which the Release is created. The format is projects/{project_id}/locations/{location_name}/de liveryPipelines/{pipeline_name}.

Release $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single Release. (releases.get)

Parameters

string $name

Required. Name of the Release. Format must be projects /{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/rel eases/{release_name}.

array $optParams

Optional parameters.

Return Value

Release

Exceptions

Exception

ListReleasesResponse listProjectsLocationsDeliveryPipelinesReleases(string $parent, array $optParams = [])

Lists Releases in a given project and location.

(releases.listProjectsLocationsDeliveryPipelinesReleases)

Parameters

string $parent

Required. The DeliveryPipeline which owns this collection of Release objects.

array $optParams

Optional parameters.

Return Value

ListReleasesResponse

Exceptions

Exception