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
91 92 93 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 91 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
89 90 91 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 89 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
96 97 98 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 96 def update!(**args) @status = args[:status] if args.key?(:status) end |