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,24 @@
# -*- 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 saas-types command group for the SaaS Runtime CLI."""
from googlecloudsdk.calliope import base
@base.UniverseCompatible
@base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA)
class Saas(base.Group):
category = base.SAAS_CATEGORY
detailed_help = {'brief': 'Manage SaaS Runtime saas.'}

View File

@@ -0,0 +1,44 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: Create a SaaS
description: Create a SaaS
examples: |-
To create a new SaaS, run:
$ {command} saas --locations=name=us-central2 --locations=name=europe-west1
arguments:
params:
- help_text: |-
Identifier. The resource name (full URI of the resource) following the standard naming
scheme:
"projects/{project}/locations/{location}/saas/{saas}"
is_positional: true
request_id_field: saasId
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:saas
required: true
- arg_name: locations
api_field: saas.locations
required: true
repeated: true
help_text: |-
List of locations that the service is available in. Rollout refers to the
list to generate a rollout plan.
spec:
- api_field: name
help_text: |-
Name of location.
- arg_name: labels
api_field: saas.labels
required: false
repeated: true
help_text: |-
The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
spec:
- api_field: key
- api_field: value
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.saas

View File

@@ -0,0 +1,19 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: Delete a SaaS
description: Delete a SaaS
examples: |-
To delete the SaaS, run:
$ {command}
arguments:
params:
- help_text: |-
The resource name of the resource within a service.
is_positional: true
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:saas
required: true
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.saas

View File

@@ -0,0 +1,19 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: Describe a SaaS
description: Describe a SaaS
examples: |-
To describe the SaaS, run:
$ {command}
arguments:
params:
- help_text: |-
The resource name of the resource within a service.
is_positional: true
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:saas
required: true
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.saas

View File

@@ -0,0 +1,19 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: List SaaS
description: List SaaS
examples: |-
To list all Saas Types, run:
$ {command}
arguments:
resource:
help_text: |-
The parent of the saas type.
spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:project_location_with_default
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.saas
response:
id_field: name

View File

@@ -0,0 +1,46 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: Update a SaaS
description: Update a SaaS
examples: |-
To update the SaaS, run:
$ {command} my-saas
arguments:
params:
- help_text: |-
Identifier. The resource name (full URI of the resource) following the standard naming
scheme:
"projects/{project}/locations/{location}/saas/{saas}"
is_positional: true
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:saas
required: true
- arg_name: locations
api_field: saas.locations
clearable: true
repeated: true
help_text: |-
List of locations that the service is available in. Rollout refers to the
list to generate a rollout plan.
spec:
- api_field: name
help_text: |-
Name of location. Example flag usage: --locations=name=us-central1
- arg_name: labels
api_field: saas.labels
required: false
repeated: true
help_text: |-
The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
clearable: true
spec:
- api_field: key
- api_field: value
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.saas
update:
read_modify_update: true