Class: Google::Apis::PhotoslibraryV1::LocationEnrichment
- Inherits:
-
Object
- Object
- Google::Apis::PhotoslibraryV1::LocationEnrichment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/photoslibrary_v1/classes.rb,
generated/google/apis/photoslibrary_v1/representations.rb,
generated/google/apis/photoslibrary_v1/representations.rb
Overview
An enrichment containing a single location.
Instance Attribute Summary collapse
-
#location ⇒ Google::Apis::PhotoslibraryV1::Location
Represents a physical location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationEnrichment
constructor
A new instance of LocationEnrichment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LocationEnrichment
Returns a new instance of LocationEnrichment
653 654 655 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 653 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Google::Apis::PhotoslibraryV1::Location
Represents a physical location.
Corresponds to the JSON property location
651 652 653 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 651 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
658 659 660 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 658 def update!(**args) @location = args[:location] if args.key?(:location) end |