google-apis-networksecurity_v1beta1 0.14.0 → 0.15.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: c0b83e364348ff5f089899f04cccc92e040764757bbdfd7ae1ac8b037fa3afc4
4
- data.tar.gz: dd28c6cc5844961a25c21314e668b5deb5e1ed9c412ce1cab3d42aafefbfb2b6
3
+ metadata.gz: d5314026dd41ec30f32481acb75749c63b6830e234609660fd7e4f342133e7b8
4
+ data.tar.gz: d434fd30f1ec1ff5066e66693128bca77c2919828c5bd435a062377ace147dff
5
5
  SHA512:
6
- metadata.gz: f27fce39f3487be612eef49cc33f90ab75ee1bf4da08790ea9252867719896eeb3907a95f8bb15c876b929eb3af833e55ed4ff3bdff5c8b7d6c5ea4c62b81c4d
7
- data.tar.gz: 263e01ae7e8c670596c1069377810228cdc4da77aa4dce8e2b16f79dbfe374974c821961cd9bada65ab2a6441f57d7b820ca731ea7deda4c890e3a7dc5882f4e
6
+ metadata.gz: 39ad0bace0a1b3354b41415c8833755e5696eb4fa18ccbc9ef380ac4c754ec7debfc3cfffa6d567333466bee1ba0791ca205cf36e81761add5be9635353882c2
7
+ data.tar.gz: 6f35261aef9cee04953c7ffd9129267a1bbda1474568516947e8f68a403b63e18cd474f8b7b84a3438576d31d4c52bd96b93da4c18ae430b267b57afe2419860
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.15.0 (2022-12-11)
4
+
5
+ * Regenerated from discovery document revision 20221205
6
+
3
7
  ### v0.14.0 (2022-10-27)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1beta1
18
18
  # Version of the google-apis-networksecurity_v1beta1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220902"
25
+ REVISION = "20221205"
26
26
  end
27
27
  end
28
28
  end
@@ -49,6 +49,156 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Starts asynchronous cancellation on a long-running operation. The server makes
53
+ # a best effort to cancel the operation, but success is not guaranteed. If the
54
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
55
+ # Clients can use Operations.GetOperation or other methods to check whether the
56
+ # cancellation succeeded or whether the operation completed despite cancellation.
57
+ # On successful cancellation, the operation is not deleted; instead, it becomes
58
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
59
+ # corresponding to `Code.CANCELLED`.
60
+ # @param [String] name
61
+ # The name of the operation resource to be cancelled.
62
+ # @param [Google::Apis::NetworksecurityV1beta1::CancelOperationRequest] cancel_operation_request_object
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Empty] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::NetworksecurityV1beta1::Empty]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def cancel_organization_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
82
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::CancelOperationRequest::Representation
83
+ command.request_object = cancel_operation_request_object
84
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation
85
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Empty
86
+ command.params['name'] = name unless name.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Deletes a long-running operation. This method indicates that the client is no
93
+ # longer interested in the operation result. It does not cancel the operation.
94
+ # If the server doesn't support this method, it returns `google.rpc.Code.
95
+ # UNIMPLEMENTED`.
96
+ # @param [String] name
97
+ # The name of the operation resource to be deleted.
98
+ # @param [String] fields
99
+ # Selector specifying which fields to include in a partial response.
100
+ # @param [String] quota_user
101
+ # Available to use for quota purposes for server-side applications. Can be any
102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
103
+ # @param [Google::Apis::RequestOptions] options
104
+ # Request-specific options
105
+ #
106
+ # @yield [result, err] Result & error if block supplied
107
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Empty] parsed result object
108
+ # @yieldparam err [StandardError] error object if request failed
109
+ #
110
+ # @return [Google::Apis::NetworksecurityV1beta1::Empty]
111
+ #
112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
115
+ def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
116
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
117
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation
118
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Empty
119
+ command.params['name'] = name unless name.nil?
120
+ command.query['fields'] = fields unless fields.nil?
121
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
122
+ execute_or_queue_command(command, &block)
123
+ end
124
+
125
+ # Gets the latest state of a long-running operation. Clients can use this method
126
+ # to poll the operation result at intervals as recommended by the API service.
127
+ # @param [String] name
128
+ # The name of the operation resource.
129
+ # @param [String] fields
130
+ # Selector specifying which fields to include in a partial response.
131
+ # @param [String] quota_user
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [Google::Apis::RequestOptions] options
135
+ # Request-specific options
136
+ #
137
+ # @yield [result, err] Result & error if block supplied
138
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
139
+ # @yieldparam err [StandardError] error object if request failed
140
+ #
141
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
142
+ #
143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
146
+ def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
148
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
149
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
150
+ command.params['name'] = name unless name.nil?
151
+ command.query['fields'] = fields unless fields.nil?
152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
153
+ execute_or_queue_command(command, &block)
154
+ end
155
+
156
+ # Lists operations that match the specified filter in the request. If the server
157
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
158
+ # binding allows API services to override the binding to use different resource
159
+ # name schemes, such as `users/*/operations`. To override the binding, API
160
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
161
+ # service configuration. For backwards compatibility, the default name includes
162
+ # the operations collection id, however overriding users must ensure the name
163
+ # binding is the parent resource, without the operations collection id.
164
+ # @param [String] name
165
+ # The name of the operation's parent resource.
166
+ # @param [String] filter
167
+ # The standard list filter.
168
+ # @param [Fixnum] page_size
169
+ # The standard list page size.
170
+ # @param [String] page_token
171
+ # The standard list page token.
172
+ # @param [String] fields
173
+ # Selector specifying which fields to include in a partial response.
174
+ # @param [String] quota_user
175
+ # Available to use for quota purposes for server-side applications. Can be any
176
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
177
+ # @param [Google::Apis::RequestOptions] options
178
+ # Request-specific options
179
+ #
180
+ # @yield [result, err] Result & error if block supplied
181
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListOperationsResponse] parsed result object
182
+ # @yieldparam err [StandardError] error object if request failed
183
+ #
184
+ # @return [Google::Apis::NetworksecurityV1beta1::ListOperationsResponse]
185
+ #
186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
189
+ def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
190
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
191
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation
192
+ command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
193
+ command.params['name'] = name unless name.nil?
194
+ command.query['filter'] = filter unless filter.nil?
195
+ command.query['pageSize'] = page_size unless page_size.nil?
196
+ command.query['pageToken'] = page_token unless page_token.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
+
52
202
  # Gets information about a location.
53
203
  # @param [String] name
54
204
  # Resource name for the location.
@@ -122,6 +272,127 @@ module Google
122
272
  execute_or_queue_command(command, &block)
123
273
  end
124
274
 
275
+ # Gets the access control policy for a resource. Returns an empty policy if the
276
+ # resource exists and does not have a policy set.
277
+ # @param [String] resource
278
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
279
+ # names](https://cloud.google.com/apis/design/resource_names) for the
280
+ # appropriate value for this field.
281
+ # @param [Fixnum] options_requested_policy_version
282
+ # Optional. The maximum policy version that will be used to format the policy.
283
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
284
+ # rejected. Requests for policies with any conditional role bindings must
285
+ # specify version 3. Policies with no conditional role bindings may specify any
286
+ # valid value or leave the field unset. The policy in the response might use the
287
+ # policy version that you specified, or it might use a lower policy version. For
288
+ # example, if you specify version 3, but the policy has no conditional role
289
+ # bindings, the response uses version 1. To learn which resources support
290
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
291
+ # google.com/iam/help/conditions/resource-policies).
292
+ # @param [String] fields
293
+ # Selector specifying which fields to include in a partial response.
294
+ # @param [String] quota_user
295
+ # Available to use for quota purposes for server-side applications. Can be any
296
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
297
+ # @param [Google::Apis::RequestOptions] options
298
+ # Request-specific options
299
+ #
300
+ # @yield [result, err] Result & error if block supplied
301
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy] parsed result object
302
+ # @yieldparam err [StandardError] error object if request failed
303
+ #
304
+ # @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
305
+ #
306
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
307
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
308
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
309
+ def get_project_location_address_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
310
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
311
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
312
+ command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy
313
+ command.params['resource'] = resource unless resource.nil?
314
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
315
+ command.query['fields'] = fields unless fields.nil?
316
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
317
+ execute_or_queue_command(command, &block)
318
+ end
319
+
320
+ # Sets the access control policy on the specified resource. Replaces any
321
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
322
+ # PERMISSION_DENIED` errors.
323
+ # @param [String] resource
324
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
325
+ # names](https://cloud.google.com/apis/design/resource_names) for the
326
+ # appropriate value for this field.
327
+ # @param [Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
328
+ # @param [String] fields
329
+ # Selector specifying which fields to include in a partial response.
330
+ # @param [String] quota_user
331
+ # Available to use for quota purposes for server-side applications. Can be any
332
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
333
+ # @param [Google::Apis::RequestOptions] options
334
+ # Request-specific options
335
+ #
336
+ # @yield [result, err] Result & error if block supplied
337
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy] parsed result object
338
+ # @yieldparam err [StandardError] error object if request failed
339
+ #
340
+ # @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
341
+ #
342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
345
+ def set_project_location_address_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
346
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
347
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
348
+ command.request_object = google_iam_v1_set_iam_policy_request_object
349
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
350
+ command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy
351
+ command.params['resource'] = resource unless resource.nil?
352
+ command.query['fields'] = fields unless fields.nil?
353
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
354
+ execute_or_queue_command(command, &block)
355
+ end
356
+
357
+ # Returns permissions that a caller has on the specified resource. If the
358
+ # resource does not exist, this will return an empty set of permissions, not a `
359
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
360
+ # permission-aware UIs and command-line tools, not for authorization checking.
361
+ # This operation may "fail open" without warning.
362
+ # @param [String] resource
363
+ # REQUIRED: The resource for which the policy detail is being requested. See [
364
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
365
+ # appropriate value for this field.
366
+ # @param [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
367
+ # @param [String] fields
368
+ # Selector specifying which fields to include in a partial response.
369
+ # @param [String] quota_user
370
+ # Available to use for quota purposes for server-side applications. Can be any
371
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
372
+ # @param [Google::Apis::RequestOptions] options
373
+ # Request-specific options
374
+ #
375
+ # @yield [result, err] Result & error if block supplied
376
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
377
+ # @yieldparam err [StandardError] error object if request failed
378
+ #
379
+ # @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse]
380
+ #
381
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
382
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
383
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
384
+ def test_project_location_address_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
385
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
386
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
387
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
388
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
389
+ command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse
390
+ command.params['resource'] = resource unless resource.nil?
391
+ command.query['fields'] = fields unless fields.nil?
392
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
393
+ execute_or_queue_command(command, &block)
394
+ end
395
+
125
396
  # Creates a new AuthorizationPolicy in a given project and location.
126
397
  # @param [String] parent
127
398
  # Required. The parent resource of the AuthorizationPolicy. Must be in the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 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/main/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []