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 2020 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 Network Management operations."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from googlecloudsdk.calliope import base
@base.ReleaseTracks(base.ReleaseTrack.GA, base.ReleaseTrack.BETA)
class Operations(base.Group):
"""Manage Network Management operations."""

View File

@@ -0,0 +1,22 @@
- release_tracks: [GA, BETA]
help_text:
brief: |
Describe a Network Management operation.
description: |
Describe a Network Management operation given a valid operation name.
examples: |
The following command describes an operation called
`operation-12345`:
$ {command} operation-12345
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_management.resources:operation
help_text: |
Name of the Network Management operation you want to describe.
request:
api_version: v1
collection: networkmanagement.projects.locations.global.operations

View File

@@ -0,0 +1,37 @@
- release_tracks: [GA, BETA]
help_text:
brief: |
List Network Management operations.
description: |
List all Network Management operations in the specified project.
You can specify the maximum number of operations to list using the
`--limit` flag.
examples: |
The following command lists a maximum of five operations:
$ {command} --limit=5
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_management.resources:project
help_text: |
Project of the operations to display.
request:
api_version: v1
collection: networkmanagement.projects.locations.global.operations
modify_request_hooks:
- googlecloudsdk.command_lib.network_management.util:UpdateOperationRequestNameVariable
output:
format: |
table(
name.basename():label=OPERATION_NAME,
metadata.verb:label=TYPE,
metadata.target.basename(),
done,
metadata.createTime.date():sort=1,
duration(start=metadata.createTime,end=metadata.endTime,precision=0,calendar=false).slice(2:).join("").yesno(no="<1S"):label=DURATION
)