Class: Google::Apis::SlidesV1::Link
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SlidesV1::Link
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb 
Overview
A hypertext link.
Instance Attribute Summary collapse
- 
  
    
      #page_object_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If set, indicates this is a link to the specific page in this presentation with this ID.
 - 
  
    
      #relative_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If set, indicates this is a link to a slide in this presentation, addressed by its position.
 - 
  
    
      #slide_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If set, indicates this is a link to the slide at this zero-based index in the presentation.
 - 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If set, indicates this is a link to the external web page at this URL.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Link 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Link.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Link
Returns a new instance of Link
      1672 1673 1674  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1672 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#page_object_id ⇒ String
If set, indicates this is a link to the specific page in this
presentation with this ID. A page with this ID may not exist.
Corresponds to the JSON property pageObjectId
      1653 1654 1655  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1653 def page_object_id @page_object_id end  | 
  
#relative_link ⇒ String
If set, indicates this is a link to a slide in this presentation,
addressed by its position.
Corresponds to the JSON property relativeLink
      1659 1660 1661  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1659 def relative_link @relative_link end  | 
  
#slide_index ⇒ Fixnum
If set, indicates this is a link to the slide at this zero-based index
in the presentation. There may not be a slide at this index.
Corresponds to the JSON property slideIndex
      1665 1666 1667  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1665 def @slide_index end  | 
  
#url ⇒ String
If set, indicates this is a link to the external web page at this URL.
Corresponds to the JSON property url
      1670 1671 1672  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1670 def url @url end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1677 1678 1679 1680 1681 1682  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1677 def update!(**args) @page_object_id = args[:page_object_id] if args.key?(:page_object_id) @relative_link = args[:relative_link] if args.key?(:relative_link) @slide_index = args[:slide_index] if args.key?(:slide_index) @url = args[:url] if args.key?(:url) end  |