Class: Google::Apis::CustomsearchV1::Result::Label
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CustomsearchV1::Result::Label
 
- 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
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property displayName.
- 
  
    
      #label_with_op  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property label_with_op.
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property name.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Label 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Label. 
- 
  
    
      #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) ⇒ Label
Returns a new instance of Label
| 603 604 605 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 603 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
| 591 592 593 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 591 def display_name @display_name end | 
#label_with_op ⇒ String
Corresponds to the JSON property label_with_op
| 596 597 598 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 596 def label_with_op @label_with_op end | 
#name ⇒ String
Corresponds to the JSON property name
| 601 602 603 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 601 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 608 609 610 611 612 | # File 'generated/google/apis/customsearch_v1/classes.rb', line 608 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @label_with_op = args[:label_with_op] if args.key?(:label_with_op) @name = args[:name] if args.key?(:name) end |