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.
1049 1050 1051 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1049 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
1042 1043 1044 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1042 def diff_mask @diff_mask end |
#lodging ⇒ Google::Apis::MybusinesslodgingV1::Lodging
Lodging of a location that provides accomodations.
Corresponds to the JSON property lodging
1047 1048 1049 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1047 def lodging @lodging end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1054 1055 1056 1057 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1054 def update!(**args) @diff_mask = args[:diff_mask] if args.key?(:diff_mask) @lodging = args[:lodging] if args.key?(:lodging) end |