Class: Google::Apis::MybusinessV3::AccountState

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 status of the account, such as whether the account has been verified by Google.

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) ⇒ 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

#statusString

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

Returns:

  • (String)


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