Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo

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

Overview

Debug information specifically related to forward geocoding issues arising from Geolocation Search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo.



10542
10543
10544
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10542

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

Instance Attribute Details

#error_messageString

The error produced. Corresponds to the JSON property errorMessage

Returns:

  • (String)


10535
10536
10537
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10535

def error_message
  @error_message
end

#original_address_queryString

The address from which forward geocoding ingestion produced issues. Corresponds to the JSON property originalAddressQuery

Returns:

  • (String)


10540
10541
10542
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10540

def original_address_query
  @original_address_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10547
10548
10549
10550
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10547

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