Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Webhook::GenericWebService::OAuthConfig.
Represents configuration of OAuth client credential flow for 3rd party API authentication.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#client_id
def client_id() -> ::String
Returns
- (::String) — Required. The client ID provided by the 3rd party platform.
#client_id=
def client_id=(value) -> ::String
Parameter
- value (::String) — Required. The client ID provided by the 3rd party platform.
Returns
- (::String) — Required. The client ID provided by the 3rd party platform.
#client_secret
def client_secret() -> ::String
Returns
- (::String) — Required. The client secret provided by the 3rd party platform.
#client_secret=
def client_secret=(value) -> ::String
Parameter
- value (::String) — Required. The client secret provided by the 3rd party platform.
Returns
- (::String) — Required. The client secret provided by the 3rd party platform.
#scopes
def scopes() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. The OAuth scopes to grant.
#scopes=
def scopes=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. The OAuth scopes to grant.
Returns
- (::Array<::String>) — Optional. The OAuth scopes to grant.
#token_endpoint
def token_endpoint() -> ::String
Returns
- (::String) — Required. The token endpoint provided by the 3rd party platform to exchange an access token.
#token_endpoint=
def token_endpoint=(value) -> ::String
Parameter
- value (::String) — Required. The token endpoint provided by the 3rd party platform to exchange an access token.
Returns
- (::String) — Required. The token endpoint provided by the 3rd party platform to exchange an access token.