google-apis-eventarc_v1 0.7.0 → 0.11.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: bd4e7ea05a3e56bf00ce204fea9a2a1fe14113aa39d415829ab835d52bc318fe
4
- data.tar.gz: 38b5ec0c6770f69d0bbc99504f66e0f5ad704447d6ae8727780f7471c0c16aa5
3
+ metadata.gz: 67659ea70601dc5447704a0bb06b4a7283750622397f1bcd3990ff07fbce50df
4
+ data.tar.gz: 570276625881a866c08f783d1daf746d8835453ffa2386d0de10858c9edff1ac
5
5
  SHA512:
6
- metadata.gz: c68131f633dcf73973ae92a45f8a993b231e050e3d3b1513de8459b9f2398ad05842de92604e987820bef153e469dd04fcb96f85c04fe72a1a53dfd333b4757e
7
- data.tar.gz: 4d8b8bfc911aec0e96c9074a7feb2df4aaf986139b8280aacff8d2113ab402edf8f47b5f31fbe1d3d3d0956b2503170eb192e05889a39ad6205a993cfe215a1d
6
+ metadata.gz: 73a9f708182b270caf3d0a51fc45930418862bf81e9c8b7dbe633ba0324b06a86eed5ab64a4bafff5a1b21752ccb52543c8821f57b202c4a3a59ec839f8fc481
7
+ data.tar.gz: 40028e57931dd4cf08dcf33fd1a198af63ccd001a7392aba67fab32078f994947b0dc4775247b590ba23915455678d296e26b5314a08cf6858b1ae58b168e7dd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.11.0 (2021-08-04)
4
+
5
+ * Regenerated from discovery document revision 20210730
6
+
7
+ ### v0.10.0 (2021-07-27)
8
+
9
+ * Regenerated from discovery document revision 20210723
10
+
11
+ ### v0.9.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.8.0 (2021-06-24)
16
+
17
+ * Regenerated using generator version 0.3.0
18
+
3
19
  ### v0.7.0 (2021-05-19)
4
20
 
5
21
  * Unspecified changes
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
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 = "20210730"
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.7.0
4
+ version: 0.11.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-08-09 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.1'
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: '0.1'
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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.11.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: []