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,39 @@
# -*- coding: utf-8 -*- #
# Copyright 2019 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 super-group for the IAP CLI."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from googlecloudsdk.calliope import base
@base.Deprecate(
is_removed=False,
warning=(
'This command is deprecated and will be non-functional after the IAP'
' OAuth Admin APIs are turned down. Jan 19, 2026: Google will'
' discontinue support for the IAP OAuth Admin APIs. New projects will'
' not be able to use these APIs. March 19, 2026: The IAP OAuth Admin'
' APIs will be permanently shut down. Access to this feature will no'
' longer be available.'))
@base.DefaultUniverseOnly
@base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA,
base.ReleaseTrack.GA)
class Iap(base.Group):
"""Manage IAP OAuth brands."""
category = 'Identity and Security'

View File

@@ -0,0 +1,46 @@
release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
Create a Cloud OAuth brand for the project.
description: |
*{command}* is used to create a Cloud OAuth brand for the project. The brand is 'internal only',
meaning OAuth clients created under it only accept requests from users who belong to the same
G Suite account as the project. The brand is created in unreviewed status. Your domain will not
appear on the OAuth consent screen until it is reviewed after you manually start a review
process in Google Cloud Platform Console. Note that the
'internal only' setting can be manually changed in Google Cloud Platform Console
(https://console.cloud.google.com/apis/credentials/consent). A project can only have one brand.
examples: |
To create a Cloud OAuth brand for the current project, run:
$ {command} --application_title=APPLICATION_TITLE --support_email=SUPPORT_EMAIL
To create a Cloud OAuth brand for the project PROJECT_ID, run:
$ {command} --application_title=APPLICATION_TITLE --support_email=SUPPORT_EMAIL --project=PROJECT_ID
request:
collection: iap.projects.brands
api_version: v1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.iap.resources:project
is_parent_resource: true
help_text: |
Name of the project to create a Cloud OAuth brand under.
params:
- arg_name: support_email
api_field: brand.supportEmail
required: true
help_text: |
Support email displayed on the OAuth consent screen.
- arg_name: application_title
api_field: brand.applicationTitle
required: true
help_text: |
Application name displayed on the OAuth consent screen.
output:
format: yaml

View File

@@ -0,0 +1,26 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
Describe a Cloud OAuth brand.
description: |
*{command}* is used to describe a Cloud OAuth brand.
examples: |
To describe a Cloud OAuth brand with name NAME, run:
$ {command} NAME
To describe a Cloud OAuth brand with name NAME inside project PROJECT_ID, run:
$ {command} NAME --project=PROJECT_ID
request:
collection: iap.projects.brands
api_version: v1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.iap.resources:brand
arg_name: name
is_positional: true
help_text: |
Name of the Cloud OAuth brand to describe.

View File

@@ -0,0 +1,26 @@
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
List Cloud OAuth brands in the project.
description: |
*{command}* is used to list the Cloud OAuth brand in the project.
examples: |
To list all Cloud OAuth brands in the current project, run:
$ {command}
To list all Cloud OAuth brands in the project PROJECT_ID, run:
$ {command} --project=PROJECT_ID
request:
collection: iap.projects.brands
api_version: v1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.iap.resources:project
is_positional: true
help_text: |
Name of the project to list Cloud OAuth brands under.