Class: Google::Apis::MybusinessV3::Duplicate
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessV3::Duplicate
- 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
Information about the location that this location duplicates.
Instance Attribute Summary collapse
-
#location_name ⇒ String
The resource name of the location that this duplicates.
-
#ownership ⇒ String
Indicates the ownership status between this location and the location that it duplicates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Duplicate
constructor
A new instance of Duplicate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Duplicate
Returns a new instance of Duplicate
1361 1362 1363 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location_name ⇒ String
The resource name of the location that this duplicates. Only populated
if the authenticated user has access rights to that location and that
location is not deleted.
Corresponds to the JSON property locationName
1353 1354 1355 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1353 def location_name @location_name end |
#ownership ⇒ String
Indicates the ownership status between this location and the location
that it duplicates.
Corresponds to the JSON property ownership
1359 1360 1361 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1359 def ownership @ownership end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1366 1367 1368 1369 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1366 def update!(**args) @location_name = args[:location_name] if args.key?(:location_name) @ownership = args[:ownership] if args.key?(:ownership) end |