google-cloud-eventarc-publishing-v1 1.2.0 → 1.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: 06db8e6cfe8ee687d96402eca75b1a18d63da7049344a74981afcfd0bc955929
4
- data.tar.gz: 3ec0e5d941d518e2d076f56f48bc05a022dc1d8b5beb143f154cb5128ad269a2
3
+ metadata.gz: 8b3c61c75000ceff2eee39f31e258eb41368bdf261f518502df2e9ca44bae6c9
4
+ data.tar.gz: 5f2a9712d978187ab1c505ce8ebd34123d5b216b2a08dafa29cc38e2dfd87285
5
5
  SHA512:
6
- metadata.gz: '08fef204a2fe9d65b55fac61a7e10bc19f17517604f8070ec3f1015c43cccdbada232ecdd3935a98d1a339c0efe419d666af8a30e2681acddb01a3f4ce3ee79a'
7
- data.tar.gz: c0ea00163c6060608ec1f5b20b53f4f9c0eb6fcc81ffb7f9ee1f7114bd1614696949244b39152e442e0307a2efbab573b6ea699dd19ce69485be182d962488a2
6
+ metadata.gz: 93ccb8213789edd0853fc2d6ec9368dbb239ff0e9ef475a72bfe9e2ae173fc25599a1e9a383ec2e6a65bd39a715eff53dc8ea244185eaf77a9da041621e364ee
7
+ data.tar.gz: 52a03cbbbd409b027fc8b95b48477d994e3c75bc7f16e4f678542a68a24dbe00e2cd50c7ff5eb102d161e89beaa1280663ee806d88d5e157ec740f1cf8634d80
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
@@ -41,16 +41,21 @@ module Google
41
41
  # A subscriber is a GCP customer interested in receiving events.
42
42
  #
43
43
  # Channel is a first-class Eventarc resource that is created and managed
44
- # by the subscriber in their GCP project. A Channel represents a subscriber's
45
- # intent to receive events from an event provider. A Channel is associated with
46
- # exactly one event provider.
44
+ # by the subscriber in their Google Cloud project. A Channel represents a
45
+ # subscriber's intent to receive events from an event provider. A Channel is
46
+ # associated with exactly one event provider.
47
47
  #
48
48
  # ChannelConnection is a first-class Eventarc resource that
49
- # is created and managed by the partner in their GCP project. A
49
+ # is created and managed by the partner in their Google Cloud project. A
50
50
  # ChannelConnection represents a connection between a partner and a
51
51
  # subscriber's Channel. A ChannelConnection has a one-to-one mapping with a
52
52
  # Channel.
53
53
  #
54
+ # Bus is a first-class Eventarc resource that is created and managed in a
55
+ # Google Cloud project. A Bus provides a discoverable endpoint for events and
56
+ # is a router that receives all events published by event providers and
57
+ # delivers them to zero or more subscribers.
58
+ #
54
59
  # Publisher allows an event provider to publish events to Eventarc.
55
60
  #
56
61
  class Client
@@ -424,15 +429,21 @@ module Google
424
429
  # The Protobuf format of the CloudEvent being published. Specification can
425
430
  # be found here:
426
431
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
432
+ #
433
+ # Note: The following fields are mutually exclusive: `proto_message`, `json_message`, `avro_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
427
434
  # @param json_message [::String]
428
435
  # The JSON format of the CloudEvent being published. Specification can be
429
436
  # found here:
430
437
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
438
+ #
439
+ # Note: The following fields are mutually exclusive: `json_message`, `proto_message`, `avro_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
431
440
  # @param avro_message [::String]
432
441
  # The Avro format of the CloudEvent being published. Specification can
433
442
  # be found here:
434
443
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
435
444
  #
445
+ # Note: The following fields are mutually exclusive: `avro_message`, `proto_message`, `json_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
446
+ #
436
447
  # @yield [response, operation] Access the result along with the RPC operation
437
448
  # @yieldparam response [::Google::Cloud::Eventarc::Publishing::V1::PublishResponse]
438
449
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
@@ -541,6 +552,13 @@ module Google
541
552
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
542
553
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
543
554
  # * (`nil`) indicating no credentials
555
+ #
556
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
557
+ # external source for authentication to Google Cloud, you must validate it before
558
+ # providing it to a Google API client library. Providing an unvalidated credential
559
+ # configuration to Google APIs can compromise the security of your systems and data.
560
+ # For more information, refer to [Validate credential configurations from external
561
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
544
562
  # @return [::Object]
545
563
  # @!attribute [rw] scope
546
564
  # The OAuth scopes
@@ -43,16 +43,21 @@ module Google
43
43
  # A subscriber is a GCP customer interested in receiving events.
44
44
  #
45
45
  # Channel is a first-class Eventarc resource that is created and managed
46
- # by the subscriber in their GCP project. A Channel represents a subscriber's
47
- # intent to receive events from an event provider. A Channel is associated with
48
- # exactly one event provider.
46
+ # by the subscriber in their Google Cloud project. A Channel represents a
47
+ # subscriber's intent to receive events from an event provider. A Channel is
48
+ # associated with exactly one event provider.
49
49
  #
50
50
  # ChannelConnection is a first-class Eventarc resource that
51
- # is created and managed by the partner in their GCP project. A
51
+ # is created and managed by the partner in their Google Cloud project. A
52
52
  # ChannelConnection represents a connection between a partner and a
53
53
  # subscriber's Channel. A ChannelConnection has a one-to-one mapping with a
54
54
  # Channel.
55
55
  #
56
+ # Bus is a first-class Eventarc resource that is created and managed in a
57
+ # Google Cloud project. A Bus provides a discoverable endpoint for events and
58
+ # is a router that receives all events published by event providers and
59
+ # delivers them to zero or more subscribers.
60
+ #
56
61
  # Publisher allows an event provider to publish events to Eventarc.
57
62
  #
58
63
  class Client
@@ -403,14 +408,20 @@ module Google
403
408
  # The Protobuf format of the CloudEvent being published. Specification can
404
409
  # be found here:
405
410
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
411
+ #
412
+ # Note: The following fields are mutually exclusive: `proto_message`, `json_message`, `avro_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
406
413
  # @param json_message [::String]
407
414
  # The JSON format of the CloudEvent being published. Specification can be
408
415
  # found here:
409
416
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
417
+ #
418
+ # Note: The following fields are mutually exclusive: `json_message`, `proto_message`, `avro_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
410
419
  # @param avro_message [::String]
411
420
  # The Avro format of the CloudEvent being published. Specification can
412
421
  # be found here:
413
422
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
423
+ #
424
+ # Note: The following fields are mutually exclusive: `avro_message`, `proto_message`, `json_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
414
425
  # @yield [result, operation] Access the result along with the TransportOperation object
415
426
  # @yieldparam result [::Google::Cloud::Eventarc::Publishing::V1::PublishResponse]
416
427
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -511,6 +522,13 @@ module Google
511
522
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
512
523
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
513
524
  # * (`nil`) indicating no credentials
525
+ #
526
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
527
+ # external source for authentication to Google Cloud, you must validate it before
528
+ # providing it to a Google API client library. Providing an unvalidated credential
529
+ # configuration to Google APIs can compromise the security of your systems and data.
530
+ # For more information, refer to [Validate credential configurations from external
531
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
514
532
  # @return [::Object]
515
533
  # @!attribute [rw] scope
516
534
  # The OAuth scopes
@@ -44,16 +44,21 @@ module Google
44
44
  # A subscriber is a GCP customer interested in receiving events.
45
45
  #
46
46
  # Channel is a first-class Eventarc resource that is created and managed
47
- # by the subscriber in their GCP project. A Channel represents a subscriber's
48
- # intent to receive events from an event provider. A Channel is associated with
49
- # exactly one event provider.
47
+ # by the subscriber in their Google Cloud project. A Channel represents a
48
+ # subscriber's intent to receive events from an event provider. A Channel is
49
+ # associated with exactly one event provider.
50
50
  #
51
51
  # ChannelConnection is a first-class Eventarc resource that
52
- # is created and managed by the partner in their GCP project. A
52
+ # is created and managed by the partner in their Google Cloud project. A
53
53
  # ChannelConnection represents a connection between a partner and a
54
54
  # subscriber's Channel. A ChannelConnection has a one-to-one mapping with a
55
55
  # Channel.
56
56
  #
57
+ # Bus is a first-class Eventarc resource that is created and managed in a
58
+ # Google Cloud project. A Bus provides a discoverable endpoint for events and
59
+ # is a router that receives all events published by event providers and
60
+ # delivers them to zero or more subscribers.
61
+ #
57
62
  # Publisher allows an event provider to publish events to Eventarc.
58
63
  #
59
64
  # To load this service and instantiate a REST client:
@@ -45,16 +45,21 @@ module Google
45
45
  # A subscriber is a GCP customer interested in receiving events.
46
46
  #
47
47
  # Channel is a first-class Eventarc resource that is created and managed
48
- # by the subscriber in their GCP project. A Channel represents a subscriber's
49
- # intent to receive events from an event provider. A Channel is associated with
50
- # exactly one event provider.
48
+ # by the subscriber in their Google Cloud project. A Channel represents a
49
+ # subscriber's intent to receive events from an event provider. A Channel is
50
+ # associated with exactly one event provider.
51
51
  #
52
52
  # ChannelConnection is a first-class Eventarc resource that
53
- # is created and managed by the partner in their GCP project. A
53
+ # is created and managed by the partner in their Google Cloud project. A
54
54
  # ChannelConnection represents a connection between a partner and a
55
55
  # subscriber's Channel. A ChannelConnection has a one-to-one mapping with a
56
56
  # Channel.
57
57
  #
58
+ # Bus is a first-class Eventarc resource that is created and managed in a
59
+ # Google Cloud project. A Bus provides a discoverable endpoint for events and
60
+ # is a router that receives all events published by event providers and
61
+ # delivers them to zero or more subscribers.
62
+ #
58
63
  # Publisher allows an event provider to publish events to Eventarc.
59
64
  #
60
65
  # @example Load this service and instantiate a gRPC client
@@ -38,16 +38,21 @@ module Google
38
38
  # A subscriber is a GCP customer interested in receiving events.
39
39
  #
40
40
  # Channel is a first-class Eventarc resource that is created and managed
41
- # by the subscriber in their GCP project. A Channel represents a subscriber's
42
- # intent to receive events from an event provider. A Channel is associated with
43
- # exactly one event provider.
41
+ # by the subscriber in their Google Cloud project. A Channel represents a
42
+ # subscriber's intent to receive events from an event provider. A Channel is
43
+ # associated with exactly one event provider.
44
44
  #
45
45
  # ChannelConnection is a first-class Eventarc resource that
46
- # is created and managed by the partner in their GCP project. A
46
+ # is created and managed by the partner in their Google Cloud project. A
47
47
  # ChannelConnection represents a connection between a partner and a
48
48
  # subscriber's Channel. A ChannelConnection has a one-to-one mapping with a
49
49
  # Channel.
50
50
  #
51
+ # Bus is a first-class Eventarc resource that is created and managed in a
52
+ # Google Cloud project. A Bus provides a discoverable endpoint for events and
53
+ # is a router that receives all events published by event providers and
54
+ # delivers them to zero or more subscribers.
55
+ #
51
56
  # Publisher allows an event provider to publish events to Eventarc.
52
57
  class Service
53
58
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Eventarc
23
23
  module Publishing
24
24
  module V1
25
- VERSION = "1.2.0"
25
+ VERSION = "1.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
@@ -46,12 +46,18 @@ module Google
46
46
  # @!attribute [rw] binary_data
47
47
  # @return [::String]
48
48
  # Optional. Binary data.
49
+ #
50
+ # Note: The following fields are mutually exclusive: `binary_data`, `text_data`, `proto_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
51
  # @!attribute [rw] text_data
50
52
  # @return [::String]
51
53
  # Optional. Text data.
54
+ #
55
+ # Note: The following fields are mutually exclusive: `text_data`, `binary_data`, `proto_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
56
  # @!attribute [rw] proto_data
53
57
  # @return [::Google::Protobuf::Any]
54
58
  # Optional. Proto data.
59
+ #
60
+ # Note: The following fields are mutually exclusive: `proto_data`, `binary_data`, `text_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
55
61
  class CloudEvent
56
62
  include ::Google::Protobuf::MessageExts
57
63
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -60,24 +66,38 @@ module Google
60
66
  # @!attribute [rw] ce_boolean
61
67
  # @return [::Boolean]
62
68
  # Boolean value.
69
+ #
70
+ # Note: The following fields are mutually exclusive: `ce_boolean`, `ce_integer`, `ce_string`, `ce_bytes`, `ce_uri`, `ce_uri_ref`, `ce_timestamp`. If a field in that set is populated, all other fields in the set will automatically be cleared.
63
71
  # @!attribute [rw] ce_integer
64
72
  # @return [::Integer]
65
73
  # Integer value.
74
+ #
75
+ # Note: The following fields are mutually exclusive: `ce_integer`, `ce_boolean`, `ce_string`, `ce_bytes`, `ce_uri`, `ce_uri_ref`, `ce_timestamp`. If a field in that set is populated, all other fields in the set will automatically be cleared.
66
76
  # @!attribute [rw] ce_string
67
77
  # @return [::String]
68
78
  # String value.
79
+ #
80
+ # Note: The following fields are mutually exclusive: `ce_string`, `ce_boolean`, `ce_integer`, `ce_bytes`, `ce_uri`, `ce_uri_ref`, `ce_timestamp`. If a field in that set is populated, all other fields in the set will automatically be cleared.
69
81
  # @!attribute [rw] ce_bytes
70
82
  # @return [::String]
71
83
  # Bytes value.
84
+ #
85
+ # Note: The following fields are mutually exclusive: `ce_bytes`, `ce_boolean`, `ce_integer`, `ce_string`, `ce_uri`, `ce_uri_ref`, `ce_timestamp`. If a field in that set is populated, all other fields in the set will automatically be cleared.
72
86
  # @!attribute [rw] ce_uri
73
87
  # @return [::String]
74
88
  # URI value.
89
+ #
90
+ # Note: The following fields are mutually exclusive: `ce_uri`, `ce_boolean`, `ce_integer`, `ce_string`, `ce_bytes`, `ce_uri_ref`, `ce_timestamp`. If a field in that set is populated, all other fields in the set will automatically be cleared.
75
91
  # @!attribute [rw] ce_uri_ref
76
92
  # @return [::String]
77
93
  # URI-reference value.
94
+ #
95
+ # Note: The following fields are mutually exclusive: `ce_uri_ref`, `ce_boolean`, `ce_integer`, `ce_string`, `ce_bytes`, `ce_uri`, `ce_timestamp`. If a field in that set is populated, all other fields in the set will automatically be cleared.
78
96
  # @!attribute [rw] ce_timestamp
79
97
  # @return [::Google::Protobuf::Timestamp]
80
98
  # Timestamp value.
99
+ #
100
+ # Note: The following fields are mutually exclusive: `ce_timestamp`, `ce_boolean`, `ce_integer`, `ce_string`, `ce_bytes`, `ce_uri`, `ce_uri_ref`. If a field in that set is populated, all other fields in the set will automatically be cleared.
81
101
  class CloudEventAttributeValue
82
102
  include ::Google::Protobuf::MessageExts
83
103
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -86,16 +86,22 @@ module Google
86
86
  # The Protobuf format of the CloudEvent being published. Specification can
87
87
  # be found here:
88
88
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
89
+ #
90
+ # Note: The following fields are mutually exclusive: `proto_message`, `json_message`, `avro_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
89
91
  # @!attribute [rw] json_message
90
92
  # @return [::String]
91
93
  # The JSON format of the CloudEvent being published. Specification can be
92
94
  # found here:
93
95
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
96
+ #
97
+ # Note: The following fields are mutually exclusive: `json_message`, `proto_message`, `avro_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
94
98
  # @!attribute [rw] avro_message
95
99
  # @return [::String]
96
100
  # The Avro format of the CloudEvent being published. Specification can
97
101
  # be found here:
98
102
  # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
103
+ #
104
+ # Note: The following fields are mutually exclusive: `avro_message`, `proto_message`, `json_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
99
105
  class PublishRequest
100
106
  include ::Google::Protobuf::MessageExts
101
107
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-eventarc-publishing-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.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: 2025-03-10 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
@@ -88,7 +87,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
88
87
  licenses:
89
88
  - Apache-2.0
90
89
  metadata: {}
91
- post_install_message:
92
90
  rdoc_options: []
93
91
  require_paths:
94
92
  - lib
@@ -96,15 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
94
  requirements:
97
95
  - - ">="
98
96
  - !ruby/object:Gem::Version
99
- version: '2.7'
97
+ version: '3.0'
100
98
  required_rubygems_version: !ruby/object:Gem::Requirement
101
99
  requirements:
102
100
  - - ">="
103
101
  - !ruby/object:Gem::Version
104
102
  version: '0'
105
103
  requirements: []
106
- rubygems_version: 3.5.23
107
- signing_key:
104
+ rubygems_version: 3.6.5
108
105
  specification_version: 4
109
106
  summary: Processes events generated by an event provider and delivers them to a subscriber.
110
107
  test_files: []