Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest

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

Returns a new instance of GoogleCloudDialogflowV2OriginalDetectIntentRequest.



9924
9925
9926
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9924

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

Instance Attribute Details

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


9912
9913
9914
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9912

def payload
  @payload
end

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


9917
9918
9919
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9917

def source
  @source
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


9922
9923
9924
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9922

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9929
9930
9931
9932
9933
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9929

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