google-apis-beyondcorp_v1 0.28.0 → 0.29.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50adf25f8e66bf2a63fda3fb60f411f341e2056a1fd9643db8ac160b6d4e59ca
4
- data.tar.gz: 537491b2d99024e80e1cab3a04a93a699ea611868386f062e50a666170b223b5
3
+ metadata.gz: f5b2c2ecef317d771fc08b1fc82055ea9605002523b34ee156d26f5353f02518
4
+ data.tar.gz: b894b7bb8c1d4b953b6279f34ee64f4f6ec7b1a58265c081316a702b1d41a369
5
5
  SHA512:
6
- metadata.gz: 25a94e5216ee12660e419b6653c2f2efbf9ace85385a01d2df8cf19e8af6fc3479efa6de5c5a547d26537ab2269ed11bf2a74f86d982b994c3efe78ccf762d49
7
- data.tar.gz: '01878dd1eea8c07c01193e59b4e2305d14b9bfea193223d524e252b82072ec644bc79dc0ccbc2fb1ce2153ea72b728fe749d8dc6dfc1e2b63927f6ac688abedf'
6
+ metadata.gz: fbf7e33bcacad1e2cfa7debce1e951dbef8e0168467b7cecb1ecfb0fdd0faf3eee6ed684cdcf096cf705dc706af764926597c4146690741b0551961e5a714a81
7
+ data.tar.gz: 102d75a513c6bc3c67c0248989937d996b717da7d189f8c254054d9c81e9629a68f8177bc1bef08c9578728a6667980998c1cf3f2ea2885778fca72a17731e58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-beyondcorp_v1
2
2
 
3
+ ### v0.29.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241011
6
+
3
7
  ### v0.28.0 (2024-10-06)
4
8
 
5
9
  * 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 NAT Gateway configuration.
1759
- # Corresponds to the JSON property `natGatewayConfig`
1760
- # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig]
1761
- attr_accessor :nat_gateway_config
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
- @nat_gateway_config = args[:nat_gateway_config] if args.key?(:nat_gateway_config)
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 `targetVpcNetwork`
1867
+ # Corresponds to the JSON property `targetNetwork`
1869
1868
  # @return [String]
1870
- attr_accessor :target_vpc_network
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
- @target_vpc_network = args[:target_vpc_network] if args.key?(:target_vpc_network)
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.28.0"
19
+ GEM_VERSION = "0.29.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 = "20240925"
25
+ REVISION = "20241011"
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 GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
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 GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
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 GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
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 :nat_gateway_config, as: 'natGatewayConfig', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig::Representation
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 :target_vpc_network, as: 'targetVpcNetwork'
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/`
@@ -2546,6 +2630,45 @@ module Google
2546
2630
  execute_or_queue_command(command, &block)
2547
2631
  end
2548
2632
 
2633
+ # Returns permissions that a caller has on the specified resource. If the
2634
+ # resource does not exist, this will return an empty set of permissions, not a `
2635
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
2636
+ # permission-aware UIs and command-line tools, not for authorization checking.
2637
+ # This operation may "fail open" without warning.
2638
+ # @param [String] resource
2639
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2640
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2641
+ # appropriate value for this field.
2642
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
2643
+ # @param [String] fields
2644
+ # Selector specifying which fields to include in a partial response.
2645
+ # @param [String] quota_user
2646
+ # Available to use for quota purposes for server-side applications. Can be any
2647
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2648
+ # @param [Google::Apis::RequestOptions] options
2649
+ # Request-specific options
2650
+ #
2651
+ # @yield [result, err] Result & error if block supplied
2652
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
2653
+ # @yieldparam err [StandardError] error object if request failed
2654
+ #
2655
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
2656
+ #
2657
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2658
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2659
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2660
+ 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)
2661
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
2662
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
2663
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
2664
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
2665
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
2666
+ command.params['resource'] = resource unless resource.nil?
2667
+ command.query['fields'] = fields unless fields.nil?
2668
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2669
+ execute_or_queue_command(command, &block)
2670
+ end
2671
+
2549
2672
  # Deletes a single Application.
2550
2673
  # @param [String] name
2551
2674
  # Required. Name of the resource.
@@ -2624,6 +2747,51 @@ module Google
2624
2747
  execute_or_queue_command(command, &block)
2625
2748
  end
2626
2749
 
2750
+ # Gets the access control policy for a resource. Returns an empty policy if the
2751
+ # resource exists and does not have a policy set.
2752
+ # @param [String] resource
2753
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2754
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2755
+ # appropriate value for this field.
2756
+ # @param [Fixnum] options_requested_policy_version
2757
+ # Optional. The maximum policy version that will be used to format the policy.
2758
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2759
+ # rejected. Requests for policies with any conditional role bindings must
2760
+ # specify version 3. Policies with no conditional role bindings may specify any
2761
+ # valid value or leave the field unset. The policy in the response might use the
2762
+ # policy version that you specified, or it might use a lower policy version. For
2763
+ # example, if you specify version 3, but the policy has no conditional role
2764
+ # bindings, the response uses version 1. To learn which resources support
2765
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2766
+ # google.com/iam/help/conditions/resource-policies).
2767
+ # @param [String] fields
2768
+ # Selector specifying which fields to include in a partial response.
2769
+ # @param [String] quota_user
2770
+ # Available to use for quota purposes for server-side applications. Can be any
2771
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2772
+ # @param [Google::Apis::RequestOptions] options
2773
+ # Request-specific options
2774
+ #
2775
+ # @yield [result, err] Result & error if block supplied
2776
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
2777
+ # @yieldparam err [StandardError] error object if request failed
2778
+ #
2779
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
2780
+ #
2781
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2782
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2783
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2784
+ def get_project_location_security_gateway_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2785
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2786
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
2787
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
2788
+ command.params['resource'] = resource unless resource.nil?
2789
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2790
+ command.query['fields'] = fields unless fields.nil?
2791
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2792
+ execute_or_queue_command(command, &block)
2793
+ end
2794
+
2627
2795
  # Lists Applications in a given project and location.
2628
2796
  # @param [String] parent
2629
2797
  # Required. The parent location to which the resources belong. `projects/`
@@ -2675,6 +2843,80 @@ module Google
2675
2843
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2676
2844
  execute_or_queue_command(command, &block)
2677
2845
  end
2846
+
2847
+ # Sets the access control policy on the specified resource. Replaces any
2848
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2849
+ # PERMISSION_DENIED` errors.
2850
+ # @param [String] resource
2851
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2852
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2853
+ # appropriate value for this field.
2854
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
2855
+ # @param [String] fields
2856
+ # Selector specifying which fields to include in a partial response.
2857
+ # @param [String] quota_user
2858
+ # Available to use for quota purposes for server-side applications. Can be any
2859
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2860
+ # @param [Google::Apis::RequestOptions] options
2861
+ # Request-specific options
2862
+ #
2863
+ # @yield [result, err] Result & error if block supplied
2864
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
2865
+ # @yieldparam err [StandardError] error object if request failed
2866
+ #
2867
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
2868
+ #
2869
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2870
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2871
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2872
+ 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)
2873
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2874
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
2875
+ command.request_object = google_iam_v1_set_iam_policy_request_object
2876
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
2877
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
2878
+ command.params['resource'] = resource unless resource.nil?
2879
+ command.query['fields'] = fields unless fields.nil?
2880
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2881
+ execute_or_queue_command(command, &block)
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_v_project_location_security_gateway_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, 'v/{+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.28.0
4
+ version: 0.29.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-10-06 00:00:00.000000000 Z
11
+ date: 2024-10-27 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.29.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.6
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