Class: Google::Cloud::Dialogflow::CX::V3::Webhook::GenericWebService::OAuthConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb

Overview

Represents configuration of OAuth client credential flow for 3rd party API authentication.

Instance Attribute Summary collapse

Instance Attribute Details

#client_id::String

Returns Required. The client ID provided by the 3rd party platform.

Returns:

  • (::String)

    Required. The client ID provided by the 3rd party platform.



138
139
140
141
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 138

class OAuthConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#client_secret::String

Returns Required. The client secret provided by the 3rd party platform.

Returns:

  • (::String)

    Required. The client secret provided by the 3rd party platform.



138
139
140
141
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 138

class OAuthConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#scopes::Array<::String>

Returns Optional. The OAuth scopes to grant.

Returns:

  • (::Array<::String>)

    Optional. The OAuth scopes to grant.



138
139
140
141
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 138

class OAuthConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#token_endpoint::String

Returns 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.



138
139
140
141
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 138

class OAuthConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end