Class: Google::Apis::ConsumersurveysV2::SurveyQuestionImage
- Inherits:
-
Object
- Object
- Google::Apis::ConsumersurveysV2::SurveyQuestionImage
- Defined in:
- generated/google/apis/consumersurveys_v2/classes.rb,
generated/google/apis/consumersurveys_v2/representations.rb,
generated/google/apis/consumersurveys_v2/representations.rb
Instance Attribute Summary collapse
-
#alt_text ⇒ String
Corresponds to the JSON property
altText
. -
#data ⇒ String
Corresponds to the JSON property
data
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#url ⇒ String
Corresponds to the JSON property
url
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SurveyQuestionImage
constructor
A new instance of SurveyQuestionImage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SurveyQuestionImage
Returns a new instance of SurveyQuestionImage
530 531 532 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 530 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alt_text ⇒ String
Corresponds to the JSON property altText
517 518 519 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 517 def alt_text @alt_text end |
#data ⇒ String
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
523 524 525 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 523 def data @data end |
#url ⇒ String
Corresponds to the JSON property url
528 529 530 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 528 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
535 536 537 538 539 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 535 def update!(**args) @alt_text = args[:alt_text] if args.key?(:alt_text) @data = args[:data] if args.key?(:data) @url = args[:url] if args.key?(:url) end |