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,26 @@
# -*- coding: utf-8 -*- #
# Copyright 2022 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 command group for machines resource."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from googlecloudsdk.calliope import base
@base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.GA)
class Clusters(base.Group):
"""Manage Kubernetes Edge machines."""

View File

@@ -0,0 +1,21 @@
release_tracks: [ALPHA, GA]
help_text:
brief: Show details about the machine.
description: Show details about the machine.
examples: |
To show details about a machine called 'my-machine' in region us-central1, run:
$ {command} my-machine --location=us-central1
request:
collection: edgecontainer.projects.locations.machines
ALPHA:
api_version: v1alpha
GA:
api_version: v1
arguments:
resource:
help_text: The machine you want to describe.
spec: !REF googlecloudsdk.command_lib.edge_cloud.container.resources:machine

View File

@@ -0,0 +1,38 @@
- release_tracks: [ALPHA, GA]
help_text:
brief: List Edge Container machines.
description: |
List Edge Container machines.
examples: |
To list the machines in region us-central1, run:
$ {command} --location=us-central1
request:
collection: edgecontainer.projects.locations.machines
ALPHA:
api_version: v1alpha
GA:
api_version: v1
response:
id_field: name
arguments:
resource:
help_text: Parent Edge Container location to list all contained Edge Container machines.
spec: !REF googlecloudsdk.command_lib.edge_cloud.container.resources:location
output:
format: |
table(
name.basename():label=NAME,
status:label=STATUS,
zone:label=ZONE,
labels['/cpu']:label=CPU,
labels['/ram_mb']:label=RAM_MB,
version:label=VERSION,
hostedNode.split('/').join('/').sub('controlPlaneNodes','controlPlane/nodes').split('/').slice(:-2).join('/'):label=HOSTED_NODE_POOL,
purpose:label=PURPOSE
)