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,34 @@
# -*- coding: utf-8 -*- #
# Copyright 2025 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.
"""Commands for ."""
from googlecloudsdk.calliope import base
@base.UniverseCompatible
@base.ReleaseTracks(
base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA, base.ReleaseTrack.GA
)
class PreviewFeatures(base.Group):
"""Read and manipulate Compute Engine Preview Features."""
PreviewFeatures.category = base.TOOLS_CATEGORY
PreviewFeatures.detailed_help = {
'DESCRIPTION': """
Read and manipulate Compute Engine Preview Features.
""",
}

View File

@@ -0,0 +1,23 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: "Describe a preview feature."
description: "Describe a preview feature."
examples: |
To retrieve a single preview feature and print its properties, run the following command:
$ {command} my-preview-feature
request:
ALPHA:
api_version: alpha
BETA:
api_version: beta
GA:
api_version: v1
collection: compute.previewFeatures
arguments:
resource:
help_text: Name of the preview feature you want to inspect.
spec: !REF googlecloudsdk.command_lib.compute.resources:preview_feature

View File

@@ -0,0 +1,35 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: "View preview features."
description: "View preview features."
examples: |
To display all preview features, run the following command:
$ {command}
request:
ALPHA:
api_version: alpha
BETA:
api_version: beta
GA:
api_version: v1
collection: compute.previewFeatures
arguments:
resource:
help_text: |
The project of the preview features to list.
spec: !REF googlecloudsdk.command_lib.compute.resources:compute_project
override_resource_collection: true
response:
id_field: name
output:
format: |
table(
name,
activationStatus:label=STATUS
)

View File

@@ -0,0 +1,59 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: Update a preview feature's activation status.
description: Update a preview feature's activation status.
examples: |
To enable/unspecify a preview feature's activation status, run the following command:
$ {command}
request:
ALPHA:
api_version: alpha
BETA:
api_version: beta
GA:
api_version: v1
collection: compute.previewFeatures
method: update
arguments:
resource:
help_text: Name of the preview feature you want to update.
spec: !REF googlecloudsdk.command_lib.compute.resources:preview_feature
params:
- arg_name: activation-status
api_field: previewFeatureResource.activationStatus
help_text: |
The activation status of the preview feature.
required: true
choices:
- arg_value: enabled
enum_value: ENABLED
- arg_value: unspecified
enum_value: ACTIVATION_STATE_UNSPECIFIED
- group:
mutex: true
required: true
help_text: |
The rollout plan of the preview feature.
params:
- arg_name: rollout-plan
api_field: previewFeatureResource.rolloutOperation.rolloutInput.predefinedRolloutPlan
required: false
help_text: |-
Use a predefined rollout plan.
choices:
- arg_value: fast-rollout
enum_value: ROLLOUT_PLAN_FAST_ROLLOUT
- arg_value: two-day-rollout
enum_value: ROLLOUT_PLAN_TWO_DAY_ROLLOUT
- arg_name: custom-rollout-plan
api_field: previewFeatureResource.rolloutOperation.rolloutInput.name
required: false
help_text: |-
Use a custom rollout plan by name.
type: str