google-apis-beyondcorp_v1 0.15.0 → 0.17.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: b8dc270ccfceea41206710cfdbdd0872338e03f73c887418fc644ffd6710a4f5
4
- data.tar.gz: 55799fc741d37aef682ab053680a75fad23f8137ed76d8a54569ea8ebaf67178
3
+ metadata.gz: e60990c0f25932916e8179c9b3a353ec9231d88ed84c6d71d386b90124e75c43
4
+ data.tar.gz: 685cc5181193037371ae0f035e18ba21846fa9cbefc45893702be1ddee08ac95
5
5
  SHA512:
6
- metadata.gz: d55461c39f8aa5ec0db661099ca1d0cc520e653c92439e00cb15a88b7d1c4edd0797293d94325a1db7a185f5a7e05d2580de3e47e04fd159197c4efb8922dd0d
7
- data.tar.gz: d47de4ca6bdaefa532f4e50a136a325fbbe6385680b3eadf8607bb664c0aa380c6c1b55e30b1e2a2289126fca64437e81e58487ab769f782bbe8b7d4dd78a46f
6
+ metadata.gz: b3ef62c5bf92c8a785f38960f483937273f86d519acd7ca9af78cf98991a45636978e046ce4aea93eeb6b8cb6ba94b09cefa45b14f0f0db417e5757c393d6229
7
+ data.tar.gz: 13761f56a9b135cdcecc6bd786c698bae29a6791476b34bbbd165092289921d258bf73f387291a1384b11a01b7cc8b5ec677a630bc555235cbf2404e8a8a6d40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1
2
2
 
3
+ ### v0.17.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230616
6
+
7
+ ### v0.16.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230517
10
+
3
11
  ### v0.15.0 (2023-05-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20230509
@@ -1360,124 +1360,6 @@ module Google
1360
1360
  end
1361
1361
  end
1362
1362
 
1363
- # Represents the metadata of the long-running operation.
1364
- class GoogleCloudBeyondcorpClientconnectorservicesV1alphaClientConnectorServiceOperationMetadata
1365
- include Google::Apis::Core::Hashable
1366
-
1367
- # Output only. API version used to start the operation.
1368
- # Corresponds to the JSON property `apiVersion`
1369
- # @return [String]
1370
- attr_accessor :api_version
1371
-
1372
- # Output only. The time the operation was created.
1373
- # Corresponds to the JSON property `createTime`
1374
- # @return [String]
1375
- attr_accessor :create_time
1376
-
1377
- # Output only. The time the operation finished running.
1378
- # Corresponds to the JSON property `endTime`
1379
- # @return [String]
1380
- attr_accessor :end_time
1381
-
1382
- # Output only. Identifies whether the user has requested cancellation of the
1383
- # operation. Operations that have successfully been cancelled have Operation.
1384
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1385
- # CANCELLED`.
1386
- # Corresponds to the JSON property `requestedCancellation`
1387
- # @return [Boolean]
1388
- attr_accessor :requested_cancellation
1389
- alias_method :requested_cancellation?, :requested_cancellation
1390
-
1391
- # Output only. Human-readable status of the operation, if any.
1392
- # Corresponds to the JSON property `statusMessage`
1393
- # @return [String]
1394
- attr_accessor :status_message
1395
-
1396
- # Output only. Server-defined resource path for the target of the operation.
1397
- # Corresponds to the JSON property `target`
1398
- # @return [String]
1399
- attr_accessor :target
1400
-
1401
- # Output only. Name of the verb executed by the operation.
1402
- # Corresponds to the JSON property `verb`
1403
- # @return [String]
1404
- attr_accessor :verb
1405
-
1406
- def initialize(**args)
1407
- update!(**args)
1408
- end
1409
-
1410
- # Update properties of this object
1411
- def update!(**args)
1412
- @api_version = args[:api_version] if args.key?(:api_version)
1413
- @create_time = args[:create_time] if args.key?(:create_time)
1414
- @end_time = args[:end_time] if args.key?(:end_time)
1415
- @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1416
- @status_message = args[:status_message] if args.key?(:status_message)
1417
- @target = args[:target] if args.key?(:target)
1418
- @verb = args[:verb] if args.key?(:verb)
1419
- end
1420
- end
1421
-
1422
- # Represents the metadata of the long-running operation.
1423
- class GoogleCloudBeyondcorpClientgatewaysV1alphaClientGatewayOperationMetadata
1424
- include Google::Apis::Core::Hashable
1425
-
1426
- # Output only. API version used to start the operation.
1427
- # Corresponds to the JSON property `apiVersion`
1428
- # @return [String]
1429
- attr_accessor :api_version
1430
-
1431
- # Output only. The time the operation was created.
1432
- # Corresponds to the JSON property `createTime`
1433
- # @return [String]
1434
- attr_accessor :create_time
1435
-
1436
- # Output only. The time the operation finished running.
1437
- # Corresponds to the JSON property `endTime`
1438
- # @return [String]
1439
- attr_accessor :end_time
1440
-
1441
- # Output only. Identifies whether the user has requested cancellation of the
1442
- # operation. Operations that have been cancelled successfully have Operation.
1443
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1444
- # CANCELLED`.
1445
- # Corresponds to the JSON property `requestedCancellation`
1446
- # @return [Boolean]
1447
- attr_accessor :requested_cancellation
1448
- alias_method :requested_cancellation?, :requested_cancellation
1449
-
1450
- # Output only. Human-readable status of the operation, if any.
1451
- # Corresponds to the JSON property `statusMessage`
1452
- # @return [String]
1453
- attr_accessor :status_message
1454
-
1455
- # Output only. Server-defined resource path for the target of the operation.
1456
- # Corresponds to the JSON property `target`
1457
- # @return [String]
1458
- attr_accessor :target
1459
-
1460
- # Output only. Name of the verb executed by the operation.
1461
- # Corresponds to the JSON property `verb`
1462
- # @return [String]
1463
- attr_accessor :verb
1464
-
1465
- def initialize(**args)
1466
- update!(**args)
1467
- end
1468
-
1469
- # Update properties of this object
1470
- def update!(**args)
1471
- @api_version = args[:api_version] if args.key?(:api_version)
1472
- @create_time = args[:create_time] if args.key?(:create_time)
1473
- @end_time = args[:end_time] if args.key?(:end_time)
1474
- @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1475
- @status_message = args[:status_message] if args.key?(:status_message)
1476
- @target = args[:target] if args.key?(:target)
1477
- @verb = args[:verb] if args.key?(:verb)
1478
- end
1479
- end
1480
-
1481
1363
  # Represents the metadata of the long-running operation.
1482
1364
  class GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata
1483
1365
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1
18
18
  # Version of the google-apis-beyondcorp_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230509"
25
+ REVISION = "20230616"
26
26
  end
27
27
  end
28
28
  end
@@ -226,18 +226,6 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class GoogleCloudBeyondcorpClientconnectorservicesV1alphaClientConnectorServiceOperationMetadata
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
- class GoogleCloudBeyondcorpClientgatewaysV1alphaClientGatewayOperationMetadata
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
229
  class GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata
242
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
231
 
@@ -730,32 +718,6 @@ module Google
730
718
  end
731
719
  end
732
720
 
733
- class GoogleCloudBeyondcorpClientconnectorservicesV1alphaClientConnectorServiceOperationMetadata
734
- # @private
735
- class Representation < Google::Apis::Core::JsonRepresentation
736
- property :api_version, as: 'apiVersion'
737
- property :create_time, as: 'createTime'
738
- property :end_time, as: 'endTime'
739
- property :requested_cancellation, as: 'requestedCancellation'
740
- property :status_message, as: 'statusMessage'
741
- property :target, as: 'target'
742
- property :verb, as: 'verb'
743
- end
744
- end
745
-
746
- class GoogleCloudBeyondcorpClientgatewaysV1alphaClientGatewayOperationMetadata
747
- # @private
748
- class Representation < Google::Apis::Core::JsonRepresentation
749
- property :api_version, as: 'apiVersion'
750
- property :create_time, as: 'createTime'
751
- property :end_time, as: 'endTime'
752
- property :requested_cancellation, as: 'requestedCancellation'
753
- property :status_message, as: 'statusMessage'
754
- property :target, as: 'target'
755
- property :verb, as: 'verb'
756
- end
757
- end
758
-
759
721
  class GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata
760
722
  # @private
761
723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -52,98 +52,17 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
- # Gets the access control policy for a resource. Returns an empty policy if the
56
- # resource exists and does not have a policy set.
57
- # @param [String] resource
58
- # REQUIRED: The resource for which the policy is being requested. See [Resource
59
- # names](https://cloud.google.com/apis/design/resource_names) for the
60
- # appropriate value for this field.
61
- # @param [Fixnum] options_requested_policy_version
62
- # Optional. The maximum policy version that will be used to format the policy.
63
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
64
- # rejected. Requests for policies with any conditional role bindings must
65
- # specify version 3. Policies with no conditional role bindings may specify any
66
- # valid value or leave the field unset. The policy in the response might use the
67
- # policy version that you specified, or it might use a lower policy version. For
68
- # example, if you specify version 3, but the policy has no conditional role
69
- # bindings, the response uses version 1. To learn which resources support
70
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
71
- # google.com/iam/help/conditions/resource-policies).
72
- # @param [String] fields
73
- # Selector specifying which fields to include in a partial response.
74
- # @param [String] quota_user
75
- # Available to use for quota purposes for server-side applications. Can be any
76
- # arbitrary string assigned to a user, but should not exceed 40 characters.
77
- # @param [Google::Apis::RequestOptions] options
78
- # Request-specific options
79
- #
80
- # @yield [result, err] Result & error if block supplied
81
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
82
- # @yieldparam err [StandardError] error object if request failed
83
- #
84
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
85
- #
86
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
87
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
88
- # @raise [Google::Apis::AuthorizationError] Authorization is required
89
- def get_organization_location_global_partner_tenant_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
90
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
91
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
92
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
93
- command.params['resource'] = resource unless resource.nil?
94
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
95
- command.query['fields'] = fields unless fields.nil?
96
- command.query['quotaUser'] = quota_user unless quota_user.nil?
97
- execute_or_queue_command(command, &block)
98
- end
99
-
100
- # Sets the access control policy on the specified resource. Replaces any
101
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
102
- # PERMISSION_DENIED` errors.
103
- # @param [String] resource
104
- # REQUIRED: The resource for which the policy is being specified. See [Resource
105
- # names](https://cloud.google.com/apis/design/resource_names) for the
106
- # appropriate value for this field.
107
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
108
- # @param [String] fields
109
- # Selector specifying which fields to include in a partial response.
110
- # @param [String] quota_user
111
- # Available to use for quota purposes for server-side applications. Can be any
112
- # arbitrary string assigned to a user, but should not exceed 40 characters.
113
- # @param [Google::Apis::RequestOptions] options
114
- # Request-specific options
115
- #
116
- # @yield [result, err] Result & error if block supplied
117
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
118
- # @yieldparam err [StandardError] error object if request failed
119
- #
120
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
121
- #
122
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
- # @raise [Google::Apis::AuthorizationError] Authorization is required
125
- def set_organization_location_global_partner_tenant_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
126
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
127
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
128
- command.request_object = google_iam_v1_set_iam_policy_request_object
129
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
130
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
131
- command.params['resource'] = resource unless resource.nil?
132
- command.query['fields'] = fields unless fields.nil?
133
- command.query['quotaUser'] = quota_user unless quota_user.nil?
134
- execute_or_queue_command(command, &block)
135
- end
136
-
137
- # Returns permissions that a caller has on the specified resource. If the
138
- # resource does not exist, this will return an empty set of permissions, not a `
139
- # NOT_FOUND` error. Note: This operation is designed to be used for building
140
- # permission-aware UIs and command-line tools, not for authorization checking.
141
- # This operation may "fail open" without warning.
142
- # @param [String] resource
143
- # REQUIRED: The resource for which the policy detail is being requested. See [
144
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
145
- # appropriate value for this field.
146
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
55
+ # Starts asynchronous cancellation on a long-running operation. The server makes
56
+ # a best effort to cancel the operation, but success is not guaranteed. If the
57
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
58
+ # Clients can use Operations.GetOperation or other methods to check whether the
59
+ # cancellation succeeded or whether the operation completed despite cancellation.
60
+ # On successful cancellation, the operation is not deleted; instead, it becomes
61
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
62
+ # corresponding to `Code.CANCELLED`.
63
+ # @param [String] name
64
+ # The name of the operation resource to be cancelled.
65
+ # @param [Google::Apis::BeyondcorpV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
147
66
  # @param [String] fields
148
67
  # Selector specifying which fields to include in a partial response.
149
68
  # @param [String] quota_user
@@ -153,43 +72,32 @@ module Google
153
72
  # Request-specific options
154
73
  #
155
74
  # @yield [result, err] Result & error if block supplied
156
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
75
+ # @yieldparam result [Google::Apis::BeyondcorpV1::Empty] parsed result object
157
76
  # @yieldparam err [StandardError] error object if request failed
158
77
  #
159
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
78
+ # @return [Google::Apis::BeyondcorpV1::Empty]
160
79
  #
161
80
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
162
81
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
82
  # @raise [Google::Apis::AuthorizationError] Authorization is required
164
- def test_organization_location_global_partner_tenant_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
165
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
166
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
167
- command.request_object = google_iam_v1_test_iam_permissions_request_object
168
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
169
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
170
- command.params['resource'] = resource unless resource.nil?
83
+ def cancel_organization_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
84
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
85
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningCancelOperationRequest::Representation
86
+ command.request_object = google_longrunning_cancel_operation_request_object
87
+ command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation
88
+ command.response_class = Google::Apis::BeyondcorpV1::Empty
89
+ command.params['name'] = name unless name.nil?
171
90
  command.query['fields'] = fields unless fields.nil?
172
91
  command.query['quotaUser'] = quota_user unless quota_user.nil?
173
92
  execute_or_queue_command(command, &block)
174
93
  end
175
94
 
176
- # Gets the access control policy for a resource. Returns an empty policy if the
177
- # resource exists and does not have a policy set.
178
- # @param [String] resource
179
- # REQUIRED: The resource for which the policy is being requested. See [Resource
180
- # names](https://cloud.google.com/apis/design/resource_names) for the
181
- # appropriate value for this field.
182
- # @param [Fixnum] options_requested_policy_version
183
- # Optional. The maximum policy version that will be used to format the policy.
184
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
185
- # rejected. Requests for policies with any conditional role bindings must
186
- # specify version 3. Policies with no conditional role bindings may specify any
187
- # valid value or leave the field unset. The policy in the response might use the
188
- # policy version that you specified, or it might use a lower policy version. For
189
- # example, if you specify version 3, but the policy has no conditional role
190
- # bindings, the response uses version 1. To learn which resources support
191
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
192
- # google.com/iam/help/conditions/resource-policies).
95
+ # Deletes a long-running operation. This method indicates that the client is no
96
+ # longer interested in the operation result. It does not cancel the operation.
97
+ # If the server doesn't support this method, it returns `google.rpc.Code.
98
+ # UNIMPLEMENTED`.
99
+ # @param [String] name
100
+ # The name of the operation resource to be deleted.
193
101
  # @param [String] fields
194
102
  # Selector specifying which fields to include in a partial response.
195
103
  # @param [String] quota_user
@@ -199,33 +107,28 @@ module Google
199
107
  # Request-specific options
200
108
  #
201
109
  # @yield [result, err] Result & error if block supplied
202
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
110
+ # @yieldparam result [Google::Apis::BeyondcorpV1::Empty] parsed result object
203
111
  # @yieldparam err [StandardError] error object if request failed
204
112
  #
205
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
113
+ # @return [Google::Apis::BeyondcorpV1::Empty]
206
114
  #
207
115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
208
116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
209
117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
210
- def get_organization_location_global_partner_tenant_proxy_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
211
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
212
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
213
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
214
- command.params['resource'] = resource unless resource.nil?
215
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
118
+ def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
119
+ command = make_simple_command(:delete, 'v1/{+name}', options)
120
+ command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation
121
+ command.response_class = Google::Apis::BeyondcorpV1::Empty
122
+ command.params['name'] = name unless name.nil?
216
123
  command.query['fields'] = fields unless fields.nil?
217
124
  command.query['quotaUser'] = quota_user unless quota_user.nil?
218
125
  execute_or_queue_command(command, &block)
219
126
  end
220
127
 
221
- # Sets the access control policy on the specified resource. Replaces any
222
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
223
- # PERMISSION_DENIED` errors.
224
- # @param [String] resource
225
- # REQUIRED: The resource for which the policy is being specified. See [Resource
226
- # names](https://cloud.google.com/apis/design/resource_names) for the
227
- # appropriate value for this field.
228
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
128
+ # Gets the latest state of a long-running operation. Clients can use this method
129
+ # to poll the operation result at intervals as recommended by the API service.
130
+ # @param [String] name
131
+ # The name of the operation resource.
229
132
  # @param [String] fields
230
133
  # Selector specifying which fields to include in a partial response.
231
134
  # @param [String] quota_user
@@ -235,36 +138,34 @@ module Google
235
138
  # Request-specific options
236
139
  #
237
140
  # @yield [result, err] Result & error if block supplied
238
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
141
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
239
142
  # @yieldparam err [StandardError] error object if request failed
240
143
  #
241
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
144
+ # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
242
145
  #
243
146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
244
147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
245
148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
246
- def set_organization_location_global_partner_tenant_proxy_config_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
247
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
248
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
249
- command.request_object = google_iam_v1_set_iam_policy_request_object
250
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
251
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
252
- command.params['resource'] = resource unless resource.nil?
149
+ def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
150
+ command = make_simple_command(:get, 'v1/{+name}', options)
151
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
152
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
153
+ command.params['name'] = name unless name.nil?
253
154
  command.query['fields'] = fields unless fields.nil?
254
155
  command.query['quotaUser'] = quota_user unless quota_user.nil?
255
156
  execute_or_queue_command(command, &block)
256
157
  end
257
158
 
258
- # Returns permissions that a caller has on the specified resource. If the
259
- # resource does not exist, this will return an empty set of permissions, not a `
260
- # NOT_FOUND` error. Note: This operation is designed to be used for building
261
- # permission-aware UIs and command-line tools, not for authorization checking.
262
- # This operation may "fail open" without warning.
263
- # @param [String] resource
264
- # REQUIRED: The resource for which the policy detail is being requested. See [
265
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
266
- # appropriate value for this field.
267
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
159
+ # Lists operations that match the specified filter in the request. If the server
160
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
161
+ # @param [String] name
162
+ # The name of the operation's parent resource.
163
+ # @param [String] filter
164
+ # The standard list filter.
165
+ # @param [Fixnum] page_size
166
+ # The standard list page size.
167
+ # @param [String] page_token
168
+ # The standard list page token.
268
169
  # @param [String] fields
269
170
  # Selector specifying which fields to include in a partial response.
270
171
  # @param [String] quota_user
@@ -274,21 +175,22 @@ module Google
274
175
  # Request-specific options
275
176
  #
276
177
  # @yield [result, err] Result & error if block supplied
277
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
178
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse] parsed result object
278
179
  # @yieldparam err [StandardError] error object if request failed
279
180
  #
280
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
181
+ # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse]
281
182
  #
282
183
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283
184
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284
185
  # @raise [Google::Apis::AuthorizationError] Authorization is required
285
- def test_organization_location_global_partner_tenant_proxy_config_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
286
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
287
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
288
- command.request_object = google_iam_v1_test_iam_permissions_request_object
289
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
290
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
291
- command.params['resource'] = resource unless resource.nil?
186
+ def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
188
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse::Representation
189
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse
190
+ command.params['name'] = name unless name.nil?
191
+ command.query['filter'] = filter unless filter.nil?
192
+ command.query['pageSize'] = page_size unless page_size.nil?
193
+ command.query['pageToken'] = page_token unless page_token.nil?
292
194
  command.query['fields'] = fields unless fields.nil?
293
195
  command.query['quotaUser'] = quota_user unless quota_user.nil?
294
196
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.17.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: 2023-05-21 00:00:00.000000000 Z
11
+ date: 2023-06-25 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-beyondcorp_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
63
63
  post_install_message:
64
64
  rdoc_options: []