google-cloud-eventarc-publishing-v1 1.2.0 → 1.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/eventarc/publishing/v1/publisher/client.rb +13 -0
- data/lib/google/cloud/eventarc/publishing/v1/publisher/rest/client.rb +13 -0
- data/lib/google/cloud/eventarc/publishing/v1/version.rb +1 -1
- data/proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb +20 -0
- data/proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb +6 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 960bfb66aaaef6cbb47d248c7c8684bb5d8113eabc21d36a587cd1a7e2141ceb
|
4
|
+
data.tar.gz: 126b023baefc2a36001dbf4cccded9e6ff1bf12a75a2d1dfdb328dfe1a12432e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d29c0daf3ec84a638dee18dcc5e21032dc8209c82f33f2f5009094eeb613128579d0bc26b5d5da1976450af454096757b88b95d8b010d0b809d51ba318913ff
|
7
|
+
data.tar.gz: f9e4531b05f499c972d53f89c29910c836c28c847155d9873592bac669416e468d2435f60dcea7ee877d30212e3b117e18a1427e8060f398ea674f896b248eb7
|
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
|
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
|
@@ -424,15 +424,21 @@ module Google
|
|
424
424
|
# The Protobuf format of the CloudEvent being published. Specification can
|
425
425
|
# be found here:
|
426
426
|
# https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
|
427
|
+
#
|
428
|
+
# 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
429
|
# @param json_message [::String]
|
428
430
|
# The JSON format of the CloudEvent being published. Specification can be
|
429
431
|
# found here:
|
430
432
|
# https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
|
433
|
+
#
|
434
|
+
# 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
435
|
# @param avro_message [::String]
|
432
436
|
# The Avro format of the CloudEvent being published. Specification can
|
433
437
|
# be found here:
|
434
438
|
# https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
|
435
439
|
#
|
440
|
+
# 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.
|
441
|
+
#
|
436
442
|
# @yield [response, operation] Access the result along with the RPC operation
|
437
443
|
# @yieldparam response [::Google::Cloud::Eventarc::Publishing::V1::PublishResponse]
|
438
444
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
@@ -541,6 +547,13 @@ module Google
|
|
541
547
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
542
548
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
543
549
|
# * (`nil`) indicating no credentials
|
550
|
+
#
|
551
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
552
|
+
# external source for authentication to Google Cloud, you must validate it before
|
553
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
554
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
555
|
+
# For more information, refer to [Validate credential configurations from external
|
556
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
544
557
|
# @return [::Object]
|
545
558
|
# @!attribute [rw] scope
|
546
559
|
# The OAuth scopes
|
@@ -403,14 +403,20 @@ module Google
|
|
403
403
|
# The Protobuf format of the CloudEvent being published. Specification can
|
404
404
|
# be found here:
|
405
405
|
# https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
|
406
|
+
#
|
407
|
+
# 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
408
|
# @param json_message [::String]
|
407
409
|
# The JSON format of the CloudEvent being published. Specification can be
|
408
410
|
# found here:
|
409
411
|
# https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
|
412
|
+
#
|
413
|
+
# 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
414
|
# @param avro_message [::String]
|
411
415
|
# The Avro format of the CloudEvent being published. Specification can
|
412
416
|
# be found here:
|
413
417
|
# https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
|
418
|
+
#
|
419
|
+
# 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
420
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
415
421
|
# @yieldparam result [::Google::Cloud::Eventarc::Publishing::V1::PublishResponse]
|
416
422
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -511,6 +517,13 @@ module Google
|
|
511
517
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
512
518
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
513
519
|
# * (`nil`) indicating no credentials
|
520
|
+
#
|
521
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
522
|
+
# external source for authentication to Google Cloud, you must validate it before
|
523
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
524
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
525
|
+
# For more information, refer to [Validate credential configurations from external
|
526
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
514
527
|
# @return [::Object]
|
515
528
|
# @!attribute [rw] scope
|
516
529
|
# The OAuth scopes
|
@@ -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.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 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.
|
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.
|
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: '
|
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.
|
107
|
-
signing_key:
|
104
|
+
rubygems_version: 3.6.2
|
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: []
|