Class: Google::Apis::MybusinesslodgingV1::LodgingMetadata
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::LodgingMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinesslodging_v1/classes.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb
Overview
Metadata for the Lodging.
Instance Attribute Summary collapse
-
#update_time ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LodgingMetadata
constructor
A new instance of LodgingMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LodgingMetadata
Returns a new instance of LodgingMetadata.
2644 2645 2646 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2644 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_time ⇒ String
Required. The latest time at which the Lodging data is asserted to be true in
the real world. This is not necessarily the time at which the request is made.
Corresponds to the JSON property updateTime
2642 2643 2644 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2642 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2649 2650 2651 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2649 def update!(**args) @update_time = args[:update_time] if args.key?(:update_time) end |