google-apis-eventarc_v1 0.27.0 → 0.28.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39425d63dd6ea169da22d918c79e319096e5e76d7c171f40bdd4502084df16d1
|
4
|
+
data.tar.gz: bb5501805e429c2fcade3eb8f94a9aac5aadbc94087eef5ee0b6e1591b8eaa4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a398809f69daffd188ca230014097c99bd0968b75cf7e20218033209aa8f12af336ac88757bbf7e6c215f6a01950633a0ee3ecb5bf2c5df433d99ab0f713b05
|
7
|
+
data.tar.gz: de0bbd0d77560940197dbd146a011fee14dcb40adc7be97e6c30e6461a7aac05f5cc70a189b9797959aa52529a57eef44609f9e8b34ce06e894c5c047f177ce5
|
data/CHANGELOG.md
CHANGED
@@ -182,6 +182,13 @@ module Google
|
|
182
182
|
# @return [String]
|
183
183
|
attr_accessor :create_time
|
184
184
|
|
185
|
+
# Optional. Resource name of a KMS crypto key (managed by the user) used to
|
186
|
+
# encrypt/decrypt their event data. It must match the pattern `projects/*/
|
187
|
+
# locations/*/keyRings/*/cryptoKeys/*`.
|
188
|
+
# Corresponds to the JSON property `cryptoKeyName`
|
189
|
+
# @return [String]
|
190
|
+
attr_accessor :crypto_key_name
|
191
|
+
|
185
192
|
# Required. The resource name of the channel. Must be unique within the location
|
186
193
|
# on the project and must be in `projects/`project`/locations/`location`/
|
187
194
|
# channels/`channel_id`` format.
|
@@ -228,6 +235,7 @@ module Google
|
|
228
235
|
def update!(**args)
|
229
236
|
@activation_token = args[:activation_token] if args.key?(:activation_token)
|
230
237
|
@create_time = args[:create_time] if args.key?(:create_time)
|
238
|
+
@crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
|
231
239
|
@name = args[:name] if args.key?(:name)
|
232
240
|
@provider = args[:provider] if args.key?(:provider)
|
233
241
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
@@ -267,8 +275,8 @@ module Google
|
|
267
275
|
# @return [String]
|
268
276
|
attr_accessor :name
|
269
277
|
|
270
|
-
# Output only.
|
271
|
-
#
|
278
|
+
# Output only. Server assigned ID of the resource. The server guarantees
|
279
|
+
# uniqueness and immutability until deleted.
|
272
280
|
# Corresponds to the JSON property `uid`
|
273
281
|
# @return [String]
|
274
282
|
attr_accessor :uid
|
@@ -608,6 +616,43 @@ module Google
|
|
608
616
|
end
|
609
617
|
end
|
610
618
|
|
619
|
+
# A GoogleChannelConfig is a resource that stores the custom settings respected
|
620
|
+
# by Eventarc first-party triggers in the matching region. Once configured,
|
621
|
+
# first-party event data will be protected using the specified custom managed
|
622
|
+
# encryption key instead of Google-managed encryption keys.
|
623
|
+
class GoogleChannelConfig
|
624
|
+
include Google::Apis::Core::Hashable
|
625
|
+
|
626
|
+
# Optional. Resource name of a KMS crypto key (managed by the user) used to
|
627
|
+
# encrypt/decrypt their event data. It must match the pattern `projects/*/
|
628
|
+
# locations/*/keyRings/*/cryptoKeys/*`.
|
629
|
+
# Corresponds to the JSON property `cryptoKeyName`
|
630
|
+
# @return [String]
|
631
|
+
attr_accessor :crypto_key_name
|
632
|
+
|
633
|
+
# Required. The resource name of the config. Must be in the format of, `projects/
|
634
|
+
# `project`/locations/`location`/googleChannelConfig`.
|
635
|
+
# Corresponds to the JSON property `name`
|
636
|
+
# @return [String]
|
637
|
+
attr_accessor :name
|
638
|
+
|
639
|
+
# Output only. The last-modified time.
|
640
|
+
# Corresponds to the JSON property `updateTime`
|
641
|
+
# @return [String]
|
642
|
+
attr_accessor :update_time
|
643
|
+
|
644
|
+
def initialize(**args)
|
645
|
+
update!(**args)
|
646
|
+
end
|
647
|
+
|
648
|
+
# Update properties of this object
|
649
|
+
def update!(**args)
|
650
|
+
@crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
|
651
|
+
@name = args[:name] if args.key?(:name)
|
652
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
611
656
|
# The request message for Operations.CancelOperation.
|
612
657
|
class GoogleLongrunningCancelOperationRequest
|
613
658
|
include Google::Apis::Core::Hashable
|
@@ -756,7 +801,7 @@ module Google
|
|
756
801
|
# @return [Array<Google::Apis::EventarcV1::ChannelConnection>]
|
757
802
|
attr_accessor :channel_connections
|
758
803
|
|
759
|
-
# A page token that can be sent to ListChannelConnections to request the next
|
804
|
+
# A page token that can be sent to `ListChannelConnections` to request the next
|
760
805
|
# page. If this is empty, then there are no more pages.
|
761
806
|
# Corresponds to the JSON property `nextPageToken`
|
762
807
|
# @return [String]
|
@@ -788,7 +833,7 @@ module Google
|
|
788
833
|
# @return [Array<Google::Apis::EventarcV1::Channel>]
|
789
834
|
attr_accessor :channels
|
790
835
|
|
791
|
-
# A page token that can be sent to ListChannels to request the next page. If
|
836
|
+
# A page token that can be sent to `ListChannels` to request the next page. If
|
792
837
|
# this is empty, then there are no more pages.
|
793
838
|
# Corresponds to the JSON property `nextPageToken`
|
794
839
|
# @return [String]
|
@@ -840,7 +885,7 @@ module Google
|
|
840
885
|
class ListProvidersResponse
|
841
886
|
include Google::Apis::Core::Hashable
|
842
887
|
|
843
|
-
# A page token that can be sent to ListProviders to request the next page. If
|
888
|
+
# A page token that can be sent to `ListProviders` to request the next page. If
|
844
889
|
# this is empty, then there are no more pages.
|
845
890
|
# Corresponds to the JSON property `nextPageToken`
|
846
891
|
# @return [String]
|
@@ -872,7 +917,7 @@ module Google
|
|
872
917
|
class ListTriggersResponse
|
873
918
|
include Google::Apis::Core::Hashable
|
874
919
|
|
875
|
-
# A page token that can be sent to ListTriggers to request the next page. If
|
920
|
+
# A page token that can be sent to `ListTriggers` to request the next page. If
|
876
921
|
# this is empty, then there are no more pages.
|
877
922
|
# Corresponds to the JSON property `nextPageToken`
|
878
923
|
# @return [String]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module EventarcV1
|
18
18
|
# Version of the google-apis-eventarc_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220628"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleChannelConfig
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class GoogleLongrunningCancelOperationRequest
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -252,6 +258,7 @@ module Google
|
|
252
258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
253
259
|
property :activation_token, as: 'activationToken'
|
254
260
|
property :create_time, as: 'createTime'
|
261
|
+
property :crypto_key_name, as: 'cryptoKeyName'
|
255
262
|
property :name, as: 'name'
|
256
263
|
property :provider, as: 'provider'
|
257
264
|
property :pubsub_topic, as: 'pubsubTopic'
|
@@ -351,6 +358,15 @@ module Google
|
|
351
358
|
end
|
352
359
|
end
|
353
360
|
|
361
|
+
class GoogleChannelConfig
|
362
|
+
# @private
|
363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
364
|
+
property :crypto_key_name, as: 'cryptoKeyName'
|
365
|
+
property :name, as: 'name'
|
366
|
+
property :update_time, as: 'updateTime'
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
354
370
|
class GoogleLongrunningCancelOperationRequest
|
355
371
|
# @private
|
356
372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -79,6 +79,36 @@ module Google
|
|
79
79
|
execute_or_queue_command(command, &block)
|
80
80
|
end
|
81
81
|
|
82
|
+
# Get a GoogleChannelConfig
|
83
|
+
# @param [String] name
|
84
|
+
# Required. The name of the config to get.
|
85
|
+
# @param [String] fields
|
86
|
+
# Selector specifying which fields to include in a partial response.
|
87
|
+
# @param [String] quota_user
|
88
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
89
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
90
|
+
# @param [Google::Apis::RequestOptions] options
|
91
|
+
# Request-specific options
|
92
|
+
#
|
93
|
+
# @yield [result, err] Result & error if block supplied
|
94
|
+
# @yieldparam result [Google::Apis::EventarcV1::GoogleChannelConfig] parsed result object
|
95
|
+
# @yieldparam err [StandardError] error object if request failed
|
96
|
+
#
|
97
|
+
# @return [Google::Apis::EventarcV1::GoogleChannelConfig]
|
98
|
+
#
|
99
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
100
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
101
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
102
|
+
def get_project_location_google_channel_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
103
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
104
|
+
command.response_representation = Google::Apis::EventarcV1::GoogleChannelConfig::Representation
|
105
|
+
command.response_class = Google::Apis::EventarcV1::GoogleChannelConfig
|
106
|
+
command.params['name'] = name unless name.nil?
|
107
|
+
command.query['fields'] = fields unless fields.nil?
|
108
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
109
|
+
execute_or_queue_command(command, &block)
|
110
|
+
end
|
111
|
+
|
82
112
|
# Lists information about the supported locations for this service.
|
83
113
|
# @param [String] name
|
84
114
|
# The resource that owns the locations collection, if applicable.
|
@@ -122,6 +152,45 @@ module Google
|
|
122
152
|
execute_or_queue_command(command, &block)
|
123
153
|
end
|
124
154
|
|
155
|
+
# Update a single GoogleChannelConfig
|
156
|
+
# @param [String] name
|
157
|
+
# Required. The resource name of the config. Must be in the format of, `projects/
|
158
|
+
# `project`/locations/`location`/googleChannelConfig`.
|
159
|
+
# @param [Google::Apis::EventarcV1::GoogleChannelConfig] google_channel_config_object
|
160
|
+
# @param [String] update_mask
|
161
|
+
# The fields to be updated; only fields explicitly provided are updated. If no
|
162
|
+
# field mask is provided, all provided fields in the request are updated. To
|
163
|
+
# update all fields, provide a field mask of "*".
|
164
|
+
# @param [String] fields
|
165
|
+
# Selector specifying which fields to include in a partial response.
|
166
|
+
# @param [String] quota_user
|
167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
169
|
+
# @param [Google::Apis::RequestOptions] options
|
170
|
+
# Request-specific options
|
171
|
+
#
|
172
|
+
# @yield [result, err] Result & error if block supplied
|
173
|
+
# @yieldparam result [Google::Apis::EventarcV1::GoogleChannelConfig] parsed result object
|
174
|
+
# @yieldparam err [StandardError] error object if request failed
|
175
|
+
#
|
176
|
+
# @return [Google::Apis::EventarcV1::GoogleChannelConfig]
|
177
|
+
#
|
178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
181
|
+
def update_project_location_google_channel_config(name, google_channel_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
182
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
183
|
+
command.request_representation = Google::Apis::EventarcV1::GoogleChannelConfig::Representation
|
184
|
+
command.request_object = google_channel_config_object
|
185
|
+
command.response_representation = Google::Apis::EventarcV1::GoogleChannelConfig::Representation
|
186
|
+
command.response_class = Google::Apis::EventarcV1::GoogleChannelConfig
|
187
|
+
command.params['name'] = name unless name.nil?
|
188
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
189
|
+
command.query['fields'] = fields unless fields.nil?
|
190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
191
|
+
execute_or_queue_command(command, &block)
|
192
|
+
end
|
193
|
+
|
125
194
|
# Create a new ChannelConnection in a particular project and location.
|
126
195
|
# @param [String] parent
|
127
196
|
# Required. The parent collection in which to add this channel connection.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-eventarc_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.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-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|