# Google IAM V1beta API - Class Google::Iam::V1beta::WorkloadIdentityPoolProvider::Oidc (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-WorkloadIdentityPoolProvider-Oidc)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v1beta/0.3.5/Google-Iam-V1beta-WorkloadIdentityPoolProvider-Oidc)
Reference documentation and code samples for the Google IAM V1beta API class Google::Iam::V1beta::WorkloadIdentityPoolProvider::Oidc.

Represents an OpenId Connect 1.0 identity provider.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allowed_audiences

    def allowed_audiences() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured.


  If this list is empty, the OIDC token audience must be equal to
  the full canonical resource name of the WorkloadIdentityPoolProvider,
  with or without the HTTPS prefix. For example:

  `
  //iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
  https://iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
  `

### #allowed_audiences=

    def allowed_audiences=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured.


  If this list is empty, the OIDC token audience must be equal to
  the full canonical resource name of the WorkloadIdentityPoolProvider,
  with or without the HTTPS prefix. For example:

  `
  //iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
  https://iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
  `
**Returns**

- (::Array\<::String\>) --- Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured.


  If this list is empty, the OIDC token audience must be equal to
  the full canonical resource name of the WorkloadIdentityPoolProvider,
  with or without the HTTPS prefix. For example:

  `
  //iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
  https://iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
  `

### #issuer_uri

    def issuer_uri() -> ::String

**Returns**

- (::String) --- Required. The OIDC issuer URL.

### #issuer_uri=

    def issuer_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The OIDC issuer URL.
**Returns**

- (::String) --- Required. The OIDC issuer URL.