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 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.
"""Command group for locations."""
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):
"""Get information about supported Network Connectivity Center locations."""

View File

@@ -0,0 +1,23 @@
- release_tracks: [BETA, GA]
help_text:
brief: Describe a Network Connectivity Center location.
description: |
Retrieve details about a location.
examples: |
To describe location `us-central1`, run:
$ {command} us-central1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_connectivity.resources:location
help_text: |
Name of the location to describe.
request: &request
BETA:
api_version: v1beta
GA:
api_version: v1
collection: networkconnectivity.projects.locations

View File

@@ -0,0 +1,44 @@
- release_tracks: [BETA, GA]
help_text:
brief: List Network Connectivity Center locations.
description: |
Retrieve and display a list of locations.
Network Connectivity Center includes two general types of spokes: those
that use the site-to-site data transfer feature and those that don't. To
get a list of the locations that support one of these features, use the
--filter flag (see examples). The full list of location features can be found here:
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/Shared.Types/LocationFeature
To specify the maximum number of locations to return, use the `--limit` flag.
examples: |
To list all locations, run:
$ {command}
To list locations that support the site-to-site data transfer feature, run:
$ {command} --filter="metadata.locationFeatures=SITE_TO_SITE_SPOKES"
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_connectivity.resources:project
help_text: |
Name of the project to list locations for.
request: &request
BETA:
api_version: v1beta
GA:
api_version: v1
collection: networkconnectivity.projects.locations
output:
# Reference: https://cloud.google.com/sdk/gcloud/reference/topic/projections
format: |
table(
name.basename():label=LOCATION,
metadata.locationFeatures.list():label=FEATURES
)