google-apis-compute_beta 0.127.0 → 0.129.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/compute_beta/classes.rb +2184 -1542
- data/lib/google/apis/compute_beta/gem_version.rb +2 -2
- data/lib/google/apis/compute_beta/representations.rb +56 -0
- data/lib/google/apis/compute_beta/service.rb +117 -0
- metadata +2 -2
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.129.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 = "
|
|
25
|
+
REVISION = "20251210"
|
|
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
|
|
|
@@ -7408,6 +7420,12 @@ module Google
|
|
|
7408
7420
|
include Google::Apis::Core::JsonObjectSupport
|
|
7409
7421
|
end
|
|
7410
7422
|
|
|
7423
|
+
class StoragePoolExapoolProvisionedCapacityGb
|
|
7424
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
7425
|
+
|
|
7426
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
7427
|
+
end
|
|
7428
|
+
|
|
7411
7429
|
class StoragePoolList
|
|
7412
7430
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
7413
7431
|
|
|
@@ -11557,6 +11575,7 @@ module Google
|
|
|
11557
11575
|
collection :dest_address_groups, as: 'destAddressGroups'
|
|
11558
11576
|
collection :dest_fqdns, as: 'destFqdns'
|
|
11559
11577
|
collection :dest_ip_ranges, as: 'destIpRanges'
|
|
11578
|
+
property :dest_network_context, as: 'destNetworkContext'
|
|
11560
11579
|
property :dest_network_scope, as: 'destNetworkScope'
|
|
11561
11580
|
property :dest_network_type, as: 'destNetworkType'
|
|
11562
11581
|
collection :dest_region_codes, as: 'destRegionCodes'
|
|
@@ -11566,6 +11585,7 @@ module Google
|
|
|
11566
11585
|
collection :src_address_groups, as: 'srcAddressGroups'
|
|
11567
11586
|
collection :src_fqdns, as: 'srcFqdns'
|
|
11568
11587
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
|
11588
|
+
property :src_network_context, as: 'srcNetworkContext'
|
|
11569
11589
|
property :src_network_scope, as: 'srcNetworkScope'
|
|
11570
11590
|
property :src_network_type, as: 'srcNetworkType'
|
|
11571
11591
|
collection :src_networks, as: 'srcNetworks'
|
|
@@ -13508,6 +13528,7 @@ module Google
|
|
|
13508
13528
|
# @private
|
|
13509
13529
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13510
13530
|
property :abandoning, as: 'abandoning'
|
|
13531
|
+
property :adopting, as: 'adopting'
|
|
13511
13532
|
property :creating, as: 'creating'
|
|
13512
13533
|
property :creating_without_retries, as: 'creatingWithoutRetries'
|
|
13513
13534
|
property :deleting, as: 'deleting'
|
|
@@ -17500,6 +17521,13 @@ module Google
|
|
|
17500
17521
|
end
|
|
17501
17522
|
end
|
|
17502
17523
|
|
|
17524
|
+
class NetworksCancelRequestRemovePeeringRequest
|
|
17525
|
+
# @private
|
|
17526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17527
|
+
property :name, as: 'name'
|
|
17528
|
+
end
|
|
17529
|
+
end
|
|
17530
|
+
|
|
17503
17531
|
class NetworksGetEffectiveFirewallsResponse
|
|
17504
17532
|
# @private
|
|
17505
17533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -19263,6 +19291,14 @@ module Google
|
|
|
19263
19291
|
end
|
|
19264
19292
|
end
|
|
19265
19293
|
|
|
19294
|
+
class RegionInstanceGroupManagersAdoptInstancesRequest
|
|
19295
|
+
# @private
|
|
19296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19297
|
+
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
|
|
19298
|
+
|
|
19299
|
+
end
|
|
19300
|
+
end
|
|
19301
|
+
|
|
19266
19302
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
|
19267
19303
|
# @private
|
|
19268
19304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -21425,6 +21461,8 @@ module Google
|
|
|
21425
21461
|
class SecurityPolicyDdosProtectionConfig
|
|
21426
21462
|
# @private
|
|
21427
21463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21464
|
+
property :ddos_adaptive_protection, as: 'ddosAdaptiveProtection'
|
|
21465
|
+
property :ddos_impacted_baseline_threshold, as: 'ddosImpactedBaselineThreshold'
|
|
21428
21466
|
property :ddos_protection, as: 'ddosProtection'
|
|
21429
21467
|
end
|
|
21430
21468
|
end
|
|
@@ -21600,6 +21638,8 @@ module Google
|
|
|
21600
21638
|
class SecurityPolicyRulePreconfiguredWafConfigExclusion
|
|
21601
21639
|
# @private
|
|
21602
21640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21641
|
+
collection :request_bodies_to_exclude, as: 'requestBodiesToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
|
21642
|
+
|
|
21603
21643
|
collection :request_cookies_to_exclude, as: 'requestCookiesToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
|
21604
21644
|
|
|
21605
21645
|
collection :request_headers_to_exclude, as: 'requestHeadersToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
|
@@ -22551,6 +22591,8 @@ module Google
|
|
|
22551
22591
|
property :capacity_provisioning_type, as: 'capacityProvisioningType'
|
|
22552
22592
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
22553
22593
|
property :description, as: 'description'
|
|
22594
|
+
property :exapool_provisioned_capacity_gb, as: 'exapoolProvisionedCapacityGb', class: Google::Apis::ComputeBeta::StoragePoolExapoolProvisionedCapacityGb, decorator: Google::Apis::ComputeBeta::StoragePoolExapoolProvisionedCapacityGb::Representation
|
|
22595
|
+
|
|
22554
22596
|
property :id, :numeric_string => true, as: 'id'
|
|
22555
22597
|
property :kind, as: 'kind'
|
|
22556
22598
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
@@ -22623,6 +22665,15 @@ module Google
|
|
|
22623
22665
|
end
|
|
22624
22666
|
end
|
|
22625
22667
|
|
|
22668
|
+
class StoragePoolExapoolProvisionedCapacityGb
|
|
22669
|
+
# @private
|
|
22670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22671
|
+
property :capacity_optimized, :numeric_string => true, as: 'capacityOptimized'
|
|
22672
|
+
property :read_optimized, :numeric_string => true, as: 'readOptimized'
|
|
22673
|
+
property :write_optimized, :numeric_string => true, as: 'writeOptimized'
|
|
22674
|
+
end
|
|
22675
|
+
end
|
|
22676
|
+
|
|
22626
22677
|
class StoragePoolList
|
|
22627
22678
|
# @private
|
|
22628
22679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -22695,6 +22746,10 @@ module Google
|
|
|
22695
22746
|
# @private
|
|
22696
22747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22697
22748
|
property :disk_count, :numeric_string => true, as: 'diskCount'
|
|
22749
|
+
property :exapool_max_read_iops, :numeric_string => true, as: 'exapoolMaxReadIops'
|
|
22750
|
+
property :exapool_max_read_throughput, :numeric_string => true, as: 'exapoolMaxReadThroughput'
|
|
22751
|
+
property :exapool_max_write_iops, :numeric_string => true, as: 'exapoolMaxWriteIops'
|
|
22752
|
+
property :exapool_max_write_throughput, :numeric_string => true, as: 'exapoolMaxWriteThroughput'
|
|
22698
22753
|
property :last_resize_timestamp, as: 'lastResizeTimestamp'
|
|
22699
22754
|
property :max_total_provisioned_disk_capacity_gb, :numeric_string => true, as: 'maxTotalProvisionedDiskCapacityGb'
|
|
22700
22755
|
property :pool_used_capacity_bytes, :numeric_string => true, as: 'poolUsedCapacityBytes'
|
|
@@ -23820,6 +23875,7 @@ module Google
|
|
|
23820
23875
|
property :description, as: 'description'
|
|
23821
23876
|
property :id, :numeric_string => true, as: 'id'
|
|
23822
23877
|
property :kind, as: 'kind'
|
|
23878
|
+
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
|
23823
23879
|
property :name, as: 'name'
|
|
23824
23880
|
property :proxy_bind, as: 'proxyBind'
|
|
23825
23881
|
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.
|
|
4
|
+
version: 0.129.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.129.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:
|