projects

PATCH /v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}

Updates the parameters of a single Scope.

Request

  • Base URL
    https://observability.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/cloud-platform
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required
scopesIdstring required

Query parameters

updateMaskstring google-fieldmask

Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten.

Request body

logScopestring

Required. The full resource name of the logging.googleapis.com/LogScope. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope

namestring

Identifier. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The {location} field must be set to global. The {scope} field must be set to _Default.

traceScopestring

Required. The unqualified resource name of the cloudtrace.googleapis.com/TraceScope. For example: projects/myproject/locations/global/traceScopes/my-trace-scope

updateTimestring google-datetime

Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset.

Response

Successful response

logScopestring

Required. The full resource name of the logging.googleapis.com/LogScope. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope

namestring

Identifier. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The {location} field must be set to global. The {scope} field must be set to _Default.

traceScopestring

Required. The unqualified resource name of the cloudtrace.googleapis.com/TraceScope. For example: projects/myproject/locations/global/traceScopes/my-trace-scope

updateTimestring google-datetime

Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset.

Changes

No recorded changes to this operation across all 6 revisions of this API.