mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 8 12:08:12 UTC 2026
This commit is contained in:
parent
89a3bc9276
commit
5b03e16435
766 changed files with 29847 additions and 8950 deletions
82
gcloud/beta/observability/scopes/update
Normal file
82
gcloud/beta/observability/scopes/update
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
NAME
|
||||
gcloud beta observability scopes update - update scopes
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta observability scopes update (SCOPE : --location=LOCATION)
|
||||
[--log-scope=LOG_SCOPE] [--trace-scope=TRACE_SCOPE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update a scope
|
||||
|
||||
EXAMPLES
|
||||
To update the scope, run:
|
||||
|
||||
$ gcloud beta 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
|
||||
|
||||
--trace-scope=TRACE_SCOPE
|
||||
The resource name of the TraceScope. For example:
|
||||
|
||||
projects/myproject/locations/global/traceScopes/my-trace-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/
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud observability scopes update
|
||||
|
||||
$ gcloud alpha observability scopes update
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue