Class: Google::Apis::MybusinesslodgingV1::GetGoogleUpdatedLodgingResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_maskString

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

Returns:

  • (String)


1042
1043
1044
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1042

def diff_mask
  @diff_mask
end

#lodgingGoogle::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