google-apis-beyondcorp_v1alpha 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +26 -415
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +15 -181
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +371 -484
- metadata +3 -3
@@ -222,26 +222,6 @@ module Google
|
|
222
222
|
# @param [String] parent
|
223
223
|
# Required. The parent organization to which the PartnerTenants belong. Format: `
|
224
224
|
# organizations/`organization_id`/locations/global`
|
225
|
-
# @param [String] filter
|
226
|
-
# Optional. Filter partnerTenants to be returned. See [List Sub-Collections] (
|
227
|
-
# https://cloud.google.com/apis/design/design_patterns#list_sub-collections) for
|
228
|
-
# more details. All fields can be used in the filter. Usage: field_filter="
|
229
|
-
# fieldName1=fieldVal1 AND fieldName2=fieldVal2". NOTE: Only `AND` conditions
|
230
|
-
# are allowed.
|
231
|
-
# @param [String] order_by
|
232
|
-
# Optional. Specifies the ordering of results. Currently, only ordering by the "
|
233
|
-
# name" and "create_time" fields are supported. See [Sorting order](https://
|
234
|
-
# cloud.google.com/apis/design/design_patterns#sorting_order) for more
|
235
|
-
# information.
|
236
|
-
# @param [Fixnum] page_size
|
237
|
-
# Optional. The maximum number of items to return. The service may return fewer
|
238
|
-
# than this value. If unspecified, at most 50 items will be returned. The
|
239
|
-
# maximum value is 1000; values above 1000 are coerced to 1000. Regardless of
|
240
|
-
# the page_size value, the response may include a partial list and a caller
|
241
|
-
# should only rely on response's next_page_token to determine if there are more
|
242
|
-
# instances left to be queried.
|
243
|
-
# @param [String] page_token
|
244
|
-
# Optional. A token identifying a page of results the server should return.
|
245
225
|
# @param [String] fields
|
246
226
|
# Selector specifying which fields to include in a partial response.
|
247
227
|
# @param [String] quota_user
|
@@ -259,15 +239,11 @@ module Google
|
|
259
239
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
260
240
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
261
241
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
262
|
-
def list_organization_location_global_partner_tenants(parent,
|
242
|
+
def list_organization_location_global_partner_tenants(parent, fields: nil, quota_user: nil, options: nil, &block)
|
263
243
|
command = make_simple_command(:get, 'v1alpha/{+parent}/partnerTenants', options)
|
264
244
|
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse::Representation
|
265
245
|
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
266
246
|
command.params['parent'] = parent unless parent.nil?
|
267
|
-
command.query['filter'] = filter unless filter.nil?
|
268
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
269
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
270
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
271
247
|
command.query['fields'] = fields unless fields.nil?
|
272
248
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
249
|
execute_or_queue_command(command, &block)
|
@@ -449,6 +425,50 @@ module Google
|
|
449
425
|
execute_or_queue_command(command, &block)
|
450
426
|
end
|
451
427
|
|
428
|
+
# Deletes an existing BrowserDlpRule.
|
429
|
+
# @param [String] name
|
430
|
+
# Required. The resource name of the BrowserDlpRule using the form: `
|
431
|
+
# organizations/`organization_id`/locations/global/partnerTenants/`
|
432
|
+
# partner_tenant_id`/browserDlpRules/`browser_dlp_rule_id``
|
433
|
+
# @param [String] request_id
|
434
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
435
|
+
# request ID so that if you must retry your request, the server will know to
|
436
|
+
# ignore the request if it has already been completed. The server will guarantee
|
437
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
438
|
+
# situation where you make an initial request and the request times out. If you
|
439
|
+
# make the request again with the same request ID, the server can check if
|
440
|
+
# original operation with the same request ID was received, and if so, will
|
441
|
+
# ignore the second request. This prevents clients from accidentally creating
|
442
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
443
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
444
|
+
# @param [String] fields
|
445
|
+
# Selector specifying which fields to include in a partial response.
|
446
|
+
# @param [String] quota_user
|
447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
449
|
+
# @param [Google::Apis::RequestOptions] options
|
450
|
+
# Request-specific options
|
451
|
+
#
|
452
|
+
# @yield [result, err] Result & error if block supplied
|
453
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
454
|
+
# @yieldparam err [StandardError] error object if request failed
|
455
|
+
#
|
456
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
457
|
+
#
|
458
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
459
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
460
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
461
|
+
def delete_organization_location_global_partner_tenant_browser_dlp_rule(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
462
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
463
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
464
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
465
|
+
command.params['name'] = name unless name.nil?
|
466
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
467
|
+
command.query['fields'] = fields unless fields.nil?
|
468
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
469
|
+
execute_or_queue_command(command, &block)
|
470
|
+
end
|
471
|
+
|
452
472
|
# Gets details of a single BrowserDlpRule.
|
453
473
|
# @param [String] name
|
454
474
|
# Required. The resource name of the BrowserDlpRule using the form: `
|
@@ -526,6 +546,55 @@ module Google
|
|
526
546
|
execute_or_queue_command(command, &block)
|
527
547
|
end
|
528
548
|
|
549
|
+
# Update an existing BrowserDlpRule in a given organization and PartnerTenant.
|
550
|
+
# @param [String] name
|
551
|
+
# Output only. Unique resource name. The name is ignored when creating
|
552
|
+
# BrowserDlpRule.
|
553
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
|
554
|
+
# @param [String] request_id
|
555
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
556
|
+
# request ID so that if you must retry your request, the server will know to
|
557
|
+
# ignore the request if it has already been completed. The server will guarantee
|
558
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
559
|
+
# situation where you make an initial request and the request times out. If you
|
560
|
+
# make the request again with the same request ID, the server can check if
|
561
|
+
# original operation with the same request ID was received, and if so, will
|
562
|
+
# ignore the second request. This prevents clients from accidentally creating
|
563
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
564
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
565
|
+
# @param [String] update_mask
|
566
|
+
# Required. Supported fields include: rule_setting.value.*, group.id/group.email.
|
567
|
+
# @param [String] fields
|
568
|
+
# Selector specifying which fields to include in a partial response.
|
569
|
+
# @param [String] quota_user
|
570
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
571
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
572
|
+
# @param [Google::Apis::RequestOptions] options
|
573
|
+
# Request-specific options
|
574
|
+
#
|
575
|
+
# @yield [result, err] Result & error if block supplied
|
576
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
577
|
+
# @yieldparam err [StandardError] error object if request failed
|
578
|
+
#
|
579
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
580
|
+
#
|
581
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
582
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
583
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
584
|
+
def patch_organization_location_global_partner_tenant_browser_dlp_rule(name, google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
585
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
586
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
|
587
|
+
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
|
588
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
589
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
590
|
+
command.params['name'] = name unless name.nil?
|
591
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
592
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
593
|
+
command.query['fields'] = fields unless fields.nil?
|
594
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
595
|
+
execute_or_queue_command(command, &block)
|
596
|
+
end
|
597
|
+
|
529
598
|
# Sets the access control policy on the specified resource. Replaces any
|
530
599
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
531
600
|
# PERMISSION_DENIED` errors.
|
@@ -769,6 +838,87 @@ module Google
|
|
769
838
|
execute_or_queue_command(command, &block)
|
770
839
|
end
|
771
840
|
|
841
|
+
# Lists ProxyConfigs for PartnerTenant in a given organization.
|
842
|
+
# @param [String] parent
|
843
|
+
# Required. The parent organization to which the ProxyConfigs belong. Format: `
|
844
|
+
# organizations/`organization_id`/locations/global/partnerTenants/`
|
845
|
+
# partner_tenant_id``
|
846
|
+
# @param [String] fields
|
847
|
+
# Selector specifying which fields to include in a partial response.
|
848
|
+
# @param [String] quota_user
|
849
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
850
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
851
|
+
# @param [Google::Apis::RequestOptions] options
|
852
|
+
# Request-specific options
|
853
|
+
#
|
854
|
+
# @yield [result, err] Result & error if block supplied
|
855
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse] parsed result object
|
856
|
+
# @yieldparam err [StandardError] error object if request failed
|
857
|
+
#
|
858
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse]
|
859
|
+
#
|
860
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
861
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
862
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
863
|
+
def list_organization_location_global_partner_tenant_proxy_configs(parent, fields: nil, quota_user: nil, options: nil, &block)
|
864
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/proxyConfigs', options)
|
865
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse::Representation
|
866
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse
|
867
|
+
command.params['parent'] = parent unless parent.nil?
|
868
|
+
command.query['fields'] = fields unless fields.nil?
|
869
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
870
|
+
execute_or_queue_command(command, &block)
|
871
|
+
end
|
872
|
+
|
873
|
+
# Updates a single proxy config.
|
874
|
+
# @param [String] name
|
875
|
+
# Output only. ProxyConfig resource name.
|
876
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
877
|
+
# @param [String] request_id
|
878
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
879
|
+
# request ID so that if you must retry your request, the server will know to
|
880
|
+
# ignore the request if it has already been completed. The server will guarantee
|
881
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
882
|
+
# situation where you make an initial request and the request times out. If you
|
883
|
+
# make the request again with the same request ID, the server can check if
|
884
|
+
# original operation with the same request ID was received, and if so, will
|
885
|
+
# ignore the second request. This prevents clients from accidentally creating
|
886
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
887
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
888
|
+
# @param [String] update_mask
|
889
|
+
# Required. Mutable fields include: display_name, proxy_uri, routing_info,
|
890
|
+
# transport_info, encryption_info.
|
891
|
+
# @param [String] fields
|
892
|
+
# Selector specifying which fields to include in a partial response.
|
893
|
+
# @param [String] quota_user
|
894
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
895
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
896
|
+
# @param [Google::Apis::RequestOptions] options
|
897
|
+
# Request-specific options
|
898
|
+
#
|
899
|
+
# @yield [result, err] Result & error if block supplied
|
900
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
901
|
+
# @yieldparam err [StandardError] error object if request failed
|
902
|
+
#
|
903
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
904
|
+
#
|
905
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
906
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
907
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
908
|
+
def patch_organization_location_global_partner_tenant_proxy_config(name, google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
909
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
910
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
|
911
|
+
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
912
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
913
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
914
|
+
command.params['name'] = name unless name.nil?
|
915
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
916
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
917
|
+
command.query['fields'] = fields unless fields.nil?
|
918
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
919
|
+
execute_or_queue_command(command, &block)
|
920
|
+
end
|
921
|
+
|
772
922
|
# Sets the access control policy on the specified resource. Replaces any
|
773
923
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
774
924
|
# PERMISSION_DENIED` errors.
|
@@ -1268,13 +1418,17 @@ module Google
|
|
1268
1418
|
execute_or_queue_command(command, &block)
|
1269
1419
|
end
|
1270
1420
|
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
#
|
1276
|
-
#
|
1277
|
-
#
|
1421
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1422
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1423
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1424
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1425
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1426
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1427
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
1428
|
+
# corresponding to `Code.CANCELLED`.
|
1429
|
+
# @param [String] name
|
1430
|
+
# The name of the operation resource to be cancelled.
|
1431
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
1278
1432
|
# @param [String] fields
|
1279
1433
|
# Selector specifying which fields to include in a partial response.
|
1280
1434
|
# @param [String] quota_user
|
@@ -1284,30 +1438,32 @@ module Google
|
|
1284
1438
|
# Request-specific options
|
1285
1439
|
#
|
1286
1440
|
# @yield [result, err] Result & error if block supplied
|
1287
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::
|
1441
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::Empty] parsed result object
|
1288
1442
|
# @yieldparam err [StandardError] error object if request failed
|
1289
1443
|
#
|
1290
|
-
# @return [Google::Apis::BeyondcorpV1alpha::
|
1444
|
+
# @return [Google::Apis::BeyondcorpV1alpha::Empty]
|
1291
1445
|
#
|
1292
1446
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1293
1447
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1294
1448
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1295
|
-
def
|
1296
|
-
command = make_simple_command(:post, 'v1alpha/{+
|
1297
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::
|
1298
|
-
command.request_object =
|
1299
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::
|
1300
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::
|
1301
|
-
command.params['
|
1449
|
+
def cancel_organization_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1450
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
|
1451
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningCancelOperationRequest::Representation
|
1452
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
1453
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::Empty::Representation
|
1454
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::Empty
|
1455
|
+
command.params['name'] = name unless name.nil?
|
1302
1456
|
command.query['fields'] = fields unless fields.nil?
|
1303
1457
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1304
1458
|
execute_or_queue_command(command, &block)
|
1305
1459
|
end
|
1306
1460
|
|
1307
|
-
#
|
1461
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
1462
|
+
# longer interested in the operation result. It does not cancel the operation.
|
1463
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1464
|
+
# UNIMPLEMENTED`.
|
1308
1465
|
# @param [String] name
|
1309
|
-
#
|
1310
|
-
# organization_id`/locations/`location`/subscriptions/`subscription_id``
|
1466
|
+
# The name of the operation resource to be deleted.
|
1311
1467
|
# @param [String] fields
|
1312
1468
|
# Selector specifying which fields to include in a partial response.
|
1313
1469
|
# @param [String] quota_user
|
@@ -1317,37 +1473,28 @@ module Google
|
|
1317
1473
|
# Request-specific options
|
1318
1474
|
#
|
1319
1475
|
# @yield [result, err] Result & error if block supplied
|
1320
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::
|
1476
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::Empty] parsed result object
|
1321
1477
|
# @yieldparam err [StandardError] error object if request failed
|
1322
1478
|
#
|
1323
|
-
# @return [Google::Apis::BeyondcorpV1alpha::
|
1479
|
+
# @return [Google::Apis::BeyondcorpV1alpha::Empty]
|
1324
1480
|
#
|
1325
1481
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1326
1482
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1327
1483
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1328
|
-
def
|
1329
|
-
command = make_simple_command(:
|
1330
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::
|
1331
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::
|
1484
|
+
def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1485
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1486
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::Empty::Representation
|
1487
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::Empty
|
1332
1488
|
command.params['name'] = name unless name.nil?
|
1333
1489
|
command.query['fields'] = fields unless fields.nil?
|
1334
1490
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1335
1491
|
execute_or_queue_command(command, &block)
|
1336
1492
|
end
|
1337
1493
|
|
1338
|
-
#
|
1339
|
-
#
|
1340
|
-
#
|
1341
|
-
#
|
1342
|
-
# @param [Fixnum] page_size
|
1343
|
-
# Optional. The maximum number of items to return. If not specified, a default
|
1344
|
-
# value of 50 will be used by the service. Regardless of the page_size value,
|
1345
|
-
# the response may include a partial list and a caller should only rely on
|
1346
|
-
# response's next_page_token to determine if there are more instances left to be
|
1347
|
-
# queried.
|
1348
|
-
# @param [String] page_token
|
1349
|
-
# Optional. The next_page_token value returned from a previous
|
1350
|
-
# ListSubscriptionsRequest, if any.
|
1494
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1495
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1496
|
+
# @param [String] name
|
1497
|
+
# The name of the operation resource.
|
1351
1498
|
# @param [String] fields
|
1352
1499
|
# Selector specifying which fields to include in a partial response.
|
1353
1500
|
# @param [String] quota_user
|
@@ -1357,32 +1504,179 @@ module Google
|
|
1357
1504
|
# Request-specific options
|
1358
1505
|
#
|
1359
1506
|
# @yield [result, err] Result & error if block supplied
|
1360
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::
|
1507
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1361
1508
|
# @yieldparam err [StandardError] error object if request failed
|
1362
1509
|
#
|
1363
|
-
# @return [Google::Apis::BeyondcorpV1alpha::
|
1510
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1364
1511
|
#
|
1365
1512
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1366
1513
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1367
1514
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1368
|
-
def
|
1369
|
-
command = make_simple_command(:get, 'v1alpha/{+
|
1370
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::
|
1371
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::
|
1372
|
-
command.params['
|
1373
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1374
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1515
|
+
def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1516
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1517
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1518
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1519
|
+
command.params['name'] = name unless name.nil?
|
1375
1520
|
command.query['fields'] = fields unless fields.nil?
|
1376
1521
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1377
1522
|
execute_or_queue_command(command, &block)
|
1378
1523
|
end
|
1379
1524
|
|
1380
|
-
#
|
1525
|
+
# Lists operations that match the specified filter in the request. If the server
|
1526
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1381
1527
|
# @param [String] name
|
1382
|
-
#
|
1383
|
-
# @param [String]
|
1384
|
-
#
|
1385
|
-
# @param [
|
1528
|
+
# The name of the operation's parent resource.
|
1529
|
+
# @param [String] filter
|
1530
|
+
# The standard list filter.
|
1531
|
+
# @param [Fixnum] page_size
|
1532
|
+
# The standard list page size.
|
1533
|
+
# @param [String] page_token
|
1534
|
+
# The standard list page token.
|
1535
|
+
# @param [String] fields
|
1536
|
+
# Selector specifying which fields to include in a partial response.
|
1537
|
+
# @param [String] quota_user
|
1538
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1539
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1540
|
+
# @param [Google::Apis::RequestOptions] options
|
1541
|
+
# Request-specific options
|
1542
|
+
#
|
1543
|
+
# @yield [result, err] Result & error if block supplied
|
1544
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
|
1545
|
+
# @yieldparam err [StandardError] error object if request failed
|
1546
|
+
#
|
1547
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse]
|
1548
|
+
#
|
1549
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1550
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1551
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1552
|
+
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1553
|
+
command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
|
1554
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse::Representation
|
1555
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse
|
1556
|
+
command.params['name'] = name unless name.nil?
|
1557
|
+
command.query['filter'] = filter unless filter.nil?
|
1558
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1559
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1560
|
+
command.query['fields'] = fields unless fields.nil?
|
1561
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1562
|
+
execute_or_queue_command(command, &block)
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
# Creates a new BeyondCorp Enterprise Subscription in a given organization.
|
1566
|
+
# Location will always be global as BeyondCorp subscriptions are per
|
1567
|
+
# organization.
|
1568
|
+
# @param [String] parent
|
1569
|
+
# Required. The resource name of the subscription location using the form: `
|
1570
|
+
# organizations/`organization_id`/locations/`location``
|
1571
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription] google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object
|
1572
|
+
# @param [String] fields
|
1573
|
+
# Selector specifying which fields to include in a partial response.
|
1574
|
+
# @param [String] quota_user
|
1575
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1576
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1577
|
+
# @param [Google::Apis::RequestOptions] options
|
1578
|
+
# Request-specific options
|
1579
|
+
#
|
1580
|
+
# @yield [result, err] Result & error if block supplied
|
1581
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription] parsed result object
|
1582
|
+
# @yieldparam err [StandardError] error object if request failed
|
1583
|
+
#
|
1584
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription]
|
1585
|
+
#
|
1586
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1587
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1588
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1589
|
+
def create_organization_location_subscription(parent, google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1590
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/subscriptions', options)
|
1591
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription::Representation
|
1592
|
+
command.request_object = google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object
|
1593
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription::Representation
|
1594
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
|
1595
|
+
command.params['parent'] = parent unless parent.nil?
|
1596
|
+
command.query['fields'] = fields unless fields.nil?
|
1597
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1598
|
+
execute_or_queue_command(command, &block)
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
# Gets details of a single Subscription.
|
1602
|
+
# @param [String] name
|
1603
|
+
# Required. The resource name of Subscription using the form: `organizations/`
|
1604
|
+
# organization_id`/locations/`location`/subscriptions/`subscription_id``
|
1605
|
+
# @param [String] fields
|
1606
|
+
# Selector specifying which fields to include in a partial response.
|
1607
|
+
# @param [String] quota_user
|
1608
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1609
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1610
|
+
# @param [Google::Apis::RequestOptions] options
|
1611
|
+
# Request-specific options
|
1612
|
+
#
|
1613
|
+
# @yield [result, err] Result & error if block supplied
|
1614
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription] parsed result object
|
1615
|
+
# @yieldparam err [StandardError] error object if request failed
|
1616
|
+
#
|
1617
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription]
|
1618
|
+
#
|
1619
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1620
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1621
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1622
|
+
def get_organization_location_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
1623
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1624
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription::Representation
|
1625
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
|
1626
|
+
command.params['name'] = name unless name.nil?
|
1627
|
+
command.query['fields'] = fields unless fields.nil?
|
1628
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1629
|
+
execute_or_queue_command(command, &block)
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
# Lists Subscriptions in a given organization and location.
|
1633
|
+
# @param [String] parent
|
1634
|
+
# Required. The resource name of Subscription using the form: `organizations/`
|
1635
|
+
# organization_id`/locations/`location``
|
1636
|
+
# @param [Fixnum] page_size
|
1637
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
1638
|
+
# value of 50 will be used by the service. Regardless of the page_size value,
|
1639
|
+
# the response may include a partial list and a caller should only rely on
|
1640
|
+
# response's next_page_token to determine if there are more instances left to be
|
1641
|
+
# queried.
|
1642
|
+
# @param [String] page_token
|
1643
|
+
# Optional. The next_page_token value returned from a previous
|
1644
|
+
# ListSubscriptionsRequest, if any.
|
1645
|
+
# @param [String] fields
|
1646
|
+
# Selector specifying which fields to include in a partial response.
|
1647
|
+
# @param [String] quota_user
|
1648
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1649
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1650
|
+
# @param [Google::Apis::RequestOptions] options
|
1651
|
+
# Request-specific options
|
1652
|
+
#
|
1653
|
+
# @yield [result, err] Result & error if block supplied
|
1654
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse] parsed result object
|
1655
|
+
# @yieldparam err [StandardError] error object if request failed
|
1656
|
+
#
|
1657
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse]
|
1658
|
+
#
|
1659
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1660
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1661
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1662
|
+
def list_organization_location_subscriptions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1663
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/subscriptions', options)
|
1664
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse::Representation
|
1665
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse
|
1666
|
+
command.params['parent'] = parent unless parent.nil?
|
1667
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1668
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1669
|
+
command.query['fields'] = fields unless fields.nil?
|
1670
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1671
|
+
execute_or_queue_command(command, &block)
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# Gets information about a location.
|
1675
|
+
# @param [String] name
|
1676
|
+
# Resource name for the location.
|
1677
|
+
# @param [String] fields
|
1678
|
+
# Selector specifying which fields to include in a partial response.
|
1679
|
+
# @param [String] quota_user
|
1386
1680
|
# Available to use for quota purposes for server-side applications. Can be any
|
1387
1681
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1388
1682
|
# @param [Google::Apis::RequestOptions] options
|
@@ -2708,137 +3002,6 @@ module Google
|
|
2708
3002
|
execute_or_queue_command(command, &block)
|
2709
3003
|
end
|
2710
3004
|
|
2711
|
-
# Creates a new ClientConnectorService in a given project and location.
|
2712
|
-
# @param [String] parent
|
2713
|
-
# Required. Value for parent.
|
2714
|
-
# @param [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] client_connector_service_object
|
2715
|
-
# @param [String] client_connector_service_id
|
2716
|
-
# Optional. User-settable client connector service resource ID. * Must start
|
2717
|
-
# with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must
|
2718
|
-
# end with a number or a letter. A random system generated name will be assigned
|
2719
|
-
# if not specified by the user.
|
2720
|
-
# @param [String] request_id
|
2721
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
2722
|
-
# request ID so that if you must retry your request, the server will know to
|
2723
|
-
# ignore the request if it has already been completed. The server will guarantee
|
2724
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
2725
|
-
# situation where you make an initial request and the request times out. If you
|
2726
|
-
# make the request again with the same request ID, the server can check if
|
2727
|
-
# original operation with the same request ID was received, and if so, will
|
2728
|
-
# ignore the second request. This prevents clients from accidentally creating
|
2729
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2730
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2731
|
-
# @param [Boolean] validate_only
|
2732
|
-
# Optional. If set, validates request by executing a dry-run which would not
|
2733
|
-
# alter the resource in any way.
|
2734
|
-
# @param [String] fields
|
2735
|
-
# Selector specifying which fields to include in a partial response.
|
2736
|
-
# @param [String] quota_user
|
2737
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2738
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2739
|
-
# @param [Google::Apis::RequestOptions] options
|
2740
|
-
# Request-specific options
|
2741
|
-
#
|
2742
|
-
# @yield [result, err] Result & error if block supplied
|
2743
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
2744
|
-
# @yieldparam err [StandardError] error object if request failed
|
2745
|
-
#
|
2746
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
2747
|
-
#
|
2748
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2749
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2750
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2751
|
-
def create_project_location_client_connector_service(parent, client_connector_service_object = nil, client_connector_service_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2752
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/clientConnectorServices', options)
|
2753
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::ClientConnectorService::Representation
|
2754
|
-
command.request_object = client_connector_service_object
|
2755
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
2756
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
2757
|
-
command.params['parent'] = parent unless parent.nil?
|
2758
|
-
command.query['clientConnectorServiceId'] = client_connector_service_id unless client_connector_service_id.nil?
|
2759
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
2760
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
2761
|
-
command.query['fields'] = fields unless fields.nil?
|
2762
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2763
|
-
execute_or_queue_command(command, &block)
|
2764
|
-
end
|
2765
|
-
|
2766
|
-
# Deletes a single ClientConnectorService.
|
2767
|
-
# @param [String] name
|
2768
|
-
# Required. Name of the resource.
|
2769
|
-
# @param [String] request_id
|
2770
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
2771
|
-
# request ID so that if you must retry your request, the server will know to
|
2772
|
-
# ignore the request if it has already been completed. The server will guarantee
|
2773
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
2774
|
-
# situation where you make an initial request and the request times out. If you
|
2775
|
-
# make the request again with the same request ID, the server can check if
|
2776
|
-
# original operation with the same request ID was received, and if so, will
|
2777
|
-
# ignore the second request. This prevents clients from accidentally creating
|
2778
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2779
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2780
|
-
# @param [Boolean] validate_only
|
2781
|
-
# Optional. If set, validates request by executing a dry-run which would not
|
2782
|
-
# alter the resource in any way.
|
2783
|
-
# @param [String] fields
|
2784
|
-
# Selector specifying which fields to include in a partial response.
|
2785
|
-
# @param [String] quota_user
|
2786
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2787
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2788
|
-
# @param [Google::Apis::RequestOptions] options
|
2789
|
-
# Request-specific options
|
2790
|
-
#
|
2791
|
-
# @yield [result, err] Result & error if block supplied
|
2792
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
2793
|
-
# @yieldparam err [StandardError] error object if request failed
|
2794
|
-
#
|
2795
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
2796
|
-
#
|
2797
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2798
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2799
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2800
|
-
def delete_project_location_client_connector_service(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2801
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2802
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
2803
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
2804
|
-
command.params['name'] = name unless name.nil?
|
2805
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
2806
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
2807
|
-
command.query['fields'] = fields unless fields.nil?
|
2808
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2809
|
-
execute_or_queue_command(command, &block)
|
2810
|
-
end
|
2811
|
-
|
2812
|
-
# Gets details of a single ClientConnectorService.
|
2813
|
-
# @param [String] name
|
2814
|
-
# Required. Name of the resource.
|
2815
|
-
# @param [String] fields
|
2816
|
-
# Selector specifying which fields to include in a partial response.
|
2817
|
-
# @param [String] quota_user
|
2818
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2819
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2820
|
-
# @param [Google::Apis::RequestOptions] options
|
2821
|
-
# Request-specific options
|
2822
|
-
#
|
2823
|
-
# @yield [result, err] Result & error if block supplied
|
2824
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] parsed result object
|
2825
|
-
# @yieldparam err [StandardError] error object if request failed
|
2826
|
-
#
|
2827
|
-
# @return [Google::Apis::BeyondcorpV1alpha::ClientConnectorService]
|
2828
|
-
#
|
2829
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2830
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2831
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2832
|
-
def get_project_location_client_connector_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
2833
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2834
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::ClientConnectorService::Representation
|
2835
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::ClientConnectorService
|
2836
|
-
command.params['name'] = name unless name.nil?
|
2837
|
-
command.query['fields'] = fields unless fields.nil?
|
2838
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2839
|
-
execute_or_queue_command(command, &block)
|
2840
|
-
end
|
2841
|
-
|
2842
3005
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
2843
3006
|
# resource exists and does not have a policy set.
|
2844
3007
|
# @param [String] resource
|
@@ -2884,109 +3047,6 @@ module Google
|
|
2884
3047
|
execute_or_queue_command(command, &block)
|
2885
3048
|
end
|
2886
3049
|
|
2887
|
-
# Lists ClientConnectorServices in a given project and location.
|
2888
|
-
# @param [String] parent
|
2889
|
-
# Required. Parent value for ListClientConnectorServicesRequest.
|
2890
|
-
# @param [String] filter
|
2891
|
-
# Optional. Filtering results.
|
2892
|
-
# @param [String] order_by
|
2893
|
-
# Optional. Hint for how to order the results.
|
2894
|
-
# @param [Fixnum] page_size
|
2895
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
2896
|
-
# If unspecified, server will pick an appropriate default.
|
2897
|
-
# @param [String] page_token
|
2898
|
-
# Optional. A token identifying a page of results the server should return.
|
2899
|
-
# @param [String] fields
|
2900
|
-
# Selector specifying which fields to include in a partial response.
|
2901
|
-
# @param [String] quota_user
|
2902
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2903
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2904
|
-
# @param [Google::Apis::RequestOptions] options
|
2905
|
-
# Request-specific options
|
2906
|
-
#
|
2907
|
-
# @yield [result, err] Result & error if block supplied
|
2908
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse] parsed result object
|
2909
|
-
# @yieldparam err [StandardError] error object if request failed
|
2910
|
-
#
|
2911
|
-
# @return [Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse]
|
2912
|
-
#
|
2913
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2914
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2915
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2916
|
-
def list_project_location_client_connector_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2917
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/clientConnectorServices', options)
|
2918
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse::Representation
|
2919
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse
|
2920
|
-
command.params['parent'] = parent unless parent.nil?
|
2921
|
-
command.query['filter'] = filter unless filter.nil?
|
2922
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
2923
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2924
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2925
|
-
command.query['fields'] = fields unless fields.nil?
|
2926
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2927
|
-
execute_or_queue_command(command, &block)
|
2928
|
-
end
|
2929
|
-
|
2930
|
-
# Updates the parameters of a single ClientConnectorService.
|
2931
|
-
# @param [String] name
|
2932
|
-
# Required. Name of resource. The name is ignored during creation.
|
2933
|
-
# @param [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] client_connector_service_object
|
2934
|
-
# @param [Boolean] allow_missing
|
2935
|
-
# Optional. If set as true, will create the resource if it is not found.
|
2936
|
-
# @param [String] request_id
|
2937
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
2938
|
-
# request ID so that if you must retry your request, the server will know to
|
2939
|
-
# ignore the request if it has already been completed. The server will guarantee
|
2940
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
2941
|
-
# situation where you make an initial request and the request times out. If you
|
2942
|
-
# make the request again with the same request ID, the server can check if
|
2943
|
-
# original operation with the same request ID was received, and if so, will
|
2944
|
-
# ignore the second request. This prevents clients from accidentally creating
|
2945
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2946
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2947
|
-
# @param [String] update_mask
|
2948
|
-
# Required. Field mask is used to specify the fields to be overwritten in the
|
2949
|
-
# ClientConnectorService resource by the update. The fields specified in the
|
2950
|
-
# update_mask are relative to the resource, not the full request. A field will
|
2951
|
-
# be overwritten if it is in the mask. If the user does not provide a mask then
|
2952
|
-
# all fields will be overwritten. Mutable fields: display_name, ingress.config.
|
2953
|
-
# destination_routes.
|
2954
|
-
# @param [Boolean] validate_only
|
2955
|
-
# Optional. If set, validates request by executing a dry-run which would not
|
2956
|
-
# alter the resource in any way.
|
2957
|
-
# @param [String] fields
|
2958
|
-
# Selector specifying which fields to include in a partial response.
|
2959
|
-
# @param [String] quota_user
|
2960
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2961
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2962
|
-
# @param [Google::Apis::RequestOptions] options
|
2963
|
-
# Request-specific options
|
2964
|
-
#
|
2965
|
-
# @yield [result, err] Result & error if block supplied
|
2966
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
2967
|
-
# @yieldparam err [StandardError] error object if request failed
|
2968
|
-
#
|
2969
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
2970
|
-
#
|
2971
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2972
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2973
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2974
|
-
def patch_project_location_client_connector_service(name, client_connector_service_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2975
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2976
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::ClientConnectorService::Representation
|
2977
|
-
command.request_object = client_connector_service_object
|
2978
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
2979
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
2980
|
-
command.params['name'] = name unless name.nil?
|
2981
|
-
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
2982
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
2983
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2984
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
2985
|
-
command.query['fields'] = fields unless fields.nil?
|
2986
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2987
|
-
execute_or_queue_command(command, &block)
|
2988
|
-
end
|
2989
|
-
|
2990
3050
|
# Sets the access control policy on the specified resource. Replaces any
|
2991
3051
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2992
3052
|
# PERMISSION_DENIED` errors.
|
@@ -3063,136 +3123,6 @@ module Google
|
|
3063
3123
|
execute_or_queue_command(command, &block)
|
3064
3124
|
end
|
3065
3125
|
|
3066
|
-
# Creates a new ClientGateway in a given project and location.
|
3067
|
-
# @param [String] parent
|
3068
|
-
# Required. Value for parent.
|
3069
|
-
# @param [Google::Apis::BeyondcorpV1alpha::ClientGateway] client_gateway_object
|
3070
|
-
# @param [String] client_gateway_id
|
3071
|
-
# Optional. User-settable client gateway resource ID. * Must start with a letter.
|
3072
|
-
# * Must contain between 4-63 characters from `/a-z-/`. * Must end with a
|
3073
|
-
# number or a letter.
|
3074
|
-
# @param [String] request_id
|
3075
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
3076
|
-
# request ID so that if you must retry your request, the server will know to
|
3077
|
-
# ignore the request if it has already been completed. The server will guarantee
|
3078
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
3079
|
-
# situation where you make an initial request and the request times out. If you
|
3080
|
-
# make the request again with the same request ID, the server can check if
|
3081
|
-
# original operation with the same request ID was received, and if so, will
|
3082
|
-
# ignore the second request. This prevents clients from accidentally creating
|
3083
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3084
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3085
|
-
# @param [Boolean] validate_only
|
3086
|
-
# Optional. If set, validates request by executing a dry-run which would not
|
3087
|
-
# alter the resource in any way.
|
3088
|
-
# @param [String] fields
|
3089
|
-
# Selector specifying which fields to include in a partial response.
|
3090
|
-
# @param [String] quota_user
|
3091
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3092
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3093
|
-
# @param [Google::Apis::RequestOptions] options
|
3094
|
-
# Request-specific options
|
3095
|
-
#
|
3096
|
-
# @yield [result, err] Result & error if block supplied
|
3097
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
3098
|
-
# @yieldparam err [StandardError] error object if request failed
|
3099
|
-
#
|
3100
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
3101
|
-
#
|
3102
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3103
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3104
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3105
|
-
def create_project_location_client_gateway(parent, client_gateway_object = nil, client_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3106
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/clientGateways', options)
|
3107
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::ClientGateway::Representation
|
3108
|
-
command.request_object = client_gateway_object
|
3109
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
3110
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
3111
|
-
command.params['parent'] = parent unless parent.nil?
|
3112
|
-
command.query['clientGatewayId'] = client_gateway_id unless client_gateway_id.nil?
|
3113
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
3114
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
3115
|
-
command.query['fields'] = fields unless fields.nil?
|
3116
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3117
|
-
execute_or_queue_command(command, &block)
|
3118
|
-
end
|
3119
|
-
|
3120
|
-
# Deletes a single ClientGateway.
|
3121
|
-
# @param [String] name
|
3122
|
-
# Required. Name of the resource
|
3123
|
-
# @param [String] request_id
|
3124
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
3125
|
-
# request ID so that if you must retry your request, the server will know to
|
3126
|
-
# ignore the request if it has already been completed. The server will guarantee
|
3127
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
3128
|
-
# situation where you make an initial request and the request times out. If you
|
3129
|
-
# make the request again with the same request ID, the server can check if
|
3130
|
-
# original operation with the same request ID was received, and if so, will
|
3131
|
-
# ignore the second request. This prevents clients from accidentally creating
|
3132
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3133
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3134
|
-
# @param [Boolean] validate_only
|
3135
|
-
# Optional. If set, validates request by executing a dry-run which would not
|
3136
|
-
# alter the resource in any way.
|
3137
|
-
# @param [String] fields
|
3138
|
-
# Selector specifying which fields to include in a partial response.
|
3139
|
-
# @param [String] quota_user
|
3140
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3141
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3142
|
-
# @param [Google::Apis::RequestOptions] options
|
3143
|
-
# Request-specific options
|
3144
|
-
#
|
3145
|
-
# @yield [result, err] Result & error if block supplied
|
3146
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
3147
|
-
# @yieldparam err [StandardError] error object if request failed
|
3148
|
-
#
|
3149
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
3150
|
-
#
|
3151
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3152
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3153
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3154
|
-
def delete_project_location_client_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3155
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3156
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
3157
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
3158
|
-
command.params['name'] = name unless name.nil?
|
3159
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
3160
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
3161
|
-
command.query['fields'] = fields unless fields.nil?
|
3162
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3163
|
-
execute_or_queue_command(command, &block)
|
3164
|
-
end
|
3165
|
-
|
3166
|
-
# Gets details of a single ClientGateway.
|
3167
|
-
# @param [String] name
|
3168
|
-
# Required. Name of the resource
|
3169
|
-
# @param [String] fields
|
3170
|
-
# Selector specifying which fields to include in a partial response.
|
3171
|
-
# @param [String] quota_user
|
3172
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3173
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3174
|
-
# @param [Google::Apis::RequestOptions] options
|
3175
|
-
# Request-specific options
|
3176
|
-
#
|
3177
|
-
# @yield [result, err] Result & error if block supplied
|
3178
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::ClientGateway] parsed result object
|
3179
|
-
# @yieldparam err [StandardError] error object if request failed
|
3180
|
-
#
|
3181
|
-
# @return [Google::Apis::BeyondcorpV1alpha::ClientGateway]
|
3182
|
-
#
|
3183
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3184
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3185
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3186
|
-
def get_project_location_client_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
|
3187
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3188
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::ClientGateway::Representation
|
3189
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::ClientGateway
|
3190
|
-
command.params['name'] = name unless name.nil?
|
3191
|
-
command.query['fields'] = fields unless fields.nil?
|
3192
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3193
|
-
execute_or_queue_command(command, &block)
|
3194
|
-
end
|
3195
|
-
|
3196
3126
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
3197
3127
|
# resource exists and does not have a policy set.
|
3198
3128
|
# @param [String] resource
|
@@ -3238,49 +3168,6 @@ module Google
|
|
3238
3168
|
execute_or_queue_command(command, &block)
|
3239
3169
|
end
|
3240
3170
|
|
3241
|
-
# Lists ClientGateways in a given project and location.
|
3242
|
-
# @param [String] parent
|
3243
|
-
# Required. Parent value for ListClientGatewaysRequest.
|
3244
|
-
# @param [String] filter
|
3245
|
-
# Optional. Filtering results.
|
3246
|
-
# @param [String] order_by
|
3247
|
-
# Optional. Hint for how to order the results.
|
3248
|
-
# @param [Fixnum] page_size
|
3249
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
3250
|
-
# If unspecified, server will pick an appropriate default.
|
3251
|
-
# @param [String] page_token
|
3252
|
-
# Optional. A token identifying a page of results the server should return.
|
3253
|
-
# @param [String] fields
|
3254
|
-
# Selector specifying which fields to include in a partial response.
|
3255
|
-
# @param [String] quota_user
|
3256
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3257
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3258
|
-
# @param [Google::Apis::RequestOptions] options
|
3259
|
-
# Request-specific options
|
3260
|
-
#
|
3261
|
-
# @yield [result, err] Result & error if block supplied
|
3262
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse] parsed result object
|
3263
|
-
# @yieldparam err [StandardError] error object if request failed
|
3264
|
-
#
|
3265
|
-
# @return [Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse]
|
3266
|
-
#
|
3267
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3268
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3269
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3270
|
-
def list_project_location_client_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3271
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/clientGateways', options)
|
3272
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse::Representation
|
3273
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse
|
3274
|
-
command.params['parent'] = parent unless parent.nil?
|
3275
|
-
command.query['filter'] = filter unless filter.nil?
|
3276
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
3277
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
3278
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
3279
|
-
command.query['fields'] = fields unless fields.nil?
|
3280
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3281
|
-
execute_or_queue_command(command, &block)
|
3282
|
-
end
|
3283
|
-
|
3284
3171
|
# Sets the access control policy on the specified resource. Replaces any
|
3285
3172
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
3286
3173
|
# PERMISSION_DENIED` errors.
|