Class: Google::Apis::StreetviewpublishV1::PhotoId
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::PhotoId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/streetviewpublish_v1/classes.rb,
lib/google/apis/streetviewpublish_v1/representations.rb,
lib/google/apis/streetviewpublish_v1/representations.rb
Overview
Identifier for a Photo.
Instance Attribute Summary collapse
-
#id ⇒ String
A unique identifier for a photo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PhotoId
constructor
A new instance of PhotoId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PhotoId
Returns a new instance of PhotoId.
672 673 674 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
A unique identifier for a photo.
Corresponds to the JSON property id
670 671 672 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 670 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
677 678 679 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 677 def update!(**args) @id = args[:id] if args.key?(:id) end |