google-apis-eventarc_v1 0.9.0 → 0.10.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: 782835b13c9e04c1e3c5da2da693d828730b21b62294ed0807344da5354aef90
4
- data.tar.gz: 3df544efa433fa3db0915e37c5ec4bdeb97d984b729ac9a5972da506695329d4
3
+ metadata.gz: 394518aae6f4507b6166644aeea14aa9d546b3d8eb909e9c2b21e956f5578d0e
4
+ data.tar.gz: efbf287f8aaa061045b80591dc31c3d4fa817a64bca9706de56efd9d65cf2b77
5
5
  SHA512:
6
- metadata.gz: 42a1c2f8be1e7b4526307f7b31827cead3062eed765ed738582d04318b71aa0bbe750f5b7a23d6f08b34f65ea532800002b9f0c4835f2e598b3aadb4fd18b713
7
- data.tar.gz: 798325c7266de035d118a9f43b6ea908fb8aaf6dcf2f212862ee6ae526e222629b8833c94e02558f200e30820b3b939ca9fc29954c8ca6d957d9e00afd0f1e26
6
+ metadata.gz: 81220df799bcde689e0fa405e70c50ed5e908d04d31144da45e2e8cd49478ab6eac086d5ad435764d74b4c2bc46b84843d5d1672d25fcb587cd275fa57749246
7
+ data.tar.gz: 60eae6ce439590ca052275733c249a87b695538215bf586f7794f73fc4a246ef6196cdeb0bc20d7537d786c4581c33d398e707b6fd0254805bd791e3186a099e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.9.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -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.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210412"
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,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.9.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-07-05 00:00:00.000000000 Z
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
@@ -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/master/generated/google-apis-eventarc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-eventarc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []