Method: services.rollouts.create

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<response: Rollout>

HTTP request

POST https://servicemanagement.googleapis.com/v1/services/{serviceName}/rollouts

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
serviceName

string

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

Authorization requires the following Google IAM permission on the specified resource service_name:

  • servicemanagement.services.update

Request body

The request body contains an instance of Rollout.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/service.management
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

หน้านี้มีประโยชน์ไหม โปรดแสดงความคิดเห็น