Class: Google::Apis::StreetviewpublishV1::PhotoId
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::PhotoId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/streetviewpublish_v1/classes.rb,
generated/google/apis/streetviewpublish_v1/representations.rb,
generated/google/apis/streetviewpublish_v1/representations.rb
Overview
Identifier for a Photo.
Instance Attribute Summary collapse
-
#id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PhotoId
constructor
A new instance of PhotoId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PhotoId
Returns a new instance of PhotoId
455 456 457 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Required. A unique identifier for a photo.
Corresponds to the JSON property id
453 454 455 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 453 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
460 461 462 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 460 def update!(**args) @id = args[:id] if args.key?(:id) end |