Class: Google::Analytics::Data::V1beta::SamplingMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/data/v1beta/data.rb

Overview

If this report results is sampled, this describes the percentage of events used in this report. Sampling is the practice of analyzing a subset of all data in order to uncover the meaningful information in the larger data set.

Instance Attribute Summary collapse

Instance Attribute Details

#samples_read_count::Integer

Returns The total number of events read in this sampled report for a date range. This is the size of the subset this property's data that was analyzed in this report.

Returns:

  • (::Integer)

    The total number of events read in this sampled report for a date range. This is the size of the subset this property's data that was analyzed in this report.



749
750
751
752
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 749

class SamplingMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sampling_space_size::Integer

Returns The total number of events present in this property's data that could have been analyzed in this report for a date range. Sampling uncovers the meaningful information about the larger data set, and this is the size of the larger data set.

To calculate the percentage of available data that was used in this report, compute samplesReadCount/samplingSpaceSize.

Returns:

  • (::Integer)

    The total number of events present in this property's data that could have been analyzed in this report for a date range. Sampling uncovers the meaningful information about the larger data set, and this is the size of the larger data set.

    To calculate the percentage of available data that was used in this report, compute samplesReadCount/samplingSpaceSize.



749
750
751
752
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 749

class SamplingMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end