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 Zone Management Zone command group."""
from googlecloudsdk.calliope import base
@base.DefaultUniverseOnly
@base.ReleaseTracks(base.ReleaseTrack.ALPHA)
class ZoneManagementZone(base.Group):
"""Zone Management Zone gcloud commands."""
category = base.GDCC_ZONE_CATEGORY

View File

@@ -0,0 +1,15 @@
- release_tracks: [ALPHA]
help_text:
brief: describe zone
description: Describes a zone.
examples: |
To describe a zone called `test-zone` in organization `test-org` and location `us-central1`, run:
$ {command} test-zone --location=us-central1 --organization=test-org
request:
collection: edgecontainer.organizations.locations.zones
api_version: v1alpha
method: get
arguments:
resource:
help_text: Zone
spec: !REF googlecloudsdk.command_lib.zone_management.zone.resources:zone

View File

@@ -0,0 +1,20 @@
- release_tracks: [ALPHA]
help_text:
brief: get IAM policy for a project on the zone
description: Gets the IAM policy for a project on the zone.
examples: |
To get the IAM policy for a project called `test-project` on the zone `test-zone` in location `us-central1`, run:
$ {command} test-zone --project=test-project --location=us-central1
request:
collection: edgecontainer.projects.locations.zones
api_version: v1alpha
arguments:
resource:
help_text: |
The name of the zone where the project is enabled.
is_positional: true
spec: !REF googlecloudsdk.command_lib.zone_management.zone.resources:projzone

View File

@@ -0,0 +1,22 @@
- release_tracks: [ALPHA]
help_text:
brief: list zones
description: Lists zones in a given organization and location.
examples: |
To list zones in organization `test-org` and location `us-central1`, run:
$ {command} --location=us-central1 --organization=test-org
request:
collection: edgecontainer.organizations.locations.zones
ALPHA:
api_version: v1alpha
response:
id_field: name
arguments:
resource:
help_text: Parent Edge Container location to list all zones.
spec: !REF googlecloudsdk.command_lib.zone_management.zone.resources:orglocation

View File

@@ -0,0 +1,26 @@
- release_tracks: [ALPHA]
help_text:
brief: set IAM policy for a project on the zone
description: Sets the IAM policy for a project on the zone.
examples: |
To set the IAM policy for a project called `test-project` in zone `test-zone` in location `us-central1` from a local file `test-policy.json`, run:
$ {command} --project=test-project --location=us-central1 --zone=test-zone test-policy.json
request:
collection: edgecontainer.projects.locations.zones
api_version: v1alpha
arguments:
resource:
help_text: |
The name of the zone to set the IAM policy for the project in.
is_positional: false
spec: !REF googlecloudsdk.command_lib.zone_management.zone.resources:projzone
iam:
set_iam_policy_request_path: setIamPolicyRequest
message_type_overrides:
policy: IamPolicy
set_iam_policy_request: EdgecontainerProjectsLocationsZonesSetIamPolicyRequest