google-apis-beyondcorp_v1alpha 0.22.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -546,6 +546,38 @@ module Google
546
546
  execute_or_queue_command(command, &block)
547
547
  end
548
548
 
549
+ # Lists BrowserDlpRules for PartnerTenant in a given organization.
550
+ # @param [String] parent
551
+ # Required. The parent partnerTenant to which the BrowserDlpRules belong. Format:
552
+ # `organizations/`organization_id`/locations/global/partnerTenants/`
553
+ # partner_tenant_id``
554
+ # @param [String] fields
555
+ # Selector specifying which fields to include in a partial response.
556
+ # @param [String] quota_user
557
+ # Available to use for quota purposes for server-side applications. Can be any
558
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
559
+ # @param [Google::Apis::RequestOptions] options
560
+ # Request-specific options
561
+ #
562
+ # @yield [result, err] Result & error if block supplied
563
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse] parsed result object
564
+ # @yieldparam err [StandardError] error object if request failed
565
+ #
566
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse]
567
+ #
568
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
569
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
570
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
571
+ def list_organization_location_global_partner_tenant_browser_dlp_rules(parent, fields: nil, quota_user: nil, options: nil, &block)
572
+ command = make_simple_command(:get, 'v1alpha/{+parent}/browserDlpRules', options)
573
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse::Representation
574
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse
575
+ command.params['parent'] = parent unless parent.nil?
576
+ command.query['fields'] = fields unless fields.nil?
577
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
578
+ execute_or_queue_command(command, &block)
579
+ end
580
+
549
581
  # Update an existing BrowserDlpRule in a given organization and PartnerTenant.
550
582
  # @param [String] name
551
583
  # Output only. Unique resource name. The name is ignored when creating
@@ -1418,6 +1450,150 @@ module Google
1418
1450
  execute_or_queue_command(command, &block)
1419
1451
  end
1420
1452
 
1453
+ # Starts asynchronous cancellation on a long-running operation. The server makes
1454
+ # a best effort to cancel the operation, but success is not guaranteed. If the
1455
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1456
+ # Clients can use Operations.GetOperation or other methods to check whether the
1457
+ # cancellation succeeded or whether the operation completed despite cancellation.
1458
+ # On successful cancellation, the operation is not deleted; instead, it becomes
1459
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1460
+ # corresponding to `Code.CANCELLED`.
1461
+ # @param [String] name
1462
+ # The name of the operation resource to be cancelled.
1463
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
1464
+ # @param [String] fields
1465
+ # Selector specifying which fields to include in a partial response.
1466
+ # @param [String] quota_user
1467
+ # Available to use for quota purposes for server-side applications. Can be any
1468
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1469
+ # @param [Google::Apis::RequestOptions] options
1470
+ # Request-specific options
1471
+ #
1472
+ # @yield [result, err] Result & error if block supplied
1473
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::Empty] parsed result object
1474
+ # @yieldparam err [StandardError] error object if request failed
1475
+ #
1476
+ # @return [Google::Apis::BeyondcorpV1alpha::Empty]
1477
+ #
1478
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1479
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1480
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1481
+ def cancel_organization_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1482
+ command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
1483
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningCancelOperationRequest::Representation
1484
+ command.request_object = google_longrunning_cancel_operation_request_object
1485
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::Empty::Representation
1486
+ command.response_class = Google::Apis::BeyondcorpV1alpha::Empty
1487
+ command.params['name'] = name unless name.nil?
1488
+ command.query['fields'] = fields unless fields.nil?
1489
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1490
+ execute_or_queue_command(command, &block)
1491
+ end
1492
+
1493
+ # Deletes a long-running operation. This method indicates that the client is no
1494
+ # longer interested in the operation result. It does not cancel the operation.
1495
+ # If the server doesn't support this method, it returns `google.rpc.Code.
1496
+ # UNIMPLEMENTED`.
1497
+ # @param [String] name
1498
+ # The name of the operation resource to be deleted.
1499
+ # @param [String] fields
1500
+ # Selector specifying which fields to include in a partial response.
1501
+ # @param [String] quota_user
1502
+ # Available to use for quota purposes for server-side applications. Can be any
1503
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1504
+ # @param [Google::Apis::RequestOptions] options
1505
+ # Request-specific options
1506
+ #
1507
+ # @yield [result, err] Result & error if block supplied
1508
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::Empty] parsed result object
1509
+ # @yieldparam err [StandardError] error object if request failed
1510
+ #
1511
+ # @return [Google::Apis::BeyondcorpV1alpha::Empty]
1512
+ #
1513
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1514
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1515
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1516
+ def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1517
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1518
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::Empty::Representation
1519
+ command.response_class = Google::Apis::BeyondcorpV1alpha::Empty
1520
+ command.params['name'] = name unless name.nil?
1521
+ command.query['fields'] = fields unless fields.nil?
1522
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1523
+ execute_or_queue_command(command, &block)
1524
+ end
1525
+
1526
+ # Gets the latest state of a long-running operation. Clients can use this method
1527
+ # to poll the operation result at intervals as recommended by the API service.
1528
+ # @param [String] name
1529
+ # The name of the operation resource.
1530
+ # @param [String] fields
1531
+ # Selector specifying which fields to include in a partial response.
1532
+ # @param [String] quota_user
1533
+ # Available to use for quota purposes for server-side applications. Can be any
1534
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1535
+ # @param [Google::Apis::RequestOptions] options
1536
+ # Request-specific options
1537
+ #
1538
+ # @yield [result, err] Result & error if block supplied
1539
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
1540
+ # @yieldparam err [StandardError] error object if request failed
1541
+ #
1542
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
1543
+ #
1544
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1545
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1546
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1547
+ def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1548
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1549
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
1550
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
1551
+ command.params['name'] = name unless name.nil?
1552
+ command.query['fields'] = fields unless fields.nil?
1553
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1554
+ execute_or_queue_command(command, &block)
1555
+ end
1556
+
1557
+ # Lists operations that match the specified filter in the request. If the server
1558
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1559
+ # @param [String] name
1560
+ # The name of the operation's parent resource.
1561
+ # @param [String] filter
1562
+ # The standard list filter.
1563
+ # @param [Fixnum] page_size
1564
+ # The standard list page size.
1565
+ # @param [String] page_token
1566
+ # The standard list page token.
1567
+ # @param [String] fields
1568
+ # Selector specifying which fields to include in a partial response.
1569
+ # @param [String] quota_user
1570
+ # Available to use for quota purposes for server-side applications. Can be any
1571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1572
+ # @param [Google::Apis::RequestOptions] options
1573
+ # Request-specific options
1574
+ #
1575
+ # @yield [result, err] Result & error if block supplied
1576
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
1577
+ # @yieldparam err [StandardError] error object if request failed
1578
+ #
1579
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse]
1580
+ #
1581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1584
+ def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1585
+ command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
1586
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse::Representation
1587
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningListOperationsResponse
1588
+ command.params['name'] = name unless name.nil?
1589
+ command.query['filter'] = filter unless filter.nil?
1590
+ command.query['pageSize'] = page_size unless page_size.nil?
1591
+ command.query['pageToken'] = page_token unless page_token.nil?
1592
+ command.query['fields'] = fields unless fields.nil?
1593
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1594
+ execute_or_queue_command(command, &block)
1595
+ end
1596
+
1421
1597
  # Creates a new BeyondCorp Enterprise Subscription in a given organization.
1422
1598
  # Location will always be global as BeyondCorp subscriptions are per
1423
1599
  # organization.
@@ -2858,137 +3034,6 @@ module Google
2858
3034
  execute_or_queue_command(command, &block)
2859
3035
  end
2860
3036
 
2861
- # Creates a new ClientConnectorService in a given project and location.
2862
- # @param [String] parent
2863
- # Required. Value for parent.
2864
- # @param [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] client_connector_service_object
2865
- # @param [String] client_connector_service_id
2866
- # Optional. User-settable client connector service resource ID. * Must start
2867
- # with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must
2868
- # end with a number or a letter. A random system generated name will be assigned
2869
- # if not specified by the user.
2870
- # @param [String] request_id
2871
- # Optional. An optional request ID to identify requests. Specify a unique
2872
- # request ID so that if you must retry your request, the server will know to
2873
- # ignore the request if it has already been completed. The server will guarantee
2874
- # that for at least 60 minutes since the first request. For example, consider a
2875
- # situation where you make an initial request and the request times out. If you
2876
- # make the request again with the same request ID, the server can check if
2877
- # original operation with the same request ID was received, and if so, will
2878
- # ignore the second request. This prevents clients from accidentally creating
2879
- # duplicate commitments. The request ID must be a valid UUID with the exception
2880
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2881
- # @param [Boolean] validate_only
2882
- # Optional. If set, validates request by executing a dry-run which would not
2883
- # alter the resource in any way.
2884
- # @param [String] fields
2885
- # Selector specifying which fields to include in a partial response.
2886
- # @param [String] quota_user
2887
- # Available to use for quota purposes for server-side applications. Can be any
2888
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2889
- # @param [Google::Apis::RequestOptions] options
2890
- # Request-specific options
2891
- #
2892
- # @yield [result, err] Result & error if block supplied
2893
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
2894
- # @yieldparam err [StandardError] error object if request failed
2895
- #
2896
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
2897
- #
2898
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2899
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2900
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2901
- 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)
2902
- command = make_simple_command(:post, 'v1alpha/{+parent}/clientConnectorServices', options)
2903
- command.request_representation = Google::Apis::BeyondcorpV1alpha::ClientConnectorService::Representation
2904
- command.request_object = client_connector_service_object
2905
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
2906
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
2907
- command.params['parent'] = parent unless parent.nil?
2908
- command.query['clientConnectorServiceId'] = client_connector_service_id unless client_connector_service_id.nil?
2909
- command.query['requestId'] = request_id unless request_id.nil?
2910
- command.query['validateOnly'] = validate_only unless validate_only.nil?
2911
- command.query['fields'] = fields unless fields.nil?
2912
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2913
- execute_or_queue_command(command, &block)
2914
- end
2915
-
2916
- # Deletes a single ClientConnectorService.
2917
- # @param [String] name
2918
- # Required. Name of the resource.
2919
- # @param [String] request_id
2920
- # Optional. An optional request ID to identify requests. Specify a unique
2921
- # request ID so that if you must retry your request, the server will know to
2922
- # ignore the request if it has already been completed. The server will guarantee
2923
- # that for at least 60 minutes after the first request. For example, consider a
2924
- # situation where you make an initial request and the request times out. If you
2925
- # make the request again with the same request ID, the server can check if
2926
- # original operation with the same request ID was received, and if so, will
2927
- # ignore the second request. This prevents clients from accidentally creating
2928
- # duplicate commitments. The request ID must be a valid UUID with the exception
2929
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2930
- # @param [Boolean] validate_only
2931
- # Optional. If set, validates request by executing a dry-run which would not
2932
- # alter the resource in any way.
2933
- # @param [String] fields
2934
- # Selector specifying which fields to include in a partial response.
2935
- # @param [String] quota_user
2936
- # Available to use for quota purposes for server-side applications. Can be any
2937
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2938
- # @param [Google::Apis::RequestOptions] options
2939
- # Request-specific options
2940
- #
2941
- # @yield [result, err] Result & error if block supplied
2942
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
2943
- # @yieldparam err [StandardError] error object if request failed
2944
- #
2945
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
2946
- #
2947
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2948
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2949
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2950
- def delete_project_location_client_connector_service(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2951
- command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2952
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
2953
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
2954
- command.params['name'] = name unless name.nil?
2955
- command.query['requestId'] = request_id unless request_id.nil?
2956
- command.query['validateOnly'] = validate_only unless validate_only.nil?
2957
- command.query['fields'] = fields unless fields.nil?
2958
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2959
- execute_or_queue_command(command, &block)
2960
- end
2961
-
2962
- # Gets details of a single ClientConnectorService.
2963
- # @param [String] name
2964
- # Required. Name of the resource.
2965
- # @param [String] fields
2966
- # Selector specifying which fields to include in a partial response.
2967
- # @param [String] quota_user
2968
- # Available to use for quota purposes for server-side applications. Can be any
2969
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2970
- # @param [Google::Apis::RequestOptions] options
2971
- # Request-specific options
2972
- #
2973
- # @yield [result, err] Result & error if block supplied
2974
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] parsed result object
2975
- # @yieldparam err [StandardError] error object if request failed
2976
- #
2977
- # @return [Google::Apis::BeyondcorpV1alpha::ClientConnectorService]
2978
- #
2979
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2980
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2981
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2982
- def get_project_location_client_connector_service(name, fields: nil, quota_user: nil, options: nil, &block)
2983
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
2984
- command.response_representation = Google::Apis::BeyondcorpV1alpha::ClientConnectorService::Representation
2985
- command.response_class = Google::Apis::BeyondcorpV1alpha::ClientConnectorService
2986
- command.params['name'] = name unless name.nil?
2987
- command.query['fields'] = fields unless fields.nil?
2988
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2989
- execute_or_queue_command(command, &block)
2990
- end
2991
-
2992
3037
  # Gets the access control policy for a resource. Returns an empty policy if the
2993
3038
  # resource exists and does not have a policy set.
2994
3039
  # @param [String] resource
@@ -3034,109 +3079,6 @@ module Google
3034
3079
  execute_or_queue_command(command, &block)
3035
3080
  end
3036
3081
 
3037
- # Lists ClientConnectorServices in a given project and location.
3038
- # @param [String] parent
3039
- # Required. Parent value for ListClientConnectorServicesRequest.
3040
- # @param [String] filter
3041
- # Optional. Filtering results.
3042
- # @param [String] order_by
3043
- # Optional. Hint for how to order the results.
3044
- # @param [Fixnum] page_size
3045
- # Optional. Requested page size. Server may return fewer items than requested.
3046
- # If unspecified, server will pick an appropriate default.
3047
- # @param [String] page_token
3048
- # Optional. A token identifying a page of results the server should return.
3049
- # @param [String] fields
3050
- # Selector specifying which fields to include in a partial response.
3051
- # @param [String] quota_user
3052
- # Available to use for quota purposes for server-side applications. Can be any
3053
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3054
- # @param [Google::Apis::RequestOptions] options
3055
- # Request-specific options
3056
- #
3057
- # @yield [result, err] Result & error if block supplied
3058
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse] parsed result object
3059
- # @yieldparam err [StandardError] error object if request failed
3060
- #
3061
- # @return [Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse]
3062
- #
3063
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3064
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3065
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3066
- 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)
3067
- command = make_simple_command(:get, 'v1alpha/{+parent}/clientConnectorServices', options)
3068
- command.response_representation = Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse::Representation
3069
- command.response_class = Google::Apis::BeyondcorpV1alpha::ListClientConnectorServicesResponse
3070
- command.params['parent'] = parent unless parent.nil?
3071
- command.query['filter'] = filter unless filter.nil?
3072
- command.query['orderBy'] = order_by unless order_by.nil?
3073
- command.query['pageSize'] = page_size unless page_size.nil?
3074
- command.query['pageToken'] = page_token unless page_token.nil?
3075
- command.query['fields'] = fields unless fields.nil?
3076
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3077
- execute_or_queue_command(command, &block)
3078
- end
3079
-
3080
- # Updates the parameters of a single ClientConnectorService.
3081
- # @param [String] name
3082
- # Required. Name of resource. The name is ignored during creation.
3083
- # @param [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] client_connector_service_object
3084
- # @param [Boolean] allow_missing
3085
- # Optional. If set as true, will create the resource if it is not found.
3086
- # @param [String] request_id
3087
- # Optional. An optional request ID to identify requests. Specify a unique
3088
- # request ID so that if you must retry your request, the server will know to
3089
- # ignore the request if it has already been completed. The server will guarantee
3090
- # that for at least 60 minutes since the first request. For example, consider a
3091
- # situation where you make an initial request and the request times out. If you
3092
- # make the request again with the same request ID, the server can check if
3093
- # original operation with the same request ID was received, and if so, will
3094
- # ignore the second request. This prevents clients from accidentally creating
3095
- # duplicate commitments. The request ID must be a valid UUID with the exception
3096
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3097
- # @param [String] update_mask
3098
- # Required. Field mask is used to specify the fields to be overwritten in the
3099
- # ClientConnectorService resource by the update. The fields specified in the
3100
- # update_mask are relative to the resource, not the full request. A field will
3101
- # be overwritten if it is in the mask. If the user does not provide a mask then
3102
- # all fields will be overwritten. Mutable fields: display_name, ingress.config.
3103
- # destination_routes.
3104
- # @param [Boolean] validate_only
3105
- # Optional. If set, validates request by executing a dry-run which would not
3106
- # alter the resource in any way.
3107
- # @param [String] fields
3108
- # Selector specifying which fields to include in a partial response.
3109
- # @param [String] quota_user
3110
- # Available to use for quota purposes for server-side applications. Can be any
3111
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3112
- # @param [Google::Apis::RequestOptions] options
3113
- # Request-specific options
3114
- #
3115
- # @yield [result, err] Result & error if block supplied
3116
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
3117
- # @yieldparam err [StandardError] error object if request failed
3118
- #
3119
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
3120
- #
3121
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3122
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3123
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3124
- 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)
3125
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3126
- command.request_representation = Google::Apis::BeyondcorpV1alpha::ClientConnectorService::Representation
3127
- command.request_object = client_connector_service_object
3128
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
3129
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
3130
- command.params['name'] = name unless name.nil?
3131
- command.query['allowMissing'] = allow_missing unless allow_missing.nil?
3132
- command.query['requestId'] = request_id unless request_id.nil?
3133
- command.query['updateMask'] = update_mask unless update_mask.nil?
3134
- command.query['validateOnly'] = validate_only unless validate_only.nil?
3135
- command.query['fields'] = fields unless fields.nil?
3136
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3137
- execute_or_queue_command(command, &block)
3138
- end
3139
-
3140
3082
  # Sets the access control policy on the specified resource. Replaces any
3141
3083
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3142
3084
  # PERMISSION_DENIED` errors.
@@ -3213,136 +3155,6 @@ module Google
3213
3155
  execute_or_queue_command(command, &block)
3214
3156
  end
3215
3157
 
3216
- # Creates a new ClientGateway in a given project and location.
3217
- # @param [String] parent
3218
- # Required. Value for parent.
3219
- # @param [Google::Apis::BeyondcorpV1alpha::ClientGateway] client_gateway_object
3220
- # @param [String] client_gateway_id
3221
- # Optional. User-settable client gateway resource ID. * Must start with a letter.
3222
- # * Must contain between 4-63 characters from `/a-z-/`. * Must end with a
3223
- # number or a letter.
3224
- # @param [String] request_id
3225
- # Optional. An optional request ID to identify requests. Specify a unique
3226
- # request ID so that if you must retry your request, the server will know to
3227
- # ignore the request if it has already been completed. The server will guarantee
3228
- # that for at least 60 minutes since the first request. For example, consider a
3229
- # situation where you make an initial request and the request times out. If you
3230
- # make the request again with the same request ID, the server can check if
3231
- # original operation with the same request ID was received, and if so, will
3232
- # ignore the second request. This prevents clients from accidentally creating
3233
- # duplicate commitments. The request ID must be a valid UUID with the exception
3234
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3235
- # @param [Boolean] validate_only
3236
- # Optional. If set, validates request by executing a dry-run which would not
3237
- # alter the resource in any way.
3238
- # @param [String] fields
3239
- # Selector specifying which fields to include in a partial response.
3240
- # @param [String] quota_user
3241
- # Available to use for quota purposes for server-side applications. Can be any
3242
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3243
- # @param [Google::Apis::RequestOptions] options
3244
- # Request-specific options
3245
- #
3246
- # @yield [result, err] Result & error if block supplied
3247
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
3248
- # @yieldparam err [StandardError] error object if request failed
3249
- #
3250
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
3251
- #
3252
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3253
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3254
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3255
- 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)
3256
- command = make_simple_command(:post, 'v1alpha/{+parent}/clientGateways', options)
3257
- command.request_representation = Google::Apis::BeyondcorpV1alpha::ClientGateway::Representation
3258
- command.request_object = client_gateway_object
3259
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
3260
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
3261
- command.params['parent'] = parent unless parent.nil?
3262
- command.query['clientGatewayId'] = client_gateway_id unless client_gateway_id.nil?
3263
- command.query['requestId'] = request_id unless request_id.nil?
3264
- command.query['validateOnly'] = validate_only unless validate_only.nil?
3265
- command.query['fields'] = fields unless fields.nil?
3266
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3267
- execute_or_queue_command(command, &block)
3268
- end
3269
-
3270
- # Deletes a single ClientGateway.
3271
- # @param [String] name
3272
- # Required. Name of the resource
3273
- # @param [String] request_id
3274
- # Optional. An optional request ID to identify requests. Specify a unique
3275
- # request ID so that if you must retry your request, the server will know to
3276
- # ignore the request if it has already been completed. The server will guarantee
3277
- # that for at least 60 minutes after the first request. For example, consider a
3278
- # situation where you make an initial request and the request times out. If you
3279
- # make the request again with the same request ID, the server can check if
3280
- # original operation with the same request ID was received, and if so, will
3281
- # ignore the second request. This prevents clients from accidentally creating
3282
- # duplicate commitments. The request ID must be a valid UUID with the exception
3283
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3284
- # @param [Boolean] validate_only
3285
- # Optional. If set, validates request by executing a dry-run which would not
3286
- # alter the resource in any way.
3287
- # @param [String] fields
3288
- # Selector specifying which fields to include in a partial response.
3289
- # @param [String] quota_user
3290
- # Available to use for quota purposes for server-side applications. Can be any
3291
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3292
- # @param [Google::Apis::RequestOptions] options
3293
- # Request-specific options
3294
- #
3295
- # @yield [result, err] Result & error if block supplied
3296
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
3297
- # @yieldparam err [StandardError] error object if request failed
3298
- #
3299
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
3300
- #
3301
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3302
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3303
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3304
- def delete_project_location_client_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
3305
- command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3306
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
3307
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
3308
- command.params['name'] = name unless name.nil?
3309
- command.query['requestId'] = request_id unless request_id.nil?
3310
- command.query['validateOnly'] = validate_only unless validate_only.nil?
3311
- command.query['fields'] = fields unless fields.nil?
3312
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3313
- execute_or_queue_command(command, &block)
3314
- end
3315
-
3316
- # Gets details of a single ClientGateway.
3317
- # @param [String] name
3318
- # Required. Name of the resource
3319
- # @param [String] fields
3320
- # Selector specifying which fields to include in a partial response.
3321
- # @param [String] quota_user
3322
- # Available to use for quota purposes for server-side applications. Can be any
3323
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3324
- # @param [Google::Apis::RequestOptions] options
3325
- # Request-specific options
3326
- #
3327
- # @yield [result, err] Result & error if block supplied
3328
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::ClientGateway] parsed result object
3329
- # @yieldparam err [StandardError] error object if request failed
3330
- #
3331
- # @return [Google::Apis::BeyondcorpV1alpha::ClientGateway]
3332
- #
3333
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3334
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3335
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3336
- def get_project_location_client_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
3337
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
3338
- command.response_representation = Google::Apis::BeyondcorpV1alpha::ClientGateway::Representation
3339
- command.response_class = Google::Apis::BeyondcorpV1alpha::ClientGateway
3340
- command.params['name'] = name unless name.nil?
3341
- command.query['fields'] = fields unless fields.nil?
3342
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3343
- execute_or_queue_command(command, &block)
3344
- end
3345
-
3346
3158
  # Gets the access control policy for a resource. Returns an empty policy if the
3347
3159
  # resource exists and does not have a policy set.
3348
3160
  # @param [String] resource
@@ -3388,49 +3200,6 @@ module Google
3388
3200
  execute_or_queue_command(command, &block)
3389
3201
  end
3390
3202
 
3391
- # Lists ClientGateways in a given project and location.
3392
- # @param [String] parent
3393
- # Required. Parent value for ListClientGatewaysRequest.
3394
- # @param [String] filter
3395
- # Optional. Filtering results.
3396
- # @param [String] order_by
3397
- # Optional. Hint for how to order the results.
3398
- # @param [Fixnum] page_size
3399
- # Optional. Requested page size. Server may return fewer items than requested.
3400
- # If unspecified, server will pick an appropriate default.
3401
- # @param [String] page_token
3402
- # Optional. A token identifying a page of results the server should return.
3403
- # @param [String] fields
3404
- # Selector specifying which fields to include in a partial response.
3405
- # @param [String] quota_user
3406
- # Available to use for quota purposes for server-side applications. Can be any
3407
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3408
- # @param [Google::Apis::RequestOptions] options
3409
- # Request-specific options
3410
- #
3411
- # @yield [result, err] Result & error if block supplied
3412
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse] parsed result object
3413
- # @yieldparam err [StandardError] error object if request failed
3414
- #
3415
- # @return [Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse]
3416
- #
3417
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3418
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3419
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3420
- 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)
3421
- command = make_simple_command(:get, 'v1alpha/{+parent}/clientGateways', options)
3422
- command.response_representation = Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse::Representation
3423
- command.response_class = Google::Apis::BeyondcorpV1alpha::ListClientGatewaysResponse
3424
- command.params['parent'] = parent unless parent.nil?
3425
- command.query['filter'] = filter unless filter.nil?
3426
- command.query['orderBy'] = order_by unless order_by.nil?
3427
- command.query['pageSize'] = page_size unless page_size.nil?
3428
- command.query['pageToken'] = page_token unless page_token.nil?
3429
- command.query['fields'] = fields unless fields.nil?
3430
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3431
- execute_or_queue_command(command, &block)
3432
- end
3433
-
3434
3203
  # Sets the access control policy on the specified resource. Replaces any
3435
3204
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3436
3205
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.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-06-18 00:00:00.000000000 Z
11
+ date: 2023-08-06 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []