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 tenants 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 tenants.'}

View File

@@ -0,0 +1,49 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: Create a Tenant
description: Create a Tenant
examples: |-
To create the Tenant, run:
$ {command}
arguments:
params:
- help_text: |-
Identifier. The resource name (full URI of the resource) following the standard naming
scheme:
"projects/{project}/locations/{location}/tenants/{tenant}"
is_positional: true
request_id_field: tenantId
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:tenant
required: true
- arg_name: saas
help_text: |-
A reference to the Saas that defines the product (managed service) that
the producer wants to manage with SaaS Runtime. Part of the
SaaS Runtime common data model.
is_positional: false
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:saas
resource_method_params:
tenant.saas: '{__relative_name__}'
required: true
- arg_name: consumer-resource
api_field: tenant.consumerResource
required: false
repeated: false
help_text: |-
A reference to the consumer resource this SaaS Tenant is representing.
- arg_name: labels
api_field: tenant.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.tenants

View File

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

View File

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

View File

@@ -0,0 +1,19 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: List Tenants
description: List Tenants
examples: |-
To list all Tenants, run:
$ {command}
arguments:
resource:
help_text: |-
Parent value for ListTenantsRequest
spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:project_location_with_default
request:
api_version: v1beta1
collection:
- saasservicemgmt.projects.locations.tenants
response:
id_field: name

View File

@@ -0,0 +1,35 @@
- release_tracks: [ALPHA, BETA]
help_text:
brief: Update tenants
description: Update a tenant
examples: |-
To update the tenant, run:
$ {command}
arguments:
params:
- help_text: |-
Identifier. The resource name (full URI of the resource) following the standard naming
scheme:
"projects/{project}/locations/{location}/tenants/{tenant}"
is_positional: true
resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:tenant
required: true
- arg_name: labels
api_field: tenant.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.tenants
update:
read_modify_update: true