Class: Google::Apis::CustomsearchV1::Promotion::BodyLine
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CustomsearchV1::Promotion::BodyLine
 
- Defined in:
- generated/google/apis/customsearch_v1/classes.rb,
 generated/google/apis/customsearch_v1/representations.rb,
 generated/google/apis/customsearch_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #html_title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property htmlTitle.
- 
  
    
      #link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property link.
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property title.
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property url.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BodyLine 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of BodyLine. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ BodyLine
Returns a new instance of BodyLine
| 153 154 155 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 153 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#html_title ⇒ String
Corresponds to the JSON property htmlTitle
| 136 137 138 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 136 def html_title @html_title end | 
#link ⇒ String
Corresponds to the JSON property link
| 141 142 143 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 141 def link @link end | 
#title ⇒ String
Corresponds to the JSON property title
| 146 147 148 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 146 def title @title end | 
#url ⇒ String
Corresponds to the JSON property url
| 151 152 153 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 151 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 158 159 160 161 162 163 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 158 def update!(**args) @html_title = args[:html_title] if args.key?(:html_title) @link = args[:link] if args.key?(:link) @title = args[:title] if args.key?(:title) @url = args[:url] if args.key?(:url) end |