File: //lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/iam/resources.yaml
project:
name: project
collection: iam.projects
attributes:
- &project
parameter_name: projectsId
attribute_name: project
help: The project name.
property: core/project
location:
name: location
collection: iam.projects.locations
attributes:
- *project
- &location
parameter_name: locationsId
attribute_name: location
help: The location name.
disable_auto_completers: false
service_account:
name: serviceAccount
collection: iam.projects.serviceAccounts
attributes:
- *project
- &service_account
parameter_name: serviceAccountsId
attribute_name: service_account
help: |
The name of the IAM ServiceAccount.
disable_auto_completers: false
iam_account:
name: iamAccount
collection: iam.projects.serviceAccounts
attributes:
- *project
- &iam_account
parameter_name: serviceAccountsId
attribute_name: iam-account
help: |
The name of the IAM ServiceAccount.
disable_auto_completers: false
# Gcloud disallows positional arguments with dashes (-) but the resource is expected to be referred
# to with dashes when used in non-positional manner. To avoid the conflict, we define two
# near-identical resources (only differing by attribute_name).
positional_workload_identity_pool:
name: WorkloadIdentityPool
collection: iam.projects.locations.workloadIdentityPools
request_id_field: workloadIdentityPoolId
attributes:
- *project
- *location
- &positional_workload_identity_pool
parameter_name: workloadIdentityPoolsId
attribute_name: workload_identity_pool
help: |
The ID to use for the pool, which becomes the final component of the resource name. This value
should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is
reserved for use by Google, and may not be specified.
disable_auto_completers: false
workload_identity_pool:
name: WorkloadIdentityPool
collection: iam.projects.locations.workloadIdentityPools
request_id_field: workloadIdentityPoolId
attributes:
- *project
- *location
- &workload_identity_pool
parameter_name: workloadIdentityPoolsId
attribute_name: workload-identity-pool
help: |
The ID to use for the pool, which becomes the final component of the resource name. This value
should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is
reserved for use by Google, and may not be specified.
disable_auto_completers: false
workload_identity_pool_operation:
name: WorkloadIdentityPoolOperation
collection: iam.projects.locations.workloadIdentityPools.operations
attributes:
- *project
- *location
- *workload_identity_pool
- &workload_identity_pool_operation
parameter_name: operationsId
attribute_name: operation
help: |
The ID of the operation.
disable_auto_completers: false
workload_identity_pool_provider:
name: WorkloadIdentityPoolProvider
collection: iam.projects.locations.workloadIdentityPools.providers
request_id_field: workloadIdentityPoolProviderId
attributes:
- *project
- *location
- *workload_identity_pool
- &workload_identity_pool_provider
parameter_name: providersId
attribute_name: provider
help: |
The ID for the provider, which becomes the final component of the resource name. This value
must be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is
reserved for use by Google, and may not be specified.
disable_auto_completers: false
workload_identity_pool_provider_operation:
name: WorkloadIdentityPoolProviderOperation
collection: iam.projects.locations.workloadIdentityPools.providers.operations
attributes:
- *project
- *location
- *workload_identity_pool
- *workload_identity_pool_provider
- &workload_identity_pool_provider_operation
parameter_name: operationsId
attribute_name: operation
help: |
The ID of the operation.
disable_auto_completers: false