google-apis-compute_alpha 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_alpha.rb +1 -1
- data/lib/google/apis/compute_alpha/classes.rb +481 -48
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +187 -2
- data/lib/google/apis/compute_alpha/service.rb +1428 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8d78f1ca1997175b136092bf55f7e35a7914f39810860273667826f9c719f85
|
4
|
+
data.tar.gz: e39d4db6364442f5b94d3c92f5529773a8eb43bd04a1bb1e335e03e3a8a2a40f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05ade2ee9f603b41d95ac66e99c72b40a983a0e7974b1da5e686bb3cfb4b91d4a9502010f2e4746e9258ff53032bf751b9f119e863fedf1fc7821b7b6dfd0386
|
7
|
+
data.tar.gz: 81defa7c1a112064878c92aa5d5bae3ea552333f4a12bcd75f91da5c701f5d235a86a368db35c8dbf72b69309dec7bd26b171c70488a6def24ee3fcfaf817961
|
data/CHANGELOG.md
CHANGED
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'Alpha'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
|
35
35
|
# View and manage your Google Compute Engine resources
|
@@ -1111,6 +1111,14 @@ module Google
|
|
1111
1111
|
# @return [Fixnum]
|
1112
1112
|
attr_accessor :threads_per_core
|
1113
1113
|
|
1114
|
+
# The number of physical cores to expose to an instance. Multiply by the number
|
1115
|
+
# of threads per core to compute the total number of virtual CPUs to expose to
|
1116
|
+
# the instance. If unset, the number of cores is inferred from the instance's
|
1117
|
+
# nominal CPU count and the underlying platform's SMT width.
|
1118
|
+
# Corresponds to the JSON property `visibleCoreCount`
|
1119
|
+
# @return [Fixnum]
|
1120
|
+
attr_accessor :visible_core_count
|
1121
|
+
|
1114
1122
|
def initialize(**args)
|
1115
1123
|
update!(**args)
|
1116
1124
|
end
|
@@ -1119,6 +1127,7 @@ module Google
|
|
1119
1127
|
def update!(**args)
|
1120
1128
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1121
1129
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1130
|
+
@visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
|
1122
1131
|
end
|
1123
1132
|
end
|
1124
1133
|
|
@@ -3172,8 +3181,8 @@ module Google
|
|
3172
3181
|
include Google::Apis::Core::Hashable
|
3173
3182
|
|
3174
3183
|
# The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
|
3175
|
-
# 308, 404, 405, 410, 421, 451 and 501 are can be specified as values,
|
3176
|
-
# cannot specify a status code more than once.
|
3184
|
+
# 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values,
|
3185
|
+
# and you cannot specify a status code more than once.
|
3177
3186
|
# Corresponds to the JSON property `code`
|
3178
3187
|
# @return [Fixnum]
|
3179
3188
|
attr_accessor :code
|
@@ -3976,8 +3985,8 @@ module Google
|
|
3976
3985
|
include Google::Apis::Core::Hashable
|
3977
3986
|
|
3978
3987
|
# The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
|
3979
|
-
# 308, 404, 405, 410, 421, 451 and 501 are can be specified as values,
|
3980
|
-
# cannot specify a status code more than once.
|
3988
|
+
# 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values,
|
3989
|
+
# and you cannot specify a status code more than once.
|
3981
3990
|
# Corresponds to the JSON property `code`
|
3982
3991
|
# @return [Fixnum]
|
3983
3992
|
attr_accessor :code
|
@@ -8453,13 +8462,14 @@ module Google
|
|
8453
8462
|
# @return [String]
|
8454
8463
|
attr_accessor :description
|
8455
8464
|
|
8456
|
-
#
|
8457
|
-
#
|
8458
|
-
# must be 1-63 characters long,
|
8459
|
-
# must be 1-63 characters long
|
8460
|
-
# [a-z0-9])?` which means the
|
8461
|
-
#
|
8462
|
-
# the last character, which cannot
|
8465
|
+
# Depreacted, please use short name instead. User-provided name of the
|
8466
|
+
# Organization firewall plicy. The name should be unique in the organization in
|
8467
|
+
# which the firewall policy is created. The name must be 1-63 characters long,
|
8468
|
+
# and comply with RFC1035. Specifically, the name must be 1-63 characters long
|
8469
|
+
# and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
|
8470
|
+
# first character must be a lowercase letter, and all following characters must
|
8471
|
+
# be a dash, lowercase letter, or digit, except the last character, which cannot
|
8472
|
+
# be a dash.
|
8463
8473
|
# Corresponds to the JSON property `displayName`
|
8464
8474
|
# @return [String]
|
8465
8475
|
attr_accessor :display_name
|
@@ -8499,6 +8509,14 @@ module Google
|
|
8499
8509
|
# @return [String]
|
8500
8510
|
attr_accessor :parent
|
8501
8511
|
|
8512
|
+
# [Output Only] URL of the region where the regional firewall policy resides.
|
8513
|
+
# This field is not applicable to global firewall policies. You must specify
|
8514
|
+
# this field as part of the HTTP request URL. It is not settable as a field in
|
8515
|
+
# the request body.
|
8516
|
+
# Corresponds to the JSON property `region`
|
8517
|
+
# @return [String]
|
8518
|
+
attr_accessor :region
|
8519
|
+
|
8502
8520
|
# [Output Only] Total count of all firewall policy rule tuples. A firewall
|
8503
8521
|
# policy can not exceed a set number of tuples.
|
8504
8522
|
# Corresponds to the JSON property `ruleTupleCount`
|
@@ -8523,6 +8541,17 @@ module Google
|
|
8523
8541
|
# @return [String]
|
8524
8542
|
attr_accessor :self_link_with_id
|
8525
8543
|
|
8544
|
+
# User-provided name of the Organization firewall plicy. The name should be
|
8545
|
+
# unique in the organization in which the firewall policy is created. The name
|
8546
|
+
# must be 1-63 characters long, and comply with RFC1035. Specifically, the name
|
8547
|
+
# must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*
|
8548
|
+
# [a-z0-9])?` which means the first character must be a lowercase letter, and
|
8549
|
+
# all following characters must be a dash, lowercase letter, or digit, except
|
8550
|
+
# the last character, which cannot be a dash.
|
8551
|
+
# Corresponds to the JSON property `shortName`
|
8552
|
+
# @return [String]
|
8553
|
+
attr_accessor :short_name
|
8554
|
+
|
8526
8555
|
def initialize(**args)
|
8527
8556
|
update!(**args)
|
8528
8557
|
end
|
@@ -8538,10 +8567,12 @@ module Google
|
|
8538
8567
|
@kind = args[:kind] if args.key?(:kind)
|
8539
8568
|
@name = args[:name] if args.key?(:name)
|
8540
8569
|
@parent = args[:parent] if args.key?(:parent)
|
8570
|
+
@region = args[:region] if args.key?(:region)
|
8541
8571
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
8542
8572
|
@rules = args[:rules] if args.key?(:rules)
|
8543
8573
|
@self_link = args[:self_link] if args.key?(:self_link)
|
8544
8574
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
8575
|
+
@short_name = args[:short_name] if args.key?(:short_name)
|
8545
8576
|
end
|
8546
8577
|
end
|
8547
8578
|
|
@@ -8554,7 +8585,8 @@ module Google
|
|
8554
8585
|
# @return [String]
|
8555
8586
|
attr_accessor :attachment_target
|
8556
8587
|
|
8557
|
-
# [Output Only]
|
8588
|
+
# [Output Only] Deprecated, please use short name instead. The display name of
|
8589
|
+
# the firewall policy of the association.
|
8558
8590
|
# Corresponds to the JSON property `displayName`
|
8559
8591
|
# @return [String]
|
8560
8592
|
attr_accessor :display_name
|
@@ -8569,6 +8601,11 @@ module Google
|
|
8569
8601
|
# @return [String]
|
8570
8602
|
attr_accessor :name
|
8571
8603
|
|
8604
|
+
# [Output Only] The short name of the firewall policy of the association.
|
8605
|
+
# Corresponds to the JSON property `shortName`
|
8606
|
+
# @return [String]
|
8607
|
+
attr_accessor :short_name
|
8608
|
+
|
8572
8609
|
def initialize(**args)
|
8573
8610
|
update!(**args)
|
8574
8611
|
end
|
@@ -8579,6 +8616,7 @@ module Google
|
|
8579
8616
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8580
8617
|
@firewall_policy_id = args[:firewall_policy_id] if args.key?(:firewall_policy_id)
|
8581
8618
|
@name = args[:name] if args.key?(:name)
|
8619
|
+
@short_name = args[:short_name] if args.key?(:short_name)
|
8582
8620
|
end
|
8583
8621
|
end
|
8584
8622
|
|
@@ -10195,6 +10233,11 @@ module Google
|
|
10195
10233
|
# @return [String]
|
10196
10234
|
attr_accessor :response
|
10197
10235
|
|
10236
|
+
# Weight report mode. used for weighted Load Balancing.
|
10237
|
+
# Corresponds to the JSON property `weightReportMode`
|
10238
|
+
# @return [String]
|
10239
|
+
attr_accessor :weight_report_mode
|
10240
|
+
|
10198
10241
|
def initialize(**args)
|
10199
10242
|
update!(**args)
|
10200
10243
|
end
|
@@ -10208,6 +10251,7 @@ module Google
|
|
10208
10251
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
10209
10252
|
@request_path = args[:request_path] if args.key?(:request_path)
|
10210
10253
|
@response = args[:response] if args.key?(:response)
|
10254
|
+
@weight_report_mode = args[:weight_report_mode] if args.key?(:weight_report_mode)
|
10211
10255
|
end
|
10212
10256
|
end
|
10213
10257
|
|
@@ -10265,6 +10309,11 @@ module Google
|
|
10265
10309
|
# @return [String]
|
10266
10310
|
attr_accessor :response
|
10267
10311
|
|
10312
|
+
# Weight report mode. used for weighted Load Balancing.
|
10313
|
+
# Corresponds to the JSON property `weightReportMode`
|
10314
|
+
# @return [String]
|
10315
|
+
attr_accessor :weight_report_mode
|
10316
|
+
|
10268
10317
|
def initialize(**args)
|
10269
10318
|
update!(**args)
|
10270
10319
|
end
|
@@ -10278,6 +10327,7 @@ module Google
|
|
10278
10327
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
10279
10328
|
@request_path = args[:request_path] if args.key?(:request_path)
|
10280
10329
|
@response = args[:response] if args.key?(:response)
|
10330
|
+
@weight_report_mode = args[:weight_report_mode] if args.key?(:weight_report_mode)
|
10281
10331
|
end
|
10282
10332
|
end
|
10283
10333
|
|
@@ -10335,6 +10385,11 @@ module Google
|
|
10335
10385
|
# @return [String]
|
10336
10386
|
attr_accessor :response
|
10337
10387
|
|
10388
|
+
# Weight report mode. used for weighted Load Balancing.
|
10389
|
+
# Corresponds to the JSON property `weightReportMode`
|
10390
|
+
# @return [String]
|
10391
|
+
attr_accessor :weight_report_mode
|
10392
|
+
|
10338
10393
|
def initialize(**args)
|
10339
10394
|
update!(**args)
|
10340
10395
|
end
|
@@ -10348,6 +10403,7 @@ module Google
|
|
10348
10403
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
10349
10404
|
@request_path = args[:request_path] if args.key?(:request_path)
|
10350
10405
|
@response = args[:response] if args.key?(:response)
|
10406
|
+
@weight_report_mode = args[:weight_report_mode] if args.key?(:weight_report_mode)
|
10351
10407
|
end
|
10352
10408
|
end
|
10353
10409
|
|
@@ -11402,6 +11458,16 @@ module Google
|
|
11402
11458
|
# @return [Hash<String,String>]
|
11403
11459
|
attr_accessor :annotations
|
11404
11460
|
|
11461
|
+
# URL of the forwarding rule associated with the health status of the instance.
|
11462
|
+
# Corresponds to the JSON property `forwardingRule`
|
11463
|
+
# @return [String]
|
11464
|
+
attr_accessor :forwarding_rule
|
11465
|
+
|
11466
|
+
# A forwarding rule IP address assigned to this instance.
|
11467
|
+
# Corresponds to the JSON property `forwardingRuleIp`
|
11468
|
+
# @return [String]
|
11469
|
+
attr_accessor :forwarding_rule_ip
|
11470
|
+
|
11405
11471
|
# Health state of the instance.
|
11406
11472
|
# Corresponds to the JSON property `healthState`
|
11407
11473
|
# @return [String]
|
@@ -11442,6 +11508,8 @@ module Google
|
|
11442
11508
|
# Update properties of this object
|
11443
11509
|
def update!(**args)
|
11444
11510
|
@annotations = args[:annotations] if args.key?(:annotations)
|
11511
|
+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
11512
|
+
@forwarding_rule_ip = args[:forwarding_rule_ip] if args.key?(:forwarding_rule_ip)
|
11445
11513
|
@health_state = args[:health_state] if args.key?(:health_state)
|
11446
11514
|
@instance = args[:instance] if args.key?(:instance)
|
11447
11515
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
@@ -13770,7 +13838,7 @@ module Google
|
|
13770
13838
|
attr_accessor :satisfies_pzs
|
13771
13839
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
13772
13840
|
|
13773
|
-
# Sets the scheduling options for an Instance. NextID:
|
13841
|
+
# Sets the scheduling options for an Instance. NextID: 20
|
13774
13842
|
# Corresponds to the JSON property `scheduling`
|
13775
13843
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
13776
13844
|
attr_accessor :scheduling
|
@@ -14506,6 +14574,11 @@ module Google
|
|
14506
14574
|
# @return [String]
|
14507
14575
|
attr_accessor :instance_group
|
14508
14576
|
|
14577
|
+
# Instance lifecycle policy for this Instance Group Manager.
|
14578
|
+
# Corresponds to the JSON property `instanceLifecyclePolicy`
|
14579
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy]
|
14580
|
+
attr_accessor :instance_lifecycle_policy
|
14581
|
+
|
14509
14582
|
# The URL of the instance template that is specified for this managed instance
|
14510
14583
|
# group. The group uses this template to create all new instances in the managed
|
14511
14584
|
# instance group. The templates for existing instances in the group do not
|
@@ -14582,6 +14655,24 @@ module Google
|
|
14582
14655
|
# @return [Fixnum]
|
14583
14656
|
attr_accessor :target_size
|
14584
14657
|
|
14658
|
+
# The target number of stopped instances for this managed instance group. This
|
14659
|
+
# number changes when you:
|
14660
|
+
# - Stop instance using the stopInstances method or start instances using the
|
14661
|
+
# startInstances method.
|
14662
|
+
# - Manually change the targetStoppedSize using the update method.
|
14663
|
+
# Corresponds to the JSON property `targetStoppedSize`
|
14664
|
+
# @return [Fixnum]
|
14665
|
+
attr_accessor :target_stopped_size
|
14666
|
+
|
14667
|
+
# The target number of suspended instances for this managed instance group. This
|
14668
|
+
# number changes when you:
|
14669
|
+
# - Suspend instance using the suspendInstances method or resume instances using
|
14670
|
+
# the resumeInstances method.
|
14671
|
+
# - Manually change the targetSuspendedSize using the update method.
|
14672
|
+
# Corresponds to the JSON property `targetSuspendedSize`
|
14673
|
+
# @return [Fixnum]
|
14674
|
+
attr_accessor :target_suspended_size
|
14675
|
+
|
14585
14676
|
# The update policy for this managed instance group.
|
14586
14677
|
# Corresponds to the JSON property `updatePolicy`
|
14587
14678
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerUpdatePolicy]
|
@@ -14621,6 +14712,7 @@ module Google
|
|
14621
14712
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
14622
14713
|
@id = args[:id] if args.key?(:id)
|
14623
14714
|
@instance_group = args[:instance_group] if args.key?(:instance_group)
|
14715
|
+
@instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
|
14624
14716
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
14625
14717
|
@kind = args[:kind] if args.key?(:kind)
|
14626
14718
|
@name = args[:name] if args.key?(:name)
|
@@ -14633,6 +14725,8 @@ module Google
|
|
14633
14725
|
@status = args[:status] if args.key?(:status)
|
14634
14726
|
@target_pools = args[:target_pools] if args.key?(:target_pools)
|
14635
14727
|
@target_size = args[:target_size] if args.key?(:target_size)
|
14728
|
+
@target_stopped_size = args[:target_stopped_size] if args.key?(:target_stopped_size)
|
14729
|
+
@target_suspended_size = args[:target_suspended_size] if args.key?(:target_suspended_size)
|
14636
14730
|
@update_policy = args[:update_policy] if args.key?(:update_policy)
|
14637
14731
|
@versions = args[:versions] if args.key?(:versions)
|
14638
14732
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -14701,6 +14795,30 @@ module Google
|
|
14701
14795
|
# @return [Fixnum]
|
14702
14796
|
attr_accessor :restarting
|
14703
14797
|
|
14798
|
+
# [Output Only] The number of instances in the managed instance group that are
|
14799
|
+
# scheduled to be resumed or are currently being resumed.
|
14800
|
+
# Corresponds to the JSON property `resuming`
|
14801
|
+
# @return [Fixnum]
|
14802
|
+
attr_accessor :resuming
|
14803
|
+
|
14804
|
+
# [Output Only] The number of instances in the managed instance group that are
|
14805
|
+
# scheduled to be started or are currently being started.
|
14806
|
+
# Corresponds to the JSON property `starting`
|
14807
|
+
# @return [Fixnum]
|
14808
|
+
attr_accessor :starting
|
14809
|
+
|
14810
|
+
# [Output Only] The number of instances in the managed instance group that are
|
14811
|
+
# scheduled to be stopped or are currently being stopped.
|
14812
|
+
# Corresponds to the JSON property `stopping`
|
14813
|
+
# @return [Fixnum]
|
14814
|
+
attr_accessor :stopping
|
14815
|
+
|
14816
|
+
# [Output Only] The number of instances in the managed instance group that are
|
14817
|
+
# scheduled to be suspended or are currently being suspended.
|
14818
|
+
# Corresponds to the JSON property `suspending`
|
14819
|
+
# @return [Fixnum]
|
14820
|
+
attr_accessor :suspending
|
14821
|
+
|
14704
14822
|
# [Output Only] The number of instances in the managed instance group that are
|
14705
14823
|
# being verified. See the managedInstances[].currentAction property in the
|
14706
14824
|
# listManagedInstances method documentation.
|
@@ -14722,6 +14840,10 @@ module Google
|
|
14722
14840
|
@recreating = args[:recreating] if args.key?(:recreating)
|
14723
14841
|
@refreshing = args[:refreshing] if args.key?(:refreshing)
|
14724
14842
|
@restarting = args[:restarting] if args.key?(:restarting)
|
14843
|
+
@resuming = args[:resuming] if args.key?(:resuming)
|
14844
|
+
@starting = args[:starting] if args.key?(:starting)
|
14845
|
+
@stopping = args[:stopping] if args.key?(:stopping)
|
14846
|
+
@suspending = args[:suspending] if args.key?(:suspending)
|
14725
14847
|
@verifying = args[:verifying] if args.key?(:verifying)
|
14726
14848
|
end
|
14727
14849
|
end
|
@@ -14887,6 +15009,55 @@ module Google
|
|
14887
15009
|
end
|
14888
15010
|
end
|
14889
15011
|
|
15012
|
+
#
|
15013
|
+
class InstanceGroupManagerInstanceLifecyclePolicy
|
15014
|
+
include Google::Apis::Core::Hashable
|
15015
|
+
|
15016
|
+
# The configuration for metadata based readiness signal sent by the instance
|
15017
|
+
# during initialization when stopping / suspending an instance. The Instance
|
15018
|
+
# Group Manager will wait for a signal that indicates successful initialization
|
15019
|
+
# before stopping / suspending an instance.
|
15020
|
+
# If a successful readiness signal is not sent before timeout, the corresponding
|
15021
|
+
# instance will not be stopped / suspended. Instead, an error will be visible in
|
15022
|
+
# the lastAttempt.errors field of the managed instance in the
|
15023
|
+
# listmanagedinstances method.
|
15024
|
+
# If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group
|
15025
|
+
# Manager will directly proceed to suspend / stop instances, skipping
|
15026
|
+
# initialization on them.
|
15027
|
+
# Corresponds to the JSON property `metadataBasedReadinessSignal`
|
15028
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal]
|
15029
|
+
attr_accessor :metadata_based_readiness_signal
|
15030
|
+
|
15031
|
+
def initialize(**args)
|
15032
|
+
update!(**args)
|
15033
|
+
end
|
15034
|
+
|
15035
|
+
# Update properties of this object
|
15036
|
+
def update!(**args)
|
15037
|
+
@metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
|
15038
|
+
end
|
15039
|
+
end
|
15040
|
+
|
15041
|
+
#
|
15042
|
+
class InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal
|
15043
|
+
include Google::Apis::Core::Hashable
|
15044
|
+
|
15045
|
+
# The number of seconds to wait for a readiness signal during initialization
|
15046
|
+
# before timing out.
|
15047
|
+
# Corresponds to the JSON property `timeoutSec`
|
15048
|
+
# @return [Fixnum]
|
15049
|
+
attr_accessor :timeout_sec
|
15050
|
+
|
15051
|
+
def initialize(**args)
|
15052
|
+
update!(**args)
|
15053
|
+
end
|
15054
|
+
|
15055
|
+
# Update properties of this object
|
15056
|
+
def update!(**args)
|
15057
|
+
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
15058
|
+
end
|
15059
|
+
end
|
15060
|
+
|
14890
15061
|
# [Output Only] A list of managed instance groups.
|
14891
15062
|
class InstanceGroupManagerList
|
14892
15063
|
include Google::Apis::Core::Hashable
|
@@ -15644,6 +15815,26 @@ module Google
|
|
15644
15815
|
end
|
15645
15816
|
end
|
15646
15817
|
|
15818
|
+
#
|
15819
|
+
class InstanceGroupManagersResumeInstancesRequest
|
15820
|
+
include Google::Apis::Core::Hashable
|
15821
|
+
|
15822
|
+
# The URLs of one or more instances to resume. This can be a full URL or a
|
15823
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
15824
|
+
# Corresponds to the JSON property `instances`
|
15825
|
+
# @return [Array<String>]
|
15826
|
+
attr_accessor :instances
|
15827
|
+
|
15828
|
+
def initialize(**args)
|
15829
|
+
update!(**args)
|
15830
|
+
end
|
15831
|
+
|
15832
|
+
# Update properties of this object
|
15833
|
+
def update!(**args)
|
15834
|
+
@instances = args[:instances] if args.key?(:instances)
|
15835
|
+
end
|
15836
|
+
end
|
15837
|
+
|
15647
15838
|
#
|
15648
15839
|
class InstanceGroupManagersScopedList
|
15649
15840
|
include Google::Apis::Core::Hashable
|
@@ -15811,6 +16002,82 @@ module Google
|
|
15811
16002
|
end
|
15812
16003
|
end
|
15813
16004
|
|
16005
|
+
#
|
16006
|
+
class InstanceGroupManagersStartInstancesRequest
|
16007
|
+
include Google::Apis::Core::Hashable
|
16008
|
+
|
16009
|
+
# The URLs of one or more instances to start. This can be a full URL or a
|
16010
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
16011
|
+
# Corresponds to the JSON property `instances`
|
16012
|
+
# @return [Array<String>]
|
16013
|
+
attr_accessor :instances
|
16014
|
+
|
16015
|
+
def initialize(**args)
|
16016
|
+
update!(**args)
|
16017
|
+
end
|
16018
|
+
|
16019
|
+
# Update properties of this object
|
16020
|
+
def update!(**args)
|
16021
|
+
@instances = args[:instances] if args.key?(:instances)
|
16022
|
+
end
|
16023
|
+
end
|
16024
|
+
|
16025
|
+
#
|
16026
|
+
class InstanceGroupManagersStopInstancesRequest
|
16027
|
+
include Google::Apis::Core::Hashable
|
16028
|
+
|
16029
|
+
# If this flag is set to true, the Instance Group Manager will proceed to stop
|
16030
|
+
# the instances, skipping initialization on them.
|
16031
|
+
# Corresponds to the JSON property `forceStop`
|
16032
|
+
# @return [Boolean]
|
16033
|
+
attr_accessor :force_stop
|
16034
|
+
alias_method :force_stop?, :force_stop
|
16035
|
+
|
16036
|
+
# The URLs of one or more instances to stop. This can be a full URL or a partial
|
16037
|
+
# URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
16038
|
+
# Corresponds to the JSON property `instances`
|
16039
|
+
# @return [Array<String>]
|
16040
|
+
attr_accessor :instances
|
16041
|
+
|
16042
|
+
def initialize(**args)
|
16043
|
+
update!(**args)
|
16044
|
+
end
|
16045
|
+
|
16046
|
+
# Update properties of this object
|
16047
|
+
def update!(**args)
|
16048
|
+
@force_stop = args[:force_stop] if args.key?(:force_stop)
|
16049
|
+
@instances = args[:instances] if args.key?(:instances)
|
16050
|
+
end
|
16051
|
+
end
|
16052
|
+
|
16053
|
+
#
|
16054
|
+
class InstanceGroupManagersSuspendInstancesRequest
|
16055
|
+
include Google::Apis::Core::Hashable
|
16056
|
+
|
16057
|
+
# If this flag is set to true, the Instance Group Manager will proceed to
|
16058
|
+
# suspend the instances, skipping initialization on them.
|
16059
|
+
# Corresponds to the JSON property `forceSuspend`
|
16060
|
+
# @return [Boolean]
|
16061
|
+
attr_accessor :force_suspend
|
16062
|
+
alias_method :force_suspend?, :force_suspend
|
16063
|
+
|
16064
|
+
# The URLs of one or more instances to suspend. This can be a full URL or a
|
16065
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
16066
|
+
# Corresponds to the JSON property `instances`
|
16067
|
+
# @return [Array<String>]
|
16068
|
+
attr_accessor :instances
|
16069
|
+
|
16070
|
+
def initialize(**args)
|
16071
|
+
update!(**args)
|
16072
|
+
end
|
16073
|
+
|
16074
|
+
# Update properties of this object
|
16075
|
+
def update!(**args)
|
16076
|
+
@force_suspend = args[:force_suspend] if args.key?(:force_suspend)
|
16077
|
+
@instances = args[:instances] if args.key?(:instances)
|
16078
|
+
end
|
16079
|
+
end
|
16080
|
+
|
15814
16081
|
# InstanceGroupManagers.updatePerInstanceConfigs
|
15815
16082
|
class InstanceGroupManagersUpdatePerInstanceConfigsReq
|
15816
16083
|
include Google::Apis::Core::Hashable
|
@@ -16605,7 +16872,7 @@ module Google
|
|
16605
16872
|
# @return [Array<String>]
|
16606
16873
|
attr_accessor :resource_policies
|
16607
16874
|
|
16608
|
-
# Sets the scheduling options for an Instance. NextID:
|
16875
|
+
# Sets the scheduling options for an Instance. NextID: 20
|
16609
16876
|
# Corresponds to the JSON property `scheduling`
|
16610
16877
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
16611
16878
|
attr_accessor :scheduling
|
@@ -16977,7 +17244,8 @@ module Google
|
|
16977
17244
|
class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
|
16978
17245
|
include Google::Apis::Core::Hashable
|
16979
17246
|
|
16980
|
-
# [Output Only] The display name of
|
17247
|
+
# [Output Only] Deprecated, please use short name instead. The display name of
|
17248
|
+
# the firewall policy.
|
16981
17249
|
# Corresponds to the JSON property `displayName`
|
16982
17250
|
# @return [String]
|
16983
17251
|
attr_accessor :display_name
|
@@ -16992,6 +17260,11 @@ module Google
|
|
16992
17260
|
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
|
16993
17261
|
attr_accessor :rules
|
16994
17262
|
|
17263
|
+
# [Output Only] The short name of the firewall policy.
|
17264
|
+
# Corresponds to the JSON property `shortName`
|
17265
|
+
# @return [String]
|
17266
|
+
attr_accessor :short_name
|
17267
|
+
|
16995
17268
|
# [Output Only] The type of the firewall policy.
|
16996
17269
|
# Corresponds to the JSON property `type`
|
16997
17270
|
# @return [String]
|
@@ -17006,6 +17279,7 @@ module Google
|
|
17006
17279
|
@display_name = args[:display_name] if args.key?(:display_name)
|
17007
17280
|
@name = args[:name] if args.key?(:name)
|
17008
17281
|
@rules = args[:rules] if args.key?(:rules)
|
17282
|
+
@short_name = args[:short_name] if args.key?(:short_name)
|
17009
17283
|
@type = args[:type] if args.key?(:type)
|
17010
17284
|
end
|
17011
17285
|
end
|
@@ -21807,6 +22081,12 @@ module Google
|
|
21807
22081
|
# @return [String]
|
21808
22082
|
attr_accessor :network_endpoint_type
|
21809
22083
|
|
22084
|
+
# The target service url used to set up private service connection to a Google
|
22085
|
+
# API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
|
22086
|
+
# Corresponds to the JSON property `pscTargetService`
|
22087
|
+
# @return [String]
|
22088
|
+
attr_accessor :psc_target_service
|
22089
|
+
|
21810
22090
|
# [Output Only] The URL of the region where the network endpoint group is
|
21811
22091
|
# located.
|
21812
22092
|
# Corresponds to the JSON property `region`
|
@@ -21872,6 +22152,7 @@ module Google
|
|
21872
22152
|
@name = args[:name] if args.key?(:name)
|
21873
22153
|
@network = args[:network] if args.key?(:network)
|
21874
22154
|
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
22155
|
+
@psc_target_service = args[:psc_target_service] if args.key?(:psc_target_service)
|
21875
22156
|
@region = args[:region] if args.key?(:region)
|
21876
22157
|
@self_link = args[:self_link] if args.key?(:self_link)
|
21877
22158
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
@@ -23247,7 +23528,8 @@ module Google
|
|
23247
23528
|
class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
|
23248
23529
|
include Google::Apis::Core::Hashable
|
23249
23530
|
|
23250
|
-
# [Output Only] The display name of
|
23531
|
+
# [Output Only] Deprecated, please use short name instead. The display name of
|
23532
|
+
# the firewall policy.
|
23251
23533
|
# Corresponds to the JSON property `displayName`
|
23252
23534
|
# @return [String]
|
23253
23535
|
attr_accessor :display_name
|
@@ -23262,6 +23544,11 @@ module Google
|
|
23262
23544
|
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
|
23263
23545
|
attr_accessor :rules
|
23264
23546
|
|
23547
|
+
# [Output Only] The short name of the firewall policy.
|
23548
|
+
# Corresponds to the JSON property `shortName`
|
23549
|
+
# @return [String]
|
23550
|
+
attr_accessor :short_name
|
23551
|
+
|
23265
23552
|
# [Output Only] The type of the firewall policy.
|
23266
23553
|
# Corresponds to the JSON property `type`
|
23267
23554
|
# @return [String]
|
@@ -23276,6 +23563,7 @@ module Google
|
|
23276
23563
|
@display_name = args[:display_name] if args.key?(:display_name)
|
23277
23564
|
@name = args[:name] if args.key?(:name)
|
23278
23565
|
@rules = args[:rules] if args.key?(:rules)
|
23566
|
+
@short_name = args[:short_name] if args.key?(:short_name)
|
23279
23567
|
@type = args[:type] if args.key?(:type)
|
23280
23568
|
end
|
23281
23569
|
end
|
@@ -29895,6 +30183,26 @@ module Google
|
|
29895
30183
|
end
|
29896
30184
|
end
|
29897
30185
|
|
30186
|
+
#
|
30187
|
+
class RegionInstanceGroupManagersResumeInstancesRequest
|
30188
|
+
include Google::Apis::Core::Hashable
|
30189
|
+
|
30190
|
+
# The URLs of one or more instances to resume. This can be a full URL or a
|
30191
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
30192
|
+
# Corresponds to the JSON property `instances`
|
30193
|
+
# @return [Array<String>]
|
30194
|
+
attr_accessor :instances
|
30195
|
+
|
30196
|
+
def initialize(**args)
|
30197
|
+
update!(**args)
|
30198
|
+
end
|
30199
|
+
|
30200
|
+
# Update properties of this object
|
30201
|
+
def update!(**args)
|
30202
|
+
@instances = args[:instances] if args.key?(:instances)
|
30203
|
+
end
|
30204
|
+
end
|
30205
|
+
|
29898
30206
|
#
|
29899
30207
|
class RegionInstanceGroupManagersSetAutoHealingRequest
|
29900
30208
|
include Google::Apis::Core::Hashable
|
@@ -29964,6 +30272,82 @@ module Google
|
|
29964
30272
|
end
|
29965
30273
|
end
|
29966
30274
|
|
30275
|
+
#
|
30276
|
+
class RegionInstanceGroupManagersStartInstancesRequest
|
30277
|
+
include Google::Apis::Core::Hashable
|
30278
|
+
|
30279
|
+
# The URLs of one or more instances to start. This can be a full URL or a
|
30280
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
30281
|
+
# Corresponds to the JSON property `instances`
|
30282
|
+
# @return [Array<String>]
|
30283
|
+
attr_accessor :instances
|
30284
|
+
|
30285
|
+
def initialize(**args)
|
30286
|
+
update!(**args)
|
30287
|
+
end
|
30288
|
+
|
30289
|
+
# Update properties of this object
|
30290
|
+
def update!(**args)
|
30291
|
+
@instances = args[:instances] if args.key?(:instances)
|
30292
|
+
end
|
30293
|
+
end
|
30294
|
+
|
30295
|
+
#
|
30296
|
+
class RegionInstanceGroupManagersStopInstancesRequest
|
30297
|
+
include Google::Apis::Core::Hashable
|
30298
|
+
|
30299
|
+
# If this flag is set to true, the Instance Group Manager will proceed to stop
|
30300
|
+
# the instances, skipping initialization on them.
|
30301
|
+
# Corresponds to the JSON property `forceStop`
|
30302
|
+
# @return [Boolean]
|
30303
|
+
attr_accessor :force_stop
|
30304
|
+
alias_method :force_stop?, :force_stop
|
30305
|
+
|
30306
|
+
# The URLs of one or more instances to stop. This can be a full URL or a partial
|
30307
|
+
# URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
30308
|
+
# Corresponds to the JSON property `instances`
|
30309
|
+
# @return [Array<String>]
|
30310
|
+
attr_accessor :instances
|
30311
|
+
|
30312
|
+
def initialize(**args)
|
30313
|
+
update!(**args)
|
30314
|
+
end
|
30315
|
+
|
30316
|
+
# Update properties of this object
|
30317
|
+
def update!(**args)
|
30318
|
+
@force_stop = args[:force_stop] if args.key?(:force_stop)
|
30319
|
+
@instances = args[:instances] if args.key?(:instances)
|
30320
|
+
end
|
30321
|
+
end
|
30322
|
+
|
30323
|
+
#
|
30324
|
+
class RegionInstanceGroupManagersSuspendInstancesRequest
|
30325
|
+
include Google::Apis::Core::Hashable
|
30326
|
+
|
30327
|
+
# If this flag is set to true, the Instance Group Manager will proceed to
|
30328
|
+
# suspend the instances, skipping initialization on them.
|
30329
|
+
# Corresponds to the JSON property `forceSuspend`
|
30330
|
+
# @return [Boolean]
|
30331
|
+
attr_accessor :force_suspend
|
30332
|
+
alias_method :force_suspend?, :force_suspend
|
30333
|
+
|
30334
|
+
# The URLs of one or more instances to suspend. This can be a full URL or a
|
30335
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
30336
|
+
# Corresponds to the JSON property `instances`
|
30337
|
+
# @return [Array<String>]
|
30338
|
+
attr_accessor :instances
|
30339
|
+
|
30340
|
+
def initialize(**args)
|
30341
|
+
update!(**args)
|
30342
|
+
end
|
30343
|
+
|
30344
|
+
# Update properties of this object
|
30345
|
+
def update!(**args)
|
30346
|
+
@force_suspend = args[:force_suspend] if args.key?(:force_suspend)
|
30347
|
+
@instances = args[:instances] if args.key?(:instances)
|
30348
|
+
end
|
30349
|
+
end
|
30350
|
+
|
29967
30351
|
#
|
29968
30352
|
class RegionInstanceGroupsListInstances
|
29969
30353
|
include Google::Apis::Core::Hashable
|
@@ -32048,6 +32432,14 @@ module Google
|
|
32048
32432
|
class Route
|
32049
32433
|
include Google::Apis::Core::Hashable
|
32050
32434
|
|
32435
|
+
# Whether this route can conflict with existing subnetworks. Setting this to
|
32436
|
+
# true allows this route to conflict with subnetworks that have already been
|
32437
|
+
# configured on the corresponding network.
|
32438
|
+
# Corresponds to the JSON property `allowConflictingSubnetworks`
|
32439
|
+
# @return [Boolean]
|
32440
|
+
attr_accessor :allow_conflicting_subnetworks
|
32441
|
+
alias_method :allow_conflicting_subnetworks?, :allow_conflicting_subnetworks
|
32442
|
+
|
32051
32443
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
32052
32444
|
# Corresponds to the JSON property `creationTimestamp`
|
32053
32445
|
# @return [String]
|
@@ -32181,6 +32573,7 @@ module Google
|
|
32181
32573
|
|
32182
32574
|
# Update properties of this object
|
32183
32575
|
def update!(**args)
|
32576
|
+
@allow_conflicting_subnetworks = args[:allow_conflicting_subnetworks] if args.key?(:allow_conflicting_subnetworks)
|
32184
32577
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
32185
32578
|
@description = args[:description] if args.key?(:description)
|
32186
32579
|
@dest_range = args[:dest_range] if args.key?(:dest_range)
|
@@ -32687,7 +33080,7 @@ module Google
|
|
32687
33080
|
# successive keepalive messages that BGP receives from a peer.
|
32688
33081
|
# BGP will use the smaller of either the local hold time value or the peer's
|
32689
33082
|
# hold time value as the hold time for the BGP connection between the two peers.
|
32690
|
-
# If set, this value must be between
|
33083
|
+
# If set, this value must be between 20 and 60. The default is 20.
|
32691
33084
|
# Corresponds to the JSON property `keepaliveInterval`
|
32692
33085
|
# @return [Fixnum]
|
32693
33086
|
attr_accessor :keepalive_interval
|
@@ -32718,12 +33111,11 @@ module Google
|
|
32718
33111
|
# User-specified list of prefix groups to advertise in custom mode, which can
|
32719
33112
|
# take one of the following options:
|
32720
33113
|
# - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets.
|
32721
|
-
# - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets.
|
32722
|
-
#
|
32723
|
-
#
|
32724
|
-
#
|
32725
|
-
#
|
32726
|
-
# to advertise no custom groups.
|
33114
|
+
# - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. Note that this
|
33115
|
+
# field can only be populated if advertise_mode is CUSTOM and overrides the list
|
33116
|
+
# defined for the router (in the "bgp" message). These groups are advertised in
|
33117
|
+
# addition to any specified prefixes. Leave this field blank to advertise no
|
33118
|
+
# custom groups.
|
32727
33119
|
# Corresponds to the JSON property `advertisedGroups`
|
32728
33120
|
# @return [Array<String>]
|
32729
33121
|
attr_accessor :advertised_groups
|
@@ -33490,6 +33882,13 @@ module Google
|
|
33490
33882
|
# @return [String]
|
33491
33883
|
attr_accessor :peer_ip_address
|
33492
33884
|
|
33885
|
+
# [Output only] URI of the VM instance that is used as third-party router
|
33886
|
+
# appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
|
33887
|
+
# The VM instance is the peer side of the BGP session.
|
33888
|
+
# Corresponds to the JSON property `routerApplianceInstance`
|
33889
|
+
# @return [String]
|
33890
|
+
attr_accessor :router_appliance_instance
|
33891
|
+
|
33493
33892
|
# BGP state as specified in RFC1771.
|
33494
33893
|
# Corresponds to the JSON property `state`
|
33495
33894
|
# @return [String]
|
@@ -33524,6 +33923,7 @@ module Google
|
|
33524
33923
|
@name = args[:name] if args.key?(:name)
|
33525
33924
|
@num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes)
|
33526
33925
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
33926
|
+
@router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
|
33527
33927
|
@state = args[:state] if args.key?(:state)
|
33528
33928
|
@status = args[:status] if args.key?(:status)
|
33529
33929
|
@uptime = args[:uptime] if args.key?(:uptime)
|
@@ -34069,7 +34469,7 @@ module Google
|
|
34069
34469
|
end
|
34070
34470
|
end
|
34071
34471
|
|
34072
|
-
# Sets the scheduling options for an Instance. NextID:
|
34472
|
+
# Sets the scheduling options for an Instance. NextID: 20
|
34073
34473
|
class Scheduling
|
34074
34474
|
include Google::Apis::Core::Hashable
|
34075
34475
|
|
@@ -34713,6 +35113,11 @@ module Google
|
|
34713
35113
|
attr_accessor :enable_logging
|
34714
35114
|
alias_method :enable_logging?, :enable_logging
|
34715
35115
|
|
35116
|
+
# Optional, additional actions that are performed on headers.
|
35117
|
+
# Corresponds to the JSON property `headerAction`
|
35118
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleHttpHeaderAction]
|
35119
|
+
attr_accessor :header_action
|
35120
|
+
|
34716
35121
|
# [Output only] Type of the resource. Always compute#securityPolicyRule for
|
34717
35122
|
# security policy rules
|
34718
35123
|
# Corresponds to the JSON property `kind`
|
@@ -34788,6 +35193,7 @@ module Google
|
|
34788
35193
|
@description = args[:description] if args.key?(:description)
|
34789
35194
|
@direction = args[:direction] if args.key?(:direction)
|
34790
35195
|
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
|
35196
|
+
@header_action = args[:header_action] if args.key?(:header_action)
|
34791
35197
|
@kind = args[:kind] if args.key?(:kind)
|
34792
35198
|
@match = args[:match] if args.key?(:match)
|
34793
35199
|
@preview = args[:preview] if args.key?(:preview)
|
@@ -34801,6 +35207,50 @@ module Google
|
|
34801
35207
|
end
|
34802
35208
|
end
|
34803
35209
|
|
35210
|
+
#
|
35211
|
+
class SecurityPolicyRuleHttpHeaderAction
|
35212
|
+
include Google::Apis::Core::Hashable
|
35213
|
+
|
35214
|
+
# The list of request headers to add or overwrite if they?re already present.
|
35215
|
+
# Corresponds to the JSON property `requestHeadersToAdds`
|
35216
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>]
|
35217
|
+
attr_accessor :request_headers_to_adds
|
35218
|
+
|
35219
|
+
def initialize(**args)
|
35220
|
+
update!(**args)
|
35221
|
+
end
|
35222
|
+
|
35223
|
+
# Update properties of this object
|
35224
|
+
def update!(**args)
|
35225
|
+
@request_headers_to_adds = args[:request_headers_to_adds] if args.key?(:request_headers_to_adds)
|
35226
|
+
end
|
35227
|
+
end
|
35228
|
+
|
35229
|
+
#
|
35230
|
+
class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
|
35231
|
+
include Google::Apis::Core::Hashable
|
35232
|
+
|
35233
|
+
# The name of the header to set.
|
35234
|
+
# Corresponds to the JSON property `headerName`
|
35235
|
+
# @return [String]
|
35236
|
+
attr_accessor :header_name
|
35237
|
+
|
35238
|
+
# The value to set the named header to.
|
35239
|
+
# Corresponds to the JSON property `headerValue`
|
35240
|
+
# @return [String]
|
35241
|
+
attr_accessor :header_value
|
35242
|
+
|
35243
|
+
def initialize(**args)
|
35244
|
+
update!(**args)
|
35245
|
+
end
|
35246
|
+
|
35247
|
+
# Update properties of this object
|
35248
|
+
def update!(**args)
|
35249
|
+
@header_name = args[:header_name] if args.key?(:header_name)
|
35250
|
+
@header_value = args[:header_value] if args.key?(:header_value)
|
35251
|
+
end
|
35252
|
+
end
|
35253
|
+
|
34804
35254
|
# Represents a match condition that incoming traffic is evaluated against.
|
34805
35255
|
# Exactly one field must be specified.
|
34806
35256
|
class SecurityPolicyRuleMatcher
|
@@ -34966,29 +35416,20 @@ module Google
|
|
34966
35416
|
include Google::Apis::Core::Hashable
|
34967
35417
|
|
34968
35418
|
# Can only be specified if the action for the rule is "rate_based_ban". If
|
34969
|
-
# specified, the
|
34970
|
-
#
|
34971
|
-
# ban_threshold'.
|
35419
|
+
# specified, determines the time (in seconds) the traffic will continue to be
|
35420
|
+
# banned by the rate limit after the rate falls below the threshold.
|
34972
35421
|
# Corresponds to the JSON property `banDurationSec`
|
34973
35422
|
# @return [Fixnum]
|
34974
35423
|
attr_accessor :ban_duration_sec
|
34975
35424
|
|
34976
35425
|
# Can only be specified if the action for the rule is "rate_based_ban". If
|
34977
|
-
# specified, the key will be banned for the configured '
|
34978
|
-
# number of requests that exceed the 'rate_limit_threshold' also exceed this
|
34979
|
-
# ban_threshold'.
|
35426
|
+
# specified, the key will be banned for the configured 'ban_duration_sec' when
|
35427
|
+
# the number of requests that exceed the 'rate_limit_threshold' also exceed this
|
35428
|
+
# 'ban_threshold'.
|
34980
35429
|
# Corresponds to the JSON property `banThreshold`
|
34981
35430
|
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
|
34982
35431
|
attr_accessor :ban_threshold
|
34983
35432
|
|
34984
|
-
# Can only be specified if the action for the rule is "rate_based_ban" If
|
34985
|
-
# specified, determines the time (in seconds) the traffic will continue to be
|
34986
|
-
# blocked by the rate limit after the rate falls below the threshold. The
|
34987
|
-
# default value is 0 seconds. [Deprecated] This field is deprecated.
|
34988
|
-
# Corresponds to the JSON property `blockDuration`
|
34989
|
-
# @return [Fixnum]
|
34990
|
-
attr_accessor :block_duration
|
34991
|
-
|
34992
35433
|
# Action to take when requests are under the given threshold. When requests are
|
34993
35434
|
# throttled, this is also the action for all requests which are not dropped.
|
34994
35435
|
# Valid options are "allow", "fairshare", and "drop_overload".
|
@@ -35014,12 +35455,6 @@ module Google
|
|
35014
35455
|
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
|
35015
35456
|
attr_accessor :rate_limit_threshold
|
35016
35457
|
|
35017
|
-
# Rate in requests per second at which to begin ratelimiting. [Deprecated] This
|
35018
|
-
# field is deprecated.
|
35019
|
-
# Corresponds to the JSON property `thresholdRps`
|
35020
|
-
# @return [Fixnum]
|
35021
|
-
attr_accessor :threshold_rps
|
35022
|
-
|
35023
35458
|
def initialize(**args)
|
35024
35459
|
update!(**args)
|
35025
35460
|
end
|
@@ -35028,12 +35463,10 @@ module Google
|
|
35028
35463
|
def update!(**args)
|
35029
35464
|
@ban_duration_sec = args[:ban_duration_sec] if args.key?(:ban_duration_sec)
|
35030
35465
|
@ban_threshold = args[:ban_threshold] if args.key?(:ban_threshold)
|
35031
|
-
@block_duration = args[:block_duration] if args.key?(:block_duration)
|
35032
35466
|
@conform_action = args[:conform_action] if args.key?(:conform_action)
|
35033
35467
|
@enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
|
35034
35468
|
@exceed_action = args[:exceed_action] if args.key?(:exceed_action)
|
35035
35469
|
@rate_limit_threshold = args[:rate_limit_threshold] if args.key?(:rate_limit_threshold)
|
35036
|
-
@threshold_rps = args[:threshold_rps] if args.key?(:threshold_rps)
|
35037
35470
|
end
|
35038
35471
|
end
|
35039
35472
|
|
@@ -35268,7 +35701,7 @@ module Google
|
|
35268
35701
|
# A service attachment represents a service that a producer has exposed. It
|
35269
35702
|
# encapsulates the load balancer which fronts the service runs and a list of NAT
|
35270
35703
|
# IP ranges that the producers uses to represent the consumers connecting to the
|
35271
|
-
# service. next tag =
|
35704
|
+
# service. next tag = 17
|
35272
35705
|
class ServiceAttachment
|
35273
35706
|
include Google::Apis::Core::Hashable
|
35274
35707
|
|
@@ -36459,7 +36892,7 @@ module Google
|
|
36459
36892
|
# @return [String]
|
36460
36893
|
attr_accessor :post_key_revocation_action_type
|
36461
36894
|
|
36462
|
-
# Sets the scheduling options for an Instance. NextID:
|
36895
|
+
# Sets the scheduling options for an Instance. NextID: 20
|
36463
36896
|
# Corresponds to the JSON property `scheduling`
|
36464
36897
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
36465
36898
|
attr_accessor :scheduling
|