Class: Google::Analytics::Data::V1beta::ResponseMetaData
- Inherits:
-
Object
- Object
- Google::Analytics::Data::V1beta::ResponseMetaData
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/data/v1beta/data.rb
Overview
Response's metadata carrying additional information about the report content.
Defined Under Namespace
Classes: DataTruncationReason, SchemaRestrictionResponse
Instance Attribute Summary collapse
-
#currency_code ⇒ ::String
The currency code used in this report.
-
#data_loss_from_other_row ⇒ ::Boolean
If true, indicates some buckets of dimension combinations are rolled into "(other)" row.
-
#data_truncation_reasons ⇒ ::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason>
If set, indicate there is data truncation in the report.
-
#empty_reason ⇒ ::String
If empty reason is specified, the report is empty for this reason.
-
#sampling_metadatas ⇒ ::Array<::Google::Analytics::Data::V1beta::SamplingMetadata>
If this report results is sampled, this describes the percentage of events used in this report.
-
#schema_restriction_response ⇒ ::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse
Describes the schema restrictions actively enforced in creating this report.
-
#subject_to_thresholding ⇒ ::Boolean
If
subjectToThresholdingis true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. -
#time_zone ⇒ ::String
The property's current timezone.
Instance Attribute Details
#currency_code ⇒ ::String
Returns The currency code used in this report. Intended to be used in formatting
currency metrics like purchaseRevenue for visualization. If currency_code
was specified in the request, this response parameter will echo the request
parameter; otherwise, this response parameter is the property's current
currency_code.
Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |
#data_loss_from_other_row ⇒ ::Boolean
Returns If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports.
The metadata parameter dataLossFromOtherRow is populated based on the aggregated data table used in the report. The parameter will be accurately populated regardless of the filters and limits in the report.
For example, the (other) row could be dropped from the report because the request contains a filter on sessionSource = google. This parameter will still be populated if data loss from other row was present in the input aggregate data used to generate this report.
To learn more, see About the (other) row and data sampling.
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |
#data_truncation_reasons ⇒ ::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason>
Returns If set, indicate there is data truncation in the report.
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |
#empty_reason ⇒ ::String
Returns If empty reason is specified, the report is empty for this reason.
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |
#sampling_metadatas ⇒ ::Array<::Google::Analytics::Data::V1beta::SamplingMetadata>
Returns If this report results is
sampled, this
describes the percentage of events used in this report. One
samplingMetadatas is populated for each date range. Each
samplingMetadatas corresponds to a date range in order that date ranges
were specified in the request.
However if the results are not sampled, this field will not be defined.
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |
#schema_restriction_response ⇒ ::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse
Returns Describes the schema restrictions actively enforced in creating this report. To learn more, see Access and data-restriction management.
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |
#subject_to_thresholding ⇒ ::Boolean
Returns If subjectToThresholding is true, this report is subject to thresholding
and only returns data that meets the minimum aggregation thresholds. It is
possible for a request to be subject to thresholding thresholding and no
data is absent from the report, and this happens when all data is above the
thresholds. To learn more, see Data
thresholds.
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |
#time_zone ⇒ ::String
Returns The property's current timezone. Intended to be used to interpret
time-based dimensions like hour and minute. Formatted as strings from
the IANA Time Zone database (https://www.iana.org/time-zones); for example
"America/New_York" or "Asia/Tokyo".
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 764 class ResponseMetaData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The schema restrictions actively enforced in creating this report. To learn # more, see [Access and data-restriction # management](https://support.google.com/analytics/answer/10851388). # @!attribute [rw] active_metric_restrictions # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>] # All restrictions actively enforced in creating the report. For example, # `purchaseRevenue` always has the restriction type `REVENUE_DATA`. # However, this active response restriction is only populated if the user's # custom role disallows access to `REVENUE_DATA`. class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Describes a reason for data truncation in the report. # @!attribute [rw] data_truncation_type # @return [::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType] # The type of data truncation. # @!attribute [rw] data_truncation_message # @return [::String] # A descriptive message explaining the data truncation. # @!attribute [rw] data_truncation_date # @return [::String] # The data truncation date in the format YYYY-MM-DD. # Indicates data before this date is truncated. # @!attribute [rw] data_truncation_date_ranges # @return [::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>] # The truncated date ranges. class DataTruncationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Define the truncated date range from start_date to end_date. # @!attribute [rw] start_date # @return [::String] # The start date in the format YYYY-MM-DD (inclusive). # @!attribute [rw] end_date # @return [::String] # The end date in the format YYYY-MM-DD (inclusive). class DataTruncationDateRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of data truncation. module DataTruncationType # Unspecified type. DATA_TRUNCATION_TYPE_UNSPECIFIED = 0 # Data is truncated in attribution report for rules-based models golden # date. DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1 # Data is truncated in attribution report for data driven attribution # golden date. DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2 # Data is truncated because DV360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_DV360 = 3 # Data is truncated because CM360 policy does not permit data older than # 2 years from being returned. DATA_TRUNCATION_TYPE_CM360 = 4 # New item-scoped ecommerce metrics only have data after a specific date. DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5 # New event-scoped ecommerce metrics only have data after a specific # date. DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6 # Query date range may not be fully served. DATA_TRUNCATION_TYPE_DATE_RANGE = 7 # Data truncated because the query attempts to read event data prior # to its retention date. DATA_TRUNCATION_TYPE_PROPERTY = 8 # Data is truncated in conversions report. DATA_TRUNCATION_TYPE_CONVERSIONS = 9 # Data is truncated due to Google Ads 36 month retention policy. DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10 end end end |