google-apis-compute_beta 0.29.0 → 0.32.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 +418 -63
- data/lib/google/apis/compute_beta/gem_version.rb +2 -2
- data/lib/google/apis/compute_beta/representations.rb +150 -0
- data/lib/google/apis/compute_beta/service.rb +278 -15
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeBeta
|
18
18
|
# Version of the google-apis-compute_beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220420"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -460,6 +460,24 @@ module Google
|
|
460
460
|
include Google::Apis::Core::JsonObjectSupport
|
461
461
|
end
|
462
462
|
|
463
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
463
481
|
class BackendServiceLogConfig
|
464
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
483
|
|
@@ -1552,6 +1570,12 @@ module Google
|
|
1552
1570
|
include Google::Apis::Core::JsonObjectSupport
|
1553
1571
|
end
|
1554
1572
|
|
1573
|
+
class InstanceGroupManagerAllInstancesConfig
|
1574
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1575
|
+
|
1576
|
+
include Google::Apis::Core::JsonObjectSupport
|
1577
|
+
end
|
1578
|
+
|
1555
1579
|
class InstanceGroupManagerAutoHealingPolicy
|
1556
1580
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1557
1581
|
|
@@ -1582,6 +1606,12 @@ module Google
|
|
1582
1606
|
include Google::Apis::Core::JsonObjectSupport
|
1583
1607
|
end
|
1584
1608
|
|
1609
|
+
class InstanceGroupManagerStatusAllInstancesConfig
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1611
|
+
|
1612
|
+
include Google::Apis::Core::JsonObjectSupport
|
1613
|
+
end
|
1614
|
+
|
1585
1615
|
class InstanceGroupManagerStatusStateful
|
1586
1616
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1587
1617
|
|
@@ -1864,6 +1894,12 @@ module Google
|
|
1864
1894
|
include Google::Apis::Core::JsonObjectSupport
|
1865
1895
|
end
|
1866
1896
|
|
1897
|
+
class InstancePropertiesPatch
|
1898
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1899
|
+
|
1900
|
+
include Google::Apis::Core::JsonObjectSupport
|
1901
|
+
end
|
1902
|
+
|
1867
1903
|
class InstanceReference
|
1868
1904
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1869
1905
|
|
@@ -2242,6 +2278,12 @@ module Google
|
|
2242
2278
|
include Google::Apis::Core::JsonObjectSupport
|
2243
2279
|
end
|
2244
2280
|
|
2281
|
+
class LocationPolicyLocationConstraints
|
2282
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2283
|
+
|
2284
|
+
include Google::Apis::Core::JsonObjectSupport
|
2285
|
+
end
|
2286
|
+
|
2245
2287
|
class LogConfig
|
2246
2288
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2247
2289
|
|
@@ -2368,6 +2410,12 @@ module Google
|
|
2368
2410
|
include Google::Apis::Core::JsonObjectSupport
|
2369
2411
|
end
|
2370
2412
|
|
2413
|
+
class ManagedInstanceAllInstancesConfig
|
2414
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2415
|
+
|
2416
|
+
include Google::Apis::Core::JsonObjectSupport
|
2417
|
+
end
|
2418
|
+
|
2371
2419
|
class ManagedInstanceInstanceHealth
|
2372
2420
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2373
2421
|
|
@@ -4000,6 +4048,12 @@ module Google
|
|
4000
4048
|
include Google::Apis::Core::JsonObjectSupport
|
4001
4049
|
end
|
4002
4050
|
|
4051
|
+
class RouterMd5AuthenticationKey
|
4052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4053
|
+
|
4054
|
+
include Google::Apis::Core::JsonObjectSupport
|
4055
|
+
end
|
4056
|
+
|
4003
4057
|
class RouterNat
|
4004
4058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4005
4059
|
|
@@ -5894,6 +5948,7 @@ module Google
|
|
5894
5948
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
5895
5949
|
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
5896
5950
|
property :threads_per_core, as: 'threadsPerCore'
|
5951
|
+
property :visible_core_count, as: 'visibleCoreCount'
|
5897
5952
|
end
|
5898
5953
|
end
|
5899
5954
|
|
@@ -6363,6 +6418,8 @@ module Google
|
|
6363
6418
|
property :id, :numeric_string => true, as: 'id'
|
6364
6419
|
property :kind, as: 'kind'
|
6365
6420
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
6421
|
+
collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
|
6422
|
+
|
6366
6423
|
property :locality_lb_policy, as: 'localityLbPolicy'
|
6367
6424
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::BackendServiceLogConfig, decorator: Google::Apis::ComputeBeta::BackendServiceLogConfig::Representation
|
6368
6425
|
|
@@ -6528,6 +6585,31 @@ module Google
|
|
6528
6585
|
end
|
6529
6586
|
end
|
6530
6587
|
|
6588
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
6589
|
+
# @private
|
6590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6591
|
+
property :custom_policy, as: 'customPolicy', class: Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::Representation
|
6592
|
+
|
6593
|
+
property :policy, as: 'policy', class: Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfigPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfigPolicy::Representation
|
6594
|
+
|
6595
|
+
end
|
6596
|
+
end
|
6597
|
+
|
6598
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
6599
|
+
# @private
|
6600
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6601
|
+
property :data, as: 'data'
|
6602
|
+
property :name, as: 'name'
|
6603
|
+
end
|
6604
|
+
end
|
6605
|
+
|
6606
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
6607
|
+
# @private
|
6608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6609
|
+
property :name, as: 'name'
|
6610
|
+
end
|
6611
|
+
end
|
6612
|
+
|
6531
6613
|
class BackendServiceLogConfig
|
6532
6614
|
# @private
|
6533
6615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7519,6 +7601,7 @@ module Google
|
|
7519
7601
|
property :match, as: 'match', class: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcher, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcher::Representation
|
7520
7602
|
|
7521
7603
|
property :priority, as: 'priority'
|
7604
|
+
property :rule_name, as: 'ruleName'
|
7522
7605
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
7523
7606
|
collection :target_resources, as: 'targetResources'
|
7524
7607
|
collection :target_secure_tags, as: 'targetSecureTags', class: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag::Representation
|
@@ -7531,11 +7614,15 @@ module Google
|
|
7531
7614
|
# @private
|
7532
7615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7533
7616
|
collection :dest_ip_ranges, as: 'destIpRanges'
|
7617
|
+
collection :dest_region_codes, as: 'destRegionCodes'
|
7618
|
+
collection :dest_threat_intelligences, as: 'destThreatIntelligences'
|
7534
7619
|
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config::Representation
|
7535
7620
|
|
7536
7621
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
7622
|
+
collection :src_region_codes, as: 'srcRegionCodes'
|
7537
7623
|
collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag::Representation
|
7538
7624
|
|
7625
|
+
collection :src_threat_intelligences, as: 'srcThreatIntelligences'
|
7539
7626
|
end
|
7540
7627
|
end
|
7541
7628
|
|
@@ -8479,6 +8566,7 @@ module Google
|
|
8479
8566
|
|
8480
8567
|
property :hostname, as: 'hostname'
|
8481
8568
|
property :id, :numeric_string => true, as: 'id'
|
8569
|
+
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
8482
8570
|
property :kind, as: 'kind'
|
8483
8571
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
8484
8572
|
hash :labels, as: 'labels'
|
@@ -8667,6 +8755,8 @@ module Google
|
|
8667
8755
|
class InstanceGroupManager
|
8668
8756
|
# @private
|
8669
8757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8758
|
+
property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig::Representation
|
8759
|
+
|
8670
8760
|
collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy::Representation
|
8671
8761
|
|
8672
8762
|
property :base_instance_name, as: 'baseInstanceName'
|
@@ -8754,6 +8844,14 @@ module Google
|
|
8754
8844
|
end
|
8755
8845
|
end
|
8756
8846
|
|
8847
|
+
class InstanceGroupManagerAllInstancesConfig
|
8848
|
+
# @private
|
8849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8850
|
+
property :properties, as: 'properties', class: Google::Apis::ComputeBeta::InstancePropertiesPatch, decorator: Google::Apis::ComputeBeta::InstancePropertiesPatch::Representation
|
8851
|
+
|
8852
|
+
end
|
8853
|
+
end
|
8854
|
+
|
8757
8855
|
class InstanceGroupManagerAutoHealingPolicy
|
8758
8856
|
# @private
|
8759
8857
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8797,6 +8895,8 @@ module Google
|
|
8797
8895
|
class InstanceGroupManagerStatus
|
8798
8896
|
# @private
|
8799
8897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8898
|
+
property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig::Representation
|
8899
|
+
|
8800
8900
|
property :autoscaler, as: 'autoscaler'
|
8801
8901
|
property :is_stable, as: 'isStable'
|
8802
8902
|
property :stateful, as: 'stateful', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful::Representation
|
@@ -8806,6 +8906,14 @@ module Google
|
|
8806
8906
|
end
|
8807
8907
|
end
|
8808
8908
|
|
8909
|
+
class InstanceGroupManagerStatusAllInstancesConfig
|
8910
|
+
# @private
|
8911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8912
|
+
property :current_revision, as: 'currentRevision'
|
8913
|
+
property :effective, as: 'effective'
|
8914
|
+
end
|
8915
|
+
end
|
8916
|
+
|
8809
8917
|
class InstanceGroupManagerStatusStateful
|
8810
8918
|
# @private
|
8811
8919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9240,6 +9348,7 @@ module Google
|
|
9240
9348
|
|
9241
9349
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
|
9242
9350
|
|
9351
|
+
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
9243
9352
|
hash :labels, as: 'labels'
|
9244
9353
|
property :machine_type, as: 'machineType'
|
9245
9354
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
@@ -9268,6 +9377,14 @@ module Google
|
|
9268
9377
|
end
|
9269
9378
|
end
|
9270
9379
|
|
9380
|
+
class InstancePropertiesPatch
|
9381
|
+
# @private
|
9382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9383
|
+
hash :labels, as: 'labels'
|
9384
|
+
hash :metadata, as: 'metadata'
|
9385
|
+
end
|
9386
|
+
end
|
9387
|
+
|
9271
9388
|
class InstanceReference
|
9272
9389
|
# @private
|
9273
9390
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9957,10 +10074,19 @@ module Google
|
|
9957
10074
|
class LocationPolicyLocation
|
9958
10075
|
# @private
|
9959
10076
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10077
|
+
property :constraints, as: 'constraints', class: Google::Apis::ComputeBeta::LocationPolicyLocationConstraints, decorator: Google::Apis::ComputeBeta::LocationPolicyLocationConstraints::Representation
|
10078
|
+
|
9960
10079
|
property :preference, as: 'preference'
|
9961
10080
|
end
|
9962
10081
|
end
|
9963
10082
|
|
10083
|
+
class LocationPolicyLocationConstraints
|
10084
|
+
# @private
|
10085
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10086
|
+
property :max_count, as: 'maxCount'
|
10087
|
+
end
|
10088
|
+
end
|
10089
|
+
|
9964
10090
|
class LogConfig
|
9965
10091
|
# @private
|
9966
10092
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10193,6 +10319,8 @@ module Google
|
|
10193
10319
|
class ManagedInstance
|
10194
10320
|
# @private
|
10195
10321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10322
|
+
property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig, decorator: Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig::Representation
|
10323
|
+
|
10196
10324
|
property :current_action, as: 'currentAction'
|
10197
10325
|
property :id, :numeric_string => true, as: 'id'
|
10198
10326
|
property :instance, as: 'instance'
|
@@ -10210,6 +10338,13 @@ module Google
|
|
10210
10338
|
end
|
10211
10339
|
end
|
10212
10340
|
|
10341
|
+
class ManagedInstanceAllInstancesConfig
|
10342
|
+
# @private
|
10343
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10344
|
+
property :revision, as: 'revision'
|
10345
|
+
end
|
10346
|
+
end
|
10347
|
+
|
10213
10348
|
class ManagedInstanceInstanceHealth
|
10214
10349
|
# @private
|
10215
10350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13007,6 +13142,8 @@ module Google
|
|
13007
13142
|
collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeBeta::RouterInterface, decorator: Google::Apis::ComputeBeta::RouterInterface::Representation
|
13008
13143
|
|
13009
13144
|
property :kind, as: 'kind'
|
13145
|
+
collection :md5_authentication_keys, as: 'md5AuthenticationKeys', class: Google::Apis::ComputeBeta::RouterMd5AuthenticationKey, decorator: Google::Apis::ComputeBeta::RouterMd5AuthenticationKey::Representation
|
13146
|
+
|
13010
13147
|
property :name, as: 'name'
|
13011
13148
|
collection :nats, as: 'nats', class: Google::Apis::ComputeBeta::RouterNat, decorator: Google::Apis::ComputeBeta::RouterNat::Representation
|
13012
13149
|
|
@@ -13085,6 +13222,7 @@ module Google
|
|
13085
13222
|
property :ip_address, as: 'ipAddress'
|
13086
13223
|
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
|
13087
13224
|
property :management_type, as: 'managementType'
|
13225
|
+
property :md5_authentication_key_name, as: 'md5AuthenticationKeyName'
|
13088
13226
|
property :name, as: 'name'
|
13089
13227
|
property :peer_asn, as: 'peerAsn'
|
13090
13228
|
property :peer_ip_address, as: 'peerIpAddress'
|
@@ -13149,6 +13287,14 @@ module Google
|
|
13149
13287
|
end
|
13150
13288
|
end
|
13151
13289
|
|
13290
|
+
class RouterMd5AuthenticationKey
|
13291
|
+
# @private
|
13292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13293
|
+
property :key, as: 'key'
|
13294
|
+
property :name, as: 'name'
|
13295
|
+
end
|
13296
|
+
end
|
13297
|
+
|
13152
13298
|
class RouterNat
|
13153
13299
|
# @private
|
13154
13300
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13235,12 +13381,14 @@ module Google
|
|
13235
13381
|
|
13236
13382
|
property :ip_address, as: 'ipAddress'
|
13237
13383
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
13384
|
+
property :md5_auth_enabled, as: 'md5AuthEnabled'
|
13238
13385
|
property :name, as: 'name'
|
13239
13386
|
property :num_learned_routes, as: 'numLearnedRoutes'
|
13240
13387
|
property :peer_ip_address, as: 'peerIpAddress'
|
13241
13388
|
property :router_appliance_instance, as: 'routerApplianceInstance'
|
13242
13389
|
property :state, as: 'state'
|
13243
13390
|
property :status, as: 'status'
|
13391
|
+
property :status_reason, as: 'statusReason'
|
13244
13392
|
property :uptime, as: 'uptime'
|
13245
13393
|
property :uptime_seconds, as: 'uptimeSeconds'
|
13246
13394
|
end
|
@@ -14083,6 +14231,7 @@ module Google
|
|
14083
14231
|
|
14084
14232
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
|
14085
14233
|
|
14234
|
+
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
14086
14235
|
hash :labels, as: 'labels'
|
14087
14236
|
property :machine_type, as: 'machineType'
|
14088
14237
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
@@ -15203,6 +15352,7 @@ module Google
|
|
15203
15352
|
property :name, as: 'name'
|
15204
15353
|
property :proxy_bind, as: 'proxyBind'
|
15205
15354
|
property :proxy_header, as: 'proxyHeader'
|
15355
|
+
property :region, as: 'region'
|
15206
15356
|
property :self_link, as: 'selfLink'
|
15207
15357
|
property :service, as: 'service'
|
15208
15358
|
end
|