google-apis-beyondcorp_v1 0.29.0 → 0.31.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: f5b2c2ecef317d771fc08b1fc82055ea9605002523b34ee156d26f5353f02518
4
- data.tar.gz: b894b7bb8c1d4b953b6279f34ee64f4f6ec7b1a58265c081316a702b1d41a369
3
+ metadata.gz: dd53d6e89a8f90102a89439c5a3aa4547723c3f2fe564337079478f1a08daa91
4
+ data.tar.gz: ae44b66f73f7b9a064280eb5b0083336e51e7bb5dc5e0fc27a07bf281d2f037a
5
5
  SHA512:
6
- metadata.gz: fbf7e33bcacad1e2cfa7debce1e951dbef8e0168467b7cecb1ecfb0fdd0faf3eee6ed684cdcf096cf705dc706af764926597c4146690741b0551961e5a714a81
7
- data.tar.gz: 102d75a513c6bc3c67c0248989937d996b717da7d189f8c254054d9c81e9629a68f8177bc1bef08c9578728a6667980998c1cf3f2ea2885778fca72a17731e58
6
+ metadata.gz: 4d5cebb3d6d585e82fa652f0ac1e44398424e30b0b5ebf434ff7615df879e50082dc148b6dbe2de07644e9030c1a104e7a3d449d55c2fdd8f9c2fb6a54ebf550
7
+ data.tar.gz: 7fbc949fd2d76d4a4cdef551a03a74173bb2d1d771c849aa71d02c4bf471636a0913ddf93faca7150b43b055cc73dfcc6cb86721f9d13c33819c5e65e68dec71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1
2
2
 
3
+ ### v0.31.0 (2024-11-17)
4
+
5
+ * Regenerated from discovery document revision 20241106
6
+
7
+ ### v0.30.0 (2024-11-03)
8
+
9
+ * Regenerated from discovery document revision 20241024
10
+
3
11
  ### v0.29.0 (2024-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20241011
@@ -1853,32 +1853,6 @@ module Google
1853
1853
  end
1854
1854
  end
1855
1855
 
1856
- # VPC Peering details.
1857
- class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
1858
- include Google::Apis::Core::Hashable
1859
-
1860
- # Optional. List of DNS zones for DNS peering with the customer VPC network.
1861
- # Corresponds to the JSON property `dnsZones`
1862
- # @return [Array<String>]
1863
- attr_accessor :dns_zones
1864
-
1865
- # Required. The name of the Target VPC network name in the format: `projects/`
1866
- # project`/global/networks/`network`
1867
- # Corresponds to the JSON property `targetNetwork`
1868
- # @return [String]
1869
- attr_accessor :target_network
1870
-
1871
- def initialize(**args)
1872
- update!(**args)
1873
- end
1874
-
1875
- # Update properties of this object
1876
- def update!(**args)
1877
- @dns_zones = args[:dns_zones] if args.key?(:dns_zones)
1878
- @target_network = args[:target_network] if args.key?(:target_network)
1879
- end
1880
- end
1881
-
1882
1856
  # Information about a BeyoncCorp SecurityGateway resource.
1883
1857
  class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
1884
1858
  include Google::Apis::Core::Hashable
@@ -1996,49 +1970,6 @@ module Google
1996
1970
  end
1997
1971
  end
1998
1972
 
1999
- # Set Peering request for creating a VPC peering between Google network and
2000
- # customer networks.
2001
- class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
2002
- include Google::Apis::Core::Hashable
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
-
2009
- # Optional. An optional request ID to identify requests. Specify a unique
2010
- # request ID so that if you must retry your request, the server will know to
2011
- # ignore the request if it has already been completed. The server will guarantee
2012
- # that for at least 60 minutes since the first request. For example, consider a
2013
- # situation where you make an initial request and the request times out. If you
2014
- # make the request again with the same request ID, the server can check if
2015
- # original operation with the same request ID was received, and if so, will
2016
- # ignore the second request. This prevents clients from accidentally creating
2017
- # duplicate commitments. The request ID must be a valid UUID with the exception
2018
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2019
- # Corresponds to the JSON property `requestId`
2020
- # @return [String]
2021
- attr_accessor :request_id
2022
-
2023
- # Optional. If set, validates request by executing a dry-run which would not
2024
- # alter the resource in any way.
2025
- # Corresponds to the JSON property `validateOnly`
2026
- # @return [Boolean]
2027
- attr_accessor :validate_only
2028
- alias_method :validate_only?, :validate_only
2029
-
2030
- def initialize(**args)
2031
- update!(**args)
2032
- end
2033
-
2034
- # Update properties of this object
2035
- def update!(**args)
2036
- @peerings = args[:peerings] if args.key?(:peerings)
2037
- @request_id = args[:request_id] if args.key?(:request_id)
2038
- @validate_only = args[:validate_only] if args.key?(:validate_only)
2039
- end
2040
- end
2041
-
2042
1973
  # Represents the metadata of the long-running operation.
2043
1974
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
2044
1975
  include Google::Apis::Core::Hashable
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.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 = "20241011"
25
+ REVISION = "20241106"
26
26
  end
27
27
  end
28
28
  end
@@ -298,12 +298,6 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
- class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
301
  class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
308
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
303
 
@@ -316,12 +310,6 @@ module Google
316
310
  include Google::Apis::Core::JsonObjectSupport
317
311
  end
318
312
 
319
- class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
313
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
326
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
315
 
@@ -917,14 +905,6 @@ module Google
917
905
  end
918
906
  end
919
907
 
920
- class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
921
- # @private
922
- class Representation < Google::Apis::Core::JsonRepresentation
923
- collection :dns_zones, as: 'dnsZones'
924
- property :target_network, as: 'targetNetwork'
925
- end
926
- end
927
-
928
908
  class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
929
909
  # @private
930
910
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -952,16 +932,6 @@ module Google
952
932
  end
953
933
  end
954
934
 
955
- class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
956
- # @private
957
- class Representation < Google::Apis::Core::JsonRepresentation
958
- collection :peerings, as: 'peerings', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering::Representation
959
-
960
- property :request_id, as: 'requestId'
961
- property :validate_only, as: 'validateOnly'
962
- end
963
- end
964
-
965
935
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
966
936
  # @private
967
937
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2594,13 +2594,14 @@ module Google
2594
2594
  execute_or_queue_command(command, &block)
2595
2595
  end
2596
2596
 
2597
- # This is a custom method to allow customers to create a peering connections
2598
- # between Google network and customer networks. This is enabled only for the
2599
- # allowlisted customers.
2600
- # @param [String] security_gateway
2601
- # Required. BeyondCorp SecurityGateway name using the form: `projects/`project`/
2602
- # locations/`location`/securityGateways/`security_gateway``
2603
- # @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest] google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object
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
2604
2605
  # @param [String] fields
2605
2606
  # Selector specifying which fields to include in a partial response.
2606
2607
  # @param [String] quota_user
@@ -2610,21 +2611,21 @@ module Google
2610
2611
  # Request-specific options
2611
2612
  #
2612
2613
  # @yield [result, err] Result & error if block supplied
2613
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
2614
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
2614
2615
  # @yieldparam err [StandardError] error object if request failed
2615
2616
  #
2616
- # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
2617
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
2617
2618
  #
2618
2619
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2619
2620
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2620
2621
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2621
- def set_project_location_security_gateway_peering(security_gateway, google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2622
- command = make_simple_command(:post, 'v1/{+securityGateway}:setPeering', options)
2623
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest::Representation
2624
- command.request_object = google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object
2625
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
2626
- command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
2627
- command.params['securityGateway'] = security_gateway unless security_gateway.nil?
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?
2628
2629
  command.query['fields'] = fields unless fields.nil?
2629
2630
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2630
2631
  execute_or_queue_command(command, &block)
@@ -2880,43 +2881,6 @@ module Google
2880
2881
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2881
2882
  execute_or_queue_command(command, &block)
2882
2883
  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
2920
2884
 
2921
2885
  protected
2922
2886
 
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.29.0
4
+ version: 0.31.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-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.31.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.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BeyondCorp API V1