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 Project 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 ZoneManagementProject(base.Group):
"""Zone Management Project gcloud commands."""
category = base.GDCC_ZONE_CATEGORY

View File

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

View File

@@ -0,0 +1,40 @@
- release_tracks: [ALPHA]
help_text:
brief: enable zonal project
description: Enables a zonal project.
examples: |
To enable a project called `test-project` in zone `test-zone` in organization `test-org` and location `us-central1`, run:
$ {command} test-project --location=us-central1 --zone=test-zone --organization=test-org
request:
collection: edgecontainer.organizations.locations.zones.zonalProjects
api_version: v1alpha
method: enable
arguments:
resource:
help_text: Zonal Project
spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:zonalProject
params:
- arg_name: organization
resource_spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:organization
required: true
help_text: |
Organization of the zonal project.
- arg_name: location
resource_spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:location
required: true
help_text: |
Location of the zonal project.
- arg_name: zone
resource_spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:zone
is_parent_resource: true
is_primary_resource: false
required: true
help_text: |
Zone of the zonal project.
async:
collection: edgecontainer.organizations.locations.operations

View File

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