class Google::Apis::MybusinessqandaV1::UpsertAnswerRequest

Request message for QuestionsAndAnswers.UpsertAnswer

Attributes

answer[RW]

Represents an answer to a question Corresponds to the JSON property ‘answer` @return [Google::Apis::MybusinessqandaV1::Answer]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinessqanda_v1/classes.rb, line 265
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinessqanda_v1/classes.rb, line 270
def update!(**args)
  @answer = args[:answer] if args.key?(:answer)
end