Class: Google::Apis::StreetviewpublishV1::Connection
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::Connection
- 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
A connection is the link from a source photo to a destination photo.
Instance Attribute Summary collapse
-
#target ⇒ Google::Apis::StreetviewpublishV1::PhotoId
Identifier for a Photo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Connection
constructor
A new instance of Connection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Connection
Returns a new instance of Connection.
133 134 135 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target ⇒ Google::Apis::StreetviewpublishV1::PhotoId
Identifier for a Photo.
Corresponds to the JSON property target
131 132 133 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 131 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
138 139 140 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 138 def update!(**args) @target = args[:target] if args.key?(:target) end |