Class: Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/addressvalidation_v1/classes.rb,
lib/google/apis/addressvalidation_v1/representations.rb,
lib/google/apis/addressvalidation_v1/representations.rb

Overview

The request for sending validation feedback.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest

Returns a new instance of GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest.



440
441
442
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 440

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

Instance Attribute Details

#conclusionString

Required. The outcome of the sequence of validation attempts. If this field is set to VALIDATION_CONCLUSION_UNSPECIFIED, an INVALID_ARGUMENT error will be returned. Corresponds to the JSON property conclusion

Returns:

  • (String)


432
433
434
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 432

def conclusion
  @conclusion
end

#response_idString

Required. The ID of the response that this feedback is for. This should be the response_id from the first response in a series of address validation attempts. Corresponds to the JSON property responseId

Returns:

  • (String)


438
439
440
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 438

def response_id
  @response_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



445
446
447
448
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 445

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