Class: Google::Apis::MybusinessV3::AccountState
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessV3::AccountState
- 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 status of the account, such as whether the account has been verified by Google.
Instance Attribute Summary collapse
-
#status ⇒ String
If verified, future locations that are created are automatically be connected to maps, and have Google+ pages created, without requiring moderation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountState
constructor
A new instance of AccountState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountState
Returns a new instance of AccountState
119 120 121 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ String
If verified, future locations that are created are automatically
be connected to maps, and have Google+ pages created, without requiring
moderation.
Corresponds to the JSON property status
117 118 119 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 117 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
124 125 126 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 124 def update!(**args) @status = args[:status] if args.key?(:status) end |