Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentGenericWebService

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2FulfillmentGenericWebService

Returns a new instance of GoogleCloudDialogflowV2FulfillmentGenericWebService.



10030
10031
10032
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10030

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#is_cloud_functionBoolean Also known as: is_cloud_function?

Corresponds to the JSON property isCloudFunction

Returns:

  • (Boolean)


10007
10008
10009
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10007

def is_cloud_function
  @is_cloud_function
end

#passwordString

Corresponds to the JSON property password

Returns:

  • (String)


10013
10014
10015
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10013

def password
  @password
end

#request_headersHash<String,String>

Corresponds to the JSON property requestHeaders

Returns:

  • (Hash<String,String>)


10018
10019
10020
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10018

def request_headers
  @request_headers
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


10023
10024
10025
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10023

def uri
  @uri
end

#usernameString

Corresponds to the JSON property username

Returns:

  • (String)


10028
10029
10030
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10028

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10035
10036
10037
10038
10039
10040
10041
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10035

def update!(**args)
  @is_cloud_function = args[:is_cloud_function] if args.key?(:is_cloud_function)
  @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