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,27 @@
# -*- coding: utf-8 -*- #
# Copyright 2021 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.
"""Command group for operations."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from googlecloudsdk.calliope import base
@base.UniverseCompatible
@base.ReleaseTracks(base.ReleaseTrack.BETA, base.ReleaseTrack.GA)
class Operations(base.Group):
"""Manage Network Connectivity Center operations."""

View File

@@ -0,0 +1,24 @@
- release_tracks: [BETA, GA]
help_text:
brief: Describe a Network Connectivity Center operation.
description: |
Retrieve details about an operation; this command is useful if you want to check on
a long-running operation.
examples: |
To describe operation `operation-12345` in `us-central1`, run:
$ {command} operation-12345 --region=us-central1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_connectivity.resources:operation
help_text: |
Name of the operation to describe.
request: &request
BETA:
api_version: v1beta
GA:
api_version: v1
collection: networkconnectivity.projects.locations.operations

View File

@@ -0,0 +1,41 @@
- release_tracks: [BETA, GA]
help_text:
brief: List Network Connectivity Center operations.
description: |
Retrieve and display a list of operations in the specified region, sorted by creation time.
To specify the maximum number of operations to return, use the `--limit` flag.
examples: |
To list all operations in region `us-central1`, run:
$ {command} --region=us-central1
To list a maximum of five operations in `us-central1`, run:
$ {command} --region=us-central1 --limit=5
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_connectivity.resources:region
help_text: Region of the operations to display.
request: &request
BETA:
api_version: v1beta
GA:
api_version: v1
collection: networkconnectivity.projects.locations.operations
output:
# Columns: ID, TYPE, TARGET, CREATE_TIME, END_TIME, DONE
format: |
table(
name.basename():label=ID,
metadata.verb:label=TYPE,
metadata.target.basename(),
metadata.createTime.date('%Y-%m-%d %H:%M:%S %Oz', undefined=''):sort=1,
metadata.endTime.date('%Y-%m-%d %H:%M:%S %Oz', undefined=''),
done
)