Class: Google::Cloud::Dialogflow::V2::Fulfillment::GenericWebService

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

Overview

Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:

  • Basic authentication with username and password.
  • Authentication with additional authentication headers.

More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.

Defined Under Namespace

Classes: RequestHeadersEntry

Instance Attribute Summary collapse

Instance Attribute Details

#is_cloud_function::Boolean

Returns Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false.

is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

Returns:

  • (::Boolean)

    Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false.

    is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.



92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/dialogflow/v2/fulfillment.rb', line 92

class GenericWebService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class RequestHeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#password::String

Returns Optional. The password for HTTP Basic authentication.

Returns:

  • (::String)

    Optional. The password for HTTP Basic authentication.



92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/dialogflow/v2/fulfillment.rb', line 92

class GenericWebService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class RequestHeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#request_headers::Google::Protobuf::Map{::String => ::String}

Returns Optional. The HTTP request headers to send together with fulfillment requests.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. The HTTP request headers to send together with fulfillment requests.



92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/dialogflow/v2/fulfillment.rb', line 92

class GenericWebService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class RequestHeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#uri::String

Returns Required. The fulfillment URI for receiving POST requests. It must use https protocol.

Returns:

  • (::String)

    Required. The fulfillment URI for receiving POST requests. It must use https protocol.



92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/dialogflow/v2/fulfillment.rb', line 92

class GenericWebService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class RequestHeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#username::String

Returns Optional. The user name for HTTP Basic authentication.

Returns:

  • (::String)

    Optional. The user name for HTTP Basic authentication.



92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/dialogflow/v2/fulfillment.rb', line 92

class GenericWebService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class RequestHeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end