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

View File

@@ -0,0 +1,27 @@
release_tracks: [GA, ALPHA]
help_text:
brief: |
Delete tcp route.
description: |
Delete the specified tcp route.
examples: |
To delete a tcp route named 'my-tcp-route', run:
$ {command} my-tcp-route --location=global
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:tcpRoute
help_text: |
Name of the tcp 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.tcpRoutes

View File

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

View File

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

View File

@@ -0,0 +1,37 @@
release_tracks: [GA, ALPHA]
help_text:
brief: |
Import tcp route.
description: |
Import a tcp route.
examples: |
To import a tcp route named 'my-tcp-route' from a YAML file, run:
$ {command} my-tcp-route --source=my-tcp-route.yaml --location=global
request:
collection: networkservices.projects.locations.tcpRoutes
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:tcpRoute
help_text: |
Name of the tcp 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.tcpRoutes
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
method: create

View File

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