Class: Google::Apis::MybusinessverificationsV1::VerifyLocationResponse

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 Verifications.VerifyLocation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerifyLocationResponse

Returns a new instance of VerifyLocationResponse.



607
608
609
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 607

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

Instance Attribute Details

#verificationGoogle::Apis::MybusinessverificationsV1::Verification

A verification represents a verification attempt on a location. Corresponds to the JSON property verification



605
606
607
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 605

def verification
  @verification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



612
613
614
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 612

def update!(**args)
  @verification = args[:verification] if args.key?(:verification)
end