Method: projects.locations.services.create

Rpc to create a service.

HTTP request

POST https://run.googleapis.com/v1alpha1/{parent}/services

Path parameters

Parameters
parent

string

The project ID or project number in which this service should be created. It takes the form projects/{project_id}/locations/{location_id}.

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

  • run.services.create

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 the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...