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.



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

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)


429
430
431
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 429

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)


435
436
437
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 435

def response_id
  @response_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



442
443
444
445
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 442

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