Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.



8882
8883
8884
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8882

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

Instance Attribute Details

#content_urlString

Corresponds to the JSON property contentUrl

Returns:

  • (String)


8860
8861
8862
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8860

def content_url
  @content_url
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8865
8866
8867
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8865

def description
  @description
end

#iconGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property icon



8870
8871
8872
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8870

def icon
  @icon
end

#large_imageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property largeImage



8875
8876
8877
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8875

def large_image
  @large_image
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8880
8881
8882
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8880

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8887
8888
8889
8890
8891
8892
8893
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8887

def update!(**args)
  @content_url = args[:content_url] if args.key?(:content_url)
  @description = args[:description] if args.key?(:description)
  @icon = args[:icon] if args.key?(:icon)
  @large_image = args[:large_image] if args.key?(:large_image)
  @name = args[:name] if args.key?(:name)
end