google-apis-beyondcorp_v1 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '057737900e0e17f5a5ef60f771c296fa32c858575ce25cd4c8f566b08b320a91'
|
4
|
+
data.tar.gz: 9776d827ceb093ddde2bd5864a3e67b34a56da83525275ac91f2f559b092f982
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1e925691b2198c2bdede2d8f910d2a80caf120d240830c393487d7b80f40d239bdb83c5ef6af299f1ab5f1cbcaa6836364d9eed547b668497b61a73c804cdf7
|
7
|
+
data.tar.gz: beeea4c1e67b53f06a3ffc4db40fb183a8f1c882f93f1492afbaf169c7d8ec800b4220671b9583717707805609f9087457670b883e95b240679d70eb6a391269
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2024-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241024
|
6
|
+
|
7
|
+
### v0.29.0 (2024-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241011
|
10
|
+
|
3
11
|
### v0.28.0 (2024-10-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240925
|
@@ -1755,10 +1755,10 @@ module Google
|
|
1755
1755
|
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub
|
1756
1756
|
include Google::Apis::Core::Hashable
|
1757
1757
|
|
1758
|
-
# Represents the
|
1759
|
-
# Corresponds to the JSON property `
|
1760
|
-
# @return [Google::Apis::BeyondcorpV1::
|
1761
|
-
attr_accessor :
|
1758
|
+
# Represents the Internet Gateway configuration.
|
1759
|
+
# Corresponds to the JSON property `internetGateway`
|
1760
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway]
|
1761
|
+
attr_accessor :internet_gateway
|
1762
1762
|
|
1763
1763
|
def initialize(**args)
|
1764
1764
|
update!(**args)
|
@@ -1766,7 +1766,26 @@ module Google
|
|
1766
1766
|
|
1767
1767
|
# Update properties of this object
|
1768
1768
|
def update!(**args)
|
1769
|
-
@
|
1769
|
+
@internet_gateway = args[:internet_gateway] if args.key?(:internet_gateway)
|
1770
|
+
end
|
1771
|
+
end
|
1772
|
+
|
1773
|
+
# Represents the Internet Gateway configuration.
|
1774
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
|
1775
|
+
include Google::Apis::Core::Hashable
|
1776
|
+
|
1777
|
+
# Output only. List of IP addresses assigned to the Cloud NAT.
|
1778
|
+
# Corresponds to the JSON property `assignedIps`
|
1779
|
+
# @return [Array<String>]
|
1780
|
+
attr_accessor :assigned_ips
|
1781
|
+
|
1782
|
+
def initialize(**args)
|
1783
|
+
update!(**args)
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
# Update properties of this object
|
1787
|
+
def update!(**args)
|
1788
|
+
@assigned_ips = args[:assigned_ips] if args.key?(:assigned_ips)
|
1770
1789
|
end
|
1771
1790
|
end
|
1772
1791
|
|
@@ -1834,26 +1853,6 @@ module Google
|
|
1834
1853
|
end
|
1835
1854
|
end
|
1836
1855
|
|
1837
|
-
# Represents the NAT Gateway configuration.
|
1838
|
-
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
|
1839
|
-
include Google::Apis::Core::Hashable
|
1840
|
-
|
1841
|
-
# Output only. List of NAT IPs that will be used for establishing connection to
|
1842
|
-
# the endpoints.
|
1843
|
-
# Corresponds to the JSON property `natIps`
|
1844
|
-
# @return [Array<String>]
|
1845
|
-
attr_accessor :nat_ips
|
1846
|
-
|
1847
|
-
def initialize(**args)
|
1848
|
-
update!(**args)
|
1849
|
-
end
|
1850
|
-
|
1851
|
-
# Update properties of this object
|
1852
|
-
def update!(**args)
|
1853
|
-
@nat_ips = args[:nat_ips] if args.key?(:nat_ips)
|
1854
|
-
end
|
1855
|
-
end
|
1856
|
-
|
1857
1856
|
# VPC Peering details.
|
1858
1857
|
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
|
1859
1858
|
include Google::Apis::Core::Hashable
|
@@ -1865,9 +1864,9 @@ module Google
|
|
1865
1864
|
|
1866
1865
|
# Required. The name of the Target VPC network name in the format: `projects/`
|
1867
1866
|
# project`/global/networks/`network`
|
1868
|
-
# Corresponds to the JSON property `
|
1867
|
+
# Corresponds to the JSON property `targetNetwork`
|
1869
1868
|
# @return [String]
|
1870
|
-
attr_accessor :
|
1869
|
+
attr_accessor :target_network
|
1871
1870
|
|
1872
1871
|
def initialize(**args)
|
1873
1872
|
update!(**args)
|
@@ -1876,7 +1875,7 @@ module Google
|
|
1876
1875
|
# Update properties of this object
|
1877
1876
|
def update!(**args)
|
1878
1877
|
@dns_zones = args[:dns_zones] if args.key?(:dns_zones)
|
1879
|
-
@
|
1878
|
+
@target_network = args[:target_network] if args.key?(:target_network)
|
1880
1879
|
end
|
1881
1880
|
end
|
1882
1881
|
|
@@ -2002,6 +2001,11 @@ module Google
|
|
2002
2001
|
class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
|
2003
2002
|
include Google::Apis::Core::Hashable
|
2004
2003
|
|
2004
|
+
# Required. List of Peering connection information.
|
2005
|
+
# Corresponds to the JSON property `peerings`
|
2006
|
+
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering>]
|
2007
|
+
attr_accessor :peerings
|
2008
|
+
|
2005
2009
|
# Optional. An optional request ID to identify requests. Specify a unique
|
2006
2010
|
# request ID so that if you must retry your request, the server will know to
|
2007
2011
|
# ignore the request if it has already been completed. The server will guarantee
|
@@ -2023,20 +2027,15 @@ module Google
|
|
2023
2027
|
attr_accessor :validate_only
|
2024
2028
|
alias_method :validate_only?, :validate_only
|
2025
2029
|
|
2026
|
-
# Required. List of Peering connection information.
|
2027
|
-
# Corresponds to the JSON property `vpcPeerings`
|
2028
|
-
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering>]
|
2029
|
-
attr_accessor :vpc_peerings
|
2030
|
-
|
2031
2030
|
def initialize(**args)
|
2032
2031
|
update!(**args)
|
2033
2032
|
end
|
2034
2033
|
|
2035
2034
|
# Update properties of this object
|
2036
2035
|
def update!(**args)
|
2036
|
+
@peerings = args[:peerings] if args.key?(:peerings)
|
2037
2037
|
@request_id = args[:request_id] if args.key?(:request_id)
|
2038
2038
|
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
2039
|
-
@vpc_peerings = args[:vpc_peerings] if args.key?(:vpc_peerings)
|
2040
2039
|
end
|
2041
2040
|
end
|
2042
2041
|
|
@@ -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.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241024"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,19 +280,19 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
-
class
|
283
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
|
284
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
285
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
-
class
|
289
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
|
290
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
291
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
-
class
|
295
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
|
296
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
297
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -885,11 +885,18 @@ module Google
|
|
885
885
|
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub
|
886
886
|
# @private
|
887
887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
888
|
-
property :
|
888
|
+
property :internet_gateway, as: 'internetGateway', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway::Representation
|
889
889
|
|
890
890
|
end
|
891
891
|
end
|
892
892
|
|
893
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
|
894
|
+
# @private
|
895
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
896
|
+
collection :assigned_ips, as: 'assignedIps'
|
897
|
+
end
|
898
|
+
end
|
899
|
+
|
893
900
|
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
|
894
901
|
# @private
|
895
902
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -910,18 +917,11 @@ module Google
|
|
910
917
|
end
|
911
918
|
end
|
912
919
|
|
913
|
-
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
|
914
|
-
# @private
|
915
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
916
|
-
collection :nat_ips, as: 'natIps'
|
917
|
-
end
|
918
|
-
end
|
919
|
-
|
920
920
|
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
|
921
921
|
# @private
|
922
922
|
class Representation < Google::Apis::Core::JsonRepresentation
|
923
923
|
collection :dns_zones, as: 'dnsZones'
|
924
|
-
property :
|
924
|
+
property :target_network, as: 'targetNetwork'
|
925
925
|
end
|
926
926
|
end
|
927
927
|
|
@@ -955,10 +955,10 @@ module Google
|
|
955
955
|
class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
|
956
956
|
# @private
|
957
957
|
class Representation < Google::Apis::Core::JsonRepresentation
|
958
|
+
collection :peerings, as: 'peerings', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering::Representation
|
959
|
+
|
958
960
|
property :request_id, as: 'requestId'
|
959
961
|
property :validate_only, as: 'validateOnly'
|
960
|
-
collection :vpc_peerings, as: 'vpcPeerings', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering::Representation
|
961
|
-
|
962
962
|
end
|
963
963
|
end
|
964
964
|
|
@@ -2143,6 +2143,45 @@ module Google
|
|
2143
2143
|
execute_or_queue_command(command, &block)
|
2144
2144
|
end
|
2145
2145
|
|
2146
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2147
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2148
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2149
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2150
|
+
# This operation may "fail open" without warning.
|
2151
|
+
# @param [String] resource
|
2152
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2153
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2154
|
+
# appropriate value for this field.
|
2155
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2156
|
+
# @param [String] fields
|
2157
|
+
# Selector specifying which fields to include in a partial response.
|
2158
|
+
# @param [String] quota_user
|
2159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2161
|
+
# @param [Google::Apis::RequestOptions] options
|
2162
|
+
# Request-specific options
|
2163
|
+
#
|
2164
|
+
# @yield [result, err] Result & error if block supplied
|
2165
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2166
|
+
# @yieldparam err [StandardError] error object if request failed
|
2167
|
+
#
|
2168
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
2169
|
+
#
|
2170
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2171
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2172
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2173
|
+
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)
|
2174
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2175
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2176
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2177
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2178
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
2179
|
+
command.params['resource'] = resource unless resource.nil?
|
2180
|
+
command.query['fields'] = fields unless fields.nil?
|
2181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2182
|
+
execute_or_queue_command(command, &block)
|
2183
|
+
end
|
2184
|
+
|
2146
2185
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2147
2186
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2148
2187
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -2410,6 +2449,51 @@ module Google
|
|
2410
2449
|
execute_or_queue_command(command, &block)
|
2411
2450
|
end
|
2412
2451
|
|
2452
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2453
|
+
# resource exists and does not have a policy set.
|
2454
|
+
# @param [String] resource
|
2455
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2456
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2457
|
+
# appropriate value for this field.
|
2458
|
+
# @param [Fixnum] options_requested_policy_version
|
2459
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2460
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2461
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2462
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2463
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2464
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2465
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2466
|
+
# bindings, the response uses version 1. To learn which resources support
|
2467
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2468
|
+
# google.com/iam/help/conditions/resource-policies).
|
2469
|
+
# @param [String] fields
|
2470
|
+
# Selector specifying which fields to include in a partial response.
|
2471
|
+
# @param [String] quota_user
|
2472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2474
|
+
# @param [Google::Apis::RequestOptions] options
|
2475
|
+
# Request-specific options
|
2476
|
+
#
|
2477
|
+
# @yield [result, err] Result & error if block supplied
|
2478
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
2479
|
+
# @yieldparam err [StandardError] error object if request failed
|
2480
|
+
#
|
2481
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
2482
|
+
#
|
2483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2486
|
+
def get_project_location_security_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2487
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2488
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
2489
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
2490
|
+
command.params['resource'] = resource unless resource.nil?
|
2491
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2492
|
+
command.query['fields'] = fields unless fields.nil?
|
2493
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2494
|
+
execute_or_queue_command(command, &block)
|
2495
|
+
end
|
2496
|
+
|
2413
2497
|
# Lists SecurityGateways in a given project and location.
|
2414
2498
|
# @param [String] parent
|
2415
2499
|
# Required. The parent location to which the resources belong. `projects/`
|
@@ -2510,6 +2594,43 @@ module Google
|
|
2510
2594
|
execute_or_queue_command(command, &block)
|
2511
2595
|
end
|
2512
2596
|
|
2597
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2598
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2599
|
+
# PERMISSION_DENIED` errors.
|
2600
|
+
# @param [String] resource
|
2601
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2602
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2603
|
+
# appropriate value for this field.
|
2604
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
2605
|
+
# @param [String] fields
|
2606
|
+
# Selector specifying which fields to include in a partial response.
|
2607
|
+
# @param [String] quota_user
|
2608
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2609
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2610
|
+
# @param [Google::Apis::RequestOptions] options
|
2611
|
+
# Request-specific options
|
2612
|
+
#
|
2613
|
+
# @yield [result, err] Result & error if block supplied
|
2614
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
2615
|
+
# @yieldparam err [StandardError] error object if request failed
|
2616
|
+
#
|
2617
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
2618
|
+
#
|
2619
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2620
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2621
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2622
|
+
def set_project_location_security_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2623
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2624
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
|
2625
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
2626
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
2627
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
2628
|
+
command.params['resource'] = resource unless resource.nil?
|
2629
|
+
command.query['fields'] = fields unless fields.nil?
|
2630
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2631
|
+
execute_or_queue_command(command, &block)
|
2632
|
+
end
|
2633
|
+
|
2513
2634
|
# This is a custom method to allow customers to create a peering connections
|
2514
2635
|
# between Google network and customer networks. This is enabled only for the
|
2515
2636
|
# allowlisted customers.
|
@@ -2546,6 +2667,45 @@ module Google
|
|
2546
2667
|
execute_or_queue_command(command, &block)
|
2547
2668
|
end
|
2548
2669
|
|
2670
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2671
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2672
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2673
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2674
|
+
# This operation may "fail open" without warning.
|
2675
|
+
# @param [String] resource
|
2676
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2677
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2678
|
+
# appropriate value for this field.
|
2679
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2680
|
+
# @param [String] fields
|
2681
|
+
# Selector specifying which fields to include in a partial response.
|
2682
|
+
# @param [String] quota_user
|
2683
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2684
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2685
|
+
# @param [Google::Apis::RequestOptions] options
|
2686
|
+
# Request-specific options
|
2687
|
+
#
|
2688
|
+
# @yield [result, err] Result & error if block supplied
|
2689
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2690
|
+
# @yieldparam err [StandardError] error object if request failed
|
2691
|
+
#
|
2692
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
2693
|
+
#
|
2694
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2695
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2696
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2697
|
+
def test_project_location_security_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2698
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2699
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2700
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2701
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2702
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
2703
|
+
command.params['resource'] = resource unless resource.nil?
|
2704
|
+
command.query['fields'] = fields unless fields.nil?
|
2705
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2706
|
+
execute_or_queue_command(command, &block)
|
2707
|
+
end
|
2708
|
+
|
2549
2709
|
# Deletes a single Application.
|
2550
2710
|
# @param [String] name
|
2551
2711
|
# Required. Name of the resource.
|
@@ -2624,6 +2784,51 @@ module Google
|
|
2624
2784
|
execute_or_queue_command(command, &block)
|
2625
2785
|
end
|
2626
2786
|
|
2787
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2788
|
+
# resource exists and does not have a policy set.
|
2789
|
+
# @param [String] resource
|
2790
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2791
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2792
|
+
# appropriate value for this field.
|
2793
|
+
# @param [Fixnum] options_requested_policy_version
|
2794
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2795
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2796
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2797
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2798
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2799
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2800
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2801
|
+
# bindings, the response uses version 1. To learn which resources support
|
2802
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2803
|
+
# google.com/iam/help/conditions/resource-policies).
|
2804
|
+
# @param [String] fields
|
2805
|
+
# Selector specifying which fields to include in a partial response.
|
2806
|
+
# @param [String] quota_user
|
2807
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2808
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2809
|
+
# @param [Google::Apis::RequestOptions] options
|
2810
|
+
# Request-specific options
|
2811
|
+
#
|
2812
|
+
# @yield [result, err] Result & error if block supplied
|
2813
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
2814
|
+
# @yieldparam err [StandardError] error object if request failed
|
2815
|
+
#
|
2816
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
2817
|
+
#
|
2818
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2819
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2820
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2821
|
+
def get_project_location_security_gateway_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2822
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2823
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
2824
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
2825
|
+
command.params['resource'] = resource unless resource.nil?
|
2826
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2827
|
+
command.query['fields'] = fields unless fields.nil?
|
2828
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2829
|
+
execute_or_queue_command(command, &block)
|
2830
|
+
end
|
2831
|
+
|
2627
2832
|
# Lists Applications in a given project and location.
|
2628
2833
|
# @param [String] parent
|
2629
2834
|
# Required. The parent location to which the resources belong. `projects/`
|
@@ -2675,6 +2880,43 @@ module Google
|
|
2675
2880
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2676
2881
|
execute_or_queue_command(command, &block)
|
2677
2882
|
end
|
2883
|
+
|
2884
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2885
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2886
|
+
# PERMISSION_DENIED` errors.
|
2887
|
+
# @param [String] resource
|
2888
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2889
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2890
|
+
# appropriate value for this field.
|
2891
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
2892
|
+
# @param [String] fields
|
2893
|
+
# Selector specifying which fields to include in a partial response.
|
2894
|
+
# @param [String] quota_user
|
2895
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2896
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2897
|
+
# @param [Google::Apis::RequestOptions] options
|
2898
|
+
# Request-specific options
|
2899
|
+
#
|
2900
|
+
# @yield [result, err] Result & error if block supplied
|
2901
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
2902
|
+
# @yieldparam err [StandardError] error object if request failed
|
2903
|
+
#
|
2904
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
2905
|
+
#
|
2906
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2907
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2908
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2909
|
+
def set_project_location_security_gateway_application_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2910
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2911
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
|
2912
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
2913
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
2914
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
2915
|
+
command.params['resource'] = resource unless resource.nil?
|
2916
|
+
command.query['fields'] = fields unless fields.nil?
|
2917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2918
|
+
execute_or_queue_command(command, &block)
|
2919
|
+
end
|
2678
2920
|
|
2679
2921
|
protected
|
2680
2922
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.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: 2024-
|
11
|
+
date: 2024-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BeyondCorp API V1
|