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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
"""Manage Parameter Manager parameter resources."""
from googlecloudsdk.calliope import base
from surface.parametermanager.parameters import _init_extensions as extensions
@base.ReleaseTracks(base.ReleaseTrack.BETA)
@base.Autogenerated
@base.Hidden
class ParametersBeta(extensions.ParametersBeta):
"""Manage Parameter Manager parameter resources."""
@base.ReleaseTracks(base.ReleaseTrack.GA)
@base.Autogenerated
class ParametersGa(extensions.ParametersGa):
"""Manage Parameter Manager parameter resources."""

View File

@@ -0,0 +1,31 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
"""File to add optional custom code to extend __init__.py."""
from googlecloudsdk.calliope import base
class ParametersAlpha(base.Group):
"""Optional no-auto-generated code for ALPHA."""
class ParametersBeta(base.Group):
"""Optional no-auto-generated code for BETA."""
class ParametersGa(base.Group):
"""Optional no-auto-generated code for GA."""

View File

@@ -0,0 +1,106 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Creates a Parameter Manager parameter
description: |
Creates a parameter resource with the specified name and properties. If a parameter of the given
name already exists, this command will return an error.
examples: |-
To create a parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- group:
mutex: true
help_text: |-
Arguments for the kms key.
params:
- arg_name: kms-key
help_text: |-
Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
is_positional: false
is_primary_resource: false
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_key_rings_crypto_keys
resource_method_params:
parameter.kmsKey: '{__relative_name__}'
required: false
- help_text: |-
Identifier. [Output only] The resource name of the Parameter in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
request_id_field: parameterId
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
- arg_name: labels
api_field: parameter.labels
required: false
repeated: true
help_text: |-
Labels as key value pairs
spec:
- api_field: key
- api_field: value
- arg_name: parameter-format
api_field: parameter.format
required: false
help_text: |-
Specifies the format of a Parameter.
choices:
- arg_value: unformatted
enum_value: UNFORMATTED
help_text: |-
Unformatted.
- arg_value: yaml
enum_value: YAML
help_text: |-
YAML format.
- arg_value: json
enum_value: JSON
help_text: |-
JSON format.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters

View File

@@ -0,0 +1,106 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Creates a Parameter Manager parameter
description: |
Creates a parameter resource with the specified name and properties. If a parameter of the given
name already exists, this command will return an error.
examples: |-
To create a parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- group:
mutex: true
help_text: |-
Arguments for the kms key.
params:
- arg_name: kms-key
help_text: |-
Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
is_positional: false
is_primary_resource: false
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_key_rings_crypto_keys
resource_method_params:
parameter.kmsKey: '{__relative_name__}'
required: false
- help_text: |-
Identifier. [Output only] The resource name of the Parameter in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
request_id_field: parameterId
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
- arg_name: labels
api_field: parameter.labels
required: false
repeated: true
help_text: |-
Labels as key value pairs
spec:
- api_field: key
- api_field: value
- arg_name: parameter-format
api_field: parameter.format
required: false
help_text: |-
Specifies the format of a Parameter.
choices:
- arg_value: unformatted
enum_value: UNFORMATTED
help_text: |-
Unformatted.
- arg_value: yaml
enum_value: YAML
help_text: |-
YAML format.
- arg_value: json
enum_value: JSON
help_text: |-
JSON format.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters

View File

@@ -0,0 +1,59 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Deletes a single Parameter Manager parameter resource
description: |
Deletes a parameter. This action is irreversible.
examples: |-
To delete a parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters

View File

@@ -0,0 +1,59 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Deletes a single Parameter Manager parameter resource
description: |
Deletes a parameter. This action is irreversible.
examples: |-
To delete a parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters

View File

@@ -0,0 +1,41 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Gets a single Parameter Manager parameter
description: |
Gets a single parameter resource.
examples: |-
To get a single parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters

View File

@@ -0,0 +1,41 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Gets a single Parameter Manager parameter
description: |
Gets a single parameter resource.
examples: |-
To get a single parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters

View File

@@ -0,0 +1,50 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Lists Parameter Manager parameters
description: |
List all parameter names belonging to a location within a project.
examples: |-
To list all parameters in location `global` run:
$ {command} --location=global
arguments:
params:
- help_text: |-
Parent value for ListParametersRequest in the format
`projects/*/locations/*`.
is_positional: false
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters
response:
id_field: name
output:
format: |-
table(name,
format,
policyMember,
createTime,
updateTime)

View File

@@ -0,0 +1,50 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Lists Parameter Manager parameters
description: |
List all parameter names belonging to a location within a project.
examples: |-
To list all parameters in location `global` run:
$ {command} --location=global
arguments:
params:
- help_text: |-
Parent value for ListParametersRequest in the format
`projects/*/locations/*`.
is_positional: false
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters
response:
id_field: name
output:
format: |-
table(name,
format,
policyMember,
createTime,
updateTime)

View File

@@ -0,0 +1,109 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Updates the metadata of an Parameter Manager parameter resource
description: |
Update the metadata of a parameter (e.g. labels). This command will return an error
if you specify a parameter that does not exist.
examples: |-
To update a parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- group:
mutex: true
help_text: |-
Arguments for the kms key.
params:
- arg_name: kms-key
help_text: |-
Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
is_positional: false
is_primary_resource: false
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_key_rings_crypto_keys
resource_method_params:
parameter.kmsKey: '{__relative_name__}'
required: false
clearable: true
- help_text: |-
Identifier. [Output only] The resource name of the Parameter in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
- arg_name: labels
api_field: parameter.labels
required: false
repeated: true
help_text: |-
Labels as key value pairs
clearable: true
spec:
- api_field: key
- api_field: value
- arg_name: parameter-format
api_field: parameter.format
required: false
help_text: |-
Specifies the format of a Parameter.
choices:
- arg_value: unformatted
enum_value: UNFORMATTED
help_text: |-
Unformatted.
- arg_value: yaml
enum_value: YAML
help_text: |-
YAML format.
- arg_value: json
enum_value: JSON
help_text: |-
JSON format.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters
update:
read_modify_update: true

View File

@@ -0,0 +1,109 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Updates the metadata of an Parameter Manager parameter resource
description: |
Update the metadata of a parameter (e.g. labels). This command will return an error
if you specify a parameter that does not exist.
examples: |-
To update a parameter `my-parameter` in location `global` run:
$ {command} my-parameter --location=global
arguments:
params:
- group:
mutex: true
help_text: |-
Arguments for the kms key.
params:
- arg_name: kms-key
help_text: |-
Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
is_positional: false
is_primary_resource: false
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_key_rings_crypto_keys
resource_method_params:
parameter.kmsKey: '{__relative_name__}'
required: false
clearable: true
- help_text: |-
Identifier. [Output only] The resource name of the Parameter in the format
`projects/*/locations/*/parameters/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
- arg_name: labels
api_field: parameter.labels
required: false
repeated: true
help_text: |-
Labels as key value pairs
clearable: true
spec:
- api_field: key
- api_field: value
- arg_name: parameter-format
api_field: parameter.format
required: false
help_text: |-
Specifies the format of a Parameter.
choices:
- arg_value: unformatted
enum_value: UNFORMATTED
help_text: |-
Unformatted.
- arg_value: yaml
enum_value: YAML
help_text: |-
YAML format.
- arg_value: json
enum_value: JSON
help_text: |-
JSON format.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters
update:
read_modify_update: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
"""Manage Parameter Manager parameter version resources."""
from googlecloudsdk.calliope import base
from surface.parametermanager.parameters.versions import _init_extensions as extensions
@base.ReleaseTracks(base.ReleaseTrack.BETA)
@base.Autogenerated
@base.Hidden
class ParameterVersionsBeta(extensions.ParameterVersionsBeta):
"""Manage Parameter Manager parameter version resources."""
@base.ReleaseTracks(base.ReleaseTrack.GA)
@base.Autogenerated
class ParameterVersionsGa(extensions.ParameterVersionsGa):
"""Manage Parameter Manager parameter version resources."""

View File

@@ -0,0 +1,31 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
"""File to add optional custom code to extend __init__.py."""
from googlecloudsdk.calliope import base
class ParameterVersionsAlpha(base.Group):
"""Optional no-auto-generated code for ALPHA."""
class ParameterVersionsBeta(base.Group):
"""Optional no-auto-generated code for BETA."""
class ParameterVersionsGa(base.Group):
"""Optional no-auto-generated code for GA."""

View File

@@ -0,0 +1,97 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Creates an Parameter Manager parameter version
description: |
Creates a new parameter version using the provided parameter data.
examples: |-
To create a parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Identifier. [Output only] The resource name of the ParameterVersion in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
request_id_field: parameterVersionId
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: disabled
api_field: parameterVersion.disabled
action: store_true
required: false
type: bool
help_text: |-
Disabled boolean to determine if a ParameterVersion acts as a metadata only
resource (payload is never returned if disabled is true). If true any calls
will always default to BASIC view even if the user explicitly passes FULL
view as part of the request. A render call on a disabled resource fails
with an error. Default value is False.
default: null
- group:
api_field: parameterVersion.payload
required: true
help_text: |-
Message for storing a ParameterVersion resource's payload data
params:
- group:
mutex: true
required: true
params:
- arg_name: payload-data-from-file
api_field: parameterVersion.payload.data
json_name: dataFromFile
required: false
repeated: false
type: file_type
help_text: |-
bytes data for storing payload.
- arg_name: payload-data
api_field: parameterVersion.payload.data
required: false
repeated: false
type: bytes
help_text: |-
bytes data for storing payload.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions

View File

@@ -0,0 +1,97 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Creates an Parameter Manager parameter version
description: |
Creates a new parameter version using the provided parameter data.
examples: |-
To create a parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Identifier. [Output only] The resource name of the ParameterVersion in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
request_id_field: parameterVersionId
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: disabled
api_field: parameterVersion.disabled
action: store_true
required: false
type: bool
help_text: |-
Disabled boolean to determine if a ParameterVersion acts as a metadata only
resource (payload is never returned if disabled is true). If true any calls
will always default to BASIC view even if the user explicitly passes FULL
view as part of the request. A render call on a disabled resource fails
with an error. Default value is False.
default: null
- group:
api_field: parameterVersion.payload
required: true
help_text: |-
Message for storing a ParameterVersion resource's payload data
params:
- group:
mutex: true
required: true
params:
- arg_name: payload-data-from-file
api_field: parameterVersion.payload.data
json_name: dataFromFile
required: false
repeated: false
type: file_type
help_text: |-
bytes data for storing payload.
- arg_name: payload-data
api_field: parameterVersion.payload.data
required: false
repeated: false
type: bytes
help_text: |-
bytes data for storing payload.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions

View File

@@ -0,0 +1,59 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Deletes a single Parameter Manager parameter version
description: |
Deletes a single parameter version along with its metadata. This action is irreversible.
examples: |-
To delete a parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions

View File

@@ -0,0 +1,59 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Deletes a single Parameter Manager parameter version
description: |
Deletes a single parameter version along with its metadata. This action is irreversible.
examples: |-
To delete a parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions

View File

@@ -0,0 +1,60 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Gets a single Parameter Manager parameter version
description: |
Gets a single parameter version, along with payload supplied by the user at the
time of creation. If the payload contains any references to secrets, these will not be
rendered in the output.
examples: |-
To get a single parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: view
api_field: view
required: false
help_text: |-
View of the ParameterVersion.
In the default FULL view, all metadata & payload associated with the
ParameterVersion will be returned.
choices:
- arg_value: basic
enum_value: BASIC
help_text: |-
Include only the metadata for the resource.
- arg_value: full
enum_value: FULL
help_text: |-
Include metadata & other relevant payload data as well.
This is the default view.
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions

View File

@@ -0,0 +1,60 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Gets a single Parameter Manager parameter version
description: |
Gets a single parameter version, along with payload supplied by the user at the
time of creation. If the payload contains any references to secrets, these will not be
rendered in the output.
examples: |-
To get a single parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: view
api_field: view
required: false
help_text: |-
View of the ParameterVersion.
In the default FULL view, all metadata & payload associated with the
ParameterVersion will be returned.
choices:
- arg_value: basic
enum_value: BASIC
help_text: |-
Include only the metadata for the resource.
- arg_value: full
enum_value: FULL
help_text: |-
Include metadata & other relevant payload data as well.
This is the default view.
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions

View File

@@ -0,0 +1,49 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: List Parameter Manager parameter versions
description: |
List all parameter versions belonging to a parameter and their status.
examples: |-
To list all parameter versions of a parameter `my-parameter` in location `global` run:
$ {command} --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Parent value for ListParameterVersionsRequest in the format
`projects/*/locations/*/parameters/*`.
is_positional: false
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions
response:
id_field: name
output:
format: |-
table(name,
disabled,
createTime,
updateTime)

View File

@@ -0,0 +1,49 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: List Parameter Manager parameter versions
description: |
List all parameter versions belonging to a parameter and their status.
examples: |-
To list all parameter versions of a parameter `my-parameter` in location `global` run:
$ {command} --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Parent value for ListParameterVersionsRequest in the format
`projects/*/locations/*/parameters/*`.
is_positional: false
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions
response:
id_field: name
output:
format: |-
table(name,
disabled,
createTime,
updateTime)

View File

@@ -0,0 +1,42 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Gets a single Parameter Manager parameter version render
description: |
Gets a single parameter version render resource.
examples: |-
To get a single parameter version render `my-parameter-version` of a parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions
method: render
command_type: GENERIC

View File

@@ -0,0 +1,42 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Gets a single Parameter Manager parameter version render
description: |
Gets a single parameter version render resource.
examples: |-
To get a single parameter version render `my-parameter-version` of a parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Name of the resource
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions
method: render
command_type: GENERIC

View File

@@ -0,0 +1,73 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- BETA
auto_generated: true
help_text:
brief: Updates the properties of a single Parameter Manager parameter version
description: |
Updates the properties of a single parameter version, including status of the parameter version
(enabled/disabled).
examples: |-
To update a parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Identifier. [Output only] The resource name of the ParameterVersion in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: disabled
api_field: parameterVersion.disabled
action: store_true_false
required: false
type: bool
help_text: |-
Disabled boolean to determine if a ParameterVersion acts as a metadata only
resource (payload is never returned if disabled is true). If true any calls
will always default to BASIC view even if the user explicitly passes FULL
view as part of the request. A render call on a disabled resource fails
with an error. Default value is False.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions
update:
read_modify_update: true

View File

@@ -0,0 +1,73 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
- release_tracks:
- GA
auto_generated: true
help_text:
brief: Updates the properties of a single Parameter Manager parameter version
description: |
Updates the properties of a single parameter version, including status of the parameter version
(enabled/disabled).
examples: |-
To update a parameter version `my-parameter-version` of parameter `my-parameter` in location `global` run:
$ {command} my-parameter-version --parameter=my-parameter --location=global
arguments:
params:
- help_text: |-
Identifier. [Output only] The resource name of the ParameterVersion in the format
`projects/*/locations/*/parameters/*/versions/*`.
is_positional: true
is_primary_resource: true
resource_spec: !REF googlecloudsdk.command_lib.parametermanager.v1_resources:projects_locations_parameters_versions
required: true
- arg_name: disabled
api_field: parameterVersion.disabled
action: store_true_false
required: false
type: bool
help_text: |-
Disabled boolean to determine if a ParameterVersion acts as a metadata only
resource (payload is never returned if disabled is true). If true any calls
will always default to BASIC view even if the user explicitly passes FULL
view as part of the request. A render call on a disabled resource fails
with an error. Default value is False.
- arg_name: request-id
api_field: requestId
required: false
repeated: false
help_text: |-
An optional request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
request:
api_version: v1
collection:
- parametermanager.projects.locations.parameters.versions
update:
read_modify_update: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true

View File

@@ -0,0 +1,18 @@
# -*- 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.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
_PARTIALS_: true