Class: Google::Apis::MybusinessV3::OpenInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MybusinessV3::OpenInfo
 
- 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
Indicates whether the location is currently open for business. All locations are open by default, unless updated to be closed.
Instance Attribute Summary collapse
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates the Location OpenForBusiness status. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OpenInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OpenInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OpenInfo
Returns a new instance of OpenInfo
| 1321 1322 1323 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1321 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#status ⇒ String
Indicates the Location OpenForBusiness status.
Corresponds to the JSON property status
| 1319 1320 1321 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1319 def status @status end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1326 1327 1328 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1326 def update!(**args) @status = args[:status] if args.key?(:status) end |