google-apps-events-subscriptions-v1 0.2.0 → 0.3.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: 527835ad3b3dd98a71fefb8c49a7957955ad56828324205d8464214998674c45
4
- data.tar.gz: e54b23e36e91966d64135563663c4706e66e53c23da76f68049be3fc0e1f7f61
3
+ metadata.gz: 38216ece63dc997ea80f7428ac5766249c61804be84d7b64832915599dfa97d2
4
+ data.tar.gz: 230c53cba8b576f6f3cc607dc19154ecbb2a02933de2559b3684e0a880b04729
5
5
  SHA512:
6
- metadata.gz: 3a2682edfff8574d0b8161742fbeedf26e44c1929633065c691b9eff47d58ecf706b119ace403482a8a52987b99ac278a6491de6152a771f5309dde0e7c283be
7
- data.tar.gz: 6a7ded0996701e736186a5a28a83a89e80f2e3be1691210fc6720fe0dd94bc9e090972904973bd7aaed7dcc48ad494590fb80e18cf9ae632bf7f940224f1a18e
6
+ metadata.gz: cb74cdf38bde9fa28db2fcbcffa8f6abdcd1b9cf23484d446793721305557fa9acf9388c8dfcc0c402a94ec15b0e13e26ce6c80ae637c177628b9675bddf0b22
7
+ data.tar.gz: 1cc5a85e7c3d6a49dc08af49422ca7ae2dec3c740fd4e95cec2d587480629daf79ca451b94922670dde0f4e35e55f1eccee08ce8a2fabf1a0662f620c0726b51
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
@@ -889,6 +889,13 @@ module Google
889
889
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
890
890
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
891
891
  # * (`nil`) indicating no credentials
892
+ #
893
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
894
+ # external source for authentication to Google Cloud, you must validate it before
895
+ # providing it to a Google API client library. Providing an unvalidated credential
896
+ # configuration to Google APIs can compromise the security of your systems and data.
897
+ # For more information, refer to [Validate credential configurations from external
898
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
892
899
  # @return [::Object]
893
900
  # @!attribute [rw] scope
894
901
  # The OAuth scopes
@@ -943,8 +950,8 @@ module Google
943
950
 
944
951
  config_attr :endpoint, nil, ::String, nil
945
952
  config_attr :credentials, nil do |value|
946
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
947
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
953
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
954
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
948
955
  allowed.any? { |klass| klass === value }
949
956
  end
950
957
  config_attr :scope, nil, ::String, ::Array, nil
@@ -641,6 +641,13 @@ module Google
641
641
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
642
642
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
643
  # * (`nil`) indicating no credentials
644
+ #
645
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
646
+ # external source for authentication to Google Cloud, you must validate it before
647
+ # providing it to a Google API client library. Providing an unvalidated credential
648
+ # configuration to Google APIs can compromise the security of your systems and data.
649
+ # For more information, refer to [Validate credential configurations from external
650
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
644
651
  # @return [::Object]
645
652
  # @!attribute [rw] scope
646
653
  # The OAuth scopes
@@ -695,8 +702,8 @@ module Google
695
702
 
696
703
  config_attr :endpoint, nil, ::String, nil
697
704
  config_attr :credentials, nil do |value|
698
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
699
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
705
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
706
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
700
707
  allowed.any? { |klass| klass === value }
701
708
  end
702
709
  config_attr :scope, nil, ::String, ::Array, nil
@@ -854,6 +854,13 @@ module Google
854
854
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
855
855
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
856
856
  # * (`nil`) indicating no credentials
857
+ #
858
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
859
+ # external source for authentication to Google Cloud, you must validate it before
860
+ # providing it to a Google API client library. Providing an unvalidated credential
861
+ # configuration to Google APIs can compromise the security of your systems and data.
862
+ # For more information, refer to [Validate credential configurations from external
863
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
857
864
  # @return [::Object]
858
865
  # @!attribute [rw] scope
859
866
  # The OAuth scopes
@@ -901,7 +908,7 @@ module Google
901
908
 
902
909
  config_attr :endpoint, nil, ::String, nil
903
910
  config_attr :credentials, nil do |value|
904
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
911
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
905
912
  allowed.any? { |klass| klass === value }
906
913
  end
907
914
  config_attr :scope, nil, ::String, ::Array, nil
@@ -503,6 +503,13 @@ module Google
503
503
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
504
504
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
505
505
  # * (`nil`) indicating no credentials
506
+ #
507
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
508
+ # external source for authentication to Google Cloud, you must validate it before
509
+ # providing it to a Google API client library. Providing an unvalidated credential
510
+ # configuration to Google APIs can compromise the security of your systems and data.
511
+ # For more information, refer to [Validate credential configurations from external
512
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
506
513
  # @return [::Object]
507
514
  # @!attribute [rw] scope
508
515
  # The OAuth scopes
@@ -550,7 +557,7 @@ module Google
550
557
 
551
558
  config_attr :endpoint, nil, ::String, nil
552
559
  config_attr :credentials, nil do |value|
553
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
560
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
554
561
  allowed.any? { |klass| klass === value }
555
562
  end
556
563
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Events
23
23
  module Subscriptions
24
24
  module V1
25
- VERSION = "0.2.0"
25
+ VERSION = "0.3.1"
26
26
  end
27
27
  end
28
28
  end
@@ -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
@@ -29,10 +29,14 @@ module Google
29
29
  # @return [::Google::Protobuf::Timestamp]
30
30
  # Non-empty default. The timestamp in UTC when the subscription expires.
31
31
  # Always displayed on output, regardless of what was used on input.
32
+ #
33
+ # Note: The following fields are mutually exclusive: `expire_time`, `ttl`. If a field in that set is populated, all other fields in the set will automatically be cleared.
32
34
  # @!attribute [rw] ttl
33
35
  # @return [::Google::Protobuf::Duration]
34
36
  # Input only. The time-to-live (TTL) or duration for the subscription. If
35
37
  # unspecified or set to `0`, uses the maximum possible duration.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `ttl`, `expire_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
36
40
  # @!attribute [rw] name
37
41
  # @return [::String]
38
42
  # Optional. Immutable. Identifier. Resource name of the subscription.
@@ -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-apps-events-subscriptions-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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
@@ -92,7 +91,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
92
91
  licenses:
93
92
  - Apache-2.0
94
93
  metadata: {}
95
- post_install_message:
96
94
  rdoc_options: []
97
95
  require_paths:
98
96
  - lib
@@ -100,15 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
98
  requirements:
101
99
  - - ">="
102
100
  - !ruby/object:Gem::Version
103
- version: '2.7'
101
+ version: '3.0'
104
102
  required_rubygems_version: !ruby/object:Gem::Requirement
105
103
  requirements:
106
104
  - - ">="
107
105
  - !ruby/object:Gem::Version
108
106
  version: '0'
109
107
  requirements: []
110
- rubygems_version: 3.5.23
111
- signing_key:
108
+ rubygems_version: 3.6.8
112
109
  specification_version: 4
113
110
  summary: The Google Workspace Events API lets you subscribe to events and manage change
114
111
  notifications across Google Workspace applications.