Method: googleapis.container.v1beta1.projects.locations.clusters.well_known.getOpenid_configuration

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification 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.

Subworkflow snippet

Some fields might be optional or required. To identify required fields, refer to the API documentation.

YAML

- getOpenid_configuration:
    call: googleapis.container.v1beta1.projects.locations.clusters.well_known.getOpenid_configuration
    args:
        parent: ...
    result: getOpenid_configurationResult

JSON

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