feat: Add new gcloud commands, API clients, and third-party libraries across various services.

This commit is contained in:
2026-01-01 20:26:35 +01:00
parent 5e23cbece0
commit a19e592eb7
25221 changed files with 8324611 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*- #
# Copyright 2025 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""The flags revisions command group for the SaaS Runtime CLI."""
from googlecloudsdk.calliope import base
@base.UniverseCompatible
@base.ReleaseTracks(base.ReleaseTrack.ALPHA)
@base.Hidden
class SaasFlagsRevisions(base.Group):
category = base.SAAS_CATEGORY
detailed_help = {'brief': 'Manage SaaS Runtime flags revisions.'}

View File

@@ -0,0 +1,59 @@
- release_tracks:
- ALPHA
hidden: true
help_text:
brief: Create Flag Revision
description: Create a Flag Revision.
examples: |-
To create a Flag Revision, run:
$ {command}
arguments:
params:
- help_text: |-
Flag Revision ID. Google Cloud resource name (full URI of the resource) following the standard naming
scheme:
"projects/{project}/locations/{location}/flagRevisions/{flag_revision_id}"
is_positional: true
request_id_field: flagRevisionId
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag_revision
required: true
repeated: false
- arg_name: flag
help_text: |-
Name (ID) of the Flag this is a revision of.
is_positional: false
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag
resource_method_params:
flagRevision.flag: '{__relative_name__}'
required: true
repeated: false
- arg_name: labels
api_field: flagRevision.labels
required: false
repeated: true
help_text: |-
Labels on the resource, which can be used for categorization.
spec:
- api_field: key
- api_field: value
- arg_name: annotations
api_field: flagRevision.annotations
required: false
repeated: true
help_text: |-
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
spec:
- api_field: key
- api_field: value
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.flagRevisions

View File

@@ -0,0 +1,21 @@
- release_tracks:
- ALPHA
hidden: true
help_text:
brief: Delete Flag Revision
description: Delete a Flag Revision
examples: |-
To delete a Flag Revision, run:
$ {command}
arguments:
params:
- help_text: |-
Flag Revision ID of the Flag Revision to delete.
is_positional: true
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag_revision
required: true
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.flagRevisions

View File

@@ -0,0 +1,21 @@
- release_tracks:
- ALPHA
hidden: true
help_text:
brief: Describe Flag Revision
description: Describe a Flag Revision
examples: |-
To describe a Flag Revision, run:
$ {command}
arguments:
params:
- help_text: |-
Flag Revision ID of the Flag Revision to describe.
is_positional: true
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag_revision
required: true
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.flagRevisions

View File

@@ -0,0 +1,21 @@
- release_tracks:
- ALPHA
hidden: true
help_text:
brief: List Flags Revisions
description: List Flags Revisions
examples: |-
To list Flags Revisions, run:
$ {command}
arguments:
resource:
help_text: |-
Parent value for ListFlagRevisionsRequest
spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:project_location_with_default
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.flagRevisions
response:
id_field: name

View File

@@ -0,0 +1,52 @@
- release_tracks:
- ALPHA
hidden: true
help_text:
brief: Update Flag Revision
description: Update a Flag Revision.
examples: |-
To update Flag Revision, run:
$ {command}
arguments:
params:
- help_text: |-
Flag Revision ID. Google Cloud resource name (full URI of the resource) following the standard naming
scheme:
"projects/{project}/locations/{location}/flagRevisions/{flag_revision_id}"
is_positional: true
request_id_field: flagRevisionId
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag_revision
required: true
- arg_name: labels
api_field: flagRevision.labels
clearable: true
required: false
repeated: true
help_text: |-
The labels on the resource, which can be used for categorization.
spec:
- api_field: key
- api_field: value
- arg_name: annotations
api_field: flagRevision.annotations
clearable: true
required: false
repeated: true
help_text: |-
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
spec:
- api_field: key
- api_field: value
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.flagRevisions
update:
read_modify_update: true