| Current Path : /lib/google-cloud-sdk/lib/surface/observability/settings/ |
| Current File : //lib/google-cloud-sdk/lib/surface/observability/settings/update.yaml |
- release_tracks: [BETA]
help_text:
brief: Update Observability settings configured on a project, folder, or organization.
description: |
Update the Observability settings configured for a specified project,
folder, or organization.
examples: |
The following command updates Observability settings for the project named `sample-project` in location
`global`:
$ {command} --project=sample-project --location=global --update-mask=default-storage-location --default-storage-location="us"
request:
ALPHA:
api_version: v1
method: updateSettings
collection:
- observability.projects.locations
- observability.folders.locations
- observability.organizations.locations
modify_request_hooks:
- googlecloudsdk.command_lib.observability.util:UpdateSettingsResource
arguments:
resource:
arg_name: location
is_positional: false
spec: !REF googlecloudsdk.command_lib.observability.settings_resources:location
help_text: |
The project/organization/folder location for which the settings are to be updated.
params:
- arg_name: default-storage-location
api_field: settings.defaultStorageLocation
help_text: |
Updated default storage location.
- arg_name: kms-key-name
api_field: settings.kmsKeyName
help_text: |
Updated kms key name.
- arg_name: update-mask
api_field: updateMask
help_text: |
Comma-separated string containing list of fields to be updated.
async:
ALPHA:
api_version: v1
collection:
- observability.projects.locations.operations
- observability.folders.locations.operations
- observability.organizations.locations.operations
extract_resource_result: false
result_attribute: response
output:
format: yaml