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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Connection

Returns a new instance of Connection.



141
142
143
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 141

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

Instance Attribute Details

#targetGoogle::Apis::StreetviewpublishV1::PhotoId

Identifier for a Photo. Corresponds to the JSON property target



139
140
141
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 139

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



146
147
148
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 146

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