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
1201 1202 1203 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ String
Indicates the Location OpenForBusiness status.
Corresponds to the JSON property status
1199 1200 1201 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1199 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1206 1207 1208 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1206 def update!(**args) @status = args[:status] if args.key?(:status) end |