Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest

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) ⇒ GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest

Returns a new instance of GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest.



21528
21529
21530
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21528

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

Instance Attribute Details

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


21516
21517
21518
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21516

def payload
  @payload
end

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


21521
21522
21523
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21521

def source
  @source
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


21526
21527
21528
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21526

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21533
21534
21535
21536
21537
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21533

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