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