Class: Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest
- Inherits:
-
Object
- Object
- Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest
- 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
-
#conclusion ⇒ String
Required.
-
#response_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest
constructor
A new instance of GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#conclusion ⇒ String
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
432 433 434 |
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 432 def conclusion @conclusion end |
#response_id ⇒ String
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
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 |