Close httplib2 connections.
Gets details of a single Scope.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the parameters of a single Scope.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets details of a single Scope. Args: name: string, Required. 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`. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Message describing Scope object "logScope": "A String", # Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope "name": "A String", # 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`. "updateTime": "A String", # Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset. }
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the parameters of a single Scope. Args: name: string, 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`. (required) body: object, The request body. The object takes the form of: { # Message describing Scope object "logScope": "A String", # Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope "name": "A String", # 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`. "updateTime": "A String", # Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset. } updateMask: string, 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 will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Message describing Scope object "logScope": "A String", # Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope "name": "A String", # 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`. "updateTime": "A String", # Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset. }