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,35 @@
# -*- 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.
"""Command group for Memorystore operations."""
from googlecloudsdk.calliope import base
@base.DefaultUniverseOnly
@base.ReleaseTracks(base.ReleaseTrack.ALPHA)
class OperationsALPHA(base.Group):
"""Manage Memorystore operations."""
@base.DefaultUniverseOnly
@base.ReleaseTracks(base.ReleaseTrack.BETA)
class OperationsBETA(base.Group):
"""Manage Memorystore operations."""
@base.DefaultUniverseOnly
@base.ReleaseTracks(base.ReleaseTrack.GA)
class OperationsGA(base.Group):
"""Manage Memorystore operations."""

View File

@@ -0,0 +1,24 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: Cancel a Memorystore operation.
description: Cancel a Memorystore operation.
examples: |
To cancel operation `my-operation` in project `my-project` and location `us-central1`, run:
$ {command} my-operation --project=my-project --location=us-central1
arguments:
params:
- help_text: The Memorystore operation to cancel.
is_positional: true
request_id_field: operationId
resource_spec: !REF googlecloudsdk.command_lib.memorystore.resources:operation
required: true
request:
ALPHA:
api_version: v1alpha
BETA:
api_version: v1beta
GA:
api_version: v1
collection: memorystore.projects.locations.operations
method: cancel

View File

@@ -0,0 +1,23 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: Delete a Memorystore operation.
description: Delete a Memorystore operation.
examples: |
To delete operation `my-operation` in project `my-project` and location `us-central1`, run:
$ {command} my-operation --project=my-project --location=us-central1
arguments:
params:
- help_text: The Memorystore operation to delete.
is_positional: true
request_id_field: operationId
resource_spec: !REF googlecloudsdk.command_lib.memorystore.resources:operation
required: true
request:
ALPHA:
api_version: v1alpha
BETA:
api_version: v1beta
GA:
api_version: v1
collection: memorystore.projects.locations.operations

View File

@@ -0,0 +1,23 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: Describe a Memorystore operation.
description: Describe a Memorystore operation.
examples: |
To describe operation `my-operation` in project `my-project` and location `us-central1`, run:
$ {command} my-operation --project=my-project --location=us-central1
arguments:
params:
- help_text: The Memorystore operation to describe.
is_positional: true
request_id_field: operationId
resource_spec: !REF googlecloudsdk.command_lib.memorystore.resources:operation
required: true
request:
ALPHA:
api_version: v1alpha
BETA:
api_version: v1beta
GA:
api_version: v1
collection: memorystore.projects.locations.operations

View File

@@ -0,0 +1,24 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: List Memorystore operations.
description: List Memorystore operations.
examples: |
To list Memorystore operations in project `my-project` and location `us-central1`, run:
$ {command} --project=my-project --location=us-central1
arguments:
params:
- help_text: The parent collection of the Memorystore operations.
is_positional: false
resource_spec: !REF googlecloudsdk.command_lib.memorystore.resources:project_location
required: true
request:
ALPHA:
api_version: v1alpha
BETA:
api_version: v1beta
GA:
api_version: v1
collection: memorystore.projects.locations.operations
response:
id_field: name