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,28 @@
# -*- 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 Zone Management Service command group."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from googlecloudsdk.calliope import base
@base.DefaultUniverseOnly
@base.ReleaseTracks(base.ReleaseTrack.ALPHA)
class ZoneManagementService(base.Group):
"""Zone Management Service gcloud commands."""
category = base.GDCC_ZONE_CATEGORY

View File

@@ -0,0 +1,19 @@
release_tracks: [ALPHA]
help_text:
brief: describe zonal service
description: Describes a zonal service.
examples: |
To describe a zonal service with Id `zonal-service-id` in project `test-project` and location `us-central1`, run:
$ {command} zonal-service-id --location=us-central1 --project=test-project
request:
collection: edgecontainer.projects.locations.zonalServices
api_version: v1alpha
method: get
arguments:
resource:
help_text: Zonal Service Id
spec: !REF googlecloudsdk.command_lib.zone_management.service.resources:zonalService

View File

@@ -0,0 +1,44 @@
- release_tracks: [ALPHA]
command_type: CREATE
help_text:
brief: enable zonal service
description: Enables a zonal service.
examples: |
To enable `vertex` service in location `us-central1` in `test-project` project and `test-zone` zone, run:
$ {command} vertex --location=us-central1 --project=test-project --zone=test-zone
request:
collection: edgecontainer.projects.locations.zonalServices
api_version: v1alpha
method: enable
display_resource_type: zonal service on location
arguments:
resource:
help_text: location.
spec: !REF googlecloudsdk.command_lib.zone_management.service.resources:location
is_parent_resource: true
is_positional: false
params:
- arg_name: id
api_field: enableZonalServiceRequest.zonalServiceId
required: false
help_text: Zonal service ID.
- arg_name: zone
api_field: enableZonalServiceRequest.zonalService.zone
help_text: |
Distributed Cloud Zone.
- arg_name: cluster
api_field: enableZonalServiceRequest.zonalService.cluster
help_text: Cluster name.
- arg_name: service_selector
api_field: enableZonalServiceRequest.zonalService.serviceSelector
required: true
is_positional: true
help_text: |
service name.
async:
collection: edgecontainer.projects.locations.operations

View File

@@ -0,0 +1,22 @@
- release_tracks: [ALPHA]
help_text:
brief: List Zonal Services
description: Lists zonal services in a given project and location.
examples: |
To list zonal services in project `test-project` and location `us-central1`, run:
$ {command} --location=us-central1 --project=test-project
request:
collection: edgecontainer.projects.locations.zonalServices
ALPHA:
api_version: v1alpha
response:
id_field: name
arguments:
resource:
help_text: Parent Edge Container location to list all zonal services.
spec: !REF googlecloudsdk.command_lib.zone_management.service.resources:location