google-apis-beyondcorp_v1alpha 0.22.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.
@@ -1418,6 +1418,150 @@ module Google
1418
1418
  execute_or_queue_command(command, &block)
1419
1419
  end
1420
1420
 
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
1432
+ # @param [String] fields
1433
+ # Selector specifying which fields to include in a partial response.
1434
+ # @param [String] quota_user
1435
+ # Available to use for quota purposes for server-side applications. Can be any
1436
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1437
+ # @param [Google::Apis::RequestOptions] options
1438
+ # Request-specific options
1439
+ #
1440
+ # @yield [result, err] Result & error if block supplied
1441
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::Empty] parsed result object
1442
+ # @yieldparam err [StandardError] error object if request failed
1443
+ #
1444
+ # @return [Google::Apis::BeyondcorpV1alpha::Empty]
1445
+ #
1446
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1447
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1448
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
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?
1456
+ command.query['fields'] = fields unless fields.nil?
1457
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1458
+ execute_or_queue_command(command, &block)
1459
+ end
1460
+
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`.
1465
+ # @param [String] name
1466
+ # The name of the operation resource to be deleted.
1467
+ # @param [String] fields
1468
+ # Selector specifying which fields to include in a partial response.
1469
+ # @param [String] quota_user
1470
+ # Available to use for quota purposes for server-side applications. Can be any
1471
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1472
+ # @param [Google::Apis::RequestOptions] options
1473
+ # Request-specific options
1474
+ #
1475
+ # @yield [result, err] Result & error if block supplied
1476
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::Empty] parsed result object
1477
+ # @yieldparam err [StandardError] error object if request failed
1478
+ #
1479
+ # @return [Google::Apis::BeyondcorpV1alpha::Empty]
1480
+ #
1481
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1482
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1483
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
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
1488
+ command.params['name'] = name unless name.nil?
1489
+ command.query['fields'] = fields unless fields.nil?
1490
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1491
+ execute_or_queue_command(command, &block)
1492
+ end
1493
+
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.
1498
+ # @param [String] fields
1499
+ # Selector specifying which fields to include in a partial response.
1500
+ # @param [String] quota_user
1501
+ # Available to use for quota purposes for server-side applications. Can be any
1502
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1503
+ # @param [Google::Apis::RequestOptions] options
1504
+ # Request-specific options
1505
+ #
1506
+ # @yield [result, err] Result & error if block supplied
1507
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
1508
+ # @yieldparam err [StandardError] error object if request failed
1509
+ #
1510
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
1511
+ #
1512
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1513
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1514
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
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?
1520
+ command.query['fields'] = fields unless fields.nil?
1521
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1522
+ execute_or_queue_command(command, &block)
1523
+ end
1524
+
1525
+ # Lists operations that match the specified filter in the request. If the server
1526
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1527
+ # @param [String] name
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
+
1421
1565
  # Creates a new BeyondCorp Enterprise Subscription in a given organization.
1422
1566
  # Location will always be global as BeyondCorp subscriptions are per
1423
1567
  # organization.
@@ -2858,137 +3002,6 @@ module Google
2858
3002
  execute_or_queue_command(command, &block)
2859
3003
  end
2860
3004
 
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
3005
  # Gets the access control policy for a resource. Returns an empty policy if the
2993
3006
  # resource exists and does not have a policy set.
2994
3007
  # @param [String] resource
@@ -3034,109 +3047,6 @@ module Google
3034
3047
  execute_or_queue_command(command, &block)
3035
3048
  end
3036
3049
 
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
3050
  # Sets the access control policy on the specified resource. Replaces any
3141
3051
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3142
3052
  # PERMISSION_DENIED` errors.
@@ -3213,136 +3123,6 @@ module Google
3213
3123
  execute_or_queue_command(command, &block)
3214
3124
  end
3215
3125
 
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
3126
  # Gets the access control policy for a resource. Returns an empty policy if the
3347
3127
  # resource exists and does not have a policy set.
3348
3128
  # @param [String] resource
@@ -3388,49 +3168,6 @@ module Google
3388
3168
  execute_or_queue_command(command, &block)
3389
3169
  end
3390
3170
 
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
3171
  # Sets the access control policy on the specified resource. Replaces any
3435
3172
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3436
3173
  # 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.23.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-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_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.23.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: []