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



91
92
93
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 91

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)


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