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

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 for a generic web service.

Defined Under Namespace

Classes: RequestHeadersEntry

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_ca_certs::Array<::String>

Returns Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command,

   openssl x509 -req -days 200 -in example.com.csr \
     -signkey example.com.key \
     -out example.com.crt \
     -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
```.

Returns:

  • (::Array<::String>)

    Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command,

       openssl x509 -req -days 200 -in example.com.csr \
         -signkey example.com.key \
         -out example.com.crt \
         -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
    


89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 89

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 The password for HTTP Basic authentication.

Returns:

  • (::String)

    The password for HTTP Basic authentication.



89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 89

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 The HTTP request headers to send together with webhook requests.

Returns:

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

    The HTTP request headers to send together with webhook requests.



89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 89

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 webhook URI for receiving POST requests. It must use https protocol.

Returns:

  • (::String)

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



89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 89

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 The user name for HTTP Basic authentication.

Returns:

  • (::String)

    The user name for HTTP Basic authentication.



89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 89

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