google-apis-beyondcorp_v1 0.30.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: '057737900e0e17f5a5ef60f771c296fa32c858575ce25cd4c8f566b08b320a91'
4
- data.tar.gz: 9776d827ceb093ddde2bd5864a3e67b34a56da83525275ac91f2f559b092f982
3
+ metadata.gz: dd53d6e89a8f90102a89439c5a3aa4547723c3f2fe564337079478f1a08daa91
4
+ data.tar.gz: ae44b66f73f7b9a064280eb5b0083336e51e7bb5dc5e0fc27a07bf281d2f037a
5
5
  SHA512:
6
- metadata.gz: b1e925691b2198c2bdede2d8f910d2a80caf120d240830c393487d7b80f40d239bdb83c5ef6af299f1ab5f1cbcaa6836364d9eed547b668497b61a73c804cdf7
7
- data.tar.gz: beeea4c1e67b53f06a3ffc4db40fb183a8f1c882f93f1492afbaf169c7d8ec800b4220671b9583717707805609f9087457670b883e95b240679d70eb6a391269
6
+ metadata.gz: 4d5cebb3d6d585e82fa652f0ac1e44398424e30b0b5ebf434ff7615df879e50082dc148b6dbe2de07644e9030c1a104e7a3d449d55c2fdd8f9c2fb6a54ebf550
7
+ data.tar.gz: 7fbc949fd2d76d4a4cdef551a03a74173bb2d1d771c849aa71d02c4bf471636a0913ddf93faca7150b43b055cc73dfcc6cb86721f9d13c33819c5e65e68dec71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.30.0 (2024-11-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20241024
@@ -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.30.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 = "20241024"
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
@@ -2631,42 +2631,6 @@ module Google
2631
2631
  execute_or_queue_command(command, &block)
2632
2632
  end
2633
2633
 
2634
- # This is a custom method to allow customers to create a peering connections
2635
- # between Google network and customer networks. This is enabled only for the
2636
- # allowlisted customers.
2637
- # @param [String] security_gateway
2638
- # Required. BeyondCorp SecurityGateway name using the form: `projects/`project`/
2639
- # locations/`location`/securityGateways/`security_gateway``
2640
- # @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest] google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object
2641
- # @param [String] fields
2642
- # Selector specifying which fields to include in a partial response.
2643
- # @param [String] quota_user
2644
- # Available to use for quota purposes for server-side applications. Can be any
2645
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2646
- # @param [Google::Apis::RequestOptions] options
2647
- # Request-specific options
2648
- #
2649
- # @yield [result, err] Result & error if block supplied
2650
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
2651
- # @yieldparam err [StandardError] error object if request failed
2652
- #
2653
- # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
2654
- #
2655
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2656
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2657
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2658
- 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)
2659
- command = make_simple_command(:post, 'v1/{+securityGateway}:setPeering', options)
2660
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest::Representation
2661
- command.request_object = google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object
2662
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
2663
- command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
2664
- command.params['securityGateway'] = security_gateway unless security_gateway.nil?
2665
- command.query['fields'] = fields unless fields.nil?
2666
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2667
- execute_or_queue_command(command, &block)
2668
- end
2669
-
2670
2634
  # Returns permissions that a caller has on the specified resource. If the
2671
2635
  # resource does not exist, this will return an empty set of permissions, not a `
2672
2636
  # NOT_FOUND` error. Note: This operation is designed to be used for building
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.30.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-11-03 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.30.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