Class: Google::Apis::MybusinesslodgingV1::GetGoogleUpdatedLodgingResponse
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::GetGoogleUpdatedLodgingResponse
- 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
Response message for LodgingService.GetGoogleUpdatedLodging
Instance Attribute Summary collapse
-
#diff_mask ⇒ String
Required.
-
#lodging ⇒ Google::Apis::MybusinesslodgingV1::Lodging
Lodging of a location that provides accomodations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetGoogleUpdatedLodgingResponse
constructor
A new instance of GetGoogleUpdatedLodgingResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetGoogleUpdatedLodgingResponse
Returns a new instance of GetGoogleUpdatedLodgingResponse.
1032 1033 1034 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#diff_mask ⇒ String
Required. The fields in the Lodging that have been updated by Google. Repeated
field items are not individually specified.
Corresponds to the JSON property diffMask
1025 1026 1027 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1025 def diff_mask @diff_mask end |
#lodging ⇒ Google::Apis::MybusinesslodgingV1::Lodging
Lodging of a location that provides accomodations.
Corresponds to the JSON property lodging
1030 1031 1032 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1030 def lodging @lodging end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1037 1038 1039 1040 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1037 def update!(**args) @diff_mask = args[:diff_mask] if args.key?(:diff_mask) @lodging = args[:lodging] if args.key?(:lodging) end |