# Google IAM V1beta API - Class Google::Iam::V1beta::CreateWorkloadIdentityPoolRequest (v0.3.6)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.3.6 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v1beta/latest/Google-Iam-V1beta-CreateWorkloadIdentityPoolRequest)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v1beta/0.3.5/Google-Iam-V1beta-CreateWorkloadIdentityPoolRequest)
Reference documentation and code samples for the Google IAM V1beta API class Google::Iam::V1beta::CreateWorkloadIdentityPoolRequest.

Request message for CreateWorkloadIdentityPool.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource to create the pool in. The only supported location is `global`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource to create the pool in. The only supported location is `global`.
**Returns**

- (::String) --- Required. The parent resource to create the pool in. The only supported location is `global`.

### #workload_identity_pool

    def workload_identity_pool() -> ::Google::Iam::V1beta::WorkloadIdentityPool

**Returns**

- ([::Google::Iam::V1beta::WorkloadIdentityPool](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v1beta/latest/Google-Iam-V1beta-WorkloadIdentityPool)) --- Required. The pool to create.

### #workload_identity_pool=

    def workload_identity_pool=(value) -> ::Google::Iam::V1beta::WorkloadIdentityPool

**Parameter**

- **value** ([::Google::Iam::V1beta::WorkloadIdentityPool](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v1beta/latest/Google-Iam-V1beta-WorkloadIdentityPool)) --- Required. The pool to create.
**Returns**

- ([::Google::Iam::V1beta::WorkloadIdentityPool](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v1beta/latest/Google-Iam-V1beta-WorkloadIdentityPool)) --- Required. The pool to create.

### #workload_identity_pool_id

    def workload_identity_pool_id() -> ::String

**Returns**

- (::String) --- Required. 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.

### #workload_identity_pool_id=

    def workload_identity_pool_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. 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.
**Returns**

- (::String) --- Required. 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.