Class: Google::Apis::StreetviewpublishV1::Connection

Inherits:
Object
  • Object
show all
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

A connection is the link from a source photo to a destination photo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Connection

Returns a new instance of Connection.



133
134
135
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 133

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#targetGoogle::Apis::StreetviewpublishV1::PhotoId

Identifier for a Photo. Corresponds to the JSON property target



131
132
133
# File 'lib/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 'lib/google/apis/streetviewpublish_v1/classes.rb', line 138

def update!(**args)
  @target = args[:target] if args.key?(:target)
end