Class: Google::Apis::MybusinessV3::OpenInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#statusString

Indicates the Location OpenForBusiness status. Corresponds to the JSON property status

Returns:

  • (String)


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