google-analytics-data-v1beta 0.15.0 → 0.16.1

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: 9ad671716cd7ce9e1da68e17b827923a556fac9d949ed2e2056926bafdc767ad
4
- data.tar.gz: d64ed75c83d62ebdf0f1b0c61283ba60a1f8760d2dd4cd3fa41df28f23bffbc8
3
+ metadata.gz: 38fb2e78b2d108c37cdd84477536a1d5678b14857d7b2281d540dac92251ff40
4
+ data.tar.gz: 6724e1473efd9111e810a5eb9e463daaea5780d5e557a5d1583c0a4e1a150081
5
5
  SHA512:
6
- metadata.gz: 87d4ea3da1da23b51e96a8b7d26154e1e63fad8c33b7b04e698f80ef56134ba013e08bb8ec0610d154cc9330bd372d5a83f95d9b43ada91b0369cb76529c8984
7
- data.tar.gz: 4139e7a671417fa6c263474e6ce72ab14174979f0fce188e2fd79dce97e26fa3c95e3dc8f30e6aac3ac44ea9f8e41bbd798cdfd004ecec205e718e93e4767a86
6
+ metadata.gz: 80405cfd52331d562df8d8a4c12db40a9ac960f5ab4ff7c8a6288880471824532b4f2e06a3f3172be1724ceb74708770c74afdcd3ca9aa74256ad3a22ce36c60
7
+ data.tar.gz: a9dc2052b4a2c955300667f6fca7d36ee789a65a77972c27dffe71cf1359f07e537b770b2644552c49d51eb7274ff989059dd1d272f86dca8d80b34d6abda0bc
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1586,6 +1586,13 @@ module Google
1586
1586
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1587
1587
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1588
1588
  # * (`nil`) indicating no credentials
1589
+ #
1590
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1591
+ # external source for authentication to Google Cloud, you must validate it before
1592
+ # providing it to a Google API client library. Providing an unvalidated credential
1593
+ # configuration to Google APIs can compromise the security of your systems and data.
1594
+ # For more information, refer to [Validate credential configurations from external
1595
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1589
1596
  # @return [::Object]
1590
1597
  # @!attribute [rw] scope
1591
1598
  # The OAuth scopes
@@ -1640,8 +1647,8 @@ module Google
1640
1647
 
1641
1648
  config_attr :endpoint, nil, ::String, nil
1642
1649
  config_attr :credentials, nil do |value|
1643
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1644
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1650
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1651
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1645
1652
  allowed.any? { |klass| klass === value }
1646
1653
  end
1647
1654
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1500,6 +1500,13 @@ module Google
1500
1500
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1501
1501
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1502
1502
  # * (`nil`) indicating no credentials
1503
+ #
1504
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1505
+ # external source for authentication to Google Cloud, you must validate it before
1506
+ # providing it to a Google API client library. Providing an unvalidated credential
1507
+ # configuration to Google APIs can compromise the security of your systems and data.
1508
+ # For more information, refer to [Validate credential configurations from external
1509
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1503
1510
  # @return [::Object]
1504
1511
  # @!attribute [rw] scope
1505
1512
  # The OAuth scopes
@@ -1547,7 +1554,7 @@ module Google
1547
1554
 
1548
1555
  config_attr :endpoint, nil, ::String, nil
1549
1556
  config_attr :credentials, nil do |value|
1550
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1557
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1551
1558
  allowed.any? { |klass| klass === value }
1552
1559
  end
1553
1560
  config_attr :scope, nil, ::String, ::Array, nil
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Data
23
23
  module V1beta
24
- VERSION = "0.15.0"
24
+ VERSION = "0.16.1"
25
25
  end
26
26
  end
27
27
  end
@@ -123,13 +123,19 @@ module Google
123
123
  # @!attribute [rw] lower_case
124
124
  # @return [::Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression]
125
125
  # Used to convert a dimension value to lower case.
126
+ #
127
+ # Note: The following fields are mutually exclusive: `lower_case`, `upper_case`, `concatenate`. If a field in that set is populated, all other fields in the set will automatically be cleared.
126
128
  # @!attribute [rw] upper_case
127
129
  # @return [::Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression]
128
130
  # Used to convert a dimension value to upper case.
131
+ #
132
+ # Note: The following fields are mutually exclusive: `upper_case`, `lower_case`, `concatenate`. If a field in that set is populated, all other fields in the set will automatically be cleared.
129
133
  # @!attribute [rw] concatenate
130
134
  # @return [::Google::Analytics::Data::V1beta::DimensionExpression::ConcatenateExpression]
131
135
  # Used to combine dimension values to a single dimension.
132
136
  # For example, dimension "country, city": concatenate(country, ", ", city).
137
+ #
138
+ # Note: The following fields are mutually exclusive: `concatenate`, `lower_case`, `upper_case`. If a field in that set is populated, all other fields in the set will automatically be cleared.
133
139
  class DimensionExpression
134
140
  include ::Google::Protobuf::MessageExts
135
141
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -214,10 +220,14 @@ module Google
214
220
  # @!attribute [rw] dimension_filter
215
221
  # @return [::Google::Analytics::Data::V1beta::FilterExpression]
216
222
  # A basic comparison.
223
+ #
224
+ # Note: The following fields are mutually exclusive: `dimension_filter`, `comparison`. If a field in that set is populated, all other fields in the set will automatically be cleared.
217
225
  # @!attribute [rw] comparison
218
226
  # @return [::String]
219
227
  # A saved comparison identified by the comparison's resource name.
220
228
  # For example, 'comparisons/1234'.
229
+ #
230
+ # Note: The following fields are mutually exclusive: `comparison`, `dimension_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
221
231
  class Comparison
222
232
  include ::Google::Protobuf::MessageExts
223
233
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -228,16 +238,24 @@ module Google
228
238
  # @!attribute [rw] and_group
229
239
  # @return [::Google::Analytics::Data::V1beta::FilterExpressionList]
230
240
  # The FilterExpressions in and_group have an AND relationship.
241
+ #
242
+ # Note: The following fields are mutually exclusive: `and_group`, `or_group`, `not_expression`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
231
243
  # @!attribute [rw] or_group
232
244
  # @return [::Google::Analytics::Data::V1beta::FilterExpressionList]
233
245
  # The FilterExpressions in or_group have an OR relationship.
246
+ #
247
+ # Note: The following fields are mutually exclusive: `or_group`, `and_group`, `not_expression`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
234
248
  # @!attribute [rw] not_expression
235
249
  # @return [::Google::Analytics::Data::V1beta::FilterExpression]
236
250
  # The FilterExpression is NOT of not_expression.
251
+ #
252
+ # Note: The following fields are mutually exclusive: `not_expression`, `and_group`, `or_group`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
237
253
  # @!attribute [rw] filter
238
254
  # @return [::Google::Analytics::Data::V1beta::Filter]
239
255
  # A primitive filter. In the same FilterExpression, all of the filter's
240
256
  # field names need to be either all dimensions or all metrics.
257
+ #
258
+ # Note: The following fields are mutually exclusive: `filter`, `and_group`, `or_group`, `not_expression`. If a field in that set is populated, all other fields in the set will automatically be cleared.
241
259
  class FilterExpression
242
260
  include ::Google::Protobuf::MessageExts
243
261
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -264,18 +282,28 @@ module Google
264
282
  # @!attribute [rw] string_filter
265
283
  # @return [::Google::Analytics::Data::V1beta::Filter::StringFilter]
266
284
  # Strings related filter.
285
+ #
286
+ # Note: The following fields are mutually exclusive: `string_filter`, `in_list_filter`, `numeric_filter`, `between_filter`, `empty_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
267
287
  # @!attribute [rw] in_list_filter
268
288
  # @return [::Google::Analytics::Data::V1beta::Filter::InListFilter]
269
289
  # A filter for in list values.
290
+ #
291
+ # Note: The following fields are mutually exclusive: `in_list_filter`, `string_filter`, `numeric_filter`, `between_filter`, `empty_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
270
292
  # @!attribute [rw] numeric_filter
271
293
  # @return [::Google::Analytics::Data::V1beta::Filter::NumericFilter]
272
294
  # A filter for numeric or date values.
295
+ #
296
+ # Note: The following fields are mutually exclusive: `numeric_filter`, `string_filter`, `in_list_filter`, `between_filter`, `empty_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
273
297
  # @!attribute [rw] between_filter
274
298
  # @return [::Google::Analytics::Data::V1beta::Filter::BetweenFilter]
275
299
  # A filter for two values.
300
+ #
301
+ # Note: The following fields are mutually exclusive: `between_filter`, `string_filter`, `in_list_filter`, `numeric_filter`, `empty_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
276
302
  # @!attribute [rw] empty_filter
277
303
  # @return [::Google::Analytics::Data::V1beta::Filter::EmptyFilter]
278
304
  # A filter for empty values such as "(not set)" and "" values.
305
+ #
306
+ # Note: The following fields are mutually exclusive: `empty_filter`, `string_filter`, `in_list_filter`, `numeric_filter`, `between_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
279
307
  class Filter
280
308
  include ::Google::Protobuf::MessageExts
281
309
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -390,12 +418,18 @@ module Google
390
418
  # @!attribute [rw] metric
391
419
  # @return [::Google::Analytics::Data::V1beta::OrderBy::MetricOrderBy]
392
420
  # Sorts results by a metric's values.
421
+ #
422
+ # Note: The following fields are mutually exclusive: `metric`, `dimension`, `pivot`. If a field in that set is populated, all other fields in the set will automatically be cleared.
393
423
  # @!attribute [rw] dimension
394
424
  # @return [::Google::Analytics::Data::V1beta::OrderBy::DimensionOrderBy]
395
425
  # Sorts results by a dimension's values.
426
+ #
427
+ # Note: The following fields are mutually exclusive: `dimension`, `metric`, `pivot`. If a field in that set is populated, all other fields in the set will automatically be cleared.
396
428
  # @!attribute [rw] pivot
397
429
  # @return [::Google::Analytics::Data::V1beta::OrderBy::PivotOrderBy]
398
430
  # Sorts results by a metric's values within a pivot column group.
431
+ #
432
+ # Note: The following fields are mutually exclusive: `pivot`, `metric`, `dimension`. If a field in that set is populated, all other fields in the set will automatically be cleared.
399
433
  # @!attribute [rw] desc
400
434
  # @return [::Boolean]
401
435
  # If true, sorts by descending order.
@@ -901,9 +935,13 @@ module Google
901
935
  # @!attribute [rw] int64_value
902
936
  # @return [::Integer]
903
937
  # Integer value
938
+ #
939
+ # Note: The following fields are mutually exclusive: `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
904
940
  # @!attribute [rw] double_value
905
941
  # @return [::Float]
906
942
  # Double value
943
+ #
944
+ # Note: The following fields are mutually exclusive: `double_value`, `int64_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
907
945
  class NumericValue
908
946
  include ::Google::Protobuf::MessageExts
909
947
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-analytics-data-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -91,7 +90,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
91
90
  licenses:
92
91
  - Apache-2.0
93
92
  metadata: {}
94
- post_install_message:
95
93
  rdoc_options: []
96
94
  require_paths:
97
95
  - lib
@@ -99,15 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
97
  requirements:
100
98
  - - ">="
101
99
  - !ruby/object:Gem::Version
102
- version: '2.7'
100
+ version: '3.0'
103
101
  required_rubygems_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
103
  - - ">="
106
104
  - !ruby/object:Gem::Version
107
105
  version: '0'
108
106
  requirements: []
109
- rubygems_version: 3.5.23
110
- signing_key:
107
+ rubygems_version: 3.6.8
111
108
  specification_version: 4
112
109
  summary: 'Accesses report data in Google Analytics. Warning: Creating multiple Customer
113
110
  Applications, Accounts, or Projects to simulate or act as a single Customer Application,