- 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 toglobal
. The{scope}
field must be set to
SCOPEDefault
. 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.
-
provide the argument
-
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.
-
provide the argument
--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.
-
provide the argument
-
Scope resource - Identifier. Name of the resource. The format is:
--log-scope
=LOG_SCOPE
-
The full resource name of the
LogScope
. For example://logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope
--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.
observability/v1
API. The full documentation
for this API can be found at: https://cloud.google.com/stackdriver/docs/