google-apis-eventarc_v1 0.26.0 → 0.29.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e20826b9bd8da3d719935f1ed4fc66e2adf105d8b3cc0f29516cb20920bf2282
|
4
|
+
data.tar.gz: 998052d6eb0f290dc4ef4d2964d985889d7d565f745d8be66aea6a721cc74a75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff5ba828aacdf5e1b6fb4914c8988c1032d2145187a84ea0863353ef5aa63afe98ec67c2936ef99b6d02bf70f9117f663c8246fd7a423cae5a1d18cb282e94e5
|
7
|
+
data.tar.gz: 20cebffa0be4cfa00b98016b119932fa6f242668ec9c16169c3c7e91ac9a185a566a6dcce13a9bc2b5f33cb270156cf79cae9132ec4d522dfb643a6eae3ad5fc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-eventarc_v1
|
2
2
|
|
3
|
+
### v0.29.0 (2022-08-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220812
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.28.0 (2022-07-03)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220628
|
11
|
+
* Regenerated using generator version 0.8.0
|
12
|
+
|
13
|
+
### v0.27.0 (2022-06-20)
|
14
|
+
|
15
|
+
* Regenerated using generator version 0.7.0
|
16
|
+
|
3
17
|
### v0.26.0 (2022-06-12)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220607
|
@@ -123,25 +123,28 @@ module Google
|
|
123
123
|
# anyone who is authenticated with a Google account or a service account. * `
|
124
124
|
# user:`emailid``: An email address that represents a specific Google account.
|
125
125
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
126
|
-
# address that represents a service account. For example, `my-other-app@
|
127
|
-
# gserviceaccount.com`. * `
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
# emailid
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
126
|
+
# address that represents a Google service account. For example, `my-other-app@
|
127
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
128
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
129
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
130
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
131
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
132
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
133
|
+
# email address (plus unique identifier) representing a user that has been
|
134
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
135
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
136
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
137
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
138
|
+
# representing a service account that has been recently deleted. For example, `
|
139
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
140
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
141
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
142
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
143
|
+
# representing a Google group that has been recently deleted. For example, `
|
144
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
145
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
146
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
147
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
145
148
|
# Corresponds to the JSON property `members`
|
146
149
|
# @return [Array<String>]
|
147
150
|
attr_accessor :members
|
@@ -182,6 +185,13 @@ module Google
|
|
182
185
|
# @return [String]
|
183
186
|
attr_accessor :create_time
|
184
187
|
|
188
|
+
# Optional. Resource name of a KMS crypto key (managed by the user) used to
|
189
|
+
# encrypt/decrypt their event data. It must match the pattern `projects/*/
|
190
|
+
# locations/*/keyRings/*/cryptoKeys/*`.
|
191
|
+
# Corresponds to the JSON property `cryptoKeyName`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :crypto_key_name
|
194
|
+
|
185
195
|
# Required. The resource name of the channel. Must be unique within the location
|
186
196
|
# on the project and must be in `projects/`project`/locations/`location`/
|
187
197
|
# channels/`channel_id`` format.
|
@@ -228,6 +238,7 @@ module Google
|
|
228
238
|
def update!(**args)
|
229
239
|
@activation_token = args[:activation_token] if args.key?(:activation_token)
|
230
240
|
@create_time = args[:create_time] if args.key?(:create_time)
|
241
|
+
@crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
|
231
242
|
@name = args[:name] if args.key?(:name)
|
232
243
|
@provider = args[:provider] if args.key?(:provider)
|
233
244
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
@@ -267,8 +278,8 @@ module Google
|
|
267
278
|
# @return [String]
|
268
279
|
attr_accessor :name
|
269
280
|
|
270
|
-
# Output only.
|
271
|
-
#
|
281
|
+
# Output only. Server assigned ID of the resource. The server guarantees
|
282
|
+
# uniqueness and immutability until deleted.
|
272
283
|
# Corresponds to the JSON property `uid`
|
273
284
|
# @return [String]
|
274
285
|
attr_accessor :uid
|
@@ -608,6 +619,43 @@ module Google
|
|
608
619
|
end
|
609
620
|
end
|
610
621
|
|
622
|
+
# A GoogleChannelConfig is a resource that stores the custom settings respected
|
623
|
+
# by Eventarc first-party triggers in the matching region. Once configured,
|
624
|
+
# first-party event data will be protected using the specified custom managed
|
625
|
+
# encryption key instead of Google-managed encryption keys.
|
626
|
+
class GoogleChannelConfig
|
627
|
+
include Google::Apis::Core::Hashable
|
628
|
+
|
629
|
+
# Optional. Resource name of a KMS crypto key (managed by the user) used to
|
630
|
+
# encrypt/decrypt their event data. It must match the pattern `projects/*/
|
631
|
+
# locations/*/keyRings/*/cryptoKeys/*`.
|
632
|
+
# Corresponds to the JSON property `cryptoKeyName`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :crypto_key_name
|
635
|
+
|
636
|
+
# Required. The resource name of the config. Must be in the format of, `projects/
|
637
|
+
# `project`/locations/`location`/googleChannelConfig`.
|
638
|
+
# Corresponds to the JSON property `name`
|
639
|
+
# @return [String]
|
640
|
+
attr_accessor :name
|
641
|
+
|
642
|
+
# Output only. The last-modified time.
|
643
|
+
# Corresponds to the JSON property `updateTime`
|
644
|
+
# @return [String]
|
645
|
+
attr_accessor :update_time
|
646
|
+
|
647
|
+
def initialize(**args)
|
648
|
+
update!(**args)
|
649
|
+
end
|
650
|
+
|
651
|
+
# Update properties of this object
|
652
|
+
def update!(**args)
|
653
|
+
@crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
|
654
|
+
@name = args[:name] if args.key?(:name)
|
655
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
611
659
|
# The request message for Operations.CancelOperation.
|
612
660
|
class GoogleLongrunningCancelOperationRequest
|
613
661
|
include Google::Apis::Core::Hashable
|
@@ -756,7 +804,7 @@ module Google
|
|
756
804
|
# @return [Array<Google::Apis::EventarcV1::ChannelConnection>]
|
757
805
|
attr_accessor :channel_connections
|
758
806
|
|
759
|
-
# A page token that can be sent to ListChannelConnections to request the next
|
807
|
+
# A page token that can be sent to `ListChannelConnections` to request the next
|
760
808
|
# page. If this is empty, then there are no more pages.
|
761
809
|
# Corresponds to the JSON property `nextPageToken`
|
762
810
|
# @return [String]
|
@@ -788,7 +836,7 @@ module Google
|
|
788
836
|
# @return [Array<Google::Apis::EventarcV1::Channel>]
|
789
837
|
attr_accessor :channels
|
790
838
|
|
791
|
-
# A page token that can be sent to ListChannels to request the next page. If
|
839
|
+
# A page token that can be sent to `ListChannels` to request the next page. If
|
792
840
|
# this is empty, then there are no more pages.
|
793
841
|
# Corresponds to the JSON property `nextPageToken`
|
794
842
|
# @return [String]
|
@@ -840,7 +888,7 @@ module Google
|
|
840
888
|
class ListProvidersResponse
|
841
889
|
include Google::Apis::Core::Hashable
|
842
890
|
|
843
|
-
# A page token that can be sent to ListProviders to request the next page. If
|
891
|
+
# A page token that can be sent to `ListProviders` to request the next page. If
|
844
892
|
# this is empty, then there are no more pages.
|
845
893
|
# Corresponds to the JSON property `nextPageToken`
|
846
894
|
# @return [String]
|
@@ -872,7 +920,7 @@ module Google
|
|
872
920
|
class ListTriggersResponse
|
873
921
|
include Google::Apis::Core::Hashable
|
874
922
|
|
875
|
-
# A page token that can be sent to ListTriggers to request the next page. If
|
923
|
+
# A page token that can be sent to `ListTriggers` to request the next page. If
|
876
924
|
# this is empty, then there are no more pages.
|
877
925
|
# Corresponds to the JSON property `nextPageToken`
|
878
926
|
# @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.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220812"
|
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.29.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-08-22 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.29.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: []
|