Class: Google::Apis::MybusinessverificationsV1::VoiceOfMerchantState

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VoiceOfMerchantState

Returns a new instance of VoiceOfMerchantState.



661
662
663
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 661

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#comply_with_guidelinesGoogle::Apis::MybusinessverificationsV1::ComplyWithGuidelines

Indicates that the location fails to comply with our guidelines. Corresponds to the JSON property complyWithGuidelines



625
626
627
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 625

def comply_with_guidelines
  @comply_with_guidelines
end

#has_business_authorityBoolean Also known as: has_business_authority?

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

Returns:

  • (Boolean)


633
634
635
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 633

def has_business_authority
  @has_business_authority
end

#has_voice_of_merchantBoolean 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

Returns:

  • (Boolean)


641
642
643
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 641

def has_voice_of_merchant
  @has_voice_of_merchant
end

#resolve_ownership_conflictGoogle::Apis::MybusinessverificationsV1::ResolveOwnershipConflict

Indicates that the location duplicates another location that is in good standing. Corresponds to the JSON property resolveOwnershipConflict



648
649
650
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 648

def resolve_ownership_conflict
  @resolve_ownership_conflict
end

#verifyGoogle::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



654
655
656
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 654

def verify
  @verify
end

#wait_for_voice_of_merchantGoogle::Apis::MybusinessverificationsV1::WaitForVoiceOfMerchant

Indicates that the location will gain voice of merchant after passing review. Corresponds to the JSON property waitForVoiceOfMerchant



659
660
661
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 659

def wait_for_voice_of_merchant
  @wait_for_voice_of_merchant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



666
667
668
669
670
671
672
673
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 666

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