Method: services.configs.create

Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call rollouts.create.

Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.

HTTP request

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

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 Service.

Response body

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

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.

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