Gets the OIDC discovery document for the cluster. See the [OpenID
Connect Discovery 1.0
specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
for details. This API is not yet intended for general use, and is not
available for all clusters.

## Arguments

| Parameters ||
|---|---|
| `parent` | `string` Required. The cluster (project, location, cluster id) to get the discovery document for. Specified in the format `projects/*/locations/*/clusters/*`. |

## Raised exceptions

| Exceptions ||
|---|---|
| `ConnectionError` | In case of a network problem (such as DNS failure or refused connection). |
| `HttpError` | If the response status is \>= 400 (excluding 429 and 503). |
| `TimeoutError` | If a long-running operation takes longer to finish than the specified timeout limit. |
| `TypeError` | If an operation or function receives an argument of the wrong type. |
| `ValueError` | If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout. |

## Response

If successful, the response contains an instance of [`GetOpenIDConfigResponse`](https://docs.cloud.google.com/workflows/docs/reference/googleapis/container/v1/Overview#GetOpenIDConfigResponse).

## Subworkflow snippet

Some fields might be optional or required.
To identify required fields, refer to the [API documentation](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.well-known/getOpenid-configuration).

### YAML

```yaml
- getOpenid_configuration:
    call: googleapis.container.v1.projects.locations.clusters.well_known.getOpenid_configuration
    args:
        parent: ...
    result: getOpenid_configurationResult
```

### JSON

```json
[
  {
    "getOpenid_configuration": {
      "call": "googleapis.container.v1.projects.locations.clusters.well_known.getOpenid_configuration",
      "args": {
        "parent": "..."
      },
      "result": "getOpenid_configurationResult"
    }
  }
]
```