Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SearchGeoSpec

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

Overview

The specification for how to build a geo search index for a field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1SearchGeoSpec

Returns a new instance of GoogleFirestoreAdminV1SearchGeoSpec.



3080
3081
3082
# File 'lib/google/apis/firestore_v1/classes.rb', line 3080

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

Instance Attribute Details

#geo_json_indexing_disabledBoolean Also known as: geo_json_indexing_disabled?

Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed. Corresponds to the JSON property geoJsonIndexingDisabled

Returns:

  • (Boolean)


3077
3078
3079
# File 'lib/google/apis/firestore_v1/classes.rb', line 3077

def geo_json_indexing_disabled
  @geo_json_indexing_disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3085
3086
3087
# File 'lib/google/apis/firestore_v1/classes.rb', line 3085

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