google-apis-eventarc_v1 0.8.0 → 0.12.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: ee0c3f13d8ff098769b3fbe963f51817096cc4e4706de066db44ad65c19b5b5c
4
- data.tar.gz: 830759f38ecca90dc8fc8e49e935ffc10db4663dd431b0d59587a424c68e018b
3
+ metadata.gz: 881fca8e65efd5091ab2e73a45e89dbc51952af6847ba10e148a94147951f58b
4
+ data.tar.gz: 767829fee2625931707d6634739dfc9135b9f1942a866c28a6174d4d3e3e1508
5
5
  SHA512:
6
- metadata.gz: 8ff01c4f7fc5aa15d9439d9e31698ac1aa2c23ce02db3894f363f24ba8f0238a1de0f5ac7c4d4b14bd8eca8c6deec82d6b03b3f06857e5023fd373bdca9619f3
7
- data.tar.gz: 319879e1b923efa525955ff01e2cfdd3f0df2a1958807f52102d4418fc3bade651d493c100dbdce336602f6d45cbcd0711c8273dae8e47c97e153b65cdece27a
6
+ metadata.gz: 2206fad28c247dbcd5b0afa5f38ac8c5d4785d57318b93c35bdd1afa787aaa389244173c4f9cc8304a5070fae4d8675acd984cf415e4a68b55f272ae1dc5615c
7
+ data.tar.gz: ce5270ad470453bb004261e1b394fc0adf790b60c079982cbac58957c3a35e9c61d297245dde074390558deb0f60eed40c73f1b99a5f1cc1c4b9e694e759bd73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.12.0 (2021-08-21)
4
+
5
+ * Regenerated from discovery document revision 20210813
6
+
7
+ ### v0.11.0 (2021-08-04)
8
+
9
+ * Regenerated from discovery document revision 20210730
10
+
11
+ ### v0.10.0 (2021-07-27)
12
+
13
+ * Regenerated from discovery document revision 20210723
14
+
15
+ ### v0.9.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.8.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.0
@@ -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
@@ -642,7 +642,7 @@ module Google
642
642
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
643
643
  # roles/resourcemanager.organizationViewer condition: title: expirable access
644
644
  # description: Does not grant access after Sep 2020 expression: request.time <
645
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
645
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
646
646
  # description of IAM and its features, see the [IAM documentation](https://cloud.
647
647
  # google.com/iam/docs/).
648
648
  class Policy
@@ -767,7 +767,7 @@ module Google
767
767
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
768
768
  # roles/resourcemanager.organizationViewer condition: title: expirable access
769
769
  # description: Does not grant access after Sep 2020 expression: request.time <
770
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
770
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
771
771
  # description of IAM and its features, see the [IAM documentation](https://cloud.
772
772
  # google.com/iam/docs/).
773
773
  # Corresponds to the JSON property `policy`
@@ -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.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.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 = "20210813"
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.8.0
4
+ version: 0.12.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-08-23 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.3'
19
+ version: '0.4'
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.3'
29
+ version: '0.4'
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/master/generated/google-apis-eventarc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.12.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: []