Class: Google::Apis::MybusinessverificationsV1::VoiceOfMerchantState
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::VoiceOfMerchantState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessverifications_v1/classes.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb
Overview
Response message for VoiceOfMerchant.GetVoiceOfMerchantState.
Instance Attribute Summary collapse
-
#comply_with_guidelines ⇒ Google::Apis::MybusinessverificationsV1::ComplyWithGuidelines
Indicates that the location fails to comply with our guidelines.
-
#has_business_authority ⇒ Boolean
(also: #has_business_authority?)
Indicates whether the location has the authority (ownership) over the business on Google.
-
#has_voice_of_merchant ⇒ Boolean
(also: #has_voice_of_merchant?)
Indicates whether the location is in good standing and has control over the business on Google.
-
#resolve_ownership_conflict ⇒ Google::Apis::MybusinessverificationsV1::ResolveOwnershipConflict
Indicates that the location duplicates another location that is in good standing.
-
#verify ⇒ Google::Apis::MybusinessverificationsV1::Verify
Indicates that the location requires verification.
-
#wait_for_voice_of_merchant ⇒ Google::Apis::MybusinessverificationsV1::WaitForVoiceOfMerchant
Indicates that the location will gain voice of merchant after passing review.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VoiceOfMerchantState
constructor
A new instance of VoiceOfMerchantState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VoiceOfMerchantState
Returns a new instance of VoiceOfMerchantState.
756 757 758 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 756 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comply_with_guidelines ⇒ Google::Apis::MybusinessverificationsV1::ComplyWithGuidelines
Indicates that the location fails to comply with our guidelines. To fix this issue, consult the
Help Center Article.
Corresponds to the JSON property complyWithGuidelines
720 721 722 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 720 def comply_with_guidelines @comply_with_guidelines end |
#has_business_authority ⇒ Boolean Also known as:
Indicates whether the location has the authority (ownership) over the business
on Google. If true, another location cannot take over and become the dominant
listing on Maps. However, edits will not become live unless Voice of Merchant
is gained (i.e. has_voice_of_merchant is true).
Corresponds to the JSON property hasBusinessAuthority
728 729 730 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 728 def @has_business_authority end |
#has_voice_of_merchant ⇒ Boolean Also known as: has_voice_of_merchant?
Indicates whether the location is in good standing and has control over the
business on Google. Any edits made to the location will propagate to Maps
after passing the review phase.
Corresponds to the JSON property hasVoiceOfMerchant
736 737 738 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 736 def has_voice_of_merchant @has_voice_of_merchant end |
#resolve_ownership_conflict ⇒ Google::Apis::MybusinessverificationsV1::ResolveOwnershipConflict
Indicates that the location duplicates another location that is in good
standing.
Corresponds to the JSON property resolveOwnershipConflict
743 744 745 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 743 def resolve_ownership_conflict @resolve_ownership_conflict end |
#verify ⇒ Google::Apis::MybusinessverificationsV1::Verify
Indicates that the location requires verification. Contains information about
the current verification actions performed on the location.
Corresponds to the JSON property verify
749 750 751 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 749 def verify @verify end |
#wait_for_voice_of_merchant ⇒ Google::Apis::MybusinessverificationsV1::WaitForVoiceOfMerchant
Indicates that the location will gain voice of merchant after passing review.
Corresponds to the JSON property waitForVoiceOfMerchant
754 755 756 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 754 def wait_for_voice_of_merchant @wait_for_voice_of_merchant end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
761 762 763 764 765 766 767 768 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 761 def update!(**args) @comply_with_guidelines = args[:comply_with_guidelines] if args.key?(:comply_with_guidelines) @has_business_authority = args[:has_business_authority] if args.key?(:has_business_authority) @has_voice_of_merchant = args[:has_voice_of_merchant] if args.key?(:has_voice_of_merchant) @resolve_ownership_conflict = args[:resolve_ownership_conflict] if args.key?(:resolve_ownership_conflict) @verify = args[:verify] if args.key?(:verify) @wait_for_voice_of_merchant = args[:wait_for_voice_of_merchant] if args.key?(:wait_for_voice_of_merchant) end |