class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService

Represents configuration for a generic web service.

Attributes

password[RW]

The password for HTTP Basic authentication. Corresponds to the JSON property `password` @return [String]

request_headers[RW]

The HTTP request headers to send together with webhook requests. Corresponds to the JSON property `requestHeaders` @return [Hash<String,String>]

uri[RW]

Required. The webhook URI for receiving POST requests. It must use https protocol. Corresponds to the JSON property `uri` @return [String]

username[RW]

The user name for HTTP Basic authentication. Corresponds to the JSON property `username` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 5568
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 5573
def update!(**args)
  @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