google-apis-compute_alpha 0.112.0 → 0.113.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c949c00a164bf9bf4e659a63f25756a692321225e5025043f795c27a4b3eddd
|
4
|
+
data.tar.gz: 37bbd06b3b5c65a5de76debba21ee69e148759c9723ed3d60fdb760e0896d463
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 209f3f1b32483b4f0b455dacfc76d29624028acf063a2c1807d99feaa9b498cbcc2d2aa852cbd4cb0cd17a827cc0121de2e97f4340758facc133bdf5983be1f0
|
7
|
+
data.tar.gz: df2ce3e396d02c4d94363e4ba402a3e765854d2597bec4122a942e752e48efd28447e7717ce12dee03ba79c35dfbb48e8bf4315e4100bed212f34876258ef0a9
|
data/CHANGELOG.md
CHANGED
@@ -14762,6 +14762,16 @@ module Google
|
|
14762
14762
|
class GroupMaintenanceInfo
|
14763
14763
|
include Google::Apis::Core::Hashable
|
14764
14764
|
|
14765
|
+
# Describes number of instances that have ongoing maintenance.
|
14766
|
+
# Corresponds to the JSON property `instanceMaintenanceOngoingCount`
|
14767
|
+
# @return [Fixnum]
|
14768
|
+
attr_accessor :instance_maintenance_ongoing_count
|
14769
|
+
|
14770
|
+
# Describes number of instances that have pending maintenance.
|
14771
|
+
# Corresponds to the JSON property `instanceMaintenancePendingCount`
|
14772
|
+
# @return [Fixnum]
|
14773
|
+
attr_accessor :instance_maintenance_pending_count
|
14774
|
+
|
14765
14775
|
# Progress for ongoing maintenance for this group of VMs/hosts. Describes number
|
14766
14776
|
# of hosts in the block that have ongoing maintenance.
|
14767
14777
|
# Corresponds to the JSON property `maintenanceOngoingCount`
|
@@ -14806,6 +14816,8 @@ module Google
|
|
14806
14816
|
|
14807
14817
|
# Update properties of this object
|
14808
14818
|
def update!(**args)
|
14819
|
+
@instance_maintenance_ongoing_count = args[:instance_maintenance_ongoing_count] if args.key?(:instance_maintenance_ongoing_count)
|
14820
|
+
@instance_maintenance_pending_count = args[:instance_maintenance_pending_count] if args.key?(:instance_maintenance_pending_count)
|
14809
14821
|
@maintenance_ongoing_count = args[:maintenance_ongoing_count] if args.key?(:maintenance_ongoing_count)
|
14810
14822
|
@maintenance_pending_count = args[:maintenance_pending_count] if args.key?(:maintenance_pending_count)
|
14811
14823
|
@scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
|
@@ -20777,6 +20789,11 @@ module Google
|
|
20777
20789
|
# @return [String]
|
20778
20790
|
attr_accessor :on_failed_health_check
|
20779
20791
|
|
20792
|
+
# Configuration for VM repairs in the MIG.
|
20793
|
+
# Corresponds to the JSON property `onRepair`
|
20794
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyOnRepair]
|
20795
|
+
attr_accessor :on_repair
|
20796
|
+
|
20780
20797
|
def initialize(**args)
|
20781
20798
|
update!(**args)
|
20782
20799
|
end
|
@@ -20787,6 +20804,7 @@ module Google
|
|
20787
20804
|
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
20788
20805
|
@metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
|
20789
20806
|
@on_failed_health_check = args[:on_failed_health_check] if args.key?(:on_failed_health_check)
|
20807
|
+
@on_repair = args[:on_repair] if args.key?(:on_repair)
|
20790
20808
|
end
|
20791
20809
|
end
|
20792
20810
|
|
@@ -20810,6 +20828,25 @@ module Google
|
|
20810
20828
|
end
|
20811
20829
|
end
|
20812
20830
|
|
20831
|
+
# Configuration for VM repairs in the MIG.
|
20832
|
+
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
20833
|
+
include Google::Apis::Core::Hashable
|
20834
|
+
|
20835
|
+
# Specifies whether the MIG can change a VM's zone during repair.
|
20836
|
+
# Corresponds to the JSON property `allowChangingZone`
|
20837
|
+
# @return [String]
|
20838
|
+
attr_accessor :allow_changing_zone
|
20839
|
+
|
20840
|
+
def initialize(**args)
|
20841
|
+
update!(**args)
|
20842
|
+
end
|
20843
|
+
|
20844
|
+
# Update properties of this object
|
20845
|
+
def update!(**args)
|
20846
|
+
@allow_changing_zone = args[:allow_changing_zone] if args.key?(:allow_changing_zone)
|
20847
|
+
end
|
20848
|
+
end
|
20849
|
+
|
20813
20850
|
# [Output Only] A list of managed instance groups.
|
20814
20851
|
class InstanceGroupManagerList
|
20815
20852
|
include Google::Apis::Core::Hashable
|
@@ -26079,8 +26116,8 @@ module Google
|
|
26079
26116
|
attr_accessor :labels
|
26080
26117
|
|
26081
26118
|
# Maximum Transmission Unit (MTU), in bytes, of packets passing through this
|
26082
|
-
# interconnect attachment.
|
26083
|
-
# value will default to 1440.
|
26119
|
+
# interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not
|
26120
|
+
# specified, the value will default to 1440.
|
26084
26121
|
# Corresponds to the JSON property `mtu`
|
26085
26122
|
# @return [Fixnum]
|
26086
26123
|
attr_accessor :mtu
|
@@ -27033,8 +27070,8 @@ module Google
|
|
27033
27070
|
attr_accessor :l2_forwarding
|
27034
27071
|
|
27035
27072
|
# Maximum Transmission Unit (MTU), in bytes, of packets passing through this
|
27036
|
-
# interconnect attachment.
|
27037
|
-
# value will default to 1440.
|
27073
|
+
# interconnect attachment. Valid values are 1440, 1460, 1500, or 8896. If not
|
27074
|
+
# specified, the value will default to 1440.
|
27038
27075
|
# Corresponds to the JSON property `mtu`
|
27039
27076
|
# @return [Fixnum]
|
27040
27077
|
attr_accessor :mtu
|
@@ -46147,6 +46184,13 @@ module Google
|
|
46147
46184
|
# @return [String]
|
46148
46185
|
attr_accessor :name
|
46149
46186
|
|
46187
|
+
# Protection tier for the workload which specifies the workload expectations in
|
46188
|
+
# the event of infrastructure failures at data center (e.g. power and/or cooling
|
46189
|
+
# failures).
|
46190
|
+
# Corresponds to the JSON property `protectionTier`
|
46191
|
+
# @return [String]
|
46192
|
+
attr_accessor :protection_tier
|
46193
|
+
|
46150
46194
|
# [Output only] Indicates the reservation mode of the reservation.
|
46151
46195
|
# Corresponds to the JSON property `reservationMode`
|
46152
46196
|
# @return [String]
|
@@ -46241,6 +46285,7 @@ module Google
|
|
46241
46285
|
@kind = args[:kind] if args.key?(:kind)
|
46242
46286
|
@linked_commitments = args[:linked_commitments] if args.key?(:linked_commitments)
|
46243
46287
|
@name = args[:name] if args.key?(:name)
|
46288
|
+
@protection_tier = args[:protection_tier] if args.key?(:protection_tier)
|
46244
46289
|
@reservation_mode = args[:reservation_mode] if args.key?(:reservation_mode)
|
46245
46290
|
@reservation_sharing_policy = args[:reservation_sharing_policy] if args.key?(:reservation_sharing_policy)
|
46246
46291
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
@@ -48516,7 +48561,7 @@ module Google
|
|
48516
48561
|
attr_accessor :enable_guest_attributes_metadata_value
|
48517
48562
|
alias_method :enable_guest_attributes_metadata_value?, :enable_guest_attributes_metadata_value
|
48518
48563
|
|
48519
|
-
# Effective enable-
|
48564
|
+
# Effective enable-os-inventory value at Instance level.
|
48520
48565
|
# Corresponds to the JSON property `enableOsInventoryMetadataValue`
|
48521
48566
|
# @return [Boolean]
|
48522
48567
|
attr_accessor :enable_os_inventory_metadata_value
|
@@ -48540,6 +48585,12 @@ module Google
|
|
48540
48585
|
attr_accessor :serial_port_enable_metadata_value
|
48541
48586
|
alias_method :serial_port_enable_metadata_value?, :serial_port_enable_metadata_value
|
48542
48587
|
|
48588
|
+
# Effective serial-port-logging-enable value at Instance level.
|
48589
|
+
# Corresponds to the JSON property `serialPortLoggingEnableMetadataValue`
|
48590
|
+
# @return [Boolean]
|
48591
|
+
attr_accessor :serial_port_logging_enable_metadata_value
|
48592
|
+
alias_method :serial_port_logging_enable_metadata_value?, :serial_port_logging_enable_metadata_value
|
48593
|
+
|
48543
48594
|
# Effective VM DNS setting at Instance level.
|
48544
48595
|
# Corresponds to the JSON property `vmDnsSettingMetadataValue`
|
48545
48596
|
# @return [String]
|
@@ -48557,6 +48608,7 @@ module Google
|
|
48557
48608
|
@enable_osconfig_metadata_value = args[:enable_osconfig_metadata_value] if args.key?(:enable_osconfig_metadata_value)
|
48558
48609
|
@enable_oslogin_metadata_value = args[:enable_oslogin_metadata_value] if args.key?(:enable_oslogin_metadata_value)
|
48559
48610
|
@serial_port_enable_metadata_value = args[:serial_port_enable_metadata_value] if args.key?(:serial_port_enable_metadata_value)
|
48611
|
+
@serial_port_logging_enable_metadata_value = args[:serial_port_logging_enable_metadata_value] if args.key?(:serial_port_logging_enable_metadata_value)
|
48560
48612
|
@vm_dns_setting_metadata_value = args[:vm_dns_setting_metadata_value] if args.key?(:vm_dns_setting_metadata_value)
|
48561
48613
|
end
|
48562
48614
|
end
|
@@ -53053,6 +53105,22 @@ module Google
|
|
53053
53105
|
class SecurityPolicyDdosProtectionConfig
|
53054
53106
|
include Google::Apis::Core::Hashable
|
53055
53107
|
|
53108
|
+
#
|
53109
|
+
# Corresponds to the JSON property `ddosAdaptiveProtection`
|
53110
|
+
# @return [String]
|
53111
|
+
attr_accessor :ddos_adaptive_protection
|
53112
|
+
|
53113
|
+
# Adaptive Protection for Network Load Balancers (and VMs with public IPs)
|
53114
|
+
# builds DDos mitigations that minimize collateral damage. It quantifies this as
|
53115
|
+
# the fraction of a non-abuse baseline that's inadvertently blocked. Rules whose
|
53116
|
+
# collateral damage exceeds ddosAdaptiveImpactedBaselineThreshold will not be
|
53117
|
+
# deployed. Using a lower value will prioritize keeping collateral damage low,
|
53118
|
+
# possibly at the cost of its effectiveness in rate limiting some or all of the
|
53119
|
+
# attack. It should typically be between 0.01 and 0.10.
|
53120
|
+
# Corresponds to the JSON property `ddosImpactedBaselineThreshold`
|
53121
|
+
# @return [Float]
|
53122
|
+
attr_accessor :ddos_impacted_baseline_threshold
|
53123
|
+
|
53056
53124
|
#
|
53057
53125
|
# Corresponds to the JSON property `ddosProtection`
|
53058
53126
|
# @return [String]
|
@@ -53064,6 +53132,8 @@ module Google
|
|
53064
53132
|
|
53065
53133
|
# Update properties of this object
|
53066
53134
|
def update!(**args)
|
53135
|
+
@ddos_adaptive_protection = args[:ddos_adaptive_protection] if args.key?(:ddos_adaptive_protection)
|
53136
|
+
@ddos_impacted_baseline_threshold = args[:ddos_impacted_baseline_threshold] if args.key?(:ddos_impacted_baseline_threshold)
|
53067
53137
|
@ddos_protection = args[:ddos_protection] if args.key?(:ddos_protection)
|
53068
53138
|
end
|
53069
53139
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeAlpha
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.113.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2446,6 +2446,12 @@ module Google
|
|
2446
2446
|
include Google::Apis::Core::JsonObjectSupport
|
2447
2447
|
end
|
2448
2448
|
|
2449
|
+
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
2450
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2451
|
+
|
2452
|
+
include Google::Apis::Core::JsonObjectSupport
|
2453
|
+
end
|
2454
|
+
|
2449
2455
|
class InstanceGroupManagerList
|
2450
2456
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2451
2457
|
|
@@ -12404,6 +12410,8 @@ module Google
|
|
12404
12410
|
class GroupMaintenanceInfo
|
12405
12411
|
# @private
|
12406
12412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12413
|
+
property :instance_maintenance_ongoing_count, as: 'instanceMaintenanceOngoingCount'
|
12414
|
+
property :instance_maintenance_pending_count, as: 'instanceMaintenancePendingCount'
|
12407
12415
|
property :maintenance_ongoing_count, as: 'maintenanceOngoingCount'
|
12408
12416
|
property :maintenance_pending_count, as: 'maintenancePendingCount'
|
12409
12417
|
property :scheduling_type, as: 'schedulingType'
|
@@ -13779,6 +13787,8 @@ module Google
|
|
13779
13787
|
property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
|
13780
13788
|
|
13781
13789
|
property :on_failed_health_check, as: 'onFailedHealthCheck'
|
13790
|
+
property :on_repair, as: 'onRepair', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyOnRepair, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyOnRepair::Representation
|
13791
|
+
|
13782
13792
|
end
|
13783
13793
|
end
|
13784
13794
|
|
@@ -13789,6 +13799,13 @@ module Google
|
|
13789
13799
|
end
|
13790
13800
|
end
|
13791
13801
|
|
13802
|
+
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
13803
|
+
# @private
|
13804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13805
|
+
property :allow_changing_zone, as: 'allowChangingZone'
|
13806
|
+
end
|
13807
|
+
end
|
13808
|
+
|
13792
13809
|
class InstanceGroupManagerList
|
13793
13810
|
# @private
|
13794
13811
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20338,6 +20355,7 @@ module Google
|
|
20338
20355
|
property :kind, as: 'kind'
|
20339
20356
|
collection :linked_commitments, as: 'linkedCommitments'
|
20340
20357
|
property :name, as: 'name'
|
20358
|
+
property :protection_tier, as: 'protectionTier'
|
20341
20359
|
property :reservation_mode, as: 'reservationMode'
|
20342
20360
|
property :reservation_sharing_policy, as: 'reservationSharingPolicy', class: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy, decorator: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy::Representation
|
20343
20361
|
|
@@ -20994,6 +21012,7 @@ module Google
|
|
20994
21012
|
property :enable_osconfig_metadata_value, as: 'enableOsconfigMetadataValue'
|
20995
21013
|
property :enable_oslogin_metadata_value, as: 'enableOsloginMetadataValue'
|
20996
21014
|
property :serial_port_enable_metadata_value, as: 'serialPortEnableMetadataValue'
|
21015
|
+
property :serial_port_logging_enable_metadata_value, as: 'serialPortLoggingEnableMetadataValue'
|
20997
21016
|
property :vm_dns_setting_metadata_value, as: 'vmDnsSettingMetadataValue'
|
20998
21017
|
end
|
20999
21018
|
end
|
@@ -22061,6 +22080,8 @@ module Google
|
|
22061
22080
|
class SecurityPolicyDdosProtectionConfig
|
22062
22081
|
# @private
|
22063
22082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
22083
|
+
property :ddos_adaptive_protection, as: 'ddosAdaptiveProtection'
|
22084
|
+
property :ddos_impacted_baseline_threshold, as: 'ddosImpactedBaselineThreshold'
|
22064
22085
|
property :ddos_protection, as: 'ddosProtection'
|
22065
22086
|
end
|
22066
22087
|
end
|
@@ -28378,7 +28378,7 @@ module Google
|
|
28378
28378
|
# Returns the details of the given PreviewFeature.
|
28379
28379
|
# @param [String] project
|
28380
28380
|
# Project ID for this request.
|
28381
|
-
# @param [String]
|
28381
|
+
# @param [String] preview_feature
|
28382
28382
|
# Name of the PreviewFeature for this request.
|
28383
28383
|
# @param [String] fields
|
28384
28384
|
# Selector specifying which fields to include in a partial response.
|
@@ -28399,12 +28399,12 @@ module Google
|
|
28399
28399
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28400
28400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28401
28401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28402
|
-
def get_preview_feature(project,
|
28403
|
-
command = make_simple_command(:get, 'projects/{project}/global/previewFeatures/{
|
28402
|
+
def get_preview_feature(project, preview_feature, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28403
|
+
command = make_simple_command(:get, 'projects/{project}/global/previewFeatures/{previewFeature}', options)
|
28404
28404
|
command.response_representation = Google::Apis::ComputeAlpha::PreviewFeature::Representation
|
28405
28405
|
command.response_class = Google::Apis::ComputeAlpha::PreviewFeature
|
28406
28406
|
command.params['project'] = project unless project.nil?
|
28407
|
-
command.params['
|
28407
|
+
command.params['previewFeature'] = preview_feature unless preview_feature.nil?
|
28408
28408
|
command.query['fields'] = fields unless fields.nil?
|
28409
28409
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28410
28410
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -28506,7 +28506,7 @@ module Google
|
|
28506
28506
|
# PreviewFeature.
|
28507
28507
|
# @param [String] project
|
28508
28508
|
# Project ID for this request.
|
28509
|
-
# @param [String]
|
28509
|
+
# @param [String] preview_feature
|
28510
28510
|
# Name of the PreviewFeature for this request.
|
28511
28511
|
# @param [Google::Apis::ComputeAlpha::PreviewFeature] preview_feature_object
|
28512
28512
|
# @param [String] request_id
|
@@ -28538,14 +28538,14 @@ module Google
|
|
28538
28538
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28539
28539
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28540
28540
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28541
|
-
def update_preview_feature(project,
|
28542
|
-
command = make_simple_command(:patch, 'projects/{project}/global/previewFeatures/{
|
28541
|
+
def update_preview_feature(project, preview_feature, preview_feature_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28542
|
+
command = make_simple_command(:patch, 'projects/{project}/global/previewFeatures/{previewFeature}', options)
|
28543
28543
|
command.request_representation = Google::Apis::ComputeAlpha::PreviewFeature::Representation
|
28544
28544
|
command.request_object = preview_feature_object
|
28545
28545
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
28546
28546
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
28547
28547
|
command.params['project'] = project unless project.nil?
|
28548
|
-
command.params['
|
28548
|
+
command.params['previewFeature'] = preview_feature unless preview_feature.nil?
|
28549
28549
|
command.query['requestId'] = request_id unless request_id.nil?
|
28550
28550
|
command.query['fields'] = fields unless fields.nil?
|
28551
28551
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.113.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_alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.113.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|