google-apis-compute_beta 0.30.0 → 0.33.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 +12 -0
- data/lib/google/apis/compute_beta/classes.rb +447 -49
- data/lib/google/apis/compute_beta/gem_version.rb +2 -2
- data/lib/google/apis/compute_beta/representations.rb +155 -0
- data/lib/google/apis/compute_beta/service.rb +278 -15
- metadata +3 -3
@@ -1085,6 +1085,14 @@ module Google
|
|
1085
1085
|
# @return [Fixnum]
|
1086
1086
|
attr_accessor :threads_per_core
|
1087
1087
|
|
1088
|
+
# The number of physical cores to expose to an instance. Multiply by the number
|
1089
|
+
# of threads per core to compute the total number of virtual CPUs to expose to
|
1090
|
+
# the instance. If unset, the number of cores is inferred from the instance's
|
1091
|
+
# nominal CPU count and the underlying platform's SMT width.
|
1092
|
+
# Corresponds to the JSON property `visibleCoreCount`
|
1093
|
+
# @return [Fixnum]
|
1094
|
+
attr_accessor :visible_core_count
|
1095
|
+
|
1088
1096
|
def initialize(**args)
|
1089
1097
|
update!(**args)
|
1090
1098
|
end
|
@@ -1094,6 +1102,7 @@ module Google
|
|
1094
1102
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1095
1103
|
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1096
1104
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1105
|
+
@visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
|
1097
1106
|
end
|
1098
1107
|
end
|
1099
1108
|
|
@@ -1319,9 +1328,10 @@ module Google
|
|
1319
1328
|
|
1320
1329
|
# [Input Only] Specifies the parameters for a new disk that will be created
|
1321
1330
|
# alongside the new instance. Use initialization parameters to create boot disks
|
1322
|
-
# or local SSDs attached to the new instance. This
|
1323
|
-
#
|
1324
|
-
#
|
1331
|
+
# or local SSDs attached to the new instance. This field is persisted and
|
1332
|
+
# returned for instanceTemplate and not returned in the context of instance.
|
1333
|
+
# This property is mutually exclusive with the source property; you can only
|
1334
|
+
# define one or the other, but not both.
|
1325
1335
|
# Corresponds to the JSON property `initializeParams`
|
1326
1336
|
# @return [Google::Apis::ComputeBeta::AttachedDiskInitializeParams]
|
1327
1337
|
attr_accessor :initialize_params
|
@@ -1421,9 +1431,10 @@ module Google
|
|
1421
1431
|
|
1422
1432
|
# [Input Only] Specifies the parameters for a new disk that will be created
|
1423
1433
|
# alongside the new instance. Use initialization parameters to create boot disks
|
1424
|
-
# or local SSDs attached to the new instance. This
|
1425
|
-
#
|
1426
|
-
#
|
1434
|
+
# or local SSDs attached to the new instance. This field is persisted and
|
1435
|
+
# returned for instanceTemplate and not returned in the context of instance.
|
1436
|
+
# This property is mutually exclusive with the source property; you can only
|
1437
|
+
# define one or the other, but not both.
|
1427
1438
|
class AttachedDiskInitializeParams
|
1428
1439
|
include Google::Apis::Core::Hashable
|
1429
1440
|
|
@@ -2943,9 +2954,9 @@ module Google
|
|
2943
2954
|
# @return [Array<String>]
|
2944
2955
|
attr_accessor :include_http_headers
|
2945
2956
|
|
2946
|
-
# Names of query string parameters to include in cache keys.
|
2947
|
-
#
|
2948
|
-
#
|
2957
|
+
# Names of query string parameters to include in cache keys. Default parameters
|
2958
|
+
# are always included. '&' and '=' will be percent encoded and not treated as
|
2959
|
+
# delimiters.
|
2949
2960
|
# Corresponds to the JSON property `queryStringWhitelist`
|
2950
2961
|
# @return [Array<String>]
|
2951
2962
|
attr_accessor :query_string_whitelist
|
@@ -3266,6 +3277,15 @@ module Google
|
|
3266
3277
|
# @return [String]
|
3267
3278
|
attr_accessor :load_balancing_scheme
|
3268
3279
|
|
3280
|
+
# A list of locality load balancing policies to be used in order of preference.
|
3281
|
+
# Either the policy or the customPolicy field should be set. Overrides any value
|
3282
|
+
# set in the localityLbPolicy field. localityLbPolicies is only supported when
|
3283
|
+
# the BackendService is referenced by a URL Map that is referenced by a target
|
3284
|
+
# gRPC proxy that has the validateForProxyless field set to true.
|
3285
|
+
# Corresponds to the JSON property `localityLbPolicies`
|
3286
|
+
# @return [Array<Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfig>]
|
3287
|
+
attr_accessor :locality_lb_policies
|
3288
|
+
|
3269
3289
|
# The load balancing algorithm used within the scope of the locality. The
|
3270
3290
|
# possible values are: - ROUND_ROBIN: This is a simple policy in which each
|
3271
3291
|
# healthy backend is selected in round robin order. This is the default. -
|
@@ -3442,6 +3462,7 @@ module Google
|
|
3442
3462
|
@id = args[:id] if args.key?(:id)
|
3443
3463
|
@kind = args[:kind] if args.key?(:kind)
|
3444
3464
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
3465
|
+
@locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
|
3445
3466
|
@locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
|
3446
3467
|
@log_config = args[:log_config] if args.key?(:log_config)
|
3447
3468
|
@max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
|
@@ -4108,6 +4129,88 @@ module Google
|
|
4108
4129
|
end
|
4109
4130
|
end
|
4110
4131
|
|
4132
|
+
# Container for either a built-in LB policy supported by gRPC or Envoy or a
|
4133
|
+
# custom one implemented by the end user.
|
4134
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
4135
|
+
include Google::Apis::Core::Hashable
|
4136
|
+
|
4137
|
+
# The configuration for a custom policy implemented by the user and deployed
|
4138
|
+
# with the client.
|
4139
|
+
# Corresponds to the JSON property `customPolicy`
|
4140
|
+
# @return [Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]
|
4141
|
+
attr_accessor :custom_policy
|
4142
|
+
|
4143
|
+
# The configuration for a built-in load balancing policy.
|
4144
|
+
# Corresponds to the JSON property `policy`
|
4145
|
+
# @return [Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfigPolicy]
|
4146
|
+
attr_accessor :policy
|
4147
|
+
|
4148
|
+
def initialize(**args)
|
4149
|
+
update!(**args)
|
4150
|
+
end
|
4151
|
+
|
4152
|
+
# Update properties of this object
|
4153
|
+
def update!(**args)
|
4154
|
+
@custom_policy = args[:custom_policy] if args.key?(:custom_policy)
|
4155
|
+
@policy = args[:policy] if args.key?(:policy)
|
4156
|
+
end
|
4157
|
+
end
|
4158
|
+
|
4159
|
+
# The configuration for a custom policy implemented by the user and deployed
|
4160
|
+
# with the client.
|
4161
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
4162
|
+
include Google::Apis::Core::Hashable
|
4163
|
+
|
4164
|
+
# An optional, arbitrary JSON object with configuration data, understood by a
|
4165
|
+
# locally installed custom policy implementation.
|
4166
|
+
# Corresponds to the JSON property `data`
|
4167
|
+
# @return [String]
|
4168
|
+
attr_accessor :data
|
4169
|
+
|
4170
|
+
# Identifies the custom policy. The value should match the type the custom
|
4171
|
+
# implementation is registered with on the gRPC clients. It should follow
|
4172
|
+
# protocol buffer message naming conventions and include the full path (e.g.
|
4173
|
+
# myorg.CustomLbPolicy). The maximum length is 256 characters. Note that
|
4174
|
+
# specifying the same custom policy more than once for a backend is not a valid
|
4175
|
+
# configuration and will be rejected.
|
4176
|
+
# Corresponds to the JSON property `name`
|
4177
|
+
# @return [String]
|
4178
|
+
attr_accessor :name
|
4179
|
+
|
4180
|
+
def initialize(**args)
|
4181
|
+
update!(**args)
|
4182
|
+
end
|
4183
|
+
|
4184
|
+
# Update properties of this object
|
4185
|
+
def update!(**args)
|
4186
|
+
@data = args[:data] if args.key?(:data)
|
4187
|
+
@name = args[:name] if args.key?(:name)
|
4188
|
+
end
|
4189
|
+
end
|
4190
|
+
|
4191
|
+
# The configuration for a built-in load balancing policy.
|
4192
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
4193
|
+
include Google::Apis::Core::Hashable
|
4194
|
+
|
4195
|
+
# The name of a locality load balancer policy to be used. The value should be
|
4196
|
+
# one of the predefined ones as supported by localityLbPolicy, although at the
|
4197
|
+
# moment only ROUND_ROBIN is supported. This field should only be populated when
|
4198
|
+
# the customPolicy field is not used. Note that specifying the same policy more
|
4199
|
+
# than once for a backend is not a valid configuration and will be rejected.
|
4200
|
+
# Corresponds to the JSON property `name`
|
4201
|
+
# @return [String]
|
4202
|
+
attr_accessor :name
|
4203
|
+
|
4204
|
+
def initialize(**args)
|
4205
|
+
update!(**args)
|
4206
|
+
end
|
4207
|
+
|
4208
|
+
# Update properties of this object
|
4209
|
+
def update!(**args)
|
4210
|
+
@name = args[:name] if args.key?(:name)
|
4211
|
+
end
|
4212
|
+
end
|
4213
|
+
|
4111
4214
|
# The available logging options for the load balancer traffic served by this
|
4112
4215
|
# backend service.
|
4113
4216
|
class BackendServiceLogConfig
|
@@ -4527,7 +4630,7 @@ module Google
|
|
4527
4630
|
# @return [Google::Apis::ComputeBeta::Expr]
|
4528
4631
|
attr_accessor :condition
|
4529
4632
|
|
4530
|
-
# Specifies the principals requesting access for a Cloud
|
4633
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
4531
4634
|
# members` can have the following values: * `allUsers`: A special identifier
|
4532
4635
|
# that represents anyone who is on the internet; with or without a Google
|
4533
4636
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -8359,6 +8462,12 @@ module Google
|
|
8359
8462
|
# @return [Fixnum]
|
8360
8463
|
attr_accessor :priority
|
8361
8464
|
|
8465
|
+
# An optional name for the rule. This field is not a unique identifier and can
|
8466
|
+
# be updated.
|
8467
|
+
# Corresponds to the JSON property `ruleName`
|
8468
|
+
# @return [String]
|
8469
|
+
attr_accessor :rule_name
|
8470
|
+
|
8362
8471
|
# [Output Only] Calculation of the complexity of a single firewall policy rule.
|
8363
8472
|
# Corresponds to the JSON property `ruleTupleCount`
|
8364
8473
|
# @return [Fixnum]
|
@@ -8403,6 +8512,7 @@ module Google
|
|
8403
8512
|
@kind = args[:kind] if args.key?(:kind)
|
8404
8513
|
@match = args[:match] if args.key?(:match)
|
8405
8514
|
@priority = args[:priority] if args.key?(:priority)
|
8515
|
+
@rule_name = args[:rule_name] if args.key?(:rule_name)
|
8406
8516
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
8407
8517
|
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
8408
8518
|
@target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
|
@@ -8415,22 +8525,55 @@ module Google
|
|
8415
8525
|
class FirewallPolicyRuleMatcher
|
8416
8526
|
include Google::Apis::Core::Hashable
|
8417
8527
|
|
8528
|
+
# Address groups which should be matched against the traffic destination.
|
8529
|
+
# Maximum number of destination address groups is 10.
|
8530
|
+
# Corresponds to the JSON property `destAddressGroups`
|
8531
|
+
# @return [Array<String>]
|
8532
|
+
attr_accessor :dest_address_groups
|
8533
|
+
|
8418
8534
|
# CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is
|
8419
8535
|
# 5000.
|
8420
8536
|
# Corresponds to the JSON property `destIpRanges`
|
8421
8537
|
# @return [Array<String>]
|
8422
8538
|
attr_accessor :dest_ip_ranges
|
8423
8539
|
|
8540
|
+
# Region codes whose IP addresses will be used to match for destination of
|
8541
|
+
# traffic. Should be specified as 2 letter country code defined as per ISO 3166
|
8542
|
+
# alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is
|
8543
|
+
# 5000.
|
8544
|
+
# Corresponds to the JSON property `destRegionCodes`
|
8545
|
+
# @return [Array<String>]
|
8546
|
+
attr_accessor :dest_region_codes
|
8547
|
+
|
8548
|
+
# Names of Network Threat Intelligence lists. The IPs in these lists will be
|
8549
|
+
# matched against traffic destination.
|
8550
|
+
# Corresponds to the JSON property `destThreatIntelligences`
|
8551
|
+
# @return [Array<String>]
|
8552
|
+
attr_accessor :dest_threat_intelligences
|
8553
|
+
|
8424
8554
|
# Pairs of IP protocols and ports that the rule should match.
|
8425
8555
|
# Corresponds to the JSON property `layer4Configs`
|
8426
8556
|
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config>]
|
8427
8557
|
attr_accessor :layer4_configs
|
8428
8558
|
|
8559
|
+
# Address groups which should be matched against the traffic source. Maximum
|
8560
|
+
# number of source address groups is 10.
|
8561
|
+
# Corresponds to the JSON property `srcAddressGroups`
|
8562
|
+
# @return [Array<String>]
|
8563
|
+
attr_accessor :src_address_groups
|
8564
|
+
|
8429
8565
|
# CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
|
8430
8566
|
# Corresponds to the JSON property `srcIpRanges`
|
8431
8567
|
# @return [Array<String>]
|
8432
8568
|
attr_accessor :src_ip_ranges
|
8433
8569
|
|
8570
|
+
# Region codes whose IP addresses will be used to match for source of traffic.
|
8571
|
+
# Should be specified as 2 letter country code defined as per ISO 3166 alpha-2
|
8572
|
+
# country codes. ex."US" Maximum number of source region codes allowed is 5000.
|
8573
|
+
# Corresponds to the JSON property `srcRegionCodes`
|
8574
|
+
# @return [Array<String>]
|
8575
|
+
attr_accessor :src_region_codes
|
8576
|
+
|
8434
8577
|
# List of secure tag values, which should be matched at the source of the
|
8435
8578
|
# traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there
|
8436
8579
|
# is no srcIpRange, this rule will be ignored. Maximum number of source tag
|
@@ -8439,16 +8582,28 @@ module Google
|
|
8439
8582
|
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag>]
|
8440
8583
|
attr_accessor :src_secure_tags
|
8441
8584
|
|
8585
|
+
# Names of Network Threat Intelligence lists. The IPs in these lists will be
|
8586
|
+
# matched against traffic source.
|
8587
|
+
# Corresponds to the JSON property `srcThreatIntelligences`
|
8588
|
+
# @return [Array<String>]
|
8589
|
+
attr_accessor :src_threat_intelligences
|
8590
|
+
|
8442
8591
|
def initialize(**args)
|
8443
8592
|
update!(**args)
|
8444
8593
|
end
|
8445
8594
|
|
8446
8595
|
# Update properties of this object
|
8447
8596
|
def update!(**args)
|
8597
|
+
@dest_address_groups = args[:dest_address_groups] if args.key?(:dest_address_groups)
|
8448
8598
|
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
8599
|
+
@dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
|
8600
|
+
@dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
|
8449
8601
|
@layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
|
8602
|
+
@src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
|
8450
8603
|
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
8604
|
+
@src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
|
8451
8605
|
@src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
|
8606
|
+
@src_threat_intelligences = args[:src_threat_intelligences] if args.key?(:src_threat_intelligences)
|
8452
8607
|
end
|
8453
8608
|
end
|
8454
8609
|
|
@@ -8740,6 +8895,14 @@ module Google
|
|
8740
8895
|
# @return [String]
|
8741
8896
|
attr_accessor :network_tier
|
8742
8897
|
|
8898
|
+
# This is used in PSC consumer ForwardingRule to control whether it should try
|
8899
|
+
# to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
|
8900
|
+
# field.
|
8901
|
+
# Corresponds to the JSON property `noAutomateDnsZone`
|
8902
|
+
# @return [Boolean]
|
8903
|
+
attr_accessor :no_automate_dns_zone
|
8904
|
+
alias_method :no_automate_dns_zone?, :no_automate_dns_zone
|
8905
|
+
|
8743
8906
|
# This field can be used only if: - Load balancing scheme is one of EXTERNAL,
|
8744
8907
|
# INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
|
8745
8908
|
# SCTP. Packets addressed to ports in the specified range will be forwarded to
|
@@ -8861,6 +9024,7 @@ module Google
|
|
8861
9024
|
@name = args[:name] if args.key?(:name)
|
8862
9025
|
@network = args[:network] if args.key?(:network)
|
8863
9026
|
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
9027
|
+
@no_automate_dns_zone = args[:no_automate_dns_zone] if args.key?(:no_automate_dns_zone)
|
8864
9028
|
@port_range = args[:port_range] if args.key?(:port_range)
|
8865
9029
|
@ports = args[:ports] if args.key?(:ports)
|
8866
9030
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
@@ -12603,6 +12767,12 @@ module Google
|
|
12603
12767
|
# @return [Fixnum]
|
12604
12768
|
attr_accessor :id
|
12605
12769
|
|
12770
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
12771
|
+
# NONE". The default value is "NONE" if it is not specified.
|
12772
|
+
# Corresponds to the JSON property `keyRevocationActionType`
|
12773
|
+
# @return [String]
|
12774
|
+
attr_accessor :key_revocation_action_type
|
12775
|
+
|
12606
12776
|
# [Output Only] Type of the resource. Always compute#instance for instances.
|
12607
12777
|
# Corresponds to the JSON property `kind`
|
12608
12778
|
# @return [String]
|
@@ -12826,6 +12996,7 @@ module Google
|
|
12826
12996
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
12827
12997
|
@hostname = args[:hostname] if args.key?(:hostname)
|
12828
12998
|
@id = args[:id] if args.key?(:id)
|
12999
|
+
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
|
12829
13000
|
@kind = args[:kind] if args.key?(:kind)
|
12830
13001
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
12831
13002
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -13414,6 +13585,12 @@ module Google
|
|
13414
13585
|
class InstanceGroupManager
|
13415
13586
|
include Google::Apis::Core::Hashable
|
13416
13587
|
|
13588
|
+
# Specifies configuration that overrides the instance template configuration for
|
13589
|
+
# the group.
|
13590
|
+
# Corresponds to the JSON property `allInstancesConfig`
|
13591
|
+
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig]
|
13592
|
+
attr_accessor :all_instances_config
|
13593
|
+
|
13417
13594
|
# The autohealing policy for this managed instance group. You can specify only
|
13418
13595
|
# one value.
|
13419
13596
|
# Corresponds to the JSON property `autoHealingPolicies`
|
@@ -13577,6 +13754,7 @@ module Google
|
|
13577
13754
|
|
13578
13755
|
# Update properties of this object
|
13579
13756
|
def update!(**args)
|
13757
|
+
@all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
|
13580
13758
|
@auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
|
13581
13759
|
@base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
|
13582
13760
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -13843,6 +14021,25 @@ module Google
|
|
13843
14021
|
end
|
13844
14022
|
end
|
13845
14023
|
|
14024
|
+
#
|
14025
|
+
class InstanceGroupManagerAllInstancesConfig
|
14026
|
+
include Google::Apis::Core::Hashable
|
14027
|
+
|
14028
|
+
# Represents the change that you want to make to the instance properties.
|
14029
|
+
# Corresponds to the JSON property `properties`
|
14030
|
+
# @return [Google::Apis::ComputeBeta::InstancePropertiesPatch]
|
14031
|
+
attr_accessor :properties
|
14032
|
+
|
14033
|
+
def initialize(**args)
|
14034
|
+
update!(**args)
|
14035
|
+
end
|
14036
|
+
|
14037
|
+
# Update properties of this object
|
14038
|
+
def update!(**args)
|
14039
|
+
@properties = args[:properties] if args.key?(:properties)
|
14040
|
+
end
|
14041
|
+
end
|
14042
|
+
|
13846
14043
|
#
|
13847
14044
|
class InstanceGroupManagerAutoHealingPolicy
|
13848
14045
|
include Google::Apis::Core::Hashable
|
@@ -13995,6 +14192,11 @@ module Google
|
|
13995
14192
|
class InstanceGroupManagerStatus
|
13996
14193
|
include Google::Apis::Core::Hashable
|
13997
14194
|
|
14195
|
+
# [Output only] Status of all-instances configuration on the group.
|
14196
|
+
# Corresponds to the JSON property `allInstancesConfig`
|
14197
|
+
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig]
|
14198
|
+
attr_accessor :all_instances_config
|
14199
|
+
|
13998
14200
|
# [Output Only] The URL of the Autoscaler that targets this instance group
|
13999
14201
|
# manager.
|
14000
14202
|
# Corresponds to the JSON property `autoscaler`
|
@@ -14029,6 +14231,7 @@ module Google
|
|
14029
14231
|
|
14030
14232
|
# Update properties of this object
|
14031
14233
|
def update!(**args)
|
14234
|
+
@all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
|
14032
14235
|
@autoscaler = args[:autoscaler] if args.key?(:autoscaler)
|
14033
14236
|
@is_stable = args[:is_stable] if args.key?(:is_stable)
|
14034
14237
|
@stateful = args[:stateful] if args.key?(:stateful)
|
@@ -14036,6 +14239,34 @@ module Google
|
|
14036
14239
|
end
|
14037
14240
|
end
|
14038
14241
|
|
14242
|
+
#
|
14243
|
+
class InstanceGroupManagerStatusAllInstancesConfig
|
14244
|
+
include Google::Apis::Core::Hashable
|
14245
|
+
|
14246
|
+
# [Output Only] Current all-instances configuration revision. This value is in
|
14247
|
+
# RFC3339 text format.
|
14248
|
+
# Corresponds to the JSON property `currentRevision`
|
14249
|
+
# @return [String]
|
14250
|
+
attr_accessor :current_revision
|
14251
|
+
|
14252
|
+
# [Output Only] A bit indicating whether this configuration has been applied to
|
14253
|
+
# all managed instances in the group.
|
14254
|
+
# Corresponds to the JSON property `effective`
|
14255
|
+
# @return [Boolean]
|
14256
|
+
attr_accessor :effective
|
14257
|
+
alias_method :effective?, :effective
|
14258
|
+
|
14259
|
+
def initialize(**args)
|
14260
|
+
update!(**args)
|
14261
|
+
end
|
14262
|
+
|
14263
|
+
# Update properties of this object
|
14264
|
+
def update!(**args)
|
14265
|
+
@current_revision = args[:current_revision] if args.key?(:current_revision)
|
14266
|
+
@effective = args[:effective] if args.key?(:effective)
|
14267
|
+
end
|
14268
|
+
end
|
14269
|
+
|
14039
14270
|
#
|
14040
14271
|
class InstanceGroupManagerStatusStateful
|
14041
14272
|
include Google::Apis::Core::Hashable
|
@@ -14043,8 +14274,9 @@ module Google
|
|
14043
14274
|
# [Output Only] A bit indicating whether the managed instance group has stateful
|
14044
14275
|
# configuration, that is, if you have configured any items in a stateful policy
|
14045
14276
|
# or in per-instance configs. The group might report that it has no stateful
|
14046
|
-
#
|
14047
|
-
# for example, if you have deleted all PICs but not yet applied those
|
14277
|
+
# configuration even when there is still some preserved state on a managed
|
14278
|
+
# instance, for example, if you have deleted all PICs but not yet applied those
|
14279
|
+
# deletions.
|
14048
14280
|
# Corresponds to the JSON property `hasStatefulConfig`
|
14049
14281
|
# @return [Boolean]
|
14050
14282
|
attr_accessor :has_stateful_config
|
@@ -14053,15 +14285,15 @@ module Google
|
|
14053
14285
|
# [Output Only] A bit indicating whether the managed instance group has stateful
|
14054
14286
|
# configuration, that is, if you have configured any items in a stateful policy
|
14055
14287
|
# or in per-instance configs. The group might report that it has no stateful
|
14056
|
-
#
|
14057
|
-
# for example, if you have deleted all PICs but not yet applied those
|
14058
|
-
# This field is deprecated in favor of has_stateful_config.
|
14288
|
+
# configuration even when there is still some preserved state on a managed
|
14289
|
+
# instance, for example, if you have deleted all PICs but not yet applied those
|
14290
|
+
# deletions. This field is deprecated in favor of has_stateful_config.
|
14059
14291
|
# Corresponds to the JSON property `isStateful`
|
14060
14292
|
# @return [Boolean]
|
14061
14293
|
attr_accessor :is_stateful
|
14062
14294
|
alias_method :is_stateful?, :is_stateful
|
14063
14295
|
|
14064
|
-
# [Output Only] Status of per-instance
|
14296
|
+
# [Output Only] Status of per-instance configurations on the instance.
|
14065
14297
|
# Corresponds to the JSON property `perInstanceConfigs`
|
14066
14298
|
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
|
14067
14299
|
attr_accessor :per_instance_configs
|
@@ -14082,9 +14314,9 @@ module Google
|
|
14082
14314
|
class InstanceGroupManagerStatusStatefulPerInstanceConfigs
|
14083
14315
|
include Google::Apis::Core::Hashable
|
14084
14316
|
|
14085
|
-
# A bit indicating if all of the group's per-instance
|
14086
|
-
# output of a listPerInstanceConfigs API call) have status EFFECTIVE or
|
14087
|
-
# are no per-instance-configs.
|
14317
|
+
# A bit indicating if all of the group's per-instance configurations (listed in
|
14318
|
+
# the output of a listPerInstanceConfigs API call) have status EFFECTIVE or
|
14319
|
+
# there are no per-instance-configs.
|
14088
14320
|
# Corresponds to the JSON property `allEffective`
|
14089
14321
|
# @return [Boolean]
|
14090
14322
|
attr_accessor :all_effective
|
@@ -14545,8 +14777,8 @@ module Google
|
|
14545
14777
|
class InstanceGroupManagersPatchPerInstanceConfigsReq
|
14546
14778
|
include Google::Apis::Core::Hashable
|
14547
14779
|
|
14548
|
-
# The list of per-instance
|
14549
|
-
# group.
|
14780
|
+
# The list of per-instance configurations to insert or patch on this managed
|
14781
|
+
# instance group.
|
14550
14782
|
# Corresponds to the JSON property `perInstanceConfigs`
|
14551
14783
|
# @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
|
14552
14784
|
attr_accessor :per_instance_configs
|
@@ -14793,8 +15025,8 @@ module Google
|
|
14793
15025
|
class InstanceGroupManagersUpdatePerInstanceConfigsReq
|
14794
15026
|
include Google::Apis::Core::Hashable
|
14795
15027
|
|
14796
|
-
# The list of per-instance
|
14797
|
-
# group.
|
15028
|
+
# The list of per-instance configurations to insert or patch on this managed
|
15029
|
+
# instance group.
|
14798
15030
|
# Corresponds to the JSON property `perInstanceConfigs`
|
14799
15031
|
# @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
|
14800
15032
|
attr_accessor :per_instance_configs
|
@@ -15546,6 +15778,12 @@ module Google
|
|
15546
15778
|
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
15547
15779
|
attr_accessor :guest_accelerators
|
15548
15780
|
|
15781
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
15782
|
+
# NONE". The default value is "NONE" if it is not specified.
|
15783
|
+
# Corresponds to the JSON property `keyRevocationActionType`
|
15784
|
+
# @return [String]
|
15785
|
+
attr_accessor :key_revocation_action_type
|
15786
|
+
|
15549
15787
|
# Labels to apply to instances that are created from these properties.
|
15550
15788
|
# Corresponds to the JSON property `labels`
|
15551
15789
|
# @return [Hash<String,String>]
|
@@ -15652,6 +15890,7 @@ module Google
|
|
15652
15890
|
@disks = args[:disks] if args.key?(:disks)
|
15653
15891
|
@display_device = args[:display_device] if args.key?(:display_device)
|
15654
15892
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
15893
|
+
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
|
15655
15894
|
@labels = args[:labels] if args.key?(:labels)
|
15656
15895
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
15657
15896
|
@metadata = args[:metadata] if args.key?(:metadata)
|
@@ -15671,6 +15910,32 @@ module Google
|
|
15671
15910
|
end
|
15672
15911
|
end
|
15673
15912
|
|
15913
|
+
# Represents the change that you want to make to the instance properties.
|
15914
|
+
class InstancePropertiesPatch
|
15915
|
+
include Google::Apis::Core::Hashable
|
15916
|
+
|
15917
|
+
# The label key-value pairs that you want to patch onto the instance.
|
15918
|
+
# Corresponds to the JSON property `labels`
|
15919
|
+
# @return [Hash<String,String>]
|
15920
|
+
attr_accessor :labels
|
15921
|
+
|
15922
|
+
# The metadata key-value pairs that you want to patch onto the instance. For
|
15923
|
+
# more information, see Project and instance metadata.
|
15924
|
+
# Corresponds to the JSON property `metadata`
|
15925
|
+
# @return [Hash<String,String>]
|
15926
|
+
attr_accessor :metadata
|
15927
|
+
|
15928
|
+
def initialize(**args)
|
15929
|
+
update!(**args)
|
15930
|
+
end
|
15931
|
+
|
15932
|
+
# Update properties of this object
|
15933
|
+
def update!(**args)
|
15934
|
+
@labels = args[:labels] if args.key?(:labels)
|
15935
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
15936
|
+
end
|
15937
|
+
end
|
15938
|
+
|
15674
15939
|
#
|
15675
15940
|
class InstanceReference
|
15676
15941
|
include Google::Apis::Core::Hashable
|
@@ -18455,6 +18720,11 @@ module Google
|
|
18455
18720
|
class LocationPolicyLocation
|
18456
18721
|
include Google::Apis::Core::Hashable
|
18457
18722
|
|
18723
|
+
# Per-zone constraints on location policy for this zone.
|
18724
|
+
# Corresponds to the JSON property `constraints`
|
18725
|
+
# @return [Google::Apis::ComputeBeta::LocationPolicyLocationConstraints]
|
18726
|
+
attr_accessor :constraints
|
18727
|
+
|
18458
18728
|
# Preference for a given location.
|
18459
18729
|
# Corresponds to the JSON property `preference`
|
18460
18730
|
# @return [String]
|
@@ -18466,10 +18736,31 @@ module Google
|
|
18466
18736
|
|
18467
18737
|
# Update properties of this object
|
18468
18738
|
def update!(**args)
|
18739
|
+
@constraints = args[:constraints] if args.key?(:constraints)
|
18469
18740
|
@preference = args[:preference] if args.key?(:preference)
|
18470
18741
|
end
|
18471
18742
|
end
|
18472
18743
|
|
18744
|
+
# Per-zone constraints on location policy for this zone.
|
18745
|
+
class LocationPolicyLocationConstraints
|
18746
|
+
include Google::Apis::Core::Hashable
|
18747
|
+
|
18748
|
+
# Maximum number of items that are allowed to be placed in this zone. The value
|
18749
|
+
# must be non-negative.
|
18750
|
+
# Corresponds to the JSON property `maxCount`
|
18751
|
+
# @return [Fixnum]
|
18752
|
+
attr_accessor :max_count
|
18753
|
+
|
18754
|
+
def initialize(**args)
|
18755
|
+
update!(**args)
|
18756
|
+
end
|
18757
|
+
|
18758
|
+
# Update properties of this object
|
18759
|
+
def update!(**args)
|
18760
|
+
@max_count = args[:max_count] if args.key?(:max_count)
|
18761
|
+
end
|
18762
|
+
end
|
18763
|
+
|
18473
18764
|
# This is deprecated and has no effect. Do not use.
|
18474
18765
|
class LogConfig
|
18475
18766
|
include Google::Apis::Core::Hashable
|
@@ -19334,6 +19625,12 @@ module Google
|
|
19334
19625
|
class ManagedInstance
|
19335
19626
|
include Google::Apis::Core::Hashable
|
19336
19627
|
|
19628
|
+
# [Output Only] Current all-instances configuration revision applied to this
|
19629
|
+
# instance.
|
19630
|
+
# Corresponds to the JSON property `allInstancesConfig`
|
19631
|
+
# @return [Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig]
|
19632
|
+
attr_accessor :all_instances_config
|
19633
|
+
|
19337
19634
|
# [Output Only] The current action that the managed instance group has scheduled
|
19338
19635
|
# for the instance. Possible values: - NONE The instance is running, and the
|
19339
19636
|
# managed instance group does not have any scheduled actions for this instance. -
|
@@ -19406,6 +19703,7 @@ module Google
|
|
19406
19703
|
|
19407
19704
|
# Update properties of this object
|
19408
19705
|
def update!(**args)
|
19706
|
+
@all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
|
19409
19707
|
@current_action = args[:current_action] if args.key?(:current_action)
|
19410
19708
|
@id = args[:id] if args.key?(:id)
|
19411
19709
|
@instance = args[:instance] if args.key?(:instance)
|
@@ -19418,6 +19716,26 @@ module Google
|
|
19418
19716
|
end
|
19419
19717
|
end
|
19420
19718
|
|
19719
|
+
#
|
19720
|
+
class ManagedInstanceAllInstancesConfig
|
19721
|
+
include Google::Apis::Core::Hashable
|
19722
|
+
|
19723
|
+
# [Output Only] Current all-instances configuration revision. This value is in
|
19724
|
+
# RFC3339 text format.
|
19725
|
+
# Corresponds to the JSON property `revision`
|
19726
|
+
# @return [String]
|
19727
|
+
attr_accessor :revision
|
19728
|
+
|
19729
|
+
def initialize(**args)
|
19730
|
+
update!(**args)
|
19731
|
+
end
|
19732
|
+
|
19733
|
+
# Update properties of this object
|
19734
|
+
def update!(**args)
|
19735
|
+
@revision = args[:revision] if args.key?(:revision)
|
19736
|
+
end
|
19737
|
+
end
|
19738
|
+
|
19421
19739
|
#
|
19422
19740
|
class ManagedInstanceInstanceHealth
|
19423
19741
|
include Google::Apis::Core::Hashable
|
@@ -20313,7 +20631,8 @@ module Google
|
|
20313
20631
|
attr_accessor :network_endpoint_type
|
20314
20632
|
|
20315
20633
|
# The target service url used to set up private service connection to a Google
|
20316
|
-
# API. An example value is: "asia-
|
20634
|
+
# API or a PSC Producer Service Attachment. An example value is: "asia-
|
20635
|
+
# northeast3-cloudkms.googleapis.com"
|
20317
20636
|
# Corresponds to the JSON property `pscTargetService`
|
20318
20637
|
# @return [String]
|
20319
20638
|
attr_accessor :psc_target_service
|
@@ -21486,6 +21805,12 @@ module Google
|
|
21486
21805
|
# @return [Fixnum]
|
21487
21806
|
attr_accessor :peer_mtu
|
21488
21807
|
|
21808
|
+
# Which IP version(s) of traffic and routes are allowed to be imported or
|
21809
|
+
# exported between peer networks. The default value is IPV4_ONLY.
|
21810
|
+
# Corresponds to the JSON property `stackType`
|
21811
|
+
# @return [String]
|
21812
|
+
attr_accessor :stack_type
|
21813
|
+
|
21489
21814
|
# [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
|
21490
21815
|
# peering is `ACTIVE` when there's a matching configuration in the peer network.
|
21491
21816
|
# Corresponds to the JSON property `state`
|
@@ -21512,6 +21837,7 @@ module Google
|
|
21512
21837
|
@name = args[:name] if args.key?(:name)
|
21513
21838
|
@network = args[:network] if args.key?(:network)
|
21514
21839
|
@peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
|
21840
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
21515
21841
|
@state = args[:state] if args.key?(:state)
|
21516
21842
|
@state_details = args[:state_details] if args.key?(:state_details)
|
21517
21843
|
end
|
@@ -25311,18 +25637,18 @@ module Google
|
|
25311
25637
|
# Fingerprint of this per-instance config. This field can be used in optimistic
|
25312
25638
|
# locking. It is ignored when inserting a per-instance config. An up-to-date
|
25313
25639
|
# fingerprint must be provided in order to update an existing per-instance
|
25314
|
-
#
|
25640
|
+
# configuration or the field needs to be unset.
|
25315
25641
|
# Corresponds to the JSON property `fingerprint`
|
25316
25642
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
25317
25643
|
# @return [String]
|
25318
25644
|
attr_accessor :fingerprint
|
25319
25645
|
|
25320
|
-
# The name of a per-instance
|
25321
|
-
# merge key during UpdatePerInstanceConfigs operations, that is, if
|
25322
|
-
# instance
|
25323
|
-
# new one will be created for the VM instance with the same name.
|
25324
|
-
# create a per-instance
|
25325
|
-
# not part of the group will result in an error.
|
25646
|
+
# The name of a per-instance configuration and its corresponding instance.
|
25647
|
+
# Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if
|
25648
|
+
# a per-instance configuration with the same name exists then it will be updated,
|
25649
|
+
# otherwise a new one will be created for the VM instance with the same name.
|
25650
|
+
# An attempt to create a per-instance configconfiguration for a VM instance that
|
25651
|
+
# either doesn't exist or is not part of the group will result in an error.
|
25326
25652
|
# Corresponds to the JSON property `name`
|
25327
25653
|
# @return [String]
|
25328
25654
|
attr_accessor :name
|
@@ -25332,8 +25658,8 @@ module Google
|
|
25332
25658
|
# @return [Google::Apis::ComputeBeta::PreservedState]
|
25333
25659
|
attr_accessor :preserved_state
|
25334
25660
|
|
25335
|
-
# The status of applying this per-instance
|
25336
|
-
# instance.
|
25661
|
+
# The status of applying this per-instance configuration on the corresponding
|
25662
|
+
# managed instance.
|
25337
25663
|
# Corresponds to the JSON property `status`
|
25338
25664
|
# @return [String]
|
25339
25665
|
attr_accessor :status
|
@@ -27336,8 +27662,8 @@ module Google
|
|
27336
27662
|
class RegionInstanceGroupManagerPatchInstanceConfigReq
|
27337
27663
|
include Google::Apis::Core::Hashable
|
27338
27664
|
|
27339
|
-
# The list of per-instance
|
27340
|
-
# group.
|
27665
|
+
# The list of per-instance configurations to insert or patch on this managed
|
27666
|
+
# instance group.
|
27341
27667
|
# Corresponds to the JSON property `perInstanceConfigs`
|
27342
27668
|
# @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
|
27343
27669
|
attr_accessor :per_instance_configs
|
@@ -27356,8 +27682,8 @@ module Google
|
|
27356
27682
|
class RegionInstanceGroupManagerUpdateInstanceConfigReq
|
27357
27683
|
include Google::Apis::Core::Hashable
|
27358
27684
|
|
27359
|
-
# The list of per-instance
|
27360
|
-
# group.
|
27685
|
+
# The list of per-instance configurations to insert or patch on this managed
|
27686
|
+
# instance group.
|
27361
27687
|
# Corresponds to the JSON property `perInstanceConfigs`
|
27362
27688
|
# @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
|
27363
27689
|
attr_accessor :per_instance_configs
|
@@ -30178,6 +30504,11 @@ module Google
|
|
30178
30504
|
# @return [String]
|
30179
30505
|
attr_accessor :kind
|
30180
30506
|
|
30507
|
+
# Keys used for MD5 authentication.
|
30508
|
+
# Corresponds to the JSON property `md5AuthenticationKeys`
|
30509
|
+
# @return [Array<Google::Apis::ComputeBeta::RouterMd5AuthenticationKey>]
|
30510
|
+
attr_accessor :md5_authentication_keys
|
30511
|
+
|
30181
30512
|
# Name of the resource. Provided by the client when the resource is created. The
|
30182
30513
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
30183
30514
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -30224,6 +30555,7 @@ module Google
|
|
30224
30555
|
@id = args[:id] if args.key?(:id)
|
30225
30556
|
@interfaces = args[:interfaces] if args.key?(:interfaces)
|
30226
30557
|
@kind = args[:kind] if args.key?(:kind)
|
30558
|
+
@md5_authentication_keys = args[:md5_authentication_keys] if args.key?(:md5_authentication_keys)
|
30227
30559
|
@name = args[:name] if args.key?(:name)
|
30228
30560
|
@nats = args[:nats] if args.key?(:nats)
|
30229
30561
|
@network = args[:network] if args.key?(:network)
|
@@ -30519,6 +30851,13 @@ module Google
|
|
30519
30851
|
# @return [String]
|
30520
30852
|
attr_accessor :management_type
|
30521
30853
|
|
30854
|
+
# Present if MD5 authentication is enabled for the peering. Must be the name of
|
30855
|
+
# one of the entries in the Router.md5_authentication_keys. The field must
|
30856
|
+
# comply with RFC1035.
|
30857
|
+
# Corresponds to the JSON property `md5AuthenticationKeyName`
|
30858
|
+
# @return [String]
|
30859
|
+
attr_accessor :md5_authentication_key_name
|
30860
|
+
|
30522
30861
|
# Name of this BGP peer. The name must be 1-63 characters long, and comply with
|
30523
30862
|
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
30524
30863
|
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
@@ -30571,6 +30910,7 @@ module Google
|
|
30571
30910
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
30572
30911
|
@ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
|
30573
30912
|
@management_type = args[:management_type] if args.key?(:management_type)
|
30913
|
+
@md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
|
30574
30914
|
@name = args[:name] if args.key?(:name)
|
30575
30915
|
@peer_asn = args[:peer_asn] if args.key?(:peer_asn)
|
30576
30916
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
@@ -30839,6 +31179,35 @@ module Google
|
|
30839
31179
|
end
|
30840
31180
|
end
|
30841
31181
|
|
31182
|
+
#
|
31183
|
+
class RouterMd5AuthenticationKey
|
31184
|
+
include Google::Apis::Core::Hashable
|
31185
|
+
|
31186
|
+
# [Input only] Value of the key. For patch and update calls, it can be skipped
|
31187
|
+
# to copy the value from the previous configuration. This is allowed if the key
|
31188
|
+
# with the same name existed before the operation. Maximum length is 80
|
31189
|
+
# characters. Can only contain printable ASCII characters.
|
31190
|
+
# Corresponds to the JSON property `key`
|
31191
|
+
# @return [String]
|
31192
|
+
attr_accessor :key
|
31193
|
+
|
31194
|
+
# Name used to identify the key. Must be unique within a router. Must be
|
31195
|
+
# referenced by at least one bgpPeer. Must comply with RFC1035.
|
31196
|
+
# Corresponds to the JSON property `name`
|
31197
|
+
# @return [String]
|
31198
|
+
attr_accessor :name
|
31199
|
+
|
31200
|
+
def initialize(**args)
|
31201
|
+
update!(**args)
|
31202
|
+
end
|
31203
|
+
|
31204
|
+
# Update properties of this object
|
31205
|
+
def update!(**args)
|
31206
|
+
@key = args[:key] if args.key?(:key)
|
31207
|
+
@name = args[:name] if args.key?(:name)
|
31208
|
+
end
|
31209
|
+
end
|
31210
|
+
|
30842
31211
|
# Represents a Nat resource. It enables the VMs within the specified subnetworks
|
30843
31212
|
# to access Internet without external IP addresses. It specifies a list of
|
30844
31213
|
# subnetworks (and the ranges within) that want to use NAT. Customers can also
|
@@ -30871,6 +31240,12 @@ module Google
|
|
30871
31240
|
attr_accessor :enable_endpoint_independent_mapping
|
30872
31241
|
alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
|
30873
31242
|
|
31243
|
+
# List of NAT-ted endpoint types supported by the Nat Gateway. If the list is
|
31244
|
+
# empty, then it will be equivalent to include ENDPOINT_TYPE_VM
|
31245
|
+
# Corresponds to the JSON property `endpointTypes`
|
31246
|
+
# @return [Array<String>]
|
31247
|
+
attr_accessor :endpoint_types
|
31248
|
+
|
30874
31249
|
# Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
|
30875
31250
|
# Corresponds to the JSON property `icmpIdleTimeoutSec`
|
30876
31251
|
# @return [Fixnum]
|
@@ -30978,6 +31353,7 @@ module Google
|
|
30978
31353
|
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
|
30979
31354
|
@enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
|
30980
31355
|
@enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
|
31356
|
+
@endpoint_types = args[:endpoint_types] if args.key?(:endpoint_types)
|
30981
31357
|
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
|
30982
31358
|
@log_config = args[:log_config] if args.key?(:log_config)
|
30983
31359
|
@max_ports_per_vm = args[:max_ports_per_vm] if args.key?(:max_ports_per_vm)
|
@@ -31203,6 +31579,12 @@ module Google
|
|
31203
31579
|
# @return [String]
|
31204
31580
|
attr_accessor :linked_vpn_tunnel
|
31205
31581
|
|
31582
|
+
# Informs whether MD5 authentication is enabled on this BGP peer.
|
31583
|
+
# Corresponds to the JSON property `md5AuthEnabled`
|
31584
|
+
# @return [Boolean]
|
31585
|
+
attr_accessor :md5_auth_enabled
|
31586
|
+
alias_method :md5_auth_enabled?, :md5_auth_enabled
|
31587
|
+
|
31206
31588
|
# Name of this BGP peer. Unique within the Routers resource.
|
31207
31589
|
# Corresponds to the JSON property `name`
|
31208
31590
|
# @return [String]
|
@@ -31236,6 +31618,11 @@ module Google
|
|
31236
31618
|
# @return [String]
|
31237
31619
|
attr_accessor :status
|
31238
31620
|
|
31621
|
+
# Indicates why particular status was returned.
|
31622
|
+
# Corresponds to the JSON property `statusReason`
|
31623
|
+
# @return [String]
|
31624
|
+
attr_accessor :status_reason
|
31625
|
+
|
31239
31626
|
# Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours,
|
31240
31627
|
# 59 minutes, 59 seconds
|
31241
31628
|
# Corresponds to the JSON property `uptime`
|
@@ -31257,12 +31644,14 @@ module Google
|
|
31257
31644
|
@bfd_status = args[:bfd_status] if args.key?(:bfd_status)
|
31258
31645
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
31259
31646
|
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
|
31647
|
+
@md5_auth_enabled = args[:md5_auth_enabled] if args.key?(:md5_auth_enabled)
|
31260
31648
|
@name = args[:name] if args.key?(:name)
|
31261
31649
|
@num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes)
|
31262
31650
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
31263
31651
|
@router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
|
31264
31652
|
@state = args[:state] if args.key?(:state)
|
31265
31653
|
@status = args[:status] if args.key?(:status)
|
31654
|
+
@status_reason = args[:status_reason] if args.key?(:status_reason)
|
31266
31655
|
@uptime = args[:uptime] if args.key?(:uptime)
|
31267
31656
|
@uptime_seconds = args[:uptime_seconds] if args.key?(:uptime_seconds)
|
31268
31657
|
end
|
@@ -34578,6 +34967,12 @@ module Google
|
|
34578
34967
|
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
34579
34968
|
attr_accessor :guest_accelerators
|
34580
34969
|
|
34970
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
34971
|
+
# NONE". The default value is "NONE" if it is not specified.
|
34972
|
+
# Corresponds to the JSON property `keyRevocationActionType`
|
34973
|
+
# @return [String]
|
34974
|
+
attr_accessor :key_revocation_action_type
|
34975
|
+
|
34581
34976
|
# Labels to apply to instances that are created from this machine image.
|
34582
34977
|
# Corresponds to the JSON property `labels`
|
34583
34978
|
# @return [Hash<String,String>]
|
@@ -34641,6 +35036,7 @@ module Google
|
|
34641
35036
|
@description = args[:description] if args.key?(:description)
|
34642
35037
|
@disks = args[:disks] if args.key?(:disks)
|
34643
35038
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
35039
|
+
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
|
34644
35040
|
@labels = args[:labels] if args.key?(:labels)
|
34645
35041
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
34646
35042
|
@metadata = args[:metadata] if args.key?(:metadata)
|
@@ -35645,7 +36041,7 @@ module Google
|
|
35645
36041
|
attr_accessor :enable_flow_logs
|
35646
36042
|
alias_method :enable_flow_logs?, :enable_flow_logs
|
35647
36043
|
|
35648
|
-
# [Output Only] The
|
36044
|
+
# [Output Only] The external IPv6 address range that is assigned to this
|
35649
36045
|
# subnetwork.
|
35650
36046
|
# Corresponds to the JSON property `externalIpv6Prefix`
|
35651
36047
|
# @return [String]
|
@@ -35674,9 +36070,8 @@ module Google
|
|
35674
36070
|
# @return [Fixnum]
|
35675
36071
|
attr_accessor :id
|
35676
36072
|
|
35677
|
-
# [Output Only] The
|
35678
|
-
# subnetwork.
|
35679
|
-
# confused with the ipv6_cidr_range field.
|
36073
|
+
# [Output Only] The internal IPv6 address range that is assigned to this
|
36074
|
+
# subnetwork.
|
35680
36075
|
# Corresponds to the JSON property `internalIpv6Prefix`
|
35681
36076
|
# @return [String]
|
35682
36077
|
attr_accessor :internal_ipv6_prefix
|
@@ -35693,14 +36088,12 @@ module Google
|
|
35693
36088
|
|
35694
36089
|
# The access type of IPv6 address this subnet holds. It's immutable and can only
|
35695
36090
|
# be specified during creation or the first time the subnet is updated into
|
35696
|
-
# IPV4_IPV6 dual stack.
|
35697
|
-
# enable direct path.
|
36091
|
+
# IPV4_IPV6 dual stack.
|
35698
36092
|
# Corresponds to the JSON property `ipv6AccessType`
|
35699
36093
|
# @return [String]
|
35700
36094
|
attr_accessor :ipv6_access_type
|
35701
36095
|
|
35702
|
-
# [Output Only]
|
35703
|
-
# subnetwork. Note this will be for private google access only eventually.
|
36096
|
+
# [Output Only] This field is for internal use.
|
35704
36097
|
# Corresponds to the JSON property `ipv6CidrRange`
|
35705
36098
|
# @return [String]
|
35706
36099
|
attr_accessor :ipv6_cidr_range
|
@@ -35741,10 +36134,8 @@ module Google
|
|
35741
36134
|
attr_accessor :private_ip_google_access
|
35742
36135
|
alias_method :private_ip_google_access?, :private_ip_google_access
|
35743
36136
|
|
35744
|
-
#
|
35745
|
-
#
|
35746
|
-
# privateIpv6GoogleAccess will take priority. This field can be both set at
|
35747
|
-
# resource creation time and updated using patch.
|
36137
|
+
# This field is for internal use. This field can be both set at resource
|
36138
|
+
# creation time and updated using patch.
|
35748
36139
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
35749
36140
|
# @return [String]
|
35750
36141
|
attr_accessor :private_ipv6_google_access
|
@@ -39101,6 +39492,12 @@ module Google
|
|
39101
39492
|
# @return [String]
|
39102
39493
|
attr_accessor :proxy_header
|
39103
39494
|
|
39495
|
+
# [Output Only] URL of the region where the regional TCP proxy resides. This
|
39496
|
+
# field is not applicable to global TCP proxy.
|
39497
|
+
# Corresponds to the JSON property `region`
|
39498
|
+
# @return [String]
|
39499
|
+
attr_accessor :region
|
39500
|
+
|
39104
39501
|
# [Output Only] Server-defined URL for the resource.
|
39105
39502
|
# Corresponds to the JSON property `selfLink`
|
39106
39503
|
# @return [String]
|
@@ -39124,6 +39521,7 @@ module Google
|
|
39124
39521
|
@name = args[:name] if args.key?(:name)
|
39125
39522
|
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
39126
39523
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
39524
|
+
@region = args[:region] if args.key?(:region)
|
39127
39525
|
@self_link = args[:self_link] if args.key?(:self_link)
|
39128
39526
|
@service = args[:service] if args.key?(:service)
|
39129
39527
|
end
|