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,25 @@
# -*- 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.
"""The command group for Media Asset's Transformers CLI."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from googlecloudsdk.calliope import base
@base.ReleaseTracks(base.ReleaseTrack.ALPHA)
class Transformers(base.Group):
"""Manage Cloud Media Asset's Transformers."""

View File

@@ -0,0 +1,43 @@
- release_tracks: [ALPHA]
help_text:
brief: Create a new Cloud Media Asset transformer.
description: Create a new Media Asset transformer.
examples: |
To create a new complext type with id my-ct with in the default project and 'us-central1' location, run:
$ {command} my-t --asset-type-config-file asset_type_configs.json
where asset_type_configs.json content can be:
{
"fields": {
"testField1": {
"required":true,
"type":"string"
}
},
"allowUndefinedFields" : true
}
request:
collection: mediaasset.projects.locations.transformers
method: create
modify_request_hooks:
- googlecloudsdk.command_lib.media.asset.hooks:AddDefaultParentInfoToAssetTypeRequests
- googlecloudsdk.command_lib.media.asset.transformers.hooks:ParseTransformerConfigFile
ALPHA:
api_version: v1alpha
arguments:
resource:
help_text: The Cloud Media Asset asset type to create.
spec: !REF googlecloudsdk.command_lib.media.asset.resources:transformer
params:
- _REF_: googlecloudsdk.command_lib.media.asset.flags:create-transformer-configs-file
labels:
api_field: transformer.labels
response:
modify_response_hooks:
- googlecloudsdk.command_lib.media.asset.transformers.hooks:ProcessOutput