Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1FulfillmentGenericWebService

Returns a new instance of GoogleCloudDialogflowV2beta1FulfillmentGenericWebService.



13541
13542
13543
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13541

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)


13518
13519
13520
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13518

def is_cloud_function
  @is_cloud_function
end

#passwordString

Corresponds to the JSON property password

Returns:

  • (String)


13524
13525
13526
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13524

def password
  @password
end

#request_headersHash<String,String>

Corresponds to the JSON property requestHeaders

Returns:

  • (Hash<String,String>)


13529
13530
13531
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13529

def request_headers
  @request_headers
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


13534
13535
13536
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13534

def uri
  @uri
end

#usernameString

Corresponds to the JSON property username

Returns:

  • (String)


13539
13540
13541
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13539

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13546
13547
13548
13549
13550
13551
13552
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13546

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