class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService
Represents configuration for a generic web service.
Attributes
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'”) Corresponds to the JSON property `allowedCaCerts` @return [Array<String>]
The password for HTTP Basic authentication. Corresponds to the JSON property `password` @return [String]
The HTTP request headers to send together with webhook requests. Corresponds to the JSON property `requestHeaders` @return [Hash<String,String>]
Required. The webhook URI for receiving POST requests. It must use https protocol. Corresponds to the JSON property `uri` @return [String]
The user name for HTTP Basic authentication. Corresponds to the JSON property `username` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 5997 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 6002 def update!(**args) @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs) @password = args[:password] if args.key?(:password) @request_headers = args[:request_headers] if args.key?(:request_headers) @uri = args[:uri] if args.key?(:uri) @username = args[:username] if args.key?(:username) end