class ServicesRollouts extends Resource (View source)

The "rollouts" collection of methods.

Typical usage is:

 $servicemanagementService = new Google\Service\ServiceManagement(...);
 $rollouts = $servicemanagementService->services_rollouts;

Methods

create(string $serviceName, Rollout $postBody, array $optParams = [])

Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation (rollouts.create)

get(string $serviceName, string $rolloutId, array $optParams = [])

Gets a service configuration rollout. (rollouts.get)

listServicesRollouts(string $serviceName, array $optParams = [])

Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest. (rollouts.listServicesRollouts)

Details

Operation create(string $serviceName, Rollout $postBody, array $optParams = [])

Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation (rollouts.create)

Parameters

string $serviceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

Rollout $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Rollout get(string $serviceName, string $rolloutId, array $optParams = [])

Gets a service configuration rollout. (rollouts.get)

Parameters

string $serviceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string $rolloutId

Required. The id of the rollout resource.

array $optParams

Optional parameters.

Return Value

Rollout

Exceptions

Exception

ListServiceRolloutsResponse listServicesRollouts(string $serviceName, array $optParams = [])

Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest. (rollouts.listServicesRollouts)

Parameters

string $serviceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

array $optParams

Optional parameters.

Return Value

ListServiceRolloutsResponse

Exceptions

Exception