Class: Google::Apis::CloudsearchV1::GetDataSourceIndexStatsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetDataSourceIndexStatsResponse

Returns a new instance of GetDataSourceIndexStatsResponse.



9954
9955
9956
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9954

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

Instance Attribute Details

#average_indexed_item_countFixnum

Average item count for the given date range for which billing is done. Corresponds to the JSON property averageIndexedItemCount

Returns:

  • (Fixnum)


9947
9948
9949
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9947

def average_indexed_item_count
  @average_indexed_item_count
end

#statsArray<Google::Apis::CloudsearchV1::DataSourceIndexStats>

Summary of indexed item counts, one for each day in the requested range. Corresponds to the JSON property stats



9952
9953
9954
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9952

def stats
  @stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9959
9960
9961
9962
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9959

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