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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#target ⇒ Google::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 |