google-apis-compute_beta 0.30.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.30.0"
19
+ GEM_VERSION = "0.33.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 = "20220315"
25
+ REVISION = "20220426"
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
@@ -7530,12 +7613,18 @@ module Google
7530
7613
  class FirewallPolicyRuleMatcher
7531
7614
  # @private
7532
7615
  class Representation < Google::Apis::Core::JsonRepresentation
7616
+ collection :dest_address_groups, as: 'destAddressGroups'
7533
7617
  collection :dest_ip_ranges, as: 'destIpRanges'
7618
+ collection :dest_region_codes, as: 'destRegionCodes'
7619
+ collection :dest_threat_intelligences, as: 'destThreatIntelligences'
7534
7620
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config::Representation
7535
7621
 
7622
+ collection :src_address_groups, as: 'srcAddressGroups'
7536
7623
  collection :src_ip_ranges, as: 'srcIpRanges'
7624
+ collection :src_region_codes, as: 'srcRegionCodes'
7537
7625
  collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag::Representation
7538
7626
 
7627
+ collection :src_threat_intelligences, as: 'srcThreatIntelligences'
7539
7628
  end
7540
7629
  end
7541
7630
 
@@ -7587,6 +7676,7 @@ module Google
7587
7676
  property :name, as: 'name'
7588
7677
  property :network, as: 'network'
7589
7678
  property :network_tier, as: 'networkTier'
7679
+ property :no_automate_dns_zone, as: 'noAutomateDnsZone'
7590
7680
  property :port_range, as: 'portRange'
7591
7681
  collection :ports, as: 'ports'
7592
7682
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
@@ -8479,6 +8569,7 @@ module Google
8479
8569
 
8480
8570
  property :hostname, as: 'hostname'
8481
8571
  property :id, :numeric_string => true, as: 'id'
8572
+ property :key_revocation_action_type, as: 'keyRevocationActionType'
8482
8573
  property :kind, as: 'kind'
8483
8574
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
8484
8575
  hash :labels, as: 'labels'
@@ -8667,6 +8758,8 @@ module Google
8667
8758
  class InstanceGroupManager
8668
8759
  # @private
8669
8760
  class Representation < Google::Apis::Core::JsonRepresentation
8761
+ property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig::Representation
8762
+
8670
8763
  collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy::Representation
8671
8764
 
8672
8765
  property :base_instance_name, as: 'baseInstanceName'
@@ -8754,6 +8847,14 @@ module Google
8754
8847
  end
8755
8848
  end
8756
8849
 
8850
+ class InstanceGroupManagerAllInstancesConfig
8851
+ # @private
8852
+ class Representation < Google::Apis::Core::JsonRepresentation
8853
+ property :properties, as: 'properties', class: Google::Apis::ComputeBeta::InstancePropertiesPatch, decorator: Google::Apis::ComputeBeta::InstancePropertiesPatch::Representation
8854
+
8855
+ end
8856
+ end
8857
+
8757
8858
  class InstanceGroupManagerAutoHealingPolicy
8758
8859
  # @private
8759
8860
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8797,6 +8898,8 @@ module Google
8797
8898
  class InstanceGroupManagerStatus
8798
8899
  # @private
8799
8900
  class Representation < Google::Apis::Core::JsonRepresentation
8901
+ property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig::Representation
8902
+
8800
8903
  property :autoscaler, as: 'autoscaler'
8801
8904
  property :is_stable, as: 'isStable'
8802
8905
  property :stateful, as: 'stateful', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful::Representation
@@ -8806,6 +8909,14 @@ module Google
8806
8909
  end
8807
8910
  end
8808
8911
 
8912
+ class InstanceGroupManagerStatusAllInstancesConfig
8913
+ # @private
8914
+ class Representation < Google::Apis::Core::JsonRepresentation
8915
+ property :current_revision, as: 'currentRevision'
8916
+ property :effective, as: 'effective'
8917
+ end
8918
+ end
8919
+
8809
8920
  class InstanceGroupManagerStatusStateful
8810
8921
  # @private
8811
8922
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9240,6 +9351,7 @@ module Google
9240
9351
 
9241
9352
  collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
9242
9353
 
9354
+ property :key_revocation_action_type, as: 'keyRevocationActionType'
9243
9355
  hash :labels, as: 'labels'
9244
9356
  property :machine_type, as: 'machineType'
9245
9357
  property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
@@ -9268,6 +9380,14 @@ module Google
9268
9380
  end
9269
9381
  end
9270
9382
 
9383
+ class InstancePropertiesPatch
9384
+ # @private
9385
+ class Representation < Google::Apis::Core::JsonRepresentation
9386
+ hash :labels, as: 'labels'
9387
+ hash :metadata, as: 'metadata'
9388
+ end
9389
+ end
9390
+
9271
9391
  class InstanceReference
9272
9392
  # @private
9273
9393
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9957,10 +10077,19 @@ module Google
9957
10077
  class LocationPolicyLocation
9958
10078
  # @private
9959
10079
  class Representation < Google::Apis::Core::JsonRepresentation
10080
+ property :constraints, as: 'constraints', class: Google::Apis::ComputeBeta::LocationPolicyLocationConstraints, decorator: Google::Apis::ComputeBeta::LocationPolicyLocationConstraints::Representation
10081
+
9960
10082
  property :preference, as: 'preference'
9961
10083
  end
9962
10084
  end
9963
10085
 
10086
+ class LocationPolicyLocationConstraints
10087
+ # @private
10088
+ class Representation < Google::Apis::Core::JsonRepresentation
10089
+ property :max_count, as: 'maxCount'
10090
+ end
10091
+ end
10092
+
9964
10093
  class LogConfig
9965
10094
  # @private
9966
10095
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10193,6 +10322,8 @@ module Google
10193
10322
  class ManagedInstance
10194
10323
  # @private
10195
10324
  class Representation < Google::Apis::Core::JsonRepresentation
10325
+ property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig, decorator: Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig::Representation
10326
+
10196
10327
  property :current_action, as: 'currentAction'
10197
10328
  property :id, :numeric_string => true, as: 'id'
10198
10329
  property :instance, as: 'instance'
@@ -10210,6 +10341,13 @@ module Google
10210
10341
  end
10211
10342
  end
10212
10343
 
10344
+ class ManagedInstanceAllInstancesConfig
10345
+ # @private
10346
+ class Representation < Google::Apis::Core::JsonRepresentation
10347
+ property :revision, as: 'revision'
10348
+ end
10349
+ end
10350
+
10213
10351
  class ManagedInstanceInstanceHealth
10214
10352
  # @private
10215
10353
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10720,6 +10858,7 @@ module Google
10720
10858
  property :name, as: 'name'
10721
10859
  property :network, as: 'network'
10722
10860
  property :peer_mtu, as: 'peerMtu'
10861
+ property :stack_type, as: 'stackType'
10723
10862
  property :state, as: 'state'
10724
10863
  property :state_details, as: 'stateDetails'
10725
10864
  end
@@ -13007,6 +13146,8 @@ module Google
13007
13146
  collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeBeta::RouterInterface, decorator: Google::Apis::ComputeBeta::RouterInterface::Representation
13008
13147
 
13009
13148
  property :kind, as: 'kind'
13149
+ collection :md5_authentication_keys, as: 'md5AuthenticationKeys', class: Google::Apis::ComputeBeta::RouterMd5AuthenticationKey, decorator: Google::Apis::ComputeBeta::RouterMd5AuthenticationKey::Representation
13150
+
13010
13151
  property :name, as: 'name'
13011
13152
  collection :nats, as: 'nats', class: Google::Apis::ComputeBeta::RouterNat, decorator: Google::Apis::ComputeBeta::RouterNat::Representation
13012
13153
 
@@ -13085,6 +13226,7 @@ module Google
13085
13226
  property :ip_address, as: 'ipAddress'
13086
13227
  property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
13087
13228
  property :management_type, as: 'managementType'
13229
+ property :md5_authentication_key_name, as: 'md5AuthenticationKeyName'
13088
13230
  property :name, as: 'name'
13089
13231
  property :peer_asn, as: 'peerAsn'
13090
13232
  property :peer_ip_address, as: 'peerIpAddress'
@@ -13149,12 +13291,21 @@ module Google
13149
13291
  end
13150
13292
  end
13151
13293
 
13294
+ class RouterMd5AuthenticationKey
13295
+ # @private
13296
+ class Representation < Google::Apis::Core::JsonRepresentation
13297
+ property :key, as: 'key'
13298
+ property :name, as: 'name'
13299
+ end
13300
+ end
13301
+
13152
13302
  class RouterNat
13153
13303
  # @private
13154
13304
  class Representation < Google::Apis::Core::JsonRepresentation
13155
13305
  collection :drain_nat_ips, as: 'drainNatIps'
13156
13306
  property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
13157
13307
  property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
13308
+ collection :endpoint_types, as: 'endpointTypes'
13158
13309
  property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
13159
13310
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::RouterNatLogConfig, decorator: Google::Apis::ComputeBeta::RouterNatLogConfig::Representation
13160
13311
 
@@ -13235,12 +13386,14 @@ module Google
13235
13386
 
13236
13387
  property :ip_address, as: 'ipAddress'
13237
13388
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
13389
+ property :md5_auth_enabled, as: 'md5AuthEnabled'
13238
13390
  property :name, as: 'name'
13239
13391
  property :num_learned_routes, as: 'numLearnedRoutes'
13240
13392
  property :peer_ip_address, as: 'peerIpAddress'
13241
13393
  property :router_appliance_instance, as: 'routerApplianceInstance'
13242
13394
  property :state, as: 'state'
13243
13395
  property :status, as: 'status'
13396
+ property :status_reason, as: 'statusReason'
13244
13397
  property :uptime, as: 'uptime'
13245
13398
  property :uptime_seconds, as: 'uptimeSeconds'
13246
13399
  end
@@ -14083,6 +14236,7 @@ module Google
14083
14236
 
14084
14237
  collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
14085
14238
 
14239
+ property :key_revocation_action_type, as: 'keyRevocationActionType'
14086
14240
  hash :labels, as: 'labels'
14087
14241
  property :machine_type, as: 'machineType'
14088
14242
  property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
@@ -15203,6 +15357,7 @@ module Google
15203
15357
  property :name, as: 'name'
15204
15358
  property :proxy_bind, as: 'proxyBind'
15205
15359
  property :proxy_header, as: 'proxyHeader'
15360
+ property :region, as: 'region'
15206
15361
  property :self_link, as: 'selfLink'
15207
15362
  property :service, as: 'service'
15208
15363
  end