Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2OriginalDetectIntentRequest

Returns a new instance of GoogleCloudDialogflowV2OriginalDetectIntentRequest.



17530
17531
17532
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17530

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

Instance Attribute Details

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


17518
17519
17520
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17518

def payload
  @payload
end

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


17523
17524
17525
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17523

def source
  @source
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


17528
17529
17530
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17528

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17535
17536
17537
17538
17539
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17535

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