google-apis-compute_alpha 0.143.0 → 0.144.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: e5f50e720e1082ac7560ce6a4261a5c9a70fe1512b7761cdc83a14eb89d6a614
|
|
4
|
+
data.tar.gz: f7bc8b0d6fb07ed5ea7fbb58df184227de1fbcae71db82b48cbcc979230e8c03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c304949635d21491281e954d89a9cf40fc6f1b6e8f80e1e0e90707cfbf48da060bd6a0b98ae3a3a4f0b6a8ce301a8744a56534a24196ba3275a14024792fac70
|
|
7
|
+
data.tar.gz: '084e6eecffe28514c43bc1daccc2e8bcfffef4d135799713f671e70f1bf0dd82c194616ac99cbc4d3f98b584b2eb1d7f16b18da4d68e50520a0c6fa3698dc279'
|
data/CHANGELOG.md
CHANGED
|
@@ -3528,6 +3528,28 @@ module Google
|
|
|
3528
3528
|
# @return [String]
|
|
3529
3529
|
attr_accessor :predictive_method
|
|
3530
3530
|
|
|
3531
|
+
# Defines how scaling signal is aggregated in a group. Operates on the
|
|
3532
|
+
# results of the `TimeAggregation`, reducing the per-instance
|
|
3533
|
+
# values down to a single aggregate value across the entire instance group.
|
|
3534
|
+
# Corresponds to the JSON property `signalAggregation`
|
|
3535
|
+
# @return [Google::Apis::ComputeAlpha::AutoscalingPolicySignalAggregation]
|
|
3536
|
+
attr_accessor :signal_aggregation
|
|
3537
|
+
|
|
3538
|
+
# Defines how scaling signal is aggregated over a time window. Operates on
|
|
3539
|
+
# all signal samples produced over the `time_window_sec`, reducing them to
|
|
3540
|
+
# exactly one value.
|
|
3541
|
+
# Corresponds to the JSON property `timeAggregation`
|
|
3542
|
+
# @return [Google::Apis::ComputeAlpha::AutoscalingPolicyTimeAggregation]
|
|
3543
|
+
attr_accessor :time_aggregation
|
|
3544
|
+
|
|
3545
|
+
# Represents a range of acceptable utilization values.
|
|
3546
|
+
# This message is used to configure range-based scaling policies,
|
|
3547
|
+
# allowing Autoscaler to maintain utilization within a specified range
|
|
3548
|
+
# instead of aiming for a single target point.
|
|
3549
|
+
# Corresponds to the JSON property `utilizationRange`
|
|
3550
|
+
# @return [Google::Apis::ComputeAlpha::UtilizationRange]
|
|
3551
|
+
attr_accessor :utilization_range
|
|
3552
|
+
|
|
3531
3553
|
# The target CPU utilization that the autoscaler maintains. Must be
|
|
3532
3554
|
# a float value in the range (0, 1]. If not specified, the default is0.6.
|
|
3533
3555
|
# If the CPU level is below the target utilization, the autoscaler scales
|
|
@@ -3549,6 +3571,9 @@ module Google
|
|
|
3549
3571
|
# Update properties of this object
|
|
3550
3572
|
def update!(**args)
|
|
3551
3573
|
@predictive_method = args[:predictive_method] if args.key?(:predictive_method)
|
|
3574
|
+
@signal_aggregation = args[:signal_aggregation] if args.key?(:signal_aggregation)
|
|
3575
|
+
@time_aggregation = args[:time_aggregation] if args.key?(:time_aggregation)
|
|
3576
|
+
@utilization_range = args[:utilization_range] if args.key?(:utilization_range)
|
|
3552
3577
|
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
|
3553
3578
|
end
|
|
3554
3579
|
end
|
|
@@ -3798,6 +3823,71 @@ module Google
|
|
|
3798
3823
|
end
|
|
3799
3824
|
end
|
|
3800
3825
|
|
|
3826
|
+
# Defines how scaling signal is aggregated in a group. Operates on the
|
|
3827
|
+
# results of the `TimeAggregation`, reducing the per-instance
|
|
3828
|
+
# values down to a single aggregate value across the entire instance group.
|
|
3829
|
+
class AutoscalingPolicySignalAggregation
|
|
3830
|
+
include Google::Apis::Core::Hashable
|
|
3831
|
+
|
|
3832
|
+
# If statistic is PERCENTILE, percentile must be defined. This value is
|
|
3833
|
+
# used only when statistic is PERCENTILE.
|
|
3834
|
+
# Corresponds to the JSON property `percentile`
|
|
3835
|
+
# @return [Fixnum]
|
|
3836
|
+
attr_accessor :percentile
|
|
3837
|
+
|
|
3838
|
+
# Required. The aggregator used to aggregate signal samples across the entire
|
|
3839
|
+
# instance group. This field is required.
|
|
3840
|
+
# Corresponds to the JSON property `statistic`
|
|
3841
|
+
# @return [String]
|
|
3842
|
+
attr_accessor :statistic
|
|
3843
|
+
|
|
3844
|
+
def initialize(**args)
|
|
3845
|
+
update!(**args)
|
|
3846
|
+
end
|
|
3847
|
+
|
|
3848
|
+
# Update properties of this object
|
|
3849
|
+
def update!(**args)
|
|
3850
|
+
@percentile = args[:percentile] if args.key?(:percentile)
|
|
3851
|
+
@statistic = args[:statistic] if args.key?(:statistic)
|
|
3852
|
+
end
|
|
3853
|
+
end
|
|
3854
|
+
|
|
3855
|
+
# Defines how scaling signal is aggregated over a time window. Operates on
|
|
3856
|
+
# all signal samples produced over the `time_window_sec`, reducing them to
|
|
3857
|
+
# exactly one value.
|
|
3858
|
+
class AutoscalingPolicyTimeAggregation
|
|
3859
|
+
include Google::Apis::Core::Hashable
|
|
3860
|
+
|
|
3861
|
+
# If statistic is PERCENTILE, percentile must be defined. This value is
|
|
3862
|
+
# used only when statistic is PERCENTILE.
|
|
3863
|
+
# Corresponds to the JSON property `percentile`
|
|
3864
|
+
# @return [Fixnum]
|
|
3865
|
+
attr_accessor :percentile
|
|
3866
|
+
|
|
3867
|
+
# Required. The aggregator used to aggregate signal samples over the
|
|
3868
|
+
# `time_window_sec`. This field is required.
|
|
3869
|
+
# Corresponds to the JSON property `statistic`
|
|
3870
|
+
# @return [String]
|
|
3871
|
+
attr_accessor :statistic
|
|
3872
|
+
|
|
3873
|
+
# Required. The duration of the time window over which the signal samples are
|
|
3874
|
+
# aggregated. This field is required.
|
|
3875
|
+
# Corresponds to the JSON property `timeWindowSec`
|
|
3876
|
+
# @return [Fixnum]
|
|
3877
|
+
attr_accessor :time_window_sec
|
|
3878
|
+
|
|
3879
|
+
def initialize(**args)
|
|
3880
|
+
update!(**args)
|
|
3881
|
+
end
|
|
3882
|
+
|
|
3883
|
+
# Update properties of this object
|
|
3884
|
+
def update!(**args)
|
|
3885
|
+
@percentile = args[:percentile] if args.key?(:percentile)
|
|
3886
|
+
@statistic = args[:statistic] if args.key?(:statistic)
|
|
3887
|
+
@time_window_sec = args[:time_window_sec] if args.key?(:time_window_sec)
|
|
3888
|
+
end
|
|
3889
|
+
end
|
|
3890
|
+
|
|
3801
3891
|
# Message containing information of one individual backend.
|
|
3802
3892
|
class Backend
|
|
3803
3893
|
include Google::Apis::Core::Hashable
|
|
@@ -15346,6 +15436,15 @@ module Google
|
|
|
15346
15436
|
class FirewallPolicy
|
|
15347
15437
|
include Google::Apis::Core::Hashable
|
|
15348
15438
|
|
|
15439
|
+
# Optional. If specified, it defines what should happen in case of backend
|
|
15440
|
+
# issues for
|
|
15441
|
+
# rules with apply_security_profile_group action.
|
|
15442
|
+
# Allowed values: ALLOW, DENY. If not specified, the default behavior is
|
|
15443
|
+
# ALLOW.
|
|
15444
|
+
# Corresponds to the JSON property `applySecurityProfileFallbackAction`
|
|
15445
|
+
# @return [String]
|
|
15446
|
+
attr_accessor :apply_security_profile_fallback_action
|
|
15447
|
+
|
|
15349
15448
|
# A list of associations that belong to this firewall policy.
|
|
15350
15449
|
# Corresponds to the JSON property `associations`
|
|
15351
15450
|
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyAssociation>]
|
|
@@ -15512,6 +15611,7 @@ module Google
|
|
|
15512
15611
|
|
|
15513
15612
|
# Update properties of this object
|
|
15514
15613
|
def update!(**args)
|
|
15614
|
+
@apply_security_profile_fallback_action = args[:apply_security_profile_fallback_action] if args.key?(:apply_security_profile_fallback_action)
|
|
15515
15615
|
@associations = args[:associations] if args.key?(:associations)
|
|
15516
15616
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
15517
15617
|
@description = args[:description] if args.key?(:description)
|
|
@@ -19241,6 +19341,106 @@ module Google
|
|
|
19241
19341
|
end
|
|
19242
19342
|
end
|
|
19243
19343
|
|
|
19344
|
+
# Represents the Global Frontend Bundle settings for a single project.
|
|
19345
|
+
class GlobalFrontendSettings
|
|
19346
|
+
include Google::Apis::Core::Hashable
|
|
19347
|
+
|
|
19348
|
+
# Customer-settable bundle type.
|
|
19349
|
+
# Corresponds to the JSON property `bundleType`
|
|
19350
|
+
# @return [String]
|
|
19351
|
+
attr_accessor :bundle_type
|
|
19352
|
+
|
|
19353
|
+
# Output only. [Output Only] Creation timestamp in RFC3339 text format.
|
|
19354
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
19355
|
+
# @return [String]
|
|
19356
|
+
attr_accessor :creation_timestamp
|
|
19357
|
+
|
|
19358
|
+
# Output only. [Output Only] An optional description of this resource.
|
|
19359
|
+
# Corresponds to the JSON property `description`
|
|
19360
|
+
# @return [String]
|
|
19361
|
+
attr_accessor :description
|
|
19362
|
+
|
|
19363
|
+
# Output only. For optimistic locking
|
|
19364
|
+
# Corresponds to the JSON property `etag`
|
|
19365
|
+
# @return [String]
|
|
19366
|
+
attr_accessor :etag
|
|
19367
|
+
|
|
19368
|
+
# Output only. [Output Only] The unique identifier for the resource. This
|
|
19369
|
+
# identifier is
|
|
19370
|
+
# defined by the server.
|
|
19371
|
+
# Corresponds to the JSON property `id`
|
|
19372
|
+
# @return [Fixnum]
|
|
19373
|
+
attr_accessor :id
|
|
19374
|
+
|
|
19375
|
+
# Output only. OUTPUT_ONLY fields
|
|
19376
|
+
# [Output Only] Name of the resource. Must be 1-63 characters long and match
|
|
19377
|
+
# the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
|
19378
|
+
# character must be a lowercase letter, and all following characters must
|
|
19379
|
+
# be a dash, lowercase letter, or digit, except the last character, which
|
|
19380
|
+
# cannot be a dash.
|
|
19381
|
+
# Corresponds to the JSON property `name`
|
|
19382
|
+
# @return [String]
|
|
19383
|
+
attr_accessor :name
|
|
19384
|
+
|
|
19385
|
+
# Output only. [Output Only] Server-defined URL for the resource.
|
|
19386
|
+
# Corresponds to the JSON property `selfLink`
|
|
19387
|
+
# @return [String]
|
|
19388
|
+
attr_accessor :self_link
|
|
19389
|
+
|
|
19390
|
+
def initialize(**args)
|
|
19391
|
+
update!(**args)
|
|
19392
|
+
end
|
|
19393
|
+
|
|
19394
|
+
# Update properties of this object
|
|
19395
|
+
def update!(**args)
|
|
19396
|
+
@bundle_type = args[:bundle_type] if args.key?(:bundle_type)
|
|
19397
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
19398
|
+
@description = args[:description] if args.key?(:description)
|
|
19399
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
19400
|
+
@id = args[:id] if args.key?(:id)
|
|
19401
|
+
@name = args[:name] if args.key?(:name)
|
|
19402
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
19403
|
+
end
|
|
19404
|
+
end
|
|
19405
|
+
|
|
19406
|
+
# Response to an UpdateGlobalFrontendSettingsRequest.
|
|
19407
|
+
class GlobalFrontendSettingsPatchResponse
|
|
19408
|
+
include Google::Apis::Core::Hashable
|
|
19409
|
+
|
|
19410
|
+
# Represents an Operation resource.
|
|
19411
|
+
# Google Compute Engine has three Operation resources:
|
|
19412
|
+
# * [Global](/compute/docs/reference/rest/alpha/globalOperations)
|
|
19413
|
+
# * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
|
|
19414
|
+
# * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
|
|
19415
|
+
# You can use an operation resource to manage asynchronous API requests.
|
|
19416
|
+
# For more information, readHandling
|
|
19417
|
+
# API responses.
|
|
19418
|
+
# Operations can be global, regional or zonal.
|
|
19419
|
+
#
|
|
19420
|
+
# - For global operations, use the `globalOperations`
|
|
19421
|
+
# resource.
|
|
19422
|
+
# - For regional operations, use the
|
|
19423
|
+
# `regionOperations` resource.
|
|
19424
|
+
# - For zonal operations, use
|
|
19425
|
+
# the `zoneOperations` resource.
|
|
19426
|
+
# For more information, read
|
|
19427
|
+
# Global, Regional, and Zonal Resources.
|
|
19428
|
+
# Note that completed Operation resources have a limited
|
|
19429
|
+
# retention period.
|
|
19430
|
+
# Corresponds to the JSON property `operation`
|
|
19431
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
19432
|
+
attr_accessor :operation
|
|
19433
|
+
|
|
19434
|
+
def initialize(**args)
|
|
19435
|
+
update!(**args)
|
|
19436
|
+
end
|
|
19437
|
+
|
|
19438
|
+
# Update properties of this object
|
|
19439
|
+
def update!(**args)
|
|
19440
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
19441
|
+
end
|
|
19442
|
+
end
|
|
19443
|
+
|
|
19244
19444
|
#
|
|
19245
19445
|
class GlobalListVmExtensionsResponse
|
|
19246
19446
|
include Google::Apis::Core::Hashable
|
|
@@ -20479,6 +20679,7 @@ module Google
|
|
|
20479
20679
|
# - IDPF
|
|
20480
20680
|
# - SNP_SVSM_CAPABLE
|
|
20481
20681
|
# - CCA_CAPABLE
|
|
20682
|
+
# - SUSPEND_SAFE_FPR
|
|
20482
20683
|
# For more information, see
|
|
20483
20684
|
# Enabling guest operating system features.
|
|
20484
20685
|
# Corresponds to the JSON property `type`
|
|
@@ -30393,11 +30594,6 @@ module Google
|
|
|
30393
30594
|
# @return [Array<String>]
|
|
30394
30595
|
attr_accessor :allowed_actions
|
|
30395
30596
|
|
|
30396
|
-
# Whether the boot disk is allowed to be updated with restart.
|
|
30397
|
-
# Corresponds to the JSON property `disruptionMode`
|
|
30398
|
-
# @return [String]
|
|
30399
|
-
attr_accessor :disruption_mode
|
|
30400
|
-
|
|
30401
30597
|
# The
|
|
30402
30598
|
# instance redistribution policy for regional managed instance groups.
|
|
30403
30599
|
# Valid values are:
|
|
@@ -30477,7 +30673,6 @@ module Google
|
|
|
30477
30673
|
# Update properties of this object
|
|
30478
30674
|
def update!(**args)
|
|
30479
30675
|
@allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
|
|
30480
|
-
@disruption_mode = args[:disruption_mode] if args.key?(:disruption_mode)
|
|
30481
30676
|
@instance_redistribution_type = args[:instance_redistribution_type] if args.key?(:instance_redistribution_type)
|
|
30482
30677
|
@max_surge = args[:max_surge] if args.key?(:max_surge)
|
|
30483
30678
|
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
|
@@ -30573,11 +30768,6 @@ module Google
|
|
|
30573
30768
|
# @return [Array<String>]
|
|
30574
30769
|
attr_accessor :allowed_actions
|
|
30575
30770
|
|
|
30576
|
-
# Whether the boot disk is allowed to be updated with restart.
|
|
30577
|
-
# Corresponds to the JSON property `disruptionMode`
|
|
30578
|
-
# @return [String]
|
|
30579
|
-
attr_accessor :disruption_mode
|
|
30580
|
-
|
|
30581
30771
|
# The list of URLs of one or more instances for which you want to apply
|
|
30582
30772
|
# updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/
|
|
30583
30773
|
# instances/[INSTANCE_NAME].
|
|
@@ -30636,7 +30826,6 @@ module Google
|
|
|
30636
30826
|
def update!(**args)
|
|
30637
30827
|
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
|
30638
30828
|
@allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
|
|
30639
|
-
@disruption_mode = args[:disruption_mode] if args.key?(:disruption_mode)
|
|
30640
30829
|
@instances = args[:instances] if args.key?(:instances)
|
|
30641
30830
|
@maximal_action = args[:maximal_action] if args.key?(:maximal_action)
|
|
30642
30831
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
|
@@ -34949,8 +35138,7 @@ module Google
|
|
|
34949
35138
|
# @return [String]
|
|
34950
35139
|
attr_accessor :self_link
|
|
34951
35140
|
|
|
34952
|
-
# Output only.
|
|
34953
|
-
# resource id.
|
|
35141
|
+
# Output only. Server-defined URL for this resource with the resource id.
|
|
34954
35142
|
# Corresponds to the JSON property `selfLinkWithId`
|
|
34955
35143
|
# @return [String]
|
|
34956
35144
|
attr_accessor :self_link_with_id
|
|
@@ -38726,6 +38914,19 @@ module Google
|
|
|
38726
38914
|
# @return [String]
|
|
38727
38915
|
attr_accessor :city
|
|
38728
38916
|
|
|
38917
|
+
# Output only. The maximum unmetered bandwidth for dynamic paths allowable per
|
|
38918
|
+
# WireGroup for this metro.
|
|
38919
|
+
# Corresponds to the JSON property `maxDynamicPathBandwidthGbps`
|
|
38920
|
+
# @return [Fixnum]
|
|
38921
|
+
attr_accessor :max_dynamic_path_bandwidth_gbps
|
|
38922
|
+
|
|
38923
|
+
# Output only. The maximum unmetered bandwidth for fixed paths allowable per
|
|
38924
|
+
# WireGroup
|
|
38925
|
+
# for this metro.
|
|
38926
|
+
# Corresponds to the JSON property `maxFixedPathBandwidthGbps`
|
|
38927
|
+
# @return [Fixnum]
|
|
38928
|
+
attr_accessor :max_fixed_path_bandwidth_gbps
|
|
38929
|
+
|
|
38729
38930
|
# Output only. The maximum gbps for a single flow to this metro.
|
|
38730
38931
|
# This limits the total bandwidth which may be configured per wire.
|
|
38731
38932
|
# Corresponds to the JSON property `maxSingleFlowGbps`
|
|
@@ -38739,6 +38940,8 @@ module Google
|
|
|
38739
38940
|
# Update properties of this object
|
|
38740
38941
|
def update!(**args)
|
|
38741
38942
|
@city = args[:city] if args.key?(:city)
|
|
38943
|
+
@max_dynamic_path_bandwidth_gbps = args[:max_dynamic_path_bandwidth_gbps] if args.key?(:max_dynamic_path_bandwidth_gbps)
|
|
38944
|
+
@max_fixed_path_bandwidth_gbps = args[:max_fixed_path_bandwidth_gbps] if args.key?(:max_fixed_path_bandwidth_gbps)
|
|
38742
38945
|
@max_single_flow_gbps = args[:max_single_flow_gbps] if args.key?(:max_single_flow_gbps)
|
|
38743
38946
|
end
|
|
38744
38947
|
end
|
|
@@ -42445,8 +42648,7 @@ module Google
|
|
|
42445
42648
|
# @return [String]
|
|
42446
42649
|
attr_accessor :tag
|
|
42447
42650
|
|
|
42448
|
-
# Output only.
|
|
42449
|
-
# group
|
|
42651
|
+
# Output only. The eventual status of the instance. The instance group
|
|
42450
42652
|
# manager will not be identified as stable till each managed instance reaches
|
|
42451
42653
|
# its targetStatus.
|
|
42452
42654
|
# Corresponds to the JSON property `targetStatus`
|
|
@@ -43136,8 +43338,8 @@ module Google
|
|
|
43136
43338
|
attr_accessor :subnetwork
|
|
43137
43339
|
|
|
43138
43340
|
# Required. The type of management service this interface provides.
|
|
43139
|
-
# Supported types include NMX-C for partition management
|
|
43140
|
-
# monitoring
|
|
43341
|
+
# Supported types include NMX-C for partition management and gNMI for switch
|
|
43342
|
+
# monitoring.
|
|
43141
43343
|
# Corresponds to the JSON property `type`
|
|
43142
43344
|
# @return [String]
|
|
43143
43345
|
attr_accessor :type
|
|
@@ -57004,8 +57206,8 @@ module Google
|
|
|
57004
57206
|
# @return [String]
|
|
57005
57207
|
attr_accessor :creation_timestamp
|
|
57006
57208
|
|
|
57007
|
-
# Output only. [Output Only]
|
|
57008
|
-
#
|
|
57209
|
+
# Output only. [Output Only] Deletion timestamp of snapshot inRFC3339 text
|
|
57210
|
+
# format.
|
|
57009
57211
|
# Corresponds to the JSON property `deletionTimestamp`
|
|
57010
57212
|
# @return [String]
|
|
57011
57213
|
attr_accessor :deletion_timestamp
|
|
@@ -58613,11 +58815,6 @@ module Google
|
|
|
58613
58815
|
# @return [Array<String>]
|
|
58614
58816
|
attr_accessor :allowed_actions
|
|
58615
58817
|
|
|
58616
|
-
# Whether the boot disk is allowed to be updated with restart.
|
|
58617
|
-
# Corresponds to the JSON property `disruptionMode`
|
|
58618
|
-
# @return [String]
|
|
58619
|
-
attr_accessor :disruption_mode
|
|
58620
|
-
|
|
58621
58818
|
# The list of URLs of one or more instances for which you want to apply
|
|
58622
58819
|
# updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/
|
|
58623
58820
|
# instances/[INSTANCE_NAME].
|
|
@@ -58676,7 +58873,6 @@ module Google
|
|
|
58676
58873
|
def update!(**args)
|
|
58677
58874
|
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
|
58678
58875
|
@allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
|
|
58679
|
-
@disruption_mode = args[:disruption_mode] if args.key?(:disruption_mode)
|
|
58680
58876
|
@instances = args[:instances] if args.key?(:instances)
|
|
58681
58877
|
@maximal_action = args[:maximal_action] if args.key?(:maximal_action)
|
|
58682
58878
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
|
@@ -83311,6 +83507,50 @@ module Google
|
|
|
83311
83507
|
end
|
|
83312
83508
|
end
|
|
83313
83509
|
|
|
83510
|
+
# Represents a range of acceptable utilization values.
|
|
83511
|
+
# This message is used to configure range-based scaling policies,
|
|
83512
|
+
# allowing Autoscaler to maintain utilization within a specified range
|
|
83513
|
+
# instead of aiming for a single target point.
|
|
83514
|
+
class UtilizationRange
|
|
83515
|
+
include Google::Apis::Core::Hashable
|
|
83516
|
+
|
|
83517
|
+
# Required. The upper bound of the utilization range. Must be greater or equal
|
|
83518
|
+
# to
|
|
83519
|
+
# min_utilization. This value is required when using range-based scaling.
|
|
83520
|
+
# Scaling out is triggered if the utilization exceeds this value.
|
|
83521
|
+
# Corresponds to the JSON property `maxUtilization`
|
|
83522
|
+
# @return [Float]
|
|
83523
|
+
attr_accessor :max_utilization
|
|
83524
|
+
|
|
83525
|
+
# Required. The lower bound of the utilization range. Must be smaller or equal
|
|
83526
|
+
# to
|
|
83527
|
+
# max_utilization. This value is required when using range-based scaling.
|
|
83528
|
+
# Scaling in is considered only if the utilization drops below this value.
|
|
83529
|
+
# Corresponds to the JSON property `minUtilization`
|
|
83530
|
+
# @return [Float]
|
|
83531
|
+
attr_accessor :min_utilization
|
|
83532
|
+
|
|
83533
|
+
# The target utilization that the autoscaler aims to achieve when scaling
|
|
83534
|
+
# is triggered. This value must be within the range [min_utilization,
|
|
83535
|
+
# max_utilization].
|
|
83536
|
+
# If not specified, this will default to the average of max_utilization and
|
|
83537
|
+
# min_utilization.
|
|
83538
|
+
# Corresponds to the JSON property `utilizationTarget`
|
|
83539
|
+
# @return [Float]
|
|
83540
|
+
attr_accessor :utilization_target
|
|
83541
|
+
|
|
83542
|
+
def initialize(**args)
|
|
83543
|
+
update!(**args)
|
|
83544
|
+
end
|
|
83545
|
+
|
|
83546
|
+
# Update properties of this object
|
|
83547
|
+
def update!(**args)
|
|
83548
|
+
@max_utilization = args[:max_utilization] if args.key?(:max_utilization)
|
|
83549
|
+
@min_utilization = args[:min_utilization] if args.key?(:min_utilization)
|
|
83550
|
+
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
|
83551
|
+
end
|
|
83552
|
+
end
|
|
83553
|
+
|
|
83314
83554
|
# Contain information of Nat mapping for a VM endpoint (i.e., NIC).
|
|
83315
83555
|
class VmEndpointNatMappings
|
|
83316
83556
|
include Google::Apis::Core::Hashable
|
|
@@ -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.144.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260821"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -436,6 +436,18 @@ module Google
|
|
|
436
436
|
include Google::Apis::Core::JsonObjectSupport
|
|
437
437
|
end
|
|
438
438
|
|
|
439
|
+
class AutoscalingPolicySignalAggregation
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class AutoscalingPolicyTimeAggregation
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
439
451
|
class Backend
|
|
440
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
453
|
|
|
@@ -2242,6 +2254,18 @@ module Google
|
|
|
2242
2254
|
include Google::Apis::Core::JsonObjectSupport
|
|
2243
2255
|
end
|
|
2244
2256
|
|
|
2257
|
+
class GlobalFrontendSettings
|
|
2258
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2259
|
+
|
|
2260
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2261
|
+
end
|
|
2262
|
+
|
|
2263
|
+
class GlobalFrontendSettingsPatchResponse
|
|
2264
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2265
|
+
|
|
2266
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2267
|
+
end
|
|
2268
|
+
|
|
2245
2269
|
class GlobalListVmExtensionsResponse
|
|
2246
2270
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2247
2271
|
|
|
@@ -10366,6 +10390,12 @@ module Google
|
|
|
10366
10390
|
include Google::Apis::Core::JsonObjectSupport
|
|
10367
10391
|
end
|
|
10368
10392
|
|
|
10393
|
+
class UtilizationRange
|
|
10394
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
10395
|
+
|
|
10396
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
10397
|
+
end
|
|
10398
|
+
|
|
10369
10399
|
class VmEndpointNatMappings
|
|
10370
10400
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
10371
10401
|
|
|
@@ -11631,6 +11661,12 @@ module Google
|
|
|
11631
11661
|
# @private
|
|
11632
11662
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11633
11663
|
property :predictive_method, as: 'predictiveMethod'
|
|
11664
|
+
property :signal_aggregation, as: 'signalAggregation', class: Google::Apis::ComputeAlpha::AutoscalingPolicySignalAggregation, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicySignalAggregation::Representation
|
|
11665
|
+
|
|
11666
|
+
property :time_aggregation, as: 'timeAggregation', class: Google::Apis::ComputeAlpha::AutoscalingPolicyTimeAggregation, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyTimeAggregation::Representation
|
|
11667
|
+
|
|
11668
|
+
property :utilization_range, as: 'utilizationRange', class: Google::Apis::ComputeAlpha::UtilizationRange, decorator: Google::Apis::ComputeAlpha::UtilizationRange::Representation
|
|
11669
|
+
|
|
11634
11670
|
property :utilization_target, as: 'utilizationTarget'
|
|
11635
11671
|
end
|
|
11636
11672
|
end
|
|
@@ -11683,6 +11719,23 @@ module Google
|
|
|
11683
11719
|
end
|
|
11684
11720
|
end
|
|
11685
11721
|
|
|
11722
|
+
class AutoscalingPolicySignalAggregation
|
|
11723
|
+
# @private
|
|
11724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11725
|
+
property :percentile, as: 'percentile'
|
|
11726
|
+
property :statistic, as: 'statistic'
|
|
11727
|
+
end
|
|
11728
|
+
end
|
|
11729
|
+
|
|
11730
|
+
class AutoscalingPolicyTimeAggregation
|
|
11731
|
+
# @private
|
|
11732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11733
|
+
property :percentile, as: 'percentile'
|
|
11734
|
+
property :statistic, as: 'statistic'
|
|
11735
|
+
property :time_window_sec, as: 'timeWindowSec'
|
|
11736
|
+
end
|
|
11737
|
+
end
|
|
11738
|
+
|
|
11686
11739
|
class Backend
|
|
11687
11740
|
# @private
|
|
11688
11741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -14213,6 +14266,7 @@ module Google
|
|
|
14213
14266
|
class FirewallPolicy
|
|
14214
14267
|
# @private
|
|
14215
14268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14269
|
+
property :apply_security_profile_fallback_action, as: 'applySecurityProfileFallbackAction'
|
|
14216
14270
|
collection :associations, as: 'associations', class: Google::Apis::ComputeAlpha::FirewallPolicyAssociation, decorator: Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
|
|
14217
14271
|
|
|
14218
14272
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
@@ -15055,6 +15109,27 @@ module Google
|
|
|
15055
15109
|
end
|
|
15056
15110
|
end
|
|
15057
15111
|
|
|
15112
|
+
class GlobalFrontendSettings
|
|
15113
|
+
# @private
|
|
15114
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15115
|
+
property :bundle_type, as: 'bundleType'
|
|
15116
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
15117
|
+
property :description, as: 'description'
|
|
15118
|
+
property :etag, as: 'etag'
|
|
15119
|
+
property :id, :numeric_string => true, as: 'id'
|
|
15120
|
+
property :name, as: 'name'
|
|
15121
|
+
property :self_link, as: 'selfLink'
|
|
15122
|
+
end
|
|
15123
|
+
end
|
|
15124
|
+
|
|
15125
|
+
class GlobalFrontendSettingsPatchResponse
|
|
15126
|
+
# @private
|
|
15127
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15128
|
+
property :operation, as: 'operation', class: Google::Apis::ComputeAlpha::Operation, decorator: Google::Apis::ComputeAlpha::Operation::Representation
|
|
15129
|
+
|
|
15130
|
+
end
|
|
15131
|
+
end
|
|
15132
|
+
|
|
15058
15133
|
class GlobalListVmExtensionsResponse
|
|
15059
15134
|
# @private
|
|
15060
15135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -17622,7 +17697,6 @@ module Google
|
|
|
17622
17697
|
# @private
|
|
17623
17698
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17624
17699
|
collection :allowed_actions, as: 'allowedActions'
|
|
17625
|
-
property :disruption_mode, as: 'disruptionMode'
|
|
17626
17700
|
property :instance_redistribution_type, as: 'instanceRedistributionType'
|
|
17627
17701
|
property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
|
|
17628
17702
|
|
|
@@ -17659,7 +17733,6 @@ module Google
|
|
|
17659
17733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17660
17734
|
property :all_instances, as: 'allInstances'
|
|
17661
17735
|
collection :allowed_actions, as: 'allowedActions'
|
|
17662
|
-
property :disruption_mode, as: 'disruptionMode'
|
|
17663
17736
|
collection :instances, as: 'instances'
|
|
17664
17737
|
property :maximal_action, as: 'maximalAction'
|
|
17665
17738
|
property :minimal_action, as: 'minimalAction'
|
|
@@ -19624,6 +19697,8 @@ module Google
|
|
|
19624
19697
|
# @private
|
|
19625
19698
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19626
19699
|
property :city, as: 'city'
|
|
19700
|
+
property :max_dynamic_path_bandwidth_gbps, :numeric_string => true, as: 'maxDynamicPathBandwidthGbps'
|
|
19701
|
+
property :max_fixed_path_bandwidth_gbps, :numeric_string => true, as: 'maxFixedPathBandwidthGbps'
|
|
19627
19702
|
property :max_single_flow_gbps, as: 'maxSingleFlowGbps'
|
|
19628
19703
|
end
|
|
19629
19704
|
end
|
|
@@ -24357,7 +24432,6 @@ module Google
|
|
|
24357
24432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
24358
24433
|
property :all_instances, as: 'allInstances'
|
|
24359
24434
|
collection :allowed_actions, as: 'allowedActions'
|
|
24360
|
-
property :disruption_mode, as: 'disruptionMode'
|
|
24361
24435
|
collection :instances, as: 'instances'
|
|
24362
24436
|
property :maximal_action, as: 'maximalAction'
|
|
24363
24437
|
property :minimal_action, as: 'minimalAction'
|
|
@@ -30257,6 +30331,15 @@ module Google
|
|
|
30257
30331
|
end
|
|
30258
30332
|
end
|
|
30259
30333
|
|
|
30334
|
+
class UtilizationRange
|
|
30335
|
+
# @private
|
|
30336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
30337
|
+
property :max_utilization, as: 'maxUtilization'
|
|
30338
|
+
property :min_utilization, as: 'minUtilization'
|
|
30339
|
+
property :utilization_target, as: 'utilizationTarget'
|
|
30340
|
+
end
|
|
30341
|
+
end
|
|
30342
|
+
|
|
30260
30343
|
class VmEndpointNatMappings
|
|
30261
30344
|
# @private
|
|
30262
30345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11242,6 +11242,78 @@ module Google
|
|
|
11242
11242
|
execute_or_queue_command(command, &block)
|
|
11243
11243
|
end
|
|
11244
11244
|
|
|
11245
|
+
# Gets the Global Frontend Billing Bundle Settings for a project.
|
|
11246
|
+
# @param [String] project
|
|
11247
|
+
# @param [String] fields
|
|
11248
|
+
# Selector specifying which fields to include in a partial response.
|
|
11249
|
+
# @param [String] quota_user
|
|
11250
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
11251
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
11252
|
+
# @param [String] user_ip
|
|
11253
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
11254
|
+
# @param [Google::Apis::RequestOptions] options
|
|
11255
|
+
# Request-specific options
|
|
11256
|
+
#
|
|
11257
|
+
# @yield [result, err] Result & error if block supplied
|
|
11258
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::GlobalFrontendSettings] parsed result object
|
|
11259
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
11260
|
+
#
|
|
11261
|
+
# @return [Google::Apis::ComputeAlpha::GlobalFrontendSettings]
|
|
11262
|
+
#
|
|
11263
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
11264
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11265
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11266
|
+
def get_global_frontend_setting(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11267
|
+
command = make_simple_command(:get, 'projects/{project}/global/globalFrontendSettings', options)
|
|
11268
|
+
command.response_representation = Google::Apis::ComputeAlpha::GlobalFrontendSettings::Representation
|
|
11269
|
+
command.response_class = Google::Apis::ComputeAlpha::GlobalFrontendSettings
|
|
11270
|
+
command.params['project'] = project unless project.nil?
|
|
11271
|
+
command.query['fields'] = fields unless fields.nil?
|
|
11272
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
11273
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
11274
|
+
execute_or_queue_command(command, &block)
|
|
11275
|
+
end
|
|
11276
|
+
|
|
11277
|
+
# Updates the Global Frontend Billing Bundle Settings for a project.
|
|
11278
|
+
# @param [String] project
|
|
11279
|
+
# @param [Google::Apis::ComputeAlpha::GlobalFrontendSettings] global_frontend_settings_object
|
|
11280
|
+
# @param [String] request_id
|
|
11281
|
+
# @param [String] update_mask
|
|
11282
|
+
# e.g., "type"
|
|
11283
|
+
# @param [String] fields
|
|
11284
|
+
# Selector specifying which fields to include in a partial response.
|
|
11285
|
+
# @param [String] quota_user
|
|
11286
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
11287
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
11288
|
+
# @param [String] user_ip
|
|
11289
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
11290
|
+
# @param [Google::Apis::RequestOptions] options
|
|
11291
|
+
# Request-specific options
|
|
11292
|
+
#
|
|
11293
|
+
# @yield [result, err] Result & error if block supplied
|
|
11294
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::GlobalFrontendSettingsPatchResponse] parsed result object
|
|
11295
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
11296
|
+
#
|
|
11297
|
+
# @return [Google::Apis::ComputeAlpha::GlobalFrontendSettingsPatchResponse]
|
|
11298
|
+
#
|
|
11299
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
11300
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11301
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11302
|
+
def patch_global_frontend_setting(project, global_frontend_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11303
|
+
command = make_simple_command(:patch, 'projects/{project}/global/globalFrontendSettings', options)
|
|
11304
|
+
command.request_representation = Google::Apis::ComputeAlpha::GlobalFrontendSettings::Representation
|
|
11305
|
+
command.request_object = global_frontend_settings_object
|
|
11306
|
+
command.response_representation = Google::Apis::ComputeAlpha::GlobalFrontendSettingsPatchResponse::Representation
|
|
11307
|
+
command.response_class = Google::Apis::ComputeAlpha::GlobalFrontendSettingsPatchResponse
|
|
11308
|
+
command.params['project'] = project unless project.nil?
|
|
11309
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
11310
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
11311
|
+
command.query['fields'] = fields unless fields.nil?
|
|
11312
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
11313
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
11314
|
+
execute_or_queue_command(command, &block)
|
|
11315
|
+
end
|
|
11316
|
+
|
|
11245
11317
|
# Attach a network endpoint to the specified network endpoint group.
|
|
11246
11318
|
# @param [String] project
|
|
11247
11319
|
# Project ID for this request.
|
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.144.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.144.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:
|