Method: projects.locations.services.patch

Stay organized with collections Save and categorize content based on your preferences.

Updates a Service.

HTTP request

PATCH https://{endpoint}/v2/{service.name}

Where {endpoint} is one of the supported service endpoints.

Path parameters

Parameters
service.name

string

The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id.

Format: projects/{project}/locations/{location}/services/{serviceId} It takes the form projects/{project}/locations/{location}/services/{service}.

Query parameters

Parameters
validateOnly

boolean

Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.

allowMissing

boolean

If set to true, and if the Service does not exist, it will create a new one. Caller must have both create and update permissions for this call if this is set to true.

Request body

The request body contains an instance of Service.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.