Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo.



7160
7161
7162
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7160

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

Instance Attribute Details

#error_messageString

The error produced. Corresponds to the JSON property errorMessage

Returns:

  • (String)


7153
7154
7155
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7153

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)


7158
7159
7160
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7158

def original_address_query
  @original_address_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7165
7166
7167
7168
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7165

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