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,26 @@
# -*- coding: utf-8 -*- #
# Copyright 2022 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 Immersive Stream for XR content resources."""
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 Contents(base.Group):
"""Manage Immersive Stream for XR contents."""

View File

@@ -0,0 +1,32 @@
- release_tracks: [ALPHA, GA]
help_text:
brief: Build an Immersive Stream for XR content resource.
description: Build an Immersive Stream for XR content resource and tag it with a user specified version tag.
examples: |
To build a content resource `my-content` tagged with version tag `my-version`, run:
$ {command} my-content --version=my-version
request:
collection: stream.projects.locations.streamContents
method: build
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
arguments:
resource:
help_text: Immersive Stream for XR content resource to be built.
spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:content
params:
- arg_name: version
api_field: buildStreamContentRequest.contentVersionTag
required: true
help_text: |
User-specified version tag of content build.
async:
collection: stream.projects.locations.operations

View File

@@ -0,0 +1,31 @@
- release_tracks: [ALPHA, GA]
help_text:
brief: Create an Immersive Stream for XR content resource.
description: Create an Immersive Stream for XR content resource.
examples: |
To create a content resource called `my-content` using Cloud Storage bucket `my-bucket`, run:
$ {command} my-content --bucket=my-bucket
request:
collection: stream.projects.locations.streamContents
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
arguments:
resource:
help_text: Immersive Stream for XR content resource to be created.
spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:content
params:
- arg_name: bucket
api_field: streamContent.bucketName
required: true
help_text: |
The name of the Cloud Storage bucket in the consumer project that stores the content source.
async:
collection: stream.projects.locations.operations

View File

@@ -0,0 +1,25 @@
- release_tracks: [ALPHA, GA]
help_text:
brief: Delete an Immersive Stream for XR content resource.
description: |
Delete an Immersive Stream for XR content resource.
examples: |
To delete a content called `my-content`, run:
$ {command} my-content
request:
collection: stream.projects.locations.streamContents
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
arguments:
resource:
help_text: Immersive Stream for XR content resource to delete.
spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:content
async:
collection: stream.projects.locations.operations

View File

@@ -0,0 +1,25 @@
- release_tracks: [ALPHA, GA]
help_text:
brief: Describe a specific Immersive Stream for XR content resource.
description: |
Describe a specific Immersive Stream for XR content resource.
examples: |
To describe the content, run:
$ {command} my-content
request:
collection: stream.projects.locations.streamContents
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
response:
id_field: name
arguments:
resource:
help_text: The name of the content resource you want to describe.
spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:content

View File

@@ -0,0 +1,25 @@
- release_tracks: [ALPHA, GA]
help_text:
brief: List Immersive Stream for XR content resources.
description: |
List Immersive Stream for XR content resources.
examples: |
To list Immersive Stream for XR content resources, run:
$ {command}
request:
collection: stream.projects.locations.streamContents
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
response:
id_field: name
arguments:
resource:
help_text: Location to list all Immersive Stream for XR content resources, defaults to global.
spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:location

View File

@@ -0,0 +1,36 @@
- release_tracks: [ALPHA, GA]
help_text:
brief: Update an Immersive Stream for XR content resource.
description: Update an Immersive Stream for XR content resource.
examples: |
To update the Cloud Storage bucket used by the content resource `my-content`, to `my-new-bucket` run:
$ {command} my-content --bucket=my-new-bucket
request:
collection: stream.projects.locations.streamContents
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
method: patch
modify_request_hooks:
- googlecloudsdk.command_lib.immersive_stream.xr.util:SetContentUpdateMask
arguments:
resource:
help_text: Immersive Stream for XR content resource to be updated.
spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:content
params:
- group:
mutex: true
required: true
params:
- arg_name: bucket
api_field: streamContent.bucketName
help_text: |
The name of the Cloud Storage bucket in the consumer project that stores the content source.
async:
collection: stream.projects.locations.operations