google-apis-compute_alpha 0.112.0 → 0.114.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: a9eb684359f3077d8f75a599b78393a60e264b08add7cfd0f611c52393c1f7e2
|
4
|
+
data.tar.gz: d3d8b9810f285574d2336f75416bf9cefc26533e5f69249a03c715581a6b0998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a795eb97ec8c1992047d2d0399563df638f35f8383d08da3f016457e868b8ddb1d4f285f333606deb006b0b76ff4aad794fe95f551692545c8f06891569fc20d
|
7
|
+
data.tar.gz: b9c8cf892d0d135c1a2228c52c0a385112bf255ef4ccec3139eb2edaa2c314ad9b663b4ba53b1cf892a960f513a07345a24806a68ea9b23106ea66dcd7970314
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.114.0 (2025-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250511
|
6
|
+
|
7
|
+
### v0.113.0 (2025-05-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250505
|
10
|
+
|
3
11
|
### v0.112.0 (2025-05-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250427
|
@@ -4149,7 +4149,8 @@ module Google
|
|
4149
4149
|
# be set for Internal Passthrough Network Load Balancers when the haPolicy is
|
4150
4150
|
# enabled, and for External Passthrough Network Load Balancers when the haPolicy
|
4151
4151
|
# fastIpMove is enabled. This field can only be specified when the load
|
4152
|
-
# balancing scheme is set to INTERNAL
|
4152
|
+
# balancing scheme is set to INTERNAL, or when the load balancing scheme is set
|
4153
|
+
# to EXTERNAL and haPolicy fastIpMove is enabled.
|
4153
4154
|
# Corresponds to the JSON property `network`
|
4154
4155
|
# @return [String]
|
4155
4156
|
attr_accessor :network
|
@@ -6759,6 +6760,273 @@ module Google
|
|
6759
6760
|
end
|
6760
6761
|
end
|
6761
6762
|
|
6763
|
+
# A request to provide Assistant Scores. These scores determine VM obtainability
|
6764
|
+
# and preemption likelihood.
|
6765
|
+
class CapacityAdviceRequest
|
6766
|
+
include Google::Apis::Core::Hashable
|
6767
|
+
|
6768
|
+
# Policy specifying the distribution of instances across zones within the
|
6769
|
+
# requested region.
|
6770
|
+
# Corresponds to the JSON property `distributionPolicy`
|
6771
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestDistributionPolicy]
|
6772
|
+
attr_accessor :distribution_policy
|
6773
|
+
|
6774
|
+
# Specification of alternative, flexible instance subsets.
|
6775
|
+
# Corresponds to the JSON property `instanceFlexibilityPolicy`
|
6776
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicy]
|
6777
|
+
attr_accessor :instance_flexibility_policy
|
6778
|
+
|
6779
|
+
# Instance provisining properties.
|
6780
|
+
# Corresponds to the JSON property `instanceProperties`
|
6781
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceProperties]
|
6782
|
+
attr_accessor :instance_properties
|
6783
|
+
|
6784
|
+
def initialize(**args)
|
6785
|
+
update!(**args)
|
6786
|
+
end
|
6787
|
+
|
6788
|
+
# Update properties of this object
|
6789
|
+
def update!(**args)
|
6790
|
+
@distribution_policy = args[:distribution_policy] if args.key?(:distribution_policy)
|
6791
|
+
@instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
|
6792
|
+
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
6793
|
+
end
|
6794
|
+
end
|
6795
|
+
|
6796
|
+
#
|
6797
|
+
class CapacityAdviceRequestDistributionPolicy
|
6798
|
+
include Google::Apis::Core::Hashable
|
6799
|
+
|
6800
|
+
# The distribution shape to which the group converges.
|
6801
|
+
# Corresponds to the JSON property `targetShape`
|
6802
|
+
# @return [String]
|
6803
|
+
attr_accessor :target_shape
|
6804
|
+
|
6805
|
+
# Zones where Capacity Advisor looks for capacity.
|
6806
|
+
# Corresponds to the JSON property `zones`
|
6807
|
+
# @return [Array<Google::Apis::ComputeAlpha::CapacityAdviceRequestDistributionPolicyZoneConfiguration>]
|
6808
|
+
attr_accessor :zones
|
6809
|
+
|
6810
|
+
def initialize(**args)
|
6811
|
+
update!(**args)
|
6812
|
+
end
|
6813
|
+
|
6814
|
+
# Update properties of this object
|
6815
|
+
def update!(**args)
|
6816
|
+
@target_shape = args[:target_shape] if args.key?(:target_shape)
|
6817
|
+
@zones = args[:zones] if args.key?(:zones)
|
6818
|
+
end
|
6819
|
+
end
|
6820
|
+
|
6821
|
+
#
|
6822
|
+
class CapacityAdviceRequestDistributionPolicyZoneConfiguration
|
6823
|
+
include Google::Apis::Core::Hashable
|
6824
|
+
|
6825
|
+
# The URL of the zone.
|
6826
|
+
# Corresponds to the JSON property `zone`
|
6827
|
+
# @return [String]
|
6828
|
+
attr_accessor :zone
|
6829
|
+
|
6830
|
+
def initialize(**args)
|
6831
|
+
update!(**args)
|
6832
|
+
end
|
6833
|
+
|
6834
|
+
# Update properties of this object
|
6835
|
+
def update!(**args)
|
6836
|
+
@zone = args[:zone] if args.key?(:zone)
|
6837
|
+
end
|
6838
|
+
end
|
6839
|
+
|
6840
|
+
# Specification of alternative, flexible instance subsets.
|
6841
|
+
class CapacityAdviceRequestInstanceFlexibilityPolicy
|
6842
|
+
include Google::Apis::Core::Hashable
|
6843
|
+
|
6844
|
+
# Named instance selections configure properties. The key is an arbitrary,
|
6845
|
+
# unique RFC1035 string that identifies the instance selection.
|
6846
|
+
# Corresponds to the JSON property `instanceSelections`
|
6847
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection>]
|
6848
|
+
attr_accessor :instance_selections
|
6849
|
+
|
6850
|
+
def initialize(**args)
|
6851
|
+
update!(**args)
|
6852
|
+
end
|
6853
|
+
|
6854
|
+
# Update properties of this object
|
6855
|
+
def update!(**args)
|
6856
|
+
@instance_selections = args[:instance_selections] if args.key?(:instance_selections)
|
6857
|
+
end
|
6858
|
+
end
|
6859
|
+
|
6860
|
+
# Machine specification.
|
6861
|
+
class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection
|
6862
|
+
include Google::Apis::Core::Hashable
|
6863
|
+
|
6864
|
+
# Full machine-type names, e.g. "n1-standard-16".
|
6865
|
+
# Corresponds to the JSON property `machineTypes`
|
6866
|
+
# @return [Array<String>]
|
6867
|
+
attr_accessor :machine_types
|
6868
|
+
|
6869
|
+
def initialize(**args)
|
6870
|
+
update!(**args)
|
6871
|
+
end
|
6872
|
+
|
6873
|
+
# Update properties of this object
|
6874
|
+
def update!(**args)
|
6875
|
+
@machine_types = args[:machine_types] if args.key?(:machine_types)
|
6876
|
+
end
|
6877
|
+
end
|
6878
|
+
|
6879
|
+
# Instance provisining properties.
|
6880
|
+
class CapacityAdviceRequestInstanceProperties
|
6881
|
+
include Google::Apis::Core::Hashable
|
6882
|
+
|
6883
|
+
# Defines the instance scheduling options.
|
6884
|
+
# Corresponds to the JSON property `scheduling`
|
6885
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestInstancePropertiesScheduling]
|
6886
|
+
attr_accessor :scheduling
|
6887
|
+
|
6888
|
+
def initialize(**args)
|
6889
|
+
update!(**args)
|
6890
|
+
end
|
6891
|
+
|
6892
|
+
# Update properties of this object
|
6893
|
+
def update!(**args)
|
6894
|
+
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
6895
|
+
end
|
6896
|
+
end
|
6897
|
+
|
6898
|
+
# Defines the instance scheduling options.
|
6899
|
+
class CapacityAdviceRequestInstancePropertiesScheduling
|
6900
|
+
include Google::Apis::Core::Hashable
|
6901
|
+
|
6902
|
+
# Specifies the provisioning model of the instance.
|
6903
|
+
# Corresponds to the JSON property `provisioningModel`
|
6904
|
+
# @return [String]
|
6905
|
+
attr_accessor :provisioning_model
|
6906
|
+
|
6907
|
+
def initialize(**args)
|
6908
|
+
update!(**args)
|
6909
|
+
end
|
6910
|
+
|
6911
|
+
# Update properties of this object
|
6912
|
+
def update!(**args)
|
6913
|
+
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
6914
|
+
end
|
6915
|
+
end
|
6916
|
+
|
6917
|
+
# A response contains multiple scoring recommendations.
|
6918
|
+
class CapacityAdviceResponse
|
6919
|
+
include Google::Apis::Core::Hashable
|
6920
|
+
|
6921
|
+
# Initially the API will provide one recommendation which balances the
|
6922
|
+
# individual scores according to Google's preference.
|
6923
|
+
# Corresponds to the JSON property `recommendations`
|
6924
|
+
# @return [Array<Google::Apis::ComputeAlpha::CapacityAdviceResponseRecommendation>]
|
6925
|
+
attr_accessor :recommendations
|
6926
|
+
|
6927
|
+
def initialize(**args)
|
6928
|
+
update!(**args)
|
6929
|
+
end
|
6930
|
+
|
6931
|
+
# Update properties of this object
|
6932
|
+
def update!(**args)
|
6933
|
+
@recommendations = args[:recommendations] if args.key?(:recommendations)
|
6934
|
+
end
|
6935
|
+
end
|
6936
|
+
|
6937
|
+
#
|
6938
|
+
class CapacityAdviceResponseRecommendation
|
6939
|
+
include Google::Apis::Core::Hashable
|
6940
|
+
|
6941
|
+
# The Scores message groups information about a shard of capacity.
|
6942
|
+
# Corresponds to the JSON property `scores`
|
6943
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceResponseRecommendationScores]
|
6944
|
+
attr_accessor :scores
|
6945
|
+
|
6946
|
+
#
|
6947
|
+
# Corresponds to the JSON property `shards`
|
6948
|
+
# @return [Array<Google::Apis::ComputeAlpha::CapacityAdviceResponseRecommendationShard>]
|
6949
|
+
attr_accessor :shards
|
6950
|
+
|
6951
|
+
def initialize(**args)
|
6952
|
+
update!(**args)
|
6953
|
+
end
|
6954
|
+
|
6955
|
+
# Update properties of this object
|
6956
|
+
def update!(**args)
|
6957
|
+
@scores = args[:scores] if args.key?(:scores)
|
6958
|
+
@shards = args[:shards] if args.key?(:shards)
|
6959
|
+
end
|
6960
|
+
end
|
6961
|
+
|
6962
|
+
# The Scores message groups information about a shard of capacity.
|
6963
|
+
class CapacityAdviceResponseRecommendationScores
|
6964
|
+
include Google::Apis::Core::Hashable
|
6965
|
+
|
6966
|
+
# The obtainability score indicates the likelihood of successfully obtaining (
|
6967
|
+
# provisioning) the requested number of VMs. The score range is 0.0 through 1.0.
|
6968
|
+
# Higher is better.
|
6969
|
+
# Corresponds to the JSON property `obtainability`
|
6970
|
+
# @return [Float]
|
6971
|
+
attr_accessor :obtainability
|
6972
|
+
|
6973
|
+
# The preemption score indicates the likelihood that your Spot VMs is preempted.
|
6974
|
+
# For more information about the preemption process, see Preemption of Spot VMs.
|
6975
|
+
# The score range is 0.0 through 1.0. Higher is better.
|
6976
|
+
# Corresponds to the JSON property `spotPreemption`
|
6977
|
+
# @return [Float]
|
6978
|
+
attr_accessor :spot_preemption
|
6979
|
+
|
6980
|
+
def initialize(**args)
|
6981
|
+
update!(**args)
|
6982
|
+
end
|
6983
|
+
|
6984
|
+
# Update properties of this object
|
6985
|
+
def update!(**args)
|
6986
|
+
@obtainability = args[:obtainability] if args.key?(:obtainability)
|
6987
|
+
@spot_preemption = args[:spot_preemption] if args.key?(:spot_preemption)
|
6988
|
+
end
|
6989
|
+
end
|
6990
|
+
|
6991
|
+
# Shards represent blocks of uniform capacity in recommendations. Each shard is
|
6992
|
+
# for a single zone, single instance selection, and a single machine shape. Each
|
6993
|
+
# shard defines a size expressed as the number of VMs.
|
6994
|
+
class CapacityAdviceResponseRecommendationShard
|
6995
|
+
include Google::Apis::Core::Hashable
|
6996
|
+
|
6997
|
+
#
|
6998
|
+
# Corresponds to the JSON property `instanceCount`
|
6999
|
+
# @return [Fixnum]
|
7000
|
+
attr_accessor :instance_count
|
7001
|
+
|
7002
|
+
# The machine type corresponds to the instance selection in the request.
|
7003
|
+
# Corresponds to the JSON property `machineType`
|
7004
|
+
# @return [String]
|
7005
|
+
attr_accessor :machine_type
|
7006
|
+
|
7007
|
+
# Provisioning model of the recommended capacity.
|
7008
|
+
# Corresponds to the JSON property `provisioningModel`
|
7009
|
+
# @return [String]
|
7010
|
+
attr_accessor :provisioning_model
|
7011
|
+
|
7012
|
+
# The zone name for this shard.
|
7013
|
+
# Corresponds to the JSON property `zone`
|
7014
|
+
# @return [String]
|
7015
|
+
attr_accessor :zone
|
7016
|
+
|
7017
|
+
def initialize(**args)
|
7018
|
+
update!(**args)
|
7019
|
+
end
|
7020
|
+
|
7021
|
+
# Update properties of this object
|
7022
|
+
def update!(**args)
|
7023
|
+
@instance_count = args[:instance_count] if args.key?(:instance_count)
|
7024
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
7025
|
+
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
7026
|
+
@zone = args[:zone] if args.key?(:zone)
|
7027
|
+
end
|
7028
|
+
end
|
7029
|
+
|
6762
7030
|
# [Deprecated] gRPC channel credentials to access the SDS server. gRPC channel
|
6763
7031
|
# credentials to access the SDS server.
|
6764
7032
|
class ChannelCredentials
|
@@ -14762,6 +15030,16 @@ module Google
|
|
14762
15030
|
class GroupMaintenanceInfo
|
14763
15031
|
include Google::Apis::Core::Hashable
|
14764
15032
|
|
15033
|
+
# Describes number of instances that have ongoing maintenance.
|
15034
|
+
# Corresponds to the JSON property `instanceMaintenanceOngoingCount`
|
15035
|
+
# @return [Fixnum]
|
15036
|
+
attr_accessor :instance_maintenance_ongoing_count
|
15037
|
+
|
15038
|
+
# Describes number of instances that have pending maintenance.
|
15039
|
+
# Corresponds to the JSON property `instanceMaintenancePendingCount`
|
15040
|
+
# @return [Fixnum]
|
15041
|
+
attr_accessor :instance_maintenance_pending_count
|
15042
|
+
|
14765
15043
|
# Progress for ongoing maintenance for this group of VMs/hosts. Describes number
|
14766
15044
|
# of hosts in the block that have ongoing maintenance.
|
14767
15045
|
# Corresponds to the JSON property `maintenanceOngoingCount`
|
@@ -14806,6 +15084,8 @@ module Google
|
|
14806
15084
|
|
14807
15085
|
# Update properties of this object
|
14808
15086
|
def update!(**args)
|
15087
|
+
@instance_maintenance_ongoing_count = args[:instance_maintenance_ongoing_count] if args.key?(:instance_maintenance_ongoing_count)
|
15088
|
+
@instance_maintenance_pending_count = args[:instance_maintenance_pending_count] if args.key?(:instance_maintenance_pending_count)
|
14809
15089
|
@maintenance_ongoing_count = args[:maintenance_ongoing_count] if args.key?(:maintenance_ongoing_count)
|
14810
15090
|
@maintenance_pending_count = args[:maintenance_pending_count] if args.key?(:maintenance_pending_count)
|
14811
15091
|
@scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
|
@@ -20199,7 +20479,8 @@ module Google
|
|
20199
20479
|
# @return [Fixnum]
|
20200
20480
|
attr_accessor :target_size
|
20201
20481
|
|
20202
|
-
#
|
20482
|
+
# The policy that specifies how the MIG creates its VMs to achieve the target
|
20483
|
+
# size.
|
20203
20484
|
# Corresponds to the JSON property `targetSizePolicy`
|
20204
20485
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerTargetSizePolicy]
|
20205
20486
|
attr_accessor :target_size_policy
|
@@ -20777,6 +21058,11 @@ module Google
|
|
20777
21058
|
# @return [String]
|
20778
21059
|
attr_accessor :on_failed_health_check
|
20779
21060
|
|
21061
|
+
# Configuration for VM repairs in the MIG.
|
21062
|
+
# Corresponds to the JSON property `onRepair`
|
21063
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyOnRepair]
|
21064
|
+
attr_accessor :on_repair
|
21065
|
+
|
20780
21066
|
def initialize(**args)
|
20781
21067
|
update!(**args)
|
20782
21068
|
end
|
@@ -20787,6 +21073,7 @@ module Google
|
|
20787
21073
|
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
20788
21074
|
@metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
|
20789
21075
|
@on_failed_health_check = args[:on_failed_health_check] if args.key?(:on_failed_health_check)
|
21076
|
+
@on_repair = args[:on_repair] if args.key?(:on_repair)
|
20790
21077
|
end
|
20791
21078
|
end
|
20792
21079
|
|
@@ -20810,6 +21097,25 @@ module Google
|
|
20810
21097
|
end
|
20811
21098
|
end
|
20812
21099
|
|
21100
|
+
# Configuration for VM repairs in the MIG.
|
21101
|
+
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
21102
|
+
include Google::Apis::Core::Hashable
|
21103
|
+
|
21104
|
+
# Specifies whether the MIG can change a VM's zone during repair.
|
21105
|
+
# Corresponds to the JSON property `allowChangingZone`
|
21106
|
+
# @return [String]
|
21107
|
+
attr_accessor :allow_changing_zone
|
21108
|
+
|
21109
|
+
def initialize(**args)
|
21110
|
+
update!(**args)
|
21111
|
+
end
|
21112
|
+
|
21113
|
+
# Update properties of this object
|
21114
|
+
def update!(**args)
|
21115
|
+
@allow_changing_zone = args[:allow_changing_zone] if args.key?(:allow_changing_zone)
|
21116
|
+
end
|
21117
|
+
end
|
21118
|
+
|
20813
21119
|
# [Output Only] A list of managed instance groups.
|
20814
21120
|
class InstanceGroupManagerList
|
20815
21121
|
include Google::Apis::Core::Hashable
|
@@ -21541,7 +21847,8 @@ module Google
|
|
21541
21847
|
# @return [String]
|
21542
21848
|
attr_accessor :autoscaler
|
21543
21849
|
|
21544
|
-
#
|
21850
|
+
# Bulk instance operation is the creation of VMs in a MIG when the
|
21851
|
+
# targetSizePolicy.mode is set to BULK.
|
21545
21852
|
# Corresponds to the JSON property `bulkInstanceOperation`
|
21546
21853
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperation]
|
21547
21854
|
attr_accessor :bulk_instance_operation
|
@@ -21611,7 +21918,8 @@ module Google
|
|
21611
21918
|
end
|
21612
21919
|
end
|
21613
21920
|
|
21614
|
-
#
|
21921
|
+
# Bulk instance operation is the creation of VMs in a MIG when the
|
21922
|
+
# targetSizePolicy.mode is set to BULK.
|
21615
21923
|
class InstanceGroupManagerStatusBulkInstanceOperation
|
21616
21924
|
include Google::Apis::Core::Hashable
|
21617
21925
|
|
@@ -21621,7 +21929,8 @@ module Google
|
|
21621
21929
|
attr_accessor :in_progress
|
21622
21930
|
alias_method :in_progress?, :in_progress
|
21623
21931
|
|
21624
|
-
# [Output Only] Information from last progress check of bulk instance
|
21932
|
+
# [Output Only] Information from the last progress check of bulk instance
|
21933
|
+
# operation.
|
21625
21934
|
# Corresponds to the JSON property `lastProgressCheck`
|
21626
21935
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck]
|
21627
21936
|
attr_accessor :last_progress_check
|
@@ -21641,7 +21950,7 @@ module Google
|
|
21641
21950
|
class InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck
|
21642
21951
|
include Google::Apis::Core::Hashable
|
21643
21952
|
|
21644
|
-
# [Output Only]
|
21953
|
+
# [Output Only] Errors encountered during bulk instance operation.
|
21645
21954
|
# Corresponds to the JSON property `error`
|
21646
21955
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck::Error]
|
21647
21956
|
attr_accessor :error
|
@@ -21662,7 +21971,7 @@ module Google
|
|
21662
21971
|
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
21663
21972
|
end
|
21664
21973
|
|
21665
|
-
# [Output Only]
|
21974
|
+
# [Output Only] Errors encountered during bulk instance operation.
|
21666
21975
|
class Error
|
21667
21976
|
include Google::Apis::Core::Hashable
|
21668
21977
|
|
@@ -21863,7 +22172,8 @@ module Google
|
|
21863
22172
|
class InstanceGroupManagerTargetSizePolicy
|
21864
22173
|
include Google::Apis::Core::Hashable
|
21865
22174
|
|
21866
|
-
#
|
22175
|
+
# The mode of target size policy based on which the MIG creates its VMs
|
22176
|
+
# individually or all at once.
|
21867
22177
|
# Corresponds to the JSON property `mode`
|
21868
22178
|
# @return [String]
|
21869
22179
|
attr_accessor :mode
|
@@ -26079,8 +26389,8 @@ module Google
|
|
26079
26389
|
attr_accessor :labels
|
26080
26390
|
|
26081
26391
|
# Maximum Transmission Unit (MTU), in bytes, of packets passing through this
|
26082
|
-
# interconnect attachment.
|
26083
|
-
# value will default to 1440.
|
26392
|
+
# interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not
|
26393
|
+
# specified, the value will default to 1440.
|
26084
26394
|
# Corresponds to the JSON property `mtu`
|
26085
26395
|
# @return [Fixnum]
|
26086
26396
|
attr_accessor :mtu
|
@@ -27033,8 +27343,8 @@ module Google
|
|
27033
27343
|
attr_accessor :l2_forwarding
|
27034
27344
|
|
27035
27345
|
# Maximum Transmission Unit (MTU), in bytes, of packets passing through this
|
27036
|
-
# interconnect attachment.
|
27037
|
-
# value will default to 1440.
|
27346
|
+
# interconnect attachment. Valid values are 1440, 1460, 1500, or 8896. If not
|
27347
|
+
# specified, the value will default to 1440.
|
27038
27348
|
# Corresponds to the JSON property `mtu`
|
27039
27349
|
# @return [Fixnum]
|
27040
27350
|
attr_accessor :mtu
|
@@ -46147,6 +46457,13 @@ module Google
|
|
46147
46457
|
# @return [String]
|
46148
46458
|
attr_accessor :name
|
46149
46459
|
|
46460
|
+
# Protection tier for the workload which specifies the workload expectations in
|
46461
|
+
# the event of infrastructure failures at data center (e.g. power and/or cooling
|
46462
|
+
# failures).
|
46463
|
+
# Corresponds to the JSON property `protectionTier`
|
46464
|
+
# @return [String]
|
46465
|
+
attr_accessor :protection_tier
|
46466
|
+
|
46150
46467
|
# [Output only] Indicates the reservation mode of the reservation.
|
46151
46468
|
# Corresponds to the JSON property `reservationMode`
|
46152
46469
|
# @return [String]
|
@@ -46241,6 +46558,7 @@ module Google
|
|
46241
46558
|
@kind = args[:kind] if args.key?(:kind)
|
46242
46559
|
@linked_commitments = args[:linked_commitments] if args.key?(:linked_commitments)
|
46243
46560
|
@name = args[:name] if args.key?(:name)
|
46561
|
+
@protection_tier = args[:protection_tier] if args.key?(:protection_tier)
|
46244
46562
|
@reservation_mode = args[:reservation_mode] if args.key?(:reservation_mode)
|
46245
46563
|
@reservation_sharing_policy = args[:reservation_sharing_policy] if args.key?(:reservation_sharing_policy)
|
46246
46564
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
@@ -48516,7 +48834,7 @@ module Google
|
|
48516
48834
|
attr_accessor :enable_guest_attributes_metadata_value
|
48517
48835
|
alias_method :enable_guest_attributes_metadata_value?, :enable_guest_attributes_metadata_value
|
48518
48836
|
|
48519
|
-
# Effective enable-
|
48837
|
+
# Effective enable-os-inventory value at Instance level.
|
48520
48838
|
# Corresponds to the JSON property `enableOsInventoryMetadataValue`
|
48521
48839
|
# @return [Boolean]
|
48522
48840
|
attr_accessor :enable_os_inventory_metadata_value
|
@@ -48540,6 +48858,12 @@ module Google
|
|
48540
48858
|
attr_accessor :serial_port_enable_metadata_value
|
48541
48859
|
alias_method :serial_port_enable_metadata_value?, :serial_port_enable_metadata_value
|
48542
48860
|
|
48861
|
+
# Effective serial-port-logging-enable value at Instance level.
|
48862
|
+
# Corresponds to the JSON property `serialPortLoggingEnableMetadataValue`
|
48863
|
+
# @return [Boolean]
|
48864
|
+
attr_accessor :serial_port_logging_enable_metadata_value
|
48865
|
+
alias_method :serial_port_logging_enable_metadata_value?, :serial_port_logging_enable_metadata_value
|
48866
|
+
|
48543
48867
|
# Effective VM DNS setting at Instance level.
|
48544
48868
|
# Corresponds to the JSON property `vmDnsSettingMetadataValue`
|
48545
48869
|
# @return [String]
|
@@ -48557,6 +48881,7 @@ module Google
|
|
48557
48881
|
@enable_osconfig_metadata_value = args[:enable_osconfig_metadata_value] if args.key?(:enable_osconfig_metadata_value)
|
48558
48882
|
@enable_oslogin_metadata_value = args[:enable_oslogin_metadata_value] if args.key?(:enable_oslogin_metadata_value)
|
48559
48883
|
@serial_port_enable_metadata_value = args[:serial_port_enable_metadata_value] if args.key?(:serial_port_enable_metadata_value)
|
48884
|
+
@serial_port_logging_enable_metadata_value = args[:serial_port_logging_enable_metadata_value] if args.key?(:serial_port_logging_enable_metadata_value)
|
48560
48885
|
@vm_dns_setting_metadata_value = args[:vm_dns_setting_metadata_value] if args.key?(:vm_dns_setting_metadata_value)
|
48561
48886
|
end
|
48562
48887
|
end
|
@@ -53053,6 +53378,22 @@ module Google
|
|
53053
53378
|
class SecurityPolicyDdosProtectionConfig
|
53054
53379
|
include Google::Apis::Core::Hashable
|
53055
53380
|
|
53381
|
+
#
|
53382
|
+
# Corresponds to the JSON property `ddosAdaptiveProtection`
|
53383
|
+
# @return [String]
|
53384
|
+
attr_accessor :ddos_adaptive_protection
|
53385
|
+
|
53386
|
+
# Adaptive Protection for Network Load Balancers (and VMs with public IPs)
|
53387
|
+
# builds DDos mitigations that minimize collateral damage. It quantifies this as
|
53388
|
+
# the fraction of a non-abuse baseline that's inadvertently blocked. Rules whose
|
53389
|
+
# collateral damage exceeds ddosAdaptiveImpactedBaselineThreshold will not be
|
53390
|
+
# deployed. Using a lower value will prioritize keeping collateral damage low,
|
53391
|
+
# possibly at the cost of its effectiveness in rate limiting some or all of the
|
53392
|
+
# attack. It should typically be between 0.01 and 0.10.
|
53393
|
+
# Corresponds to the JSON property `ddosImpactedBaselineThreshold`
|
53394
|
+
# @return [Float]
|
53395
|
+
attr_accessor :ddos_impacted_baseline_threshold
|
53396
|
+
|
53056
53397
|
#
|
53057
53398
|
# Corresponds to the JSON property `ddosProtection`
|
53058
53399
|
# @return [String]
|
@@ -53064,6 +53405,8 @@ module Google
|
|
53064
53405
|
|
53065
53406
|
# Update properties of this object
|
53066
53407
|
def update!(**args)
|
53408
|
+
@ddos_adaptive_protection = args[:ddos_adaptive_protection] if args.key?(:ddos_adaptive_protection)
|
53409
|
+
@ddos_impacted_baseline_threshold = args[:ddos_impacted_baseline_threshold] if args.key?(:ddos_impacted_baseline_threshold)
|
53067
53410
|
@ddos_protection = args[:ddos_protection] if args.key?(:ddos_protection)
|
53068
53411
|
end
|
53069
53412
|
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.114.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 = "20250511"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|