Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest

Returns a new instance of GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest.



20526
20527
20528
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20526

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

Instance Attribute Details

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


20514
20515
20516
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20514

def payload
  @payload
end

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


20519
20520
20521
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20519

def source
  @source
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


20524
20525
20526
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20524

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20531
20532
20533
20534
20535
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20531

def update!(**args)
  @payload = args[:payload] if args.key?(:payload)
  @source = args[:source] if args.key?(:source)
  @version = args[:version] if args.key?(:version)
end