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 Network Services Tls Routes."""
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 TlsRoutes(base.Group):
"""Manage Network Services TlsRoutes."""
category = base.MANAGEMENT_TOOLS_CATEGORY

View File

@@ -0,0 +1,27 @@
release_tracks: [GA, ALPHA]
help_text:
brief: |
Delete tls route.
description: |
Delete the specified tls route.
examples: |
To delete a tls route named `my-tls-route`, run:
$ {command} my-tls-route --location=global
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:tlsRoute
help_text: |
Name of the tls route you want to delete.
async:
collection: networkservices.projects.locations.operations
request: &request
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
collection: networkservices.projects.locations.tlsRoutes

View File

@@ -0,0 +1,23 @@
release_tracks: [GA, ALPHA]
help_text:
brief: |
Describe a tls route.
description: Show details of a tls route.
examples: |
Show details about a tls route named `my-tls-route`.
$ {command} my-tls-route --location=global
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:tlsRoute
help_text: Name of the tls route to be described.
request: &request
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
collection: networkservices.projects.locations.tlsRoutes

View File

@@ -0,0 +1,23 @@
release_tracks: [GA, ALPHA]
help_text:
brief: |
Export tls route.
description: |
Export a tls route.
examples: |
To export a tls route named `my-tls-route` to a YAML file, run:
$ {command} my-tls-route --destination=my-tls-route.yaml --location=global
request:
collection: networkservices.projects.locations.tlsRoutes
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:tlsRoute
help_text: |
Name of the tls route to export.

View File

@@ -0,0 +1,37 @@
release_tracks: [GA, ALPHA]
help_text:
brief: |
Import tls route.
description: |
Import a tls route.
examples: |
To import a tls route named `my-tls-route` from a YAML file, run:
$ {command} my-tls-route --source=my-tls-route.yaml --location=global
request:
collection: networkservices.projects.locations.tlsRoutes
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:tlsRoute
help_text: |
Name of the tls route to import.
async:
collection: networkservices.projects.locations.operations
import:
abort_if_equivalent: true
create_if_not_exists: true
create_request:
collection: networkservices.projects.locations.tlsRoutes
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
method: create

View File

@@ -0,0 +1,33 @@
release_tracks: [GA, ALPHA]
help_text:
brief: |
List tls routes.
description: |
List all tls routes in the specified location of the current project.
examples: |
To list tls routes in the current project, run:
$ {command} --location=global
request: &request
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
collection: networkservices.projects.locations.tlsRoutes
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:location
help_text: |
The project of the tls routes to display.
response:
id_field: name
output:
format: |
table(
name.basename():label=NAME
)