Class: Google::Apis::MybusinessV3::ReviewReply

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/mybusiness_v3/classes.rb,
generated/google/apis/mybusiness_v3/representations.rb,
generated/google/apis/mybusiness_v3/representations.rb

Overview

Represents the location owner/manager's reply to a review

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReviewReply

Returns a new instance of ReviewReply



1624
1625
1626
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1624

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

Instance Attribute Details

#commentString

The body of the review as plain text with markups. The maximum length is 4096 bytes. Corresponds to the JSON property comment

Returns:

  • (String)


1616
1617
1618
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1616

def comment
  @comment
end

#update_timeString

The timestamp for when the review was last modified. Corresponds to the JSON property updateTime

Returns:

  • (String)


1622
1623
1624
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1622

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1629
1630
1631
1632
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1629

def update!(**args)
  @comment = args[:comment] if args.key?(:comment)
  @update_time = args[:update_time] if args.key?(:update_time)
end