Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse

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

Response of the EstimateDataSize request. If the long running operation was successful, then this message is returned by the google.longrunning.Operations. response field if the operation was successful.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse.



5352
5353
5354
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5352

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

Instance Attribute Details

#data_size_bytesFixnum

Data size in terms of bytes. Corresponds to the JSON property dataSizeBytes

Returns:

  • (Fixnum)


5345
5346
5347
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5345

def data_size_bytes
  @data_size_bytes
end

#document_countFixnum

Total number of documents. Corresponds to the JSON property documentCount

Returns:

  • (Fixnum)


5350
5351
5352
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5350

def document_count
  @document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5357
5358
5359
5360
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5357

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