google-apis-compute_beta 0.127.0 → 0.128.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.127.0"
19
+ GEM_VERSION = "0.128.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251031"
25
+ REVISION = "20251202"
26
26
  end
27
27
  end
28
28
  end
@@ -4630,6 +4630,12 @@ module Google
4630
4630
  include Google::Apis::Core::JsonObjectSupport
4631
4631
  end
4632
4632
 
4633
+ class NetworksCancelRequestRemovePeeringRequest
4634
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4635
+
4636
+ include Google::Apis::Core::JsonObjectSupport
4637
+ end
4638
+
4633
4639
  class NetworksGetEffectiveFirewallsResponse
4634
4640
  class Representation < Google::Apis::Core::JsonRepresentation; end
4635
4641
 
@@ -5590,6 +5596,12 @@ module Google
5590
5596
  include Google::Apis::Core::JsonObjectSupport
5591
5597
  end
5592
5598
 
5599
+ class RegionInstanceGroupManagersAdoptInstancesRequest
5600
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5601
+
5602
+ include Google::Apis::Core::JsonObjectSupport
5603
+ end
5604
+
5593
5605
  class RegionInstanceGroupManagersApplyUpdatesRequest
5594
5606
  class Representation < Google::Apis::Core::JsonRepresentation; end
5595
5607
 
@@ -11557,6 +11569,7 @@ module Google
11557
11569
  collection :dest_address_groups, as: 'destAddressGroups'
11558
11570
  collection :dest_fqdns, as: 'destFqdns'
11559
11571
  collection :dest_ip_ranges, as: 'destIpRanges'
11572
+ property :dest_network_context, as: 'destNetworkContext'
11560
11573
  property :dest_network_scope, as: 'destNetworkScope'
11561
11574
  property :dest_network_type, as: 'destNetworkType'
11562
11575
  collection :dest_region_codes, as: 'destRegionCodes'
@@ -11566,6 +11579,7 @@ module Google
11566
11579
  collection :src_address_groups, as: 'srcAddressGroups'
11567
11580
  collection :src_fqdns, as: 'srcFqdns'
11568
11581
  collection :src_ip_ranges, as: 'srcIpRanges'
11582
+ property :src_network_context, as: 'srcNetworkContext'
11569
11583
  property :src_network_scope, as: 'srcNetworkScope'
11570
11584
  property :src_network_type, as: 'srcNetworkType'
11571
11585
  collection :src_networks, as: 'srcNetworks'
@@ -13508,6 +13522,7 @@ module Google
13508
13522
  # @private
13509
13523
  class Representation < Google::Apis::Core::JsonRepresentation
13510
13524
  property :abandoning, as: 'abandoning'
13525
+ property :adopting, as: 'adopting'
13511
13526
  property :creating, as: 'creating'
13512
13527
  property :creating_without_retries, as: 'creatingWithoutRetries'
13513
13528
  property :deleting, as: 'deleting'
@@ -17500,6 +17515,13 @@ module Google
17500
17515
  end
17501
17516
  end
17502
17517
 
17518
+ class NetworksCancelRequestRemovePeeringRequest
17519
+ # @private
17520
+ class Representation < Google::Apis::Core::JsonRepresentation
17521
+ property :name, as: 'name'
17522
+ end
17523
+ end
17524
+
17503
17525
  class NetworksGetEffectiveFirewallsResponse
17504
17526
  # @private
17505
17527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19263,6 +19285,14 @@ module Google
19263
19285
  end
19264
19286
  end
19265
19287
 
19288
+ class RegionInstanceGroupManagersAdoptInstancesRequest
19289
+ # @private
19290
+ class Representation < Google::Apis::Core::JsonRepresentation
19291
+ collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
19292
+
19293
+ end
19294
+ end
19295
+
19266
19296
  class RegionInstanceGroupManagersApplyUpdatesRequest
19267
19297
  # @private
19268
19298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21425,6 +21455,8 @@ module Google
21425
21455
  class SecurityPolicyDdosProtectionConfig
21426
21456
  # @private
21427
21457
  class Representation < Google::Apis::Core::JsonRepresentation
21458
+ property :ddos_adaptive_protection, as: 'ddosAdaptiveProtection'
21459
+ property :ddos_impacted_baseline_threshold, as: 'ddosImpactedBaselineThreshold'
21428
21460
  property :ddos_protection, as: 'ddosProtection'
21429
21461
  end
21430
21462
  end
@@ -21600,6 +21632,8 @@ module Google
21600
21632
  class SecurityPolicyRulePreconfiguredWafConfigExclusion
21601
21633
  # @private
21602
21634
  class Representation < Google::Apis::Core::JsonRepresentation
21635
+ collection :request_bodies_to_exclude, as: 'requestBodiesToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
21636
+
21603
21637
  collection :request_cookies_to_exclude, as: 'requestCookiesToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
21604
21638
 
21605
21639
  collection :request_headers_to_exclude, as: 'requestHeadersToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
@@ -23820,6 +23854,7 @@ module Google
23820
23854
  property :description, as: 'description'
23821
23855
  property :id, :numeric_string => true, as: 'id'
23822
23856
  property :kind, as: 'kind'
23857
+ property :load_balancing_scheme, as: 'loadBalancingScheme'
23823
23858
  property :name, as: 'name'
23824
23859
  property :proxy_bind, as: 'proxyBind'
23825
23860
  property :proxy_header, as: 'proxyHeader'
@@ -26800,6 +26800,60 @@ module Google
26800
26800
  execute_or_queue_command(command, &block)
26801
26801
  end
26802
26802
 
26803
+ # Cancel requests to remove a peering from the specified network. Applicable
26804
+ # only for PeeringConnection with update_strategy=CONSENSUS. Cancels a
26805
+ # request to remove a peering from the specified network.
26806
+ # @param [String] project
26807
+ # Project ID for this request.
26808
+ # @param [String] network
26809
+ # Name of the network resource to remove peering from.
26810
+ # @param [Google::Apis::ComputeBeta::NetworksCancelRequestRemovePeeringRequest] networks_cancel_request_remove_peering_request_object
26811
+ # @param [String] request_id
26812
+ # An optional request ID to identify requests. Specify a unique request ID so
26813
+ # that if you must retry your request, the server will know to ignore the
26814
+ # request if it has already been completed.
26815
+ # For example, consider a situation where you make an initial request and
26816
+ # the request times out. If you make the request again with the same
26817
+ # request ID, the server can check if original operation with the same
26818
+ # request ID was received, and if so, will ignore the second request. This
26819
+ # prevents clients from accidentally creating duplicate commitments.
26820
+ # The request ID must be
26821
+ # a valid UUID with the exception that zero UUID is not supported
26822
+ # (00000000-0000-0000-0000-000000000000).
26823
+ # @param [String] fields
26824
+ # Selector specifying which fields to include in a partial response.
26825
+ # @param [String] quota_user
26826
+ # Available to use for quota purposes for server-side applications. Can be any
26827
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26828
+ # @param [String] user_ip
26829
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26830
+ # @param [Google::Apis::RequestOptions] options
26831
+ # Request-specific options
26832
+ #
26833
+ # @yield [result, err] Result & error if block supplied
26834
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
26835
+ # @yieldparam err [StandardError] error object if request failed
26836
+ #
26837
+ # @return [Google::Apis::ComputeBeta::Operation]
26838
+ #
26839
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26840
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26841
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26842
+ def cancel_network_request_remove_peering(project, network, networks_cancel_request_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26843
+ command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/cancelRequestRemovePeering', options)
26844
+ command.request_representation = Google::Apis::ComputeBeta::NetworksCancelRequestRemovePeeringRequest::Representation
26845
+ command.request_object = networks_cancel_request_remove_peering_request_object
26846
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
26847
+ command.response_class = Google::Apis::ComputeBeta::Operation
26848
+ command.params['project'] = project unless project.nil?
26849
+ command.params['network'] = network unless network.nil?
26850
+ command.query['requestId'] = request_id unless request_id.nil?
26851
+ command.query['fields'] = fields unless fields.nil?
26852
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26853
+ command.query['userIp'] = user_ip unless user_ip.nil?
26854
+ execute_or_queue_command(command, &block)
26855
+ end
26856
+
26803
26857
  # Deletes the specified network.
26804
26858
  # @param [String] project
26805
26859
  # Project ID for this request.
@@ -38838,6 +38892,69 @@ module Google
38838
38892
  execute_or_queue_command(command, &block)
38839
38893
  end
38840
38894
 
38895
+ # Flags the specified instances to be adopted to the managed instance
38896
+ # group. Adopting an instance does not change the instance status, but it
38897
+ # adds the instance to any target pools that are applied by the managed
38898
+ # instance group. This method increases the targetSize of the managed
38899
+ # instance group by the number of instances that you adopt. This operation
38900
+ # is marked as DONE when the action is scheduled even if the instances have
38901
+ # not been adopted to the group yet. You must separately verify the status
38902
+ # of the adopting action with the listManagedInstances method.
38903
+ # @param [String] project
38904
+ # Project ID for this request.
38905
+ # @param [String] region
38906
+ # Name of the region scoping this request. It should conform to RFC1035.
38907
+ # @param [String] instance_group_manager
38908
+ # Name of the managed instance group. It should conform to RFC1035 or be a
38909
+ # resource ID.
38910
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersAdoptInstancesRequest] region_instance_group_managers_adopt_instances_request_object
38911
+ # @param [String] request_id
38912
+ # An optional request ID to identify requests. Specify a unique request ID so
38913
+ # that if you must retry your request, the server will know to ignore the
38914
+ # request if it has already been completed.
38915
+ # For example, consider a situation where you make an initial request and
38916
+ # the request times out. If you make the request again with the same
38917
+ # request ID, the server can check if original operation with the same
38918
+ # request ID was received, and if so, will ignore the second request. This
38919
+ # prevents clients from accidentally creating duplicate commitments.
38920
+ # The request ID must be
38921
+ # a valid UUID with the exception that zero UUID is not supported
38922
+ # (00000000-0000-0000-0000-000000000000).
38923
+ # @param [String] fields
38924
+ # Selector specifying which fields to include in a partial response.
38925
+ # @param [String] quota_user
38926
+ # Available to use for quota purposes for server-side applications. Can be any
38927
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
38928
+ # @param [String] user_ip
38929
+ # Legacy name for parameter that has been superseded by `quotaUser`.
38930
+ # @param [Google::Apis::RequestOptions] options
38931
+ # Request-specific options
38932
+ #
38933
+ # @yield [result, err] Result & error if block supplied
38934
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
38935
+ # @yieldparam err [StandardError] error object if request failed
38936
+ #
38937
+ # @return [Google::Apis::ComputeBeta::Operation]
38938
+ #
38939
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38940
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38941
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
38942
+ def adopt_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_adopt_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38943
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/adoptInstances', options)
38944
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersAdoptInstancesRequest::Representation
38945
+ command.request_object = region_instance_group_managers_adopt_instances_request_object
38946
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
38947
+ command.response_class = Google::Apis::ComputeBeta::Operation
38948
+ command.params['project'] = project unless project.nil?
38949
+ command.params['region'] = region unless region.nil?
38950
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
38951
+ command.query['requestId'] = request_id unless request_id.nil?
38952
+ command.query['fields'] = fields unless fields.nil?
38953
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
38954
+ command.query['userIp'] = user_ip unless user_ip.nil?
38955
+ execute_or_queue_command(command, &block)
38956
+ end
38957
+
38841
38958
  # Apply updates to selected instances the managed instance group.
38842
38959
  # @param [String] project
38843
38960
  # Project ID for this request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.127.0
4
+ version: 0.128.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-compute_beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.127.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.128.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
62
62
  rdoc_options: []
63
63
  require_paths: