Note: The following fields are mutually exclusive: google_oidc, oauth_token. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: google_oidc, oauth_token. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: google_oidc, oauth_token. If a field in that set is populated, all other fields in the set will automatically be cleared.
This type of authorization should generally only be used when calling
Google APIs hosted on *.googleapis.com.
Note: The following fields are mutually exclusive: oauth_token, google_oidc. If a field in that set is populated, all other fields in the set will automatically be cleared.
This type of authorization should generally only be used when calling
Google APIs hosted on *.googleapis.com.
Note: The following fields are mutually exclusive: oauth_token, google_oidc. If a field in that set is populated, all other fields in the set will automatically be cleared.
This type of authorization should generally only be used when calling
Google APIs hosted on *.googleapis.com.
Note: The following fields are mutually exclusive: oauth_token, google_oidc. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Eventarc V1 API - Class Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [2.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/2.0.1/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.3.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.2.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [1.1.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.1.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/1.0.1/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.10.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.9.2](/ruby/docs/reference/google-cloud-eventarc-v1/0.9.2/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.8.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.8.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.7.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.7.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.6.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.5.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.4.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.4.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.3.0/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.2.1](/ruby/docs/reference/google-cloud-eventarc-v1/0.2.1/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)\n- [0.1.4](/ruby/docs/reference/google-cloud-eventarc-v1/0.1.4/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig) \nReference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig.\n\nRepresents a config used to authenticate message requests. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #google_oidc\n\n def google_oidc() -\u003e ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken\n\n**Returns**\n\n- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken](./Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig-OidcToken)) --- Optional. This authenticate method will apply Google OIDC tokens signed by a GCP service account to the requests.\n\n\n Note: The following fields are mutually exclusive: `google_oidc`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #google_oidc=\n\n def google_oidc=(value) -\u003e ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken](./Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig-OidcToken)) --- Optional. This authenticate method will apply Google OIDC tokens signed by a GCP service account to the requests.\n\n\nNote: The following fields are mutually exclusive: `google_oidc`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken](./Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig-OidcToken)) --- Optional. This authenticate method will apply Google OIDC tokens signed by a GCP service account to the requests.\n\n\n Note: The following fields are mutually exclusive: `google_oidc`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #oauth_token\n\n def oauth_token() -\u003e ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken\n\n**Returns**\n\n- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken](./Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig-OAuthToken)) --- Optional. If specified, an [OAuth\n token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request.\n\n\n This type of authorization should generally only be used when calling\n Google APIs hosted on \\*.googleapis.com.\n\n Note: The following fields are mutually exclusive: `oauth_token`, `google_oidc`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #oauth_token=\n\n def oauth_token=(value) -\u003e ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken](./Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig-OAuthToken)) --- Optional. If specified, an [OAuth\n token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request.\n\n\n This type of authorization should generally only be used when calling\n Google APIs hosted on \\*.googleapis.com.\n\nNote: The following fields are mutually exclusive: `oauth_token`, `google_oidc`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken](./Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig-OAuthToken)) --- Optional. If specified, an [OAuth\n token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request.\n\n\n This type of authorization should generally only be used when calling\n Google APIs hosted on \\*.googleapis.com.\n\n Note: The following fields are mutually exclusive: `oauth_token`, `google_oidc`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]