google-analytics-data-v1beta 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d114d8fed5d58e2b0cb42f79eba9a85059277c39bd84bf9b7481115230d7dc2
4
- data.tar.gz: dcc62abb49ac5f51735b1801929db4908cff339fc1a9ba2b080b7b9b595af059
3
+ metadata.gz: 2d361901325beca50c3db3d44d2110e75312b33708aa639c3a5c7a5581e28a87
4
+ data.tar.gz: 5ac4d0717a3e89ff33ba31b52a9a8c5b910bdb26785b570fd938eaedeb084f70
5
5
  SHA512:
6
- metadata.gz: 1505e1edb9255c9c0ec6b1d7678d65ce0ac261c0dae6c9f67f173e685e0e46ddf2a30ce026ca27889feeb94968a0254c174e659dfe661728efbc4b0e0dba8f9f
7
- data.tar.gz: 78b98bd515ae9e69af162cb365e31c11080d4b802f130bc1cb31f895e10b5ce5cfe75027284b01791ca329e68c98c15e2cd0f44e17fb6f55b63a1b7b0de26566
6
+ metadata.gz: 79546585bba50ca3798b5323ad471b95a1a3abfe1e024d8dd5b7f1c3d57cef4cc428b36857b4dbc0e3b8a811078a0eae5c4789e9b40e6f74fc149dec11183910
7
+ data.tar.gz: 279a03e5fa854ab7f3a3bab921dc4e8dfbb1d6b9ba31bd064dc6dd524fafd8aab0f67bf435c9fa26639e78463cb6223cb6c34b5e7cc46ff69972acc779e0d41f
@@ -203,12 +203,13 @@ module Google
203
203
  # response rows for both date ranges. In a cohort request, this `dateRanges`
204
204
  # must be unspecified.
205
205
  # @param dimension_filter [::Google::Analytics::Data::V1beta::FilterExpression, ::Hash]
206
- # The filter clause of dimensions. Dimensions must be requested to be used in
207
- # this filter. Metrics cannot be used in this filter.
206
+ # Dimension filters allow you to ask for only specific dimension values in
207
+ # the report. To learn more, see [Fundamentals of Dimension
208
+ # Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
209
+ # for examples. Metrics cannot be used in this filter.
208
210
  # @param metric_filter [::Google::Analytics::Data::V1beta::FilterExpression, ::Hash]
209
211
  # The filter clause of metrics. Applied at post aggregation phase, similar to
210
- # SQL having-clause. Metrics must be requested to be used in this filter.
211
- # Dimensions cannot be used in this filter.
212
+ # SQL having-clause. Dimensions cannot be used in this filter.
212
213
  # @param offset [::Integer]
213
214
  # The row count of the start row. The first row is counted as row 0.
214
215
  #
@@ -772,6 +773,108 @@ module Google
772
773
  raise ::Google::Cloud::Error.from_error(e)
773
774
  end
774
775
 
776
+ ##
777
+ # This compatibility method lists dimensions and metrics that can be added to
778
+ # a report request and maintain compatibility. This method fails if the
779
+ # request's dimensions and metrics are incompatible.
780
+ #
781
+ # In Google Analytics, reports fail if they request incompatible dimensions
782
+ # and/or metrics; in that case, you will need to remove dimensions and/or
783
+ # metrics from the incompatible report until the report is compatible.
784
+ #
785
+ # The Realtime and Core reports have different compatibility rules. This
786
+ # method checks compatibility for Core reports.
787
+ #
788
+ # @overload check_compatibility(request, options = nil)
789
+ # Pass arguments to `check_compatibility` via a request object, either of type
790
+ # {::Google::Analytics::Data::V1beta::CheckCompatibilityRequest} or an equivalent Hash.
791
+ #
792
+ # @param request [::Google::Analytics::Data::V1beta::CheckCompatibilityRequest, ::Hash]
793
+ # A request object representing the call parameters. Required. To specify no
794
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
795
+ # @param options [::Gapic::CallOptions, ::Hash]
796
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
797
+ #
798
+ # @overload check_compatibility(property: nil, dimensions: nil, metrics: nil, dimension_filter: nil, metric_filter: nil, compatibility_filter: nil)
799
+ # Pass arguments to `check_compatibility` via keyword arguments. Note that at
800
+ # least one keyword argument is required. To specify no parameters, or to keep all
801
+ # the default parameter values, pass an empty Hash as a request object (see above).
802
+ #
803
+ # @param property [::String]
804
+ # A Google Analytics GA4 property identifier whose events are tracked. To
805
+ # learn more, see [where to find your Property
806
+ # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
807
+ # `property` should be the same value as in your `runReport` request.
808
+ #
809
+ # Example: properties/1234
810
+ #
811
+ # Set the Property ID to 0 for compatibility checking on dimensions and
812
+ # metrics common to all properties. In this special mode, this method will
813
+ # not return custom dimensions and metrics.
814
+ # @param dimensions [::Array<::Google::Analytics::Data::V1beta::Dimension, ::Hash>]
815
+ # The dimensions in this report. `dimensions` should be the same value as in
816
+ # your `runReport` request.
817
+ # @param metrics [::Array<::Google::Analytics::Data::V1beta::Metric, ::Hash>]
818
+ # The metrics in this report. `metrics` should be the same value as in your
819
+ # `runReport` request.
820
+ # @param dimension_filter [::Google::Analytics::Data::V1beta::FilterExpression, ::Hash]
821
+ # The filter clause of dimensions. `dimensionFilter` should be the same value
822
+ # as in your `runReport` request.
823
+ # @param metric_filter [::Google::Analytics::Data::V1beta::FilterExpression, ::Hash]
824
+ # The filter clause of metrics. `metricFilter` should be the same value as in
825
+ # your `runReport` request
826
+ # @param compatibility_filter [::Google::Analytics::Data::V1beta::Compatibility]
827
+ # Filters the dimensions and metrics in the response to just this
828
+ # compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
829
+ # to only return compatible dimensions & metrics.
830
+ #
831
+ # @yield [response, operation] Access the result along with the RPC operation
832
+ # @yieldparam response [::Google::Analytics::Data::V1beta::CheckCompatibilityResponse]
833
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
834
+ #
835
+ # @return [::Google::Analytics::Data::V1beta::CheckCompatibilityResponse]
836
+ #
837
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
838
+ #
839
+ def check_compatibility request, options = nil
840
+ raise ::ArgumentError, "request must be provided" if request.nil?
841
+
842
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Data::V1beta::CheckCompatibilityRequest
843
+
844
+ # Converts hash and nil to an options object
845
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
846
+
847
+ # Customize the options with defaults
848
+ metadata = @config.rpcs.check_compatibility.metadata.to_h
849
+
850
+ # Set x-goog-api-client and x-goog-user-project headers
851
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
852
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
853
+ gapic_version: ::Google::Analytics::Data::V1beta::VERSION
854
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
855
+
856
+ header_params = {
857
+ "property" => request.property
858
+ }
859
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
860
+ metadata[:"x-goog-request-params"] ||= request_params_header
861
+
862
+ options.apply_defaults timeout: @config.rpcs.check_compatibility.timeout,
863
+ metadata: metadata,
864
+ retry_policy: @config.rpcs.check_compatibility.retry_policy
865
+
866
+ options.apply_defaults timeout: @config.timeout,
867
+ metadata: @config.metadata,
868
+ retry_policy: @config.retry_policy
869
+
870
+ @analytics_data_stub.call_rpc :check_compatibility, request, options: options do |response, operation|
871
+ yield response, operation if block_given?
872
+ return response
873
+ end
874
+ rescue ::GRPC::BadStatus => e
875
+ raise ::Google::Cloud::Error.from_error(e)
876
+ end
877
+
775
878
  ##
776
879
  # Configuration class for the AnalyticsData API.
777
880
  #
@@ -937,6 +1040,11 @@ module Google
937
1040
  # @return [::Gapic::Config::Method]
938
1041
  #
939
1042
  attr_reader :run_realtime_report
1043
+ ##
1044
+ # RPC-specific configuration for `check_compatibility`
1045
+ # @return [::Gapic::Config::Method]
1046
+ #
1047
+ attr_reader :check_compatibility
940
1048
 
941
1049
  # @private
942
1050
  def initialize parent_rpcs = nil
@@ -952,6 +1060,8 @@ module Google
952
1060
  @get_metadata = ::Gapic::Config::Method.new get_metadata_config
953
1061
  run_realtime_report_config = parent_rpcs.run_realtime_report if parent_rpcs.respond_to? :run_realtime_report
954
1062
  @run_realtime_report = ::Gapic::Config::Method.new run_realtime_report_config
1063
+ check_compatibility_config = parent_rpcs.check_compatibility if parent_rpcs.respond_to? :check_compatibility
1064
+ @check_compatibility = ::Gapic::Config::Method.new check_compatibility_config
955
1065
 
956
1066
  yield self if block_given?
957
1067
  end
@@ -10,6 +10,18 @@ require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("google/analytics/data/v1beta/analytics_data_api.proto", :syntax => :proto3) do
13
+ add_message "google.analytics.data.v1beta.CheckCompatibilityRequest" do
14
+ optional :property, :string, 1
15
+ repeated :dimensions, :message, 2, "google.analytics.data.v1beta.Dimension"
16
+ repeated :metrics, :message, 3, "google.analytics.data.v1beta.Metric"
17
+ optional :dimension_filter, :message, 4, "google.analytics.data.v1beta.FilterExpression"
18
+ optional :metric_filter, :message, 5, "google.analytics.data.v1beta.FilterExpression"
19
+ optional :compatibility_filter, :enum, 6, "google.analytics.data.v1beta.Compatibility"
20
+ end
21
+ add_message "google.analytics.data.v1beta.CheckCompatibilityResponse" do
22
+ repeated :dimension_compatibilities, :message, 1, "google.analytics.data.v1beta.DimensionCompatibility"
23
+ repeated :metric_compatibilities, :message, 2, "google.analytics.data.v1beta.MetricCompatibility"
24
+ end
13
25
  add_message "google.analytics.data.v1beta.Metadata" do
14
26
  optional :name, :string, 3
15
27
  repeated :dimensions, :message, 1, "google.analytics.data.v1beta.DimensionMetadata"
@@ -115,6 +127,8 @@ module Google
115
127
  module Analytics
116
128
  module Data
117
129
  module V1beta
130
+ CheckCompatibilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.CheckCompatibilityRequest").msgclass
131
+ CheckCompatibilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.CheckCompatibilityResponse").msgclass
118
132
  Metadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Metadata").msgclass
119
133
  RunReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunReportRequest").msgclass
120
134
  RunReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunReportResponse").msgclass
@@ -68,6 +68,17 @@ module Google
68
68
  # event data for your property. These reports show events and usage from the
69
69
  # last 30 minutes.
70
70
  rpc :RunRealtimeReport, ::Google::Analytics::Data::V1beta::RunRealtimeReportRequest, ::Google::Analytics::Data::V1beta::RunRealtimeReportResponse
71
+ # This compatibility method lists dimensions and metrics that can be added to
72
+ # a report request and maintain compatibility. This method fails if the
73
+ # request's dimensions and metrics are incompatible.
74
+ #
75
+ # In Google Analytics, reports fail if they request incompatible dimensions
76
+ # and/or metrics; in that case, you will need to remove dimensions and/or
77
+ # metrics from the incompatible report until the report is compatible.
78
+ #
79
+ # The Realtime and Core reports have different compatibility rules. This
80
+ # method checks compatibility for Core reports.
81
+ rpc :CheckCompatibility, ::Google::Analytics::Data::V1beta::CheckCompatibilityRequest, ::Google::Analytics::Data::V1beta::CheckCompatibilityResponse
71
82
  end
72
83
 
73
84
  Stub = Service.rpc_stub_class
@@ -206,6 +206,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
206
206
  optional :description, :string, 3
207
207
  repeated :deprecated_api_names, :string, 4
208
208
  optional :custom_definition, :bool, 5
209
+ optional :category, :string, 7
209
210
  end
210
211
  add_message "google.analytics.data.v1beta.MetricMetadata" do
211
212
  optional :api_name, :string, 1
@@ -215,6 +216,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
215
216
  optional :type, :enum, 5, "google.analytics.data.v1beta.MetricType"
216
217
  optional :expression, :string, 6
217
218
  optional :custom_definition, :bool, 7
219
+ optional :category, :string, 10
220
+ end
221
+ add_message "google.analytics.data.v1beta.DimensionCompatibility" do
222
+ proto3_optional :dimension_metadata, :message, 1, "google.analytics.data.v1beta.DimensionMetadata"
223
+ proto3_optional :compatibility, :enum, 2, "google.analytics.data.v1beta.Compatibility"
224
+ end
225
+ add_message "google.analytics.data.v1beta.MetricCompatibility" do
226
+ proto3_optional :metric_metadata, :message, 1, "google.analytics.data.v1beta.MetricMetadata"
227
+ proto3_optional :compatibility, :enum, 2, "google.analytics.data.v1beta.Compatibility"
218
228
  end
219
229
  add_enum "google.analytics.data.v1beta.MetricAggregation" do
220
230
  value :METRIC_AGGREGATION_UNSPECIFIED, 0
@@ -238,6 +248,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
238
248
  value :TYPE_METERS, 12
239
249
  value :TYPE_KILOMETERS, 13
240
250
  end
251
+ add_enum "google.analytics.data.v1beta.Compatibility" do
252
+ value :COMPATIBILITY_UNSPECIFIED, 0
253
+ value :COMPATIBLE, 1
254
+ value :INCOMPATIBLE, 2
255
+ end
241
256
  end
242
257
  end
243
258
 
@@ -286,8 +301,11 @@ module Google
286
301
  QuotaStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.QuotaStatus").msgclass
287
302
  DimensionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.DimensionMetadata").msgclass
288
303
  MetricMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricMetadata").msgclass
304
+ DimensionCompatibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.DimensionCompatibility").msgclass
305
+ MetricCompatibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricCompatibility").msgclass
289
306
  MetricAggregation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricAggregation").enummodule
290
307
  MetricType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricType").enummodule
308
+ Compatibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Compatibility").enummodule
291
309
  end
292
310
  end
293
311
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Data
23
23
  module V1beta
24
- VERSION = "0.2.1"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -21,6 +21,60 @@ module Google
21
21
  module Analytics
22
22
  module Data
23
23
  module V1beta
24
+ # The request for compatibility information for a report's dimensions and
25
+ # metrics. Check compatibility provides a preview of the compatibility of a
26
+ # report; fields shared with the `runReport` request should be the same values
27
+ # as in your `runReport` request.
28
+ # @!attribute [rw] property
29
+ # @return [::String]
30
+ # A Google Analytics GA4 property identifier whose events are tracked. To
31
+ # learn more, see [where to find your Property
32
+ # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
33
+ # `property` should be the same value as in your `runReport` request.
34
+ #
35
+ # Example: properties/1234
36
+ #
37
+ # Set the Property ID to 0 for compatibility checking on dimensions and
38
+ # metrics common to all properties. In this special mode, this method will
39
+ # not return custom dimensions and metrics.
40
+ # @!attribute [rw] dimensions
41
+ # @return [::Array<::Google::Analytics::Data::V1beta::Dimension>]
42
+ # The dimensions in this report. `dimensions` should be the same value as in
43
+ # your `runReport` request.
44
+ # @!attribute [rw] metrics
45
+ # @return [::Array<::Google::Analytics::Data::V1beta::Metric>]
46
+ # The metrics in this report. `metrics` should be the same value as in your
47
+ # `runReport` request.
48
+ # @!attribute [rw] dimension_filter
49
+ # @return [::Google::Analytics::Data::V1beta::FilterExpression]
50
+ # The filter clause of dimensions. `dimensionFilter` should be the same value
51
+ # as in your `runReport` request.
52
+ # @!attribute [rw] metric_filter
53
+ # @return [::Google::Analytics::Data::V1beta::FilterExpression]
54
+ # The filter clause of metrics. `metricFilter` should be the same value as in
55
+ # your `runReport` request
56
+ # @!attribute [rw] compatibility_filter
57
+ # @return [::Google::Analytics::Data::V1beta::Compatibility]
58
+ # Filters the dimensions and metrics in the response to just this
59
+ # compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
60
+ # to only return compatible dimensions & metrics.
61
+ class CheckCompatibilityRequest
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # The compatibility response with the compatibility of each dimension & metric.
67
+ # @!attribute [rw] dimension_compatibilities
68
+ # @return [::Array<::Google::Analytics::Data::V1beta::DimensionCompatibility>]
69
+ # The compatibility of each dimension.
70
+ # @!attribute [rw] metric_compatibilities
71
+ # @return [::Array<::Google::Analytics::Data::V1beta::MetricCompatibility>]
72
+ # The compatibility of each metric.
73
+ class CheckCompatibilityResponse
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+ end
77
+
24
78
  # The dimensions and metrics currently accepted in reporting methods.
25
79
  # @!attribute [rw] name
26
80
  # @return [::String]
@@ -62,13 +116,14 @@ module Google
62
116
  # must be unspecified.
63
117
  # @!attribute [rw] dimension_filter
64
118
  # @return [::Google::Analytics::Data::V1beta::FilterExpression]
65
- # The filter clause of dimensions. Dimensions must be requested to be used in
66
- # this filter. Metrics cannot be used in this filter.
119
+ # Dimension filters allow you to ask for only specific dimension values in
120
+ # the report. To learn more, see [Fundamentals of Dimension
121
+ # Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
122
+ # for examples. Metrics cannot be used in this filter.
67
123
  # @!attribute [rw] metric_filter
68
124
  # @return [::Google::Analytics::Data::V1beta::FilterExpression]
69
125
  # The filter clause of metrics. Applied at post aggregation phase, similar to
70
- # SQL having-clause. Metrics must be requested to be used in this filter.
71
- # Dimensions cannot be used in this filter.
126
+ # SQL having-clause. Dimensions cannot be used in this filter.
72
127
  # @!attribute [rw] offset
73
128
  # @return [::Integer]
74
129
  # The row count of the start row. The first row is counted as row 0.
@@ -820,6 +820,10 @@ module Google
820
820
  # @!attribute [rw] custom_definition
821
821
  # @return [::Boolean]
822
822
  # True if the dimension is a custom dimension for this property.
823
+ # @!attribute [rw] category
824
+ # @return [::String]
825
+ # The display name of the category that this dimension belongs to. Similar
826
+ # dimensions and metrics are categorized together.
823
827
  class DimensionMetadata
824
828
  include ::Google::Protobuf::MessageExts
825
829
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -854,11 +858,45 @@ module Google
854
858
  # @!attribute [rw] custom_definition
855
859
  # @return [::Boolean]
856
860
  # True if the metric is a custom metric for this property.
861
+ # @!attribute [rw] category
862
+ # @return [::String]
863
+ # The display name of the category that this metrics belongs to. Similar
864
+ # dimensions and metrics are categorized together.
857
865
  class MetricMetadata
858
866
  include ::Google::Protobuf::MessageExts
859
867
  extend ::Google::Protobuf::MessageExts::ClassMethods
860
868
  end
861
869
 
870
+ # The compatibility for a single dimension.
871
+ # @!attribute [rw] dimension_metadata
872
+ # @return [::Google::Analytics::Data::V1beta::DimensionMetadata]
873
+ # The dimension metadata contains the API name for this compatibility
874
+ # information. The dimension metadata also contains other helpful information
875
+ # like the UI name and description.
876
+ # @!attribute [rw] compatibility
877
+ # @return [::Google::Analytics::Data::V1beta::Compatibility]
878
+ # The compatibility of this dimension. If the compatibility is COMPATIBLE,
879
+ # this dimension can be successfully added to the report.
880
+ class DimensionCompatibility
881
+ include ::Google::Protobuf::MessageExts
882
+ extend ::Google::Protobuf::MessageExts::ClassMethods
883
+ end
884
+
885
+ # The compatibility for a single metric.
886
+ # @!attribute [rw] metric_metadata
887
+ # @return [::Google::Analytics::Data::V1beta::MetricMetadata]
888
+ # The metric metadata contains the API name for this compatibility
889
+ # information. The metric metadata also contains other helpful information
890
+ # like the UI name and description.
891
+ # @!attribute [rw] compatibility
892
+ # @return [::Google::Analytics::Data::V1beta::Compatibility]
893
+ # The compatibility of this metric. If the compatibility is COMPATIBLE,
894
+ # this metric can be successfully added to the report.
895
+ class MetricCompatibility
896
+ include ::Google::Protobuf::MessageExts
897
+ extend ::Google::Protobuf::MessageExts::ClassMethods
898
+ end
899
+
862
900
  # Represents aggregation of metrics.
863
901
  module MetricAggregation
864
902
  # Unspecified operator.
@@ -918,6 +956,20 @@ module Google
918
956
  # A length in kilometers; a special floating point type.
919
957
  TYPE_KILOMETERS = 13
920
958
  end
959
+
960
+ # The compatibility types for a single dimension or metric.
961
+ module Compatibility
962
+ # Unspecified compatibility.
963
+ COMPATIBILITY_UNSPECIFIED = 0
964
+
965
+ # The dimension or metric is compatible. This dimension or metric can be
966
+ # successfully added to a report.
967
+ COMPATIBLE = 1
968
+
969
+ # The dimension or metric is incompatible. This dimension or metric cannot be
970
+ # successfully added to a report.
971
+ INCOMPATIBLE = 2
972
+ end
921
973
  end
922
974
  end
923
975
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-analytics-data-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common