google-cloud-eventarc-publishing-v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8040e1cfc517fb301e1116add2eacdd925df3a3d9f134a43361003daef599f0e
4
- data.tar.gz: 8d62a6097dca07cba434b72bad8a563dc058b8bb25462e10b4886ee350d694d1
3
+ metadata.gz: d9d6bd0508e60a6e8d295566ceef014f8fe2a25b08484eedb7a181f7b27bd279
4
+ data.tar.gz: c7b3ebbb13044b136fdaca92befefc560be34b3dd30601d8d4b257260dea852d
5
5
  SHA512:
6
- metadata.gz: 3a2214d326b6e055956f71466d48c8607a99f93bf8159897d1aec83bad2b61ecdb78824e334ac45c64aa85458bf6178e106c4fc48465752272afe2e84960c2d9
7
- data.tar.gz: 282728e0154972a55223efb4f6fb18c6ddae569e245c27b9e9090242c1fb84dba95f3801246003d052a134538f4b23bb2e54b44c7776c649e3c399af771dc0a8
6
+ metadata.gz: 62179721c954abd92b513d8140251d07ed2ab9dad56fe65c420d944d5e84860d541a67a47660506785dfd0d6b7a25302672493b0afc67e8f1c3b7a6c0ca5470d
7
+ data.tar.gz: 6db2934add4710ec8e86b90eeee241e10f1fdec18e353042ea495ba6b0ddd75b29fa20805f6a5cb327ca330f14436e8dce3958957c87e8e10fce7eda0442d937
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
@@ -181,7 +181,7 @@ module Google
181
181
  # @param options [::Gapic::CallOptions, ::Hash]
182
182
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
183
183
  #
184
- # @overload publish_channel_connection_events(channel_connection: nil, events: nil)
184
+ # @overload publish_channel_connection_events(channel_connection: nil, events: nil, text_events: nil)
185
185
  # Pass arguments to `publish_channel_connection_events` via keyword arguments. Note that at
186
186
  # least one keyword argument is required. To specify no parameters, or to keep all
187
187
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -191,6 +191,13 @@ module Google
191
191
  # `projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
192
192
  # @param events [::Array<::Google::Protobuf::Any, ::Hash>]
193
193
  # The CloudEvents v1.0 events to publish. No other types are allowed.
194
+ # If this field is set, then the `text_events` fields must not be set.
195
+ # @param text_events [::Array<::String>]
196
+ # The text representation of events to publish.
197
+ # CloudEvent v1.0 in JSON format is the only allowed type. Refer to
198
+ # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
199
+ # for specification.
200
+ # If this field is set, then the `events` fields must not be set.
194
201
  #
195
202
  # @yield [response, operation] Access the result along with the RPC operation
196
203
  # @yieldparam response [::Google::Cloud::Eventarc::Publishing::V1::PublishChannelConnectionEventsResponse]
@@ -269,7 +276,7 @@ module Google
269
276
  # @param options [::Gapic::CallOptions, ::Hash]
270
277
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
271
278
  #
272
- # @overload publish_events(channel: nil, events: nil)
279
+ # @overload publish_events(channel: nil, events: nil, text_events: nil)
273
280
  # Pass arguments to `publish_events` via keyword arguments. Note that at
274
281
  # least one keyword argument is required. To specify no parameters, or to keep all
275
282
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -279,6 +286,13 @@ module Google
279
286
  # `projects/{project}/locations/{location}/channels/{channel-id}`.
280
287
  # @param events [::Array<::Google::Protobuf::Any, ::Hash>]
281
288
  # The CloudEvents v1.0 events to publish. No other types are allowed.
289
+ # If this field is set, then the `text_events` fields must not be set.
290
+ # @param text_events [::Array<::String>]
291
+ # The text representation of events to publish.
292
+ # CloudEvent v1.0 in JSON format is the only allowed type. Refer to
293
+ # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
294
+ # for specification.
295
+ # If this field is set, then the `events` fields must not be set.
282
296
  #
283
297
  # @yield [response, operation] Access the result along with the RPC operation
284
298
  # @yieldparam response [::Google::Cloud::Eventarc::Publishing::V1::PublishEventsResponse]
@@ -12,12 +12,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_message "google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest" do
13
13
  optional :channel_connection, :string, 1
14
14
  repeated :events, :message, 2, "google.protobuf.Any"
15
+ repeated :text_events, :string, 3
15
16
  end
16
17
  add_message "google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsResponse" do
17
18
  end
18
19
  add_message "google.cloud.eventarc.publishing.v1.PublishEventsRequest" do
19
20
  optional :channel, :string, 1
20
21
  repeated :events, :message, 2, "google.protobuf.Any"
22
+ repeated :text_events, :string, 3
21
23
  end
22
24
  add_message "google.cloud.eventarc.publishing.v1.PublishEventsResponse" do
23
25
  end
@@ -14,7 +14,6 @@
14
14
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
- #
18
17
 
19
18
  require 'grpc'
20
19
  require 'google/cloud/eventarc/publishing/v1/publisher_pb'
@@ -22,7 +22,7 @@ module Google
22
22
  module Eventarc
23
23
  module Publishing
24
24
  module V1
25
- VERSION = "0.3.0"
25
+ VERSION = "0.4.0"
26
26
  end
27
27
  end
28
28
  end
@@ -30,6 +30,14 @@ module Google
30
30
  # @!attribute [rw] events
31
31
  # @return [::Array<::Google::Protobuf::Any>]
32
32
  # The CloudEvents v1.0 events to publish. No other types are allowed.
33
+ # If this field is set, then the `text_events` fields must not be set.
34
+ # @!attribute [rw] text_events
35
+ # @return [::Array<::String>]
36
+ # The text representation of events to publish.
37
+ # CloudEvent v1.0 in JSON format is the only allowed type. Refer to
38
+ # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
39
+ # for specification.
40
+ # If this field is set, then the `events` fields must not be set.
33
41
  class PublishChannelConnectionEventsRequest
34
42
  include ::Google::Protobuf::MessageExts
35
43
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -49,6 +57,14 @@ module Google
49
57
  # @!attribute [rw] events
50
58
  # @return [::Array<::Google::Protobuf::Any>]
51
59
  # The CloudEvents v1.0 events to publish. No other types are allowed.
60
+ # If this field is set, then the `text_events` fields must not be set.
61
+ # @!attribute [rw] text_events
62
+ # @return [::Array<::String>]
63
+ # The text representation of events to publish.
64
+ # CloudEvent v1.0 in JSON format is the only allowed type. Refer to
65
+ # https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
66
+ # for specification.
67
+ # If this field is set, then the `events` fields must not be set.
52
68
  class PublishEventsRequest
53
69
  include ::Google::Protobuf::MessageExts
54
70
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-eventarc-publishing-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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: 2022-07-02 00:00:00.000000000 Z
11
+ date: 2022-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.10'
19
+ version: '0.12'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a