Class: Google::Apis::MybusinessV3::SpecialHours
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MybusinessV3::SpecialHours
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mybusiness_v3/classes.rb,
 generated/google/apis/mybusiness_v3/representations.rb,
 generated/google/apis/mybusiness_v3/representations.rb
Overview
Represents a set of time periods when a location's operational hours differ from its normal business hours.
Instance Attribute Summary collapse
- 
  
    
      #special_hour_periods  ⇒ Array<Google::Apis::MybusinessV3::SpecialHourPeriod> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of exceptions to the business's regular hours. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SpecialHours 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SpecialHours. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SpecialHours
Returns a new instance of SpecialHours
| 1786 1787 1788 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1786 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#special_hour_periods ⇒ Array<Google::Apis::MybusinessV3::SpecialHourPeriod>
A list of exceptions to the business's regular hours.
Corresponds to the JSON property specialHourPeriods
| 1784 1785 1786 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1784 def special_hour_periods @special_hour_periods end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1791 1792 1793 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1791 def update!(**args) @special_hour_periods = args[:special_hour_periods] if args.key?(:special_hour_periods) end |