1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 10:56:49 +00:00
gcloud-help/gcloud/observability/scopes/update
2025-06-14 05:31:37 +00:00

67 lines
2.3 KiB
Text

NAME
gcloud observability scopes update - update scopes
SYNOPSIS
gcloud observability scopes update (SCOPE : --location=LOCATION)
[--log-scope=LOG_SCOPE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update a scope
EXAMPLES
To update the scope, run:
$ gcloud observability scopes update
POSITIONAL ARGUMENTS
Scope resource - 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. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument scope on the command line with a fully specified
name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
SCOPE
ID of the scope or fully qualified identifier for the scope.
To set the scope attribute:
▸ provide the argument scope on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The location id of the scope resource.
To set the location attribute:
▸ provide the argument scope on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
FLAGS
--log-scope=LOG_SCOPE
The full resource name of the LogScope. For example:
//logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the observability/v1 API. The full documentation for this
API can be found at: https://cloud.google.com/stackdriver/docs/