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,28 @@
# -*- coding: utf-8 -*- #
# Copyright 2024 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.
"""Manage Managed Flink deployments."""
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.DefaultUniverseOnly
class Deployments(base.Group):
"""Manage Managed Flink deployments."""

View File

@@ -0,0 +1,43 @@
release_tracks: [ALPHA]
help_text:
brief: Create a BigQuery Engine for Apache Flink deployment.
description: Create a BigQuery Engine for Apache Flink deployment.
examples: |
To create a BigQuery Engine for Apache Flink deployment, run:
$ {command} my-deployment \
--location=us-central1
To create a BigQuery Engine for Apache Flink deployment with all optional parameters set, run:
$ {command} my-deployment \
--location=us-central1
--max-slots=100 \
--network-config-vpc=my-vpc \
--network-config-subnetwork=my-subnetwork
request:
collection: managedflink.projects.locations.deployments
method: create
async:
collection: managedflink.projects.locations.operations
arguments:
resource:
help_text: Identifies the deployment for which the command runs.
spec: !REF googlecloudsdk.command_lib.managed_flink.resources:deployment
params:
- _REF_: googlecloudsdk.command_lib.managed_flink.flags:max-slots
required: true
- _REF_: googlecloudsdk.command_lib.managed_flink.flags:display-name
- _REF_: googlecloudsdk.command_lib.managed_flink.flags:secrets-paths
hidden: true
- _REF_: googlecloudsdk.command_lib.managed_flink.flags:workload-identity
- group:
params:
- _REF_: googlecloudsdk.command_lib.managed_flink.flags:network-config-vpc
required: true
- _REF_: googlecloudsdk.command_lib.managed_flink.flags:network-config-subnetwork
required: true

View File

@@ -0,0 +1,24 @@
release_tracks: [ALPHA]
help_text:
brief: |
Delete a BigQuery Engine for Apache Flink deployment.
description: |
Delete a BigQuery Engine for Apache Flink deployment.
examples: |
To delete a BigQuery Engine for Apache Flink whose ID is mydeployment, run the following:
$ {command} mydeployment \
--location=us-central1
request:
collection: managedflink.projects.locations.deployments
async:
collection: managedflink.projects.locations.operations
arguments:
resource:
help_text: Identifies the Flink deployment to be deleted.
spec: !REF googlecloudsdk.command_lib.managed_flink.resources:deployment

View File

@@ -0,0 +1,21 @@
release_tracks: [ALPHA]
help_text:
brief: |
Describe a BigQuery Engine for Apache Flink deployment.
description: |
Describe a BigQuery Engine for Apache Flink deployment.
examples: |
To describe a BigQuery Engine for Apache Flink whose ID is mydeployment, run the following:
$ {command} mydeployment \
--location=us-central1
request:
collection: managedflink.projects.locations.deployments
arguments:
resource:
help_text: Identifies the Flink deployment whose details are to be displayed.
spec: !REF googlecloudsdk.command_lib.managed_flink.resources:deployment

View File

@@ -0,0 +1,17 @@
release_tracks: [ALPHA]
help_text:
brief: List all BigQuery Engine for Apache Flink deployments in a given location.
description: List all BigQuery Engine for Apache Flink deployments in a given location.
examples: |
To list all BigQuery Engine for Apache Flink deployments in a given location, run:
$ {command} us-central1
request:
collection: managedflink.projects.locations.deployments
arguments:
resource:
help_text: Identifies the Cloud location this command will be executed on.
spec: !REF googlecloudsdk.command_lib.managed_flink.resources:location
is_positional: true

View File

@@ -0,0 +1,28 @@
release_tracks: [ALPHA]
help_text:
brief: |
Update a BigQuery Engine for Apache Flink deployment.
description: |
Update a BigQuery Engine for Apache Flink deployment.
examples: |
To update a BigQuery Engine for Apache Flink whose ID is mydeployment, run the following:
$ {command} mydeployment \
--location=us-central1 \
--max-slots=100
request:
collection: managedflink.projects.locations.deployments
async:
collection: managedflink.projects.locations.operations
arguments:
resource:
help_text: Identifies the Flink deployment whose details are to be updated.
spec: !REF googlecloudsdk.command_lib.managed_flink.resources:deployment
params:
- _REF_: googlecloudsdk.command_lib.managed_flink.flags:max-slots