google-apis-beyondcorp_v1 0.36.0 → 0.38.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 +9 -0
- data/lib/google/apis/beyondcorp_v1/classes.rb +1 -1
- data/lib/google/apis/beyondcorp_v1/gem_version.rb +3 -3
- data/lib/google/apis/beyondcorp_v1/service.rb +188 -510
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfc31d6ac9c55eb14a18c31b48eced5de61bbb7a21162bcf91a0bec6ac82248f
|
4
|
+
data.tar.gz: a3d8639ce92147ad2f00b01357fb15589a851cecdfda00de1aa74f70b21afe68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 047f019235f027721204aafa9a95593cbea98d03d9a495009f22cf4dcf550ec7b47211381b42a4d4f18eeace32b42da9997e7502acb00efaebb7902c5a8e14e8
|
7
|
+
data.tar.gz: 1675156cfe584dc77bacd5b411b624535daaf44d98cb2d1ab4a92cae4a395af5a4fb84cd40c69c3850984465df03d174d83dc25926e16ffa63bdbc14e0f659bf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2025-06-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250616
|
6
|
+
|
7
|
+
### v0.37.0 (2025-06-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250604
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.36.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.17.0
|
@@ -1853,7 +1853,7 @@ module Google
|
|
1853
1853
|
end
|
1854
1854
|
end
|
1855
1855
|
|
1856
|
-
# Information about a
|
1856
|
+
# Information about a BeyondCorp SecurityGateway resource.
|
1857
1857
|
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
|
1858
1858
|
include Google::Apis::Core::Hashable
|
1859
1859
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1
|
18
18
|
# Version of the google-apis-beyondcorp_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -54,123 +54,6 @@ module Google
|
|
54
54
|
@batch_path = 'batch'
|
55
55
|
end
|
56
56
|
|
57
|
-
# Returns permissions that a caller has on the specified resource. If the
|
58
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
59
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
60
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
61
|
-
# This operation may "fail open" without warning.
|
62
|
-
# @param [String] resource
|
63
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
64
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
65
|
-
# appropriate value for this field.
|
66
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
67
|
-
# @param [String] fields
|
68
|
-
# Selector specifying which fields to include in a partial response.
|
69
|
-
# @param [String] quota_user
|
70
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
71
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
72
|
-
# @param [Google::Apis::RequestOptions] options
|
73
|
-
# Request-specific options
|
74
|
-
#
|
75
|
-
# @yield [result, err] Result & error if block supplied
|
76
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
77
|
-
# @yieldparam err [StandardError] error object if request failed
|
78
|
-
#
|
79
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
80
|
-
#
|
81
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
82
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
83
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
84
|
-
def test_organization_location_global_partner_tenant_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
85
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
86
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
87
|
-
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
88
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
89
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
90
|
-
command.params['resource'] = resource unless resource.nil?
|
91
|
-
command.query['fields'] = fields unless fields.nil?
|
92
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
93
|
-
execute_or_queue_command(command, &block)
|
94
|
-
end
|
95
|
-
|
96
|
-
# Returns permissions that a caller has on the specified resource. If the
|
97
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
98
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
99
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
100
|
-
# This operation may "fail open" without warning.
|
101
|
-
# @param [String] resource
|
102
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
103
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
104
|
-
# appropriate value for this field.
|
105
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
106
|
-
# @param [String] fields
|
107
|
-
# Selector specifying which fields to include in a partial response.
|
108
|
-
# @param [String] quota_user
|
109
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
110
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
111
|
-
# @param [Google::Apis::RequestOptions] options
|
112
|
-
# Request-specific options
|
113
|
-
#
|
114
|
-
# @yield [result, err] Result & error if block supplied
|
115
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
116
|
-
# @yieldparam err [StandardError] error object if request failed
|
117
|
-
#
|
118
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
119
|
-
#
|
120
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
121
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
122
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
123
|
-
def test_organization_location_global_partner_tenant_browser_dlp_rule_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
124
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
125
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
126
|
-
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
127
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
128
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
129
|
-
command.params['resource'] = resource unless resource.nil?
|
130
|
-
command.query['fields'] = fields unless fields.nil?
|
131
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
132
|
-
execute_or_queue_command(command, &block)
|
133
|
-
end
|
134
|
-
|
135
|
-
# Returns permissions that a caller has on the specified resource. If the
|
136
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
137
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
138
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
139
|
-
# This operation may "fail open" without warning.
|
140
|
-
# @param [String] resource
|
141
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
142
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
143
|
-
# appropriate value for this field.
|
144
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
145
|
-
# @param [String] fields
|
146
|
-
# Selector specifying which fields to include in a partial response.
|
147
|
-
# @param [String] quota_user
|
148
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
149
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
150
|
-
# @param [Google::Apis::RequestOptions] options
|
151
|
-
# Request-specific options
|
152
|
-
#
|
153
|
-
# @yield [result, err] Result & error if block supplied
|
154
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
155
|
-
# @yieldparam err [StandardError] error object if request failed
|
156
|
-
#
|
157
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
158
|
-
#
|
159
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
160
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
161
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
162
|
-
def test_organization_location_global_partner_tenant_proxy_config_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
163
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
164
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
165
|
-
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
166
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
167
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
168
|
-
command.params['resource'] = resource unless resource.nil?
|
169
|
-
command.query['fields'] = fields unless fields.nil?
|
170
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
171
|
-
execute_or_queue_command(command, &block)
|
172
|
-
end
|
173
|
-
|
174
57
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
175
58
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
176
59
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -1529,23 +1412,17 @@ module Google
|
|
1529
1412
|
execute_or_queue_command(command, &block)
|
1530
1413
|
end
|
1531
1414
|
|
1532
|
-
#
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
-
#
|
1536
|
-
#
|
1537
|
-
#
|
1538
|
-
#
|
1539
|
-
#
|
1540
|
-
#
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
# valid value or leave the field unset. The policy in the response might use the
|
1544
|
-
# policy version that you specified, or it might use a lower policy version. For
|
1545
|
-
# example, if you specify version 3, but the policy has no conditional role
|
1546
|
-
# bindings, the response uses version 1. To learn which resources support
|
1547
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1548
|
-
# google.com/iam/help/conditions/resource-policies).
|
1415
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1416
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1417
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1418
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1419
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1420
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1421
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1422
|
+
# , corresponding to `Code.CANCELLED`.
|
1423
|
+
# @param [String] name
|
1424
|
+
# The name of the operation resource to be cancelled.
|
1425
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
1549
1426
|
# @param [String] fields
|
1550
1427
|
# Selector specifying which fields to include in a partial response.
|
1551
1428
|
# @param [String] quota_user
|
@@ -1555,33 +1432,32 @@ module Google
|
|
1555
1432
|
# Request-specific options
|
1556
1433
|
#
|
1557
1434
|
# @yield [result, err] Result & error if block supplied
|
1558
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::
|
1435
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::Empty] parsed result object
|
1559
1436
|
# @yieldparam err [StandardError] error object if request failed
|
1560
1437
|
#
|
1561
|
-
# @return [Google::Apis::BeyondcorpV1::
|
1438
|
+
# @return [Google::Apis::BeyondcorpV1::Empty]
|
1562
1439
|
#
|
1563
1440
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1564
1441
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1565
1442
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1566
|
-
def
|
1567
|
-
command = make_simple_command(:
|
1568
|
-
command.
|
1569
|
-
command.
|
1570
|
-
command.
|
1571
|
-
command.
|
1443
|
+
def cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1444
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1445
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningCancelOperationRequest::Representation
|
1446
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
1447
|
+
command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation
|
1448
|
+
command.response_class = Google::Apis::BeyondcorpV1::Empty
|
1449
|
+
command.params['name'] = name unless name.nil?
|
1572
1450
|
command.query['fields'] = fields unless fields.nil?
|
1573
1451
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1574
1452
|
execute_or_queue_command(command, &block)
|
1575
1453
|
end
|
1576
1454
|
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
# appropriate value for this field.
|
1584
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1455
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
1456
|
+
# longer interested in the operation result. It does not cancel the operation.
|
1457
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1458
|
+
# UNIMPLEMENTED`.
|
1459
|
+
# @param [String] name
|
1460
|
+
# The name of the operation resource to be deleted.
|
1585
1461
|
# @param [String] fields
|
1586
1462
|
# Selector specifying which fields to include in a partial response.
|
1587
1463
|
# @param [String] quota_user
|
@@ -1591,36 +1467,28 @@ module Google
|
|
1591
1467
|
# Request-specific options
|
1592
1468
|
#
|
1593
1469
|
# @yield [result, err] Result & error if block supplied
|
1594
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::
|
1470
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::Empty] parsed result object
|
1595
1471
|
# @yieldparam err [StandardError] error object if request failed
|
1596
1472
|
#
|
1597
|
-
# @return [Google::Apis::BeyondcorpV1::
|
1473
|
+
# @return [Google::Apis::BeyondcorpV1::Empty]
|
1598
1474
|
#
|
1599
1475
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1600
1476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1601
1477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1602
|
-
def
|
1603
|
-
command = make_simple_command(:
|
1604
|
-
command.
|
1605
|
-
command.
|
1606
|
-
command.
|
1607
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
1608
|
-
command.params['resource'] = resource unless resource.nil?
|
1478
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1479
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1480
|
+
command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation
|
1481
|
+
command.response_class = Google::Apis::BeyondcorpV1::Empty
|
1482
|
+
command.params['name'] = name unless name.nil?
|
1609
1483
|
command.query['fields'] = fields unless fields.nil?
|
1610
1484
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1611
1485
|
execute_or_queue_command(command, &block)
|
1612
1486
|
end
|
1613
1487
|
|
1614
|
-
#
|
1615
|
-
#
|
1616
|
-
#
|
1617
|
-
#
|
1618
|
-
# This operation may "fail open" without warning.
|
1619
|
-
# @param [String] resource
|
1620
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1621
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1622
|
-
# appropriate value for this field.
|
1623
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1488
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1489
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1490
|
+
# @param [String] name
|
1491
|
+
# The name of the operation resource.
|
1624
1492
|
# @param [String] fields
|
1625
1493
|
# Selector specifying which fields to include in a partial response.
|
1626
1494
|
# @param [String] quota_user
|
@@ -1630,43 +1498,34 @@ module Google
|
|
1630
1498
|
# Request-specific options
|
1631
1499
|
#
|
1632
1500
|
# @yield [result, err] Result & error if block supplied
|
1633
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::
|
1501
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
1634
1502
|
# @yieldparam err [StandardError] error object if request failed
|
1635
1503
|
#
|
1636
|
-
# @return [Google::Apis::BeyondcorpV1::
|
1504
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
1637
1505
|
#
|
1638
1506
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1639
1507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1640
1508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1641
|
-
def
|
1642
|
-
command = make_simple_command(:
|
1643
|
-
command.
|
1644
|
-
command.
|
1645
|
-
command.
|
1646
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
1647
|
-
command.params['resource'] = resource unless resource.nil?
|
1509
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1510
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1511
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
1512
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
1513
|
+
command.params['name'] = name unless name.nil?
|
1648
1514
|
command.query['fields'] = fields unless fields.nil?
|
1649
1515
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1650
1516
|
execute_or_queue_command(command, &block)
|
1651
1517
|
end
|
1652
1518
|
|
1653
|
-
#
|
1654
|
-
#
|
1655
|
-
# @param [String]
|
1656
|
-
#
|
1657
|
-
#
|
1658
|
-
#
|
1659
|
-
# @param [Fixnum]
|
1660
|
-
#
|
1661
|
-
#
|
1662
|
-
#
|
1663
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
1664
|
-
# valid value or leave the field unset. The policy in the response might use the
|
1665
|
-
# policy version that you specified, or it might use a lower policy version. For
|
1666
|
-
# example, if you specify version 3, but the policy has no conditional role
|
1667
|
-
# bindings, the response uses version 1. To learn which resources support
|
1668
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1669
|
-
# google.com/iam/help/conditions/resource-policies).
|
1519
|
+
# Lists operations that match the specified filter in the request. If the server
|
1520
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1521
|
+
# @param [String] name
|
1522
|
+
# The name of the operation's parent resource.
|
1523
|
+
# @param [String] filter
|
1524
|
+
# The standard list filter.
|
1525
|
+
# @param [Fixnum] page_size
|
1526
|
+
# The standard list page size.
|
1527
|
+
# @param [String] page_token
|
1528
|
+
# The standard list page token.
|
1670
1529
|
# @param [String] fields
|
1671
1530
|
# Selector specifying which fields to include in a partial response.
|
1672
1531
|
# @param [String] quota_user
|
@@ -1676,323 +1535,10 @@ module Google
|
|
1676
1535
|
# Request-specific options
|
1677
1536
|
#
|
1678
1537
|
# @yield [result, err] Result & error if block supplied
|
1679
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::
|
1538
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse] parsed result object
|
1680
1539
|
# @yieldparam err [StandardError] error object if request failed
|
1681
1540
|
#
|
1682
|
-
# @return [Google::Apis::BeyondcorpV1::
|
1683
|
-
#
|
1684
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1685
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1686
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1687
|
-
def get_project_location_client_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1688
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1689
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
1690
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
1691
|
-
command.params['resource'] = resource unless resource.nil?
|
1692
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1693
|
-
command.query['fields'] = fields unless fields.nil?
|
1694
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1695
|
-
execute_or_queue_command(command, &block)
|
1696
|
-
end
|
1697
|
-
|
1698
|
-
# Returns permissions that a caller has on the specified resource. If the
|
1699
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
1700
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1701
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
1702
|
-
# This operation may "fail open" without warning.
|
1703
|
-
# @param [String] resource
|
1704
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1705
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1706
|
-
# appropriate value for this field.
|
1707
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1708
|
-
# @param [String] fields
|
1709
|
-
# Selector specifying which fields to include in a partial response.
|
1710
|
-
# @param [String] quota_user
|
1711
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1712
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1713
|
-
# @param [Google::Apis::RequestOptions] options
|
1714
|
-
# Request-specific options
|
1715
|
-
#
|
1716
|
-
# @yield [result, err] Result & error if block supplied
|
1717
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1718
|
-
# @yieldparam err [StandardError] error object if request failed
|
1719
|
-
#
|
1720
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
1721
|
-
#
|
1722
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1723
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1724
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1725
|
-
def test_project_location_client_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1726
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1727
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1728
|
-
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1729
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1730
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
1731
|
-
command.params['resource'] = resource unless resource.nil?
|
1732
|
-
command.query['fields'] = fields unless fields.nil?
|
1733
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1734
|
-
execute_or_queue_command(command, &block)
|
1735
|
-
end
|
1736
|
-
|
1737
|
-
# Creates a new Application in a given project and location.
|
1738
|
-
# @param [String] parent
|
1739
|
-
# Required. The resource name of the parent SecurityGateway using the form: `
|
1740
|
-
# projects/`project_id`/locations/global/securityGateways/`security_gateway_id``
|
1741
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application] google_cloud_beyondcorp_securitygateways_v1_application_object
|
1742
|
-
# @param [String] application_id
|
1743
|
-
# Optional. User-settable Application resource ID. * Must start with a letter. *
|
1744
|
-
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
1745
|
-
# or letter.
|
1746
|
-
# @param [String] request_id
|
1747
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1748
|
-
# request ID so that if you must retry your request, the server will know to
|
1749
|
-
# ignore request if it has already been completed. The server will guarantee
|
1750
|
-
# that for at least 60 minutes since the first request.
|
1751
|
-
# @param [String] fields
|
1752
|
-
# Selector specifying which fields to include in a partial response.
|
1753
|
-
# @param [String] quota_user
|
1754
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1755
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1756
|
-
# @param [Google::Apis::RequestOptions] options
|
1757
|
-
# Request-specific options
|
1758
|
-
#
|
1759
|
-
# @yield [result, err] Result & error if block supplied
|
1760
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
1761
|
-
# @yieldparam err [StandardError] error object if request failed
|
1762
|
-
#
|
1763
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
1764
|
-
#
|
1765
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1766
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1767
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1768
|
-
def create_project_location_global_security_gateway_application(parent, google_cloud_beyondcorp_securitygateways_v1_application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1769
|
-
command = make_simple_command(:post, 'v1/{+parent}/applications', options)
|
1770
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
1771
|
-
command.request_object = google_cloud_beyondcorp_securitygateways_v1_application_object
|
1772
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
1773
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
1774
|
-
command.params['parent'] = parent unless parent.nil?
|
1775
|
-
command.query['applicationId'] = application_id unless application_id.nil?
|
1776
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1777
|
-
command.query['fields'] = fields unless fields.nil?
|
1778
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1779
|
-
execute_or_queue_command(command, &block)
|
1780
|
-
end
|
1781
|
-
|
1782
|
-
# Updates the parameters of a single Application.
|
1783
|
-
# @param [String] name
|
1784
|
-
# Identifier. Name of the resource.
|
1785
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application] google_cloud_beyondcorp_securitygateways_v1_application_object
|
1786
|
-
# @param [String] request_id
|
1787
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1788
|
-
# request ID so that if you must retry your request, the server will know to
|
1789
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1790
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
1791
|
-
# situation where you make an initial request and the request timed out. If you
|
1792
|
-
# make the request again with the same request ID, the server can check if
|
1793
|
-
# original operation with the same request ID was received, and if so, will
|
1794
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1795
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1796
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1797
|
-
# @param [String] update_mask
|
1798
|
-
# Optional. Mutable fields include: display_name.
|
1799
|
-
# @param [String] fields
|
1800
|
-
# Selector specifying which fields to include in a partial response.
|
1801
|
-
# @param [String] quota_user
|
1802
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1803
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1804
|
-
# @param [Google::Apis::RequestOptions] options
|
1805
|
-
# Request-specific options
|
1806
|
-
#
|
1807
|
-
# @yield [result, err] Result & error if block supplied
|
1808
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
1809
|
-
# @yieldparam err [StandardError] error object if request failed
|
1810
|
-
#
|
1811
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
1812
|
-
#
|
1813
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1814
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1815
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1816
|
-
def patch_project_location_global_security_gateway_application(name, google_cloud_beyondcorp_securitygateways_v1_application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1817
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1818
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
1819
|
-
command.request_object = google_cloud_beyondcorp_securitygateways_v1_application_object
|
1820
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
1821
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
1822
|
-
command.params['name'] = name unless name.nil?
|
1823
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1824
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1825
|
-
command.query['fields'] = fields unless fields.nil?
|
1826
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1827
|
-
execute_or_queue_command(command, &block)
|
1828
|
-
end
|
1829
|
-
|
1830
|
-
# Returns permissions that a caller has on the specified resource. If the
|
1831
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
1832
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1833
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
1834
|
-
# This operation may "fail open" without warning.
|
1835
|
-
# @param [String] resource
|
1836
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1837
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1838
|
-
# appropriate value for this field.
|
1839
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1840
|
-
# @param [String] fields
|
1841
|
-
# Selector specifying which fields to include in a partial response.
|
1842
|
-
# @param [String] quota_user
|
1843
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1844
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1845
|
-
# @param [Google::Apis::RequestOptions] options
|
1846
|
-
# Request-specific options
|
1847
|
-
#
|
1848
|
-
# @yield [result, err] Result & error if block supplied
|
1849
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1850
|
-
# @yieldparam err [StandardError] error object if request failed
|
1851
|
-
#
|
1852
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
1853
|
-
#
|
1854
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1855
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1856
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1857
|
-
def test_project_location_global_security_gateway_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1858
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1859
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1860
|
-
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1861
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1862
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
1863
|
-
command.params['resource'] = resource unless resource.nil?
|
1864
|
-
command.query['fields'] = fields unless fields.nil?
|
1865
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1866
|
-
execute_or_queue_command(command, &block)
|
1867
|
-
end
|
1868
|
-
|
1869
|
-
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1870
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1871
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1872
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
1873
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
1874
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1875
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1876
|
-
# , corresponding to `Code.CANCELLED`.
|
1877
|
-
# @param [String] name
|
1878
|
-
# The name of the operation resource to be cancelled.
|
1879
|
-
# @param [Google::Apis::BeyondcorpV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
1880
|
-
# @param [String] fields
|
1881
|
-
# Selector specifying which fields to include in a partial response.
|
1882
|
-
# @param [String] quota_user
|
1883
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1884
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1885
|
-
# @param [Google::Apis::RequestOptions] options
|
1886
|
-
# Request-specific options
|
1887
|
-
#
|
1888
|
-
# @yield [result, err] Result & error if block supplied
|
1889
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::Empty] parsed result object
|
1890
|
-
# @yieldparam err [StandardError] error object if request failed
|
1891
|
-
#
|
1892
|
-
# @return [Google::Apis::BeyondcorpV1::Empty]
|
1893
|
-
#
|
1894
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1895
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1896
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1897
|
-
def cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1898
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1899
|
-
command.request_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningCancelOperationRequest::Representation
|
1900
|
-
command.request_object = google_longrunning_cancel_operation_request_object
|
1901
|
-
command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation
|
1902
|
-
command.response_class = Google::Apis::BeyondcorpV1::Empty
|
1903
|
-
command.params['name'] = name unless name.nil?
|
1904
|
-
command.query['fields'] = fields unless fields.nil?
|
1905
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1906
|
-
execute_or_queue_command(command, &block)
|
1907
|
-
end
|
1908
|
-
|
1909
|
-
# Deletes a long-running operation. This method indicates that the client is no
|
1910
|
-
# longer interested in the operation result. It does not cancel the operation.
|
1911
|
-
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1912
|
-
# UNIMPLEMENTED`.
|
1913
|
-
# @param [String] name
|
1914
|
-
# The name of the operation resource to be deleted.
|
1915
|
-
# @param [String] fields
|
1916
|
-
# Selector specifying which fields to include in a partial response.
|
1917
|
-
# @param [String] quota_user
|
1918
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1919
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1920
|
-
# @param [Google::Apis::RequestOptions] options
|
1921
|
-
# Request-specific options
|
1922
|
-
#
|
1923
|
-
# @yield [result, err] Result & error if block supplied
|
1924
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::Empty] parsed result object
|
1925
|
-
# @yieldparam err [StandardError] error object if request failed
|
1926
|
-
#
|
1927
|
-
# @return [Google::Apis::BeyondcorpV1::Empty]
|
1928
|
-
#
|
1929
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1930
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1931
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1932
|
-
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1933
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1934
|
-
command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation
|
1935
|
-
command.response_class = Google::Apis::BeyondcorpV1::Empty
|
1936
|
-
command.params['name'] = name unless name.nil?
|
1937
|
-
command.query['fields'] = fields unless fields.nil?
|
1938
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1939
|
-
execute_or_queue_command(command, &block)
|
1940
|
-
end
|
1941
|
-
|
1942
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
1943
|
-
# to poll the operation result at intervals as recommended by the API service.
|
1944
|
-
# @param [String] name
|
1945
|
-
# The name of the operation resource.
|
1946
|
-
# @param [String] fields
|
1947
|
-
# Selector specifying which fields to include in a partial response.
|
1948
|
-
# @param [String] quota_user
|
1949
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1950
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1951
|
-
# @param [Google::Apis::RequestOptions] options
|
1952
|
-
# Request-specific options
|
1953
|
-
#
|
1954
|
-
# @yield [result, err] Result & error if block supplied
|
1955
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
1956
|
-
# @yieldparam err [StandardError] error object if request failed
|
1957
|
-
#
|
1958
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
1959
|
-
#
|
1960
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1961
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1962
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1963
|
-
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1964
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1965
|
-
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
1966
|
-
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
1967
|
-
command.params['name'] = name unless name.nil?
|
1968
|
-
command.query['fields'] = fields unless fields.nil?
|
1969
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1970
|
-
execute_or_queue_command(command, &block)
|
1971
|
-
end
|
1972
|
-
|
1973
|
-
# Lists operations that match the specified filter in the request. If the server
|
1974
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1975
|
-
# @param [String] name
|
1976
|
-
# The name of the operation's parent resource.
|
1977
|
-
# @param [String] filter
|
1978
|
-
# The standard list filter.
|
1979
|
-
# @param [Fixnum] page_size
|
1980
|
-
# The standard list page size.
|
1981
|
-
# @param [String] page_token
|
1982
|
-
# The standard list page token.
|
1983
|
-
# @param [String] fields
|
1984
|
-
# Selector specifying which fields to include in a partial response.
|
1985
|
-
# @param [String] quota_user
|
1986
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1987
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1988
|
-
# @param [Google::Apis::RequestOptions] options
|
1989
|
-
# Request-specific options
|
1990
|
-
#
|
1991
|
-
# @yield [result, err] Result & error if block supplied
|
1992
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse] parsed result object
|
1993
|
-
# @yieldparam err [StandardError] error object if request failed
|
1994
|
-
#
|
1995
|
-
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse]
|
1541
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse]
|
1996
1542
|
#
|
1997
1543
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1998
1544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
@@ -2354,6 +1900,51 @@ module Google
|
|
2354
1900
|
execute_or_queue_command(command, &block)
|
2355
1901
|
end
|
2356
1902
|
|
1903
|
+
# Creates a new Application in a given project and location.
|
1904
|
+
# @param [String] parent
|
1905
|
+
# Required. The resource name of the parent SecurityGateway using the form: `
|
1906
|
+
# projects/`project_id`/locations/global/securityGateways/`security_gateway_id``
|
1907
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application] google_cloud_beyondcorp_securitygateways_v1_application_object
|
1908
|
+
# @param [String] application_id
|
1909
|
+
# Optional. User-settable Application resource ID. * Must start with a letter. *
|
1910
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
1911
|
+
# or letter.
|
1912
|
+
# @param [String] request_id
|
1913
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1914
|
+
# request ID so that if you must retry your request, the server will know to
|
1915
|
+
# ignore request if it has already been completed. The server will guarantee
|
1916
|
+
# that for at least 60 minutes since the first request.
|
1917
|
+
# @param [String] fields
|
1918
|
+
# Selector specifying which fields to include in a partial response.
|
1919
|
+
# @param [String] quota_user
|
1920
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1921
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1922
|
+
# @param [Google::Apis::RequestOptions] options
|
1923
|
+
# Request-specific options
|
1924
|
+
#
|
1925
|
+
# @yield [result, err] Result & error if block supplied
|
1926
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
1927
|
+
# @yieldparam err [StandardError] error object if request failed
|
1928
|
+
#
|
1929
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
1930
|
+
#
|
1931
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1932
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1933
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1934
|
+
def create_project_location_security_gateway_application(parent, google_cloud_beyondcorp_securitygateways_v1_application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1935
|
+
command = make_simple_command(:post, 'v1/{+parent}/applications', options)
|
1936
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
1937
|
+
command.request_object = google_cloud_beyondcorp_securitygateways_v1_application_object
|
1938
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
1939
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
1940
|
+
command.params['parent'] = parent unless parent.nil?
|
1941
|
+
command.query['applicationId'] = application_id unless application_id.nil?
|
1942
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1943
|
+
command.query['fields'] = fields unless fields.nil?
|
1944
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1945
|
+
execute_or_queue_command(command, &block)
|
1946
|
+
end
|
1947
|
+
|
2357
1948
|
# Deletes a single Application.
|
2358
1949
|
# @param [String] name
|
2359
1950
|
# Required. Name of the resource.
|
@@ -2529,6 +2120,54 @@ module Google
|
|
2529
2120
|
execute_or_queue_command(command, &block)
|
2530
2121
|
end
|
2531
2122
|
|
2123
|
+
# Updates the parameters of a single Application.
|
2124
|
+
# @param [String] name
|
2125
|
+
# Identifier. Name of the resource.
|
2126
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application] google_cloud_beyondcorp_securitygateways_v1_application_object
|
2127
|
+
# @param [String] request_id
|
2128
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2129
|
+
# request ID so that if you must retry your request, the server will know to
|
2130
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2131
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
2132
|
+
# situation where you make an initial request and the request timed out. If you
|
2133
|
+
# make the request again with the same request ID, the server can check if
|
2134
|
+
# original operation with the same request ID was received, and if so, will
|
2135
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2136
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2137
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2138
|
+
# @param [String] update_mask
|
2139
|
+
# Optional. Mutable fields include: display_name.
|
2140
|
+
# @param [String] fields
|
2141
|
+
# Selector specifying which fields to include in a partial response.
|
2142
|
+
# @param [String] quota_user
|
2143
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2144
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2145
|
+
# @param [Google::Apis::RequestOptions] options
|
2146
|
+
# Request-specific options
|
2147
|
+
#
|
2148
|
+
# @yield [result, err] Result & error if block supplied
|
2149
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2150
|
+
# @yieldparam err [StandardError] error object if request failed
|
2151
|
+
#
|
2152
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2153
|
+
#
|
2154
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2155
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2156
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2157
|
+
def patch_project_location_security_gateway_application(name, google_cloud_beyondcorp_securitygateways_v1_application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2158
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2159
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
2160
|
+
command.request_object = google_cloud_beyondcorp_securitygateways_v1_application_object
|
2161
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2162
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2163
|
+
command.params['name'] = name unless name.nil?
|
2164
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2165
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2166
|
+
command.query['fields'] = fields unless fields.nil?
|
2167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2168
|
+
execute_or_queue_command(command, &block)
|
2169
|
+
end
|
2170
|
+
|
2532
2171
|
# Sets the access control policy on the specified resource. Replaces any
|
2533
2172
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2534
2173
|
# PERMISSION_DENIED` errors.
|
@@ -2565,6 +2204,45 @@ module Google
|
|
2565
2204
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2566
2205
|
execute_or_queue_command(command, &block)
|
2567
2206
|
end
|
2207
|
+
|
2208
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2209
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2210
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2211
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2212
|
+
# This operation may "fail open" without warning.
|
2213
|
+
# @param [String] resource
|
2214
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2215
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2216
|
+
# appropriate value for this field.
|
2217
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2218
|
+
# @param [String] fields
|
2219
|
+
# Selector specifying which fields to include in a partial response.
|
2220
|
+
# @param [String] quota_user
|
2221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2223
|
+
# @param [Google::Apis::RequestOptions] options
|
2224
|
+
# Request-specific options
|
2225
|
+
#
|
2226
|
+
# @yield [result, err] Result & error if block supplied
|
2227
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2228
|
+
# @yieldparam err [StandardError] error object if request failed
|
2229
|
+
#
|
2230
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
2231
|
+
#
|
2232
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2233
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2234
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2235
|
+
def test_project_location_security_gateway_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2236
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2237
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2238
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2239
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2240
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
2241
|
+
command.params['resource'] = resource unless resource.nil?
|
2242
|
+
command.query['fields'] = fields unless fields.nil?
|
2243
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2244
|
+
execute_or_queue_command(command, &block)
|
2245
|
+
end
|
2568
2246
|
|
2569
2247
|
protected
|
2570
2248
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.38.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for BeyondCorp API V1
|
79
79
|
test_files: []
|