View Source GoogleApi.Eventarc.V1.Model.GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig (google_api_eventarc v0.17.0)

Represents a config used to authenticate message requests.

Attributes

  • googleOidc (type: GoogleApi.Eventarc.V1.Model.GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken.t, default: nil) - Optional. This authenticate method will apply Google OIDC tokens signed by a GCP service account to the requests.
  • oauthToken (type: GoogleApi.Eventarc.V1.Model.GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken.t, default: nil) - Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Eventarc.V1.Model.GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig{
    googleOidc:
      GoogleApi.Eventarc.V1.Model.GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken.t()
      | nil,
    oauthToken:
      GoogleApi.Eventarc.V1.Model.GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.