Eventarc V1 API - Class Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig (v1.3.0)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig.

Represents a config used to authenticate message requests.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#google_oidc

def google_oidc() -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken
Returns

#google_oidc=

def google_oidc=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken
Parameter
Returns

#oauth_token

def oauth_token() -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken
Returns
  • (::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken) — 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.

    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.

#oauth_token=

def oauth_token=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken
Parameter
  • value (::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken) — 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.

    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.

Returns
  • (::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken) — 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.

    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.