Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest

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

Returns a new instance of GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest.



18203
18204
18205
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18203

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

Instance Attribute Details

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


18191
18192
18193
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18191

def payload
  @payload
end

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


18196
18197
18198
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18196

def source
  @source
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


18201
18202
18203
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18201

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18208
18209
18210
18211
18212
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18208

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