Creates a new Service in a given project and location.
Request
- Base URL: https://run.googleapis.com
- URL: https://run.googleapis.com/v2/{+parent}/services
- Auth: one of:
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/run) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/run)
Path parameters
Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.
Query parameters
Optional. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}. If not provided, the server will generate a unique service_id.
Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2c
- breaking
- info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2c - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/ - info
added the new
DELAYED_EXECUTION_EXCEEDING_DURATION_LIMITenum value to the request property// - info
added the new
DELAYED_EXECUTION_EXCEEDING_DURATION_LIMITenum value to the request property/
- info