google-apis-eventarc_v1 0.6.0 → 0.10.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/CHANGELOG.md +16 -0
- data/lib/google/apis/eventarc_v1/gem_version.rb +3 -3
- data/lib/google/apis/eventarc_v1/service.rb +115 -0
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 394518aae6f4507b6166644aeea14aa9d546b3d8eb909e9c2b21e956f5578d0e
|
4
|
+
data.tar.gz: efbf287f8aaa061045b80591dc31c3d4fa817a64bca9706de56efd9d65cf2b77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81220df799bcde689e0fa405e70c50ed5e908d04d31144da45e2e8cd49478ab6eac086d5ad435764d74b4c2bc46b84843d5d1672d25fcb587cd275fa57749246
|
7
|
+
data.tar.gz: 60eae6ce439590ca052275733c249a87b695538215bf586f7794f73fc4a246ef6196cdeb0bc20d7537d786c4581c33d398e707b6fd0254805bd791e3186a099e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-eventarc_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210723
|
6
|
+
|
7
|
+
### v0.9.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.8.0 (2021-06-24)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.3.0
|
14
|
+
|
15
|
+
### v0.7.0 (2021-05-19)
|
16
|
+
|
17
|
+
* Unspecified changes
|
18
|
+
|
3
19
|
### v0.6.0 (2021-04-16)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210412
|
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210723"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -122,6 +122,121 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
126
|
+
# resource exists and does not have a policy set.
|
127
|
+
# @param [String] resource
|
128
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
129
|
+
# operation documentation for the appropriate value for this field.
|
130
|
+
# @param [Fixnum] options_requested_policy_version
|
131
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
132
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
133
|
+
# policies with any conditional bindings must specify version 3. Policies
|
134
|
+
# without any conditional bindings may specify any valid value or leave the
|
135
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
136
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
137
|
+
# resource-policies).
|
138
|
+
# @param [String] fields
|
139
|
+
# Selector specifying which fields to include in a partial response.
|
140
|
+
# @param [String] quota_user
|
141
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
142
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
143
|
+
# @param [Google::Apis::RequestOptions] options
|
144
|
+
# Request-specific options
|
145
|
+
#
|
146
|
+
# @yield [result, err] Result & error if block supplied
|
147
|
+
# @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
|
148
|
+
# @yieldparam err [StandardError] error object if request failed
|
149
|
+
#
|
150
|
+
# @return [Google::Apis::EventarcV1::Policy]
|
151
|
+
#
|
152
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
153
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
154
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
155
|
+
def get_project_location_channel_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
156
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
157
|
+
command.response_representation = Google::Apis::EventarcV1::Policy::Representation
|
158
|
+
command.response_class = Google::Apis::EventarcV1::Policy
|
159
|
+
command.params['resource'] = resource unless resource.nil?
|
160
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
161
|
+
command.query['fields'] = fields unless fields.nil?
|
162
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
163
|
+
execute_or_queue_command(command, &block)
|
164
|
+
end
|
165
|
+
|
166
|
+
# Sets the access control policy on the specified resource. Replaces any
|
167
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
168
|
+
# PERMISSION_DENIED` errors.
|
169
|
+
# @param [String] resource
|
170
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
171
|
+
# operation documentation for the appropriate value for this field.
|
172
|
+
# @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
|
173
|
+
# @param [String] fields
|
174
|
+
# Selector specifying which fields to include in a partial response.
|
175
|
+
# @param [String] quota_user
|
176
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
177
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
178
|
+
# @param [Google::Apis::RequestOptions] options
|
179
|
+
# Request-specific options
|
180
|
+
#
|
181
|
+
# @yield [result, err] Result & error if block supplied
|
182
|
+
# @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
|
183
|
+
# @yieldparam err [StandardError] error object if request failed
|
184
|
+
#
|
185
|
+
# @return [Google::Apis::EventarcV1::Policy]
|
186
|
+
#
|
187
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
188
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
189
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
190
|
+
def set_channel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
191
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
192
|
+
command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation
|
193
|
+
command.request_object = set_iam_policy_request_object
|
194
|
+
command.response_representation = Google::Apis::EventarcV1::Policy::Representation
|
195
|
+
command.response_class = Google::Apis::EventarcV1::Policy
|
196
|
+
command.params['resource'] = resource unless resource.nil?
|
197
|
+
command.query['fields'] = fields unless fields.nil?
|
198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
199
|
+
execute_or_queue_command(command, &block)
|
200
|
+
end
|
201
|
+
|
202
|
+
# Returns permissions that a caller has on the specified resource. If the
|
203
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
204
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
205
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
206
|
+
# This operation may "fail open" without warning.
|
207
|
+
# @param [String] resource
|
208
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
209
|
+
# operation documentation for the appropriate value for this field.
|
210
|
+
# @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
211
|
+
# @param [String] fields
|
212
|
+
# Selector specifying which fields to include in a partial response.
|
213
|
+
# @param [String] quota_user
|
214
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
215
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
216
|
+
# @param [Google::Apis::RequestOptions] options
|
217
|
+
# Request-specific options
|
218
|
+
#
|
219
|
+
# @yield [result, err] Result & error if block supplied
|
220
|
+
# @yieldparam result [Google::Apis::EventarcV1::TestIamPermissionsResponse] parsed result object
|
221
|
+
# @yieldparam err [StandardError] error object if request failed
|
222
|
+
#
|
223
|
+
# @return [Google::Apis::EventarcV1::TestIamPermissionsResponse]
|
224
|
+
#
|
225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
228
|
+
def test_channel_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
229
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
230
|
+
command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation
|
231
|
+
command.request_object = test_iam_permissions_request_object
|
232
|
+
command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation
|
233
|
+
command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse
|
234
|
+
command.params['resource'] = resource unless resource.nil?
|
235
|
+
command.query['fields'] = fields unless fields.nil?
|
236
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
237
|
+
execute_or_queue_command(command, &block)
|
238
|
+
end
|
239
|
+
|
125
240
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
126
241
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
127
242
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.10.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: 2021-
|
11
|
+
date: 2021-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Eventarc API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-eventarc_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.10.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-eventarc_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|