Class: Google::Apis::MybusinessV3::GoogleUpdatedLocation

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 a location that was modified by Google.

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) ⇒ GoogleUpdatedLocation

Returns a new instance of GoogleUpdatedLocation.



1429
1430
1431
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1429

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

Instance Attribute Details

#diff_maskString

The fields that Google updated. Corresponds to the JSON property diffMask

Returns:

  • (String)


1427
1428
1429
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1427

def diff_mask
  @diff_mask
end

#locationGoogle::Apis::MybusinessV3::Location

A location. See the help center article for a detailed description of these fields, or the [category list](/my-business/content/categories] for a list of valid business categories. Corresponds to the JSON property location



1422
1423
1424
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1422

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1434
1435
1436
1437
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1434

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