google-apis-compute_v1 0.112.0 → 0.114.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 ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.112.0"
19
+ GEM_VERSION = "0.114.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241105"
25
+ REVISION = "20241231"
26
26
  end
27
27
  end
28
28
  end
@@ -1096,6 +1096,24 @@ module Google
1096
1096
  include Google::Apis::Core::JsonObjectSupport
1097
1097
  end
1098
1098
 
1099
+ class FirewallPoliciesScopedList
1100
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1101
+
1102
+ class Warning
1103
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1104
+
1105
+ class Datum
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1111
+ include Google::Apis::Core::JsonObjectSupport
1112
+ end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1099
1117
  class FirewallPolicy
1100
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1119
 
@@ -1834,6 +1852,12 @@ module Google
1834
1852
  include Google::Apis::Core::JsonObjectSupport
1835
1853
  end
1836
1854
 
1855
+ class InstanceGroupManagerStandbyPolicy
1856
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1857
+
1858
+ include Google::Apis::Core::JsonObjectSupport
1859
+ end
1860
+
1837
1861
  class InstanceGroupManagerStatus
1838
1862
  class Representation < Google::Apis::Core::JsonRepresentation; end
1839
1863
 
@@ -1948,6 +1972,12 @@ module Google
1948
1972
  include Google::Apis::Core::JsonObjectSupport
1949
1973
  end
1950
1974
 
1975
+ class InstanceGroupManagersResumeInstancesRequest
1976
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1977
+
1978
+ include Google::Apis::Core::JsonObjectSupport
1979
+ end
1980
+
1951
1981
  class InstanceGroupManagersScopedList
1952
1982
  class Representation < Google::Apis::Core::JsonRepresentation; end
1953
1983
 
@@ -1978,6 +2008,24 @@ module Google
1978
2008
  include Google::Apis::Core::JsonObjectSupport
1979
2009
  end
1980
2010
 
2011
+ class InstanceGroupManagersStartInstancesRequest
2012
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2013
+
2014
+ include Google::Apis::Core::JsonObjectSupport
2015
+ end
2016
+
2017
+ class InstanceGroupManagersStopInstancesRequest
2018
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2019
+
2020
+ include Google::Apis::Core::JsonObjectSupport
2021
+ end
2022
+
2023
+ class InstanceGroupManagersSuspendInstancesRequest
2024
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2025
+
2026
+ include Google::Apis::Core::JsonObjectSupport
2027
+ end
2028
+
1981
2029
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
1982
2030
  class Representation < Google::Apis::Core::JsonRepresentation; end
1983
2031
 
@@ -3154,6 +3202,24 @@ module Google
3154
3202
  include Google::Apis::Core::JsonObjectSupport
3155
3203
  end
3156
3204
 
3205
+ class NetworkFirewallPolicyAggregatedList
3206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3207
+
3208
+ class Warning
3209
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3210
+
3211
+ class Datum
3212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3213
+
3214
+ include Google::Apis::Core::JsonObjectSupport
3215
+ end
3216
+
3217
+ include Google::Apis::Core::JsonObjectSupport
3218
+ end
3219
+
3220
+ include Google::Apis::Core::JsonObjectSupport
3221
+ end
3222
+
3157
3223
  class NetworkInterface
3158
3224
  class Representation < Google::Apis::Core::JsonRepresentation; end
3159
3225
 
@@ -3190,6 +3256,42 @@ module Google
3190
3256
  include Google::Apis::Core::JsonObjectSupport
3191
3257
  end
3192
3258
 
3259
+ class NetworkProfile
3260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3261
+
3262
+ include Google::Apis::Core::JsonObjectSupport
3263
+ end
3264
+
3265
+ class NetworkProfileLocation
3266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3267
+
3268
+ include Google::Apis::Core::JsonObjectSupport
3269
+ end
3270
+
3271
+ class NetworkProfileNetworkFeatures
3272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3273
+
3274
+ include Google::Apis::Core::JsonObjectSupport
3275
+ end
3276
+
3277
+ class NetworkProfilesListResponse
3278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3279
+
3280
+ class Warning
3281
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3282
+
3283
+ class Datum
3284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3285
+
3286
+ include Google::Apis::Core::JsonObjectSupport
3287
+ end
3288
+
3289
+ include Google::Apis::Core::JsonObjectSupport
3290
+ end
3291
+
3292
+ include Google::Apis::Core::JsonObjectSupport
3293
+ end
3294
+
3193
3295
  class NetworkRoutingConfig
3194
3296
  class Representation < Google::Apis::Core::JsonRepresentation; end
3195
3297
 
@@ -4114,6 +4216,12 @@ module Google
4114
4216
  include Google::Apis::Core::JsonObjectSupport
4115
4217
  end
4116
4218
 
4219
+ class RegionInstanceGroupManagersResumeInstancesRequest
4220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4221
+
4222
+ include Google::Apis::Core::JsonObjectSupport
4223
+ end
4224
+
4117
4225
  class RegionInstanceGroupManagersSetTargetPoolsRequest
4118
4226
  class Representation < Google::Apis::Core::JsonRepresentation; end
4119
4227
 
@@ -4126,6 +4234,24 @@ module Google
4126
4234
  include Google::Apis::Core::JsonObjectSupport
4127
4235
  end
4128
4236
 
4237
+ class RegionInstanceGroupManagersStartInstancesRequest
4238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4239
+
4240
+ include Google::Apis::Core::JsonObjectSupport
4241
+ end
4242
+
4243
+ class RegionInstanceGroupManagersStopInstancesRequest
4244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4245
+
4246
+ include Google::Apis::Core::JsonObjectSupport
4247
+ end
4248
+
4249
+ class RegionInstanceGroupManagersSuspendInstancesRequest
4250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4251
+
4252
+ include Google::Apis::Core::JsonObjectSupport
4253
+ end
4254
+
4129
4255
  class RegionInstanceGroupsListInstances
4130
4256
  class Representation < Google::Apis::Core::JsonRepresentation; end
4131
4257
 
@@ -8578,6 +8704,34 @@ module Google
8578
8704
  end
8579
8705
  end
8580
8706
 
8707
+ class FirewallPoliciesScopedList
8708
+ # @private
8709
+ class Representation < Google::Apis::Core::JsonRepresentation
8710
+ collection :firewall_policies, as: 'firewallPolicies', class: Google::Apis::ComputeV1::FirewallPolicy, decorator: Google::Apis::ComputeV1::FirewallPolicy::Representation
8711
+
8712
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning, decorator: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning::Representation
8713
+
8714
+ end
8715
+
8716
+ class Warning
8717
+ # @private
8718
+ class Representation < Google::Apis::Core::JsonRepresentation
8719
+ property :code, as: 'code'
8720
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning::Datum::Representation
8721
+
8722
+ property :message, as: 'message'
8723
+ end
8724
+
8725
+ class Datum
8726
+ # @private
8727
+ class Representation < Google::Apis::Core::JsonRepresentation
8728
+ property :key, as: 'key'
8729
+ property :value, as: 'value'
8730
+ end
8731
+ end
8732
+ end
8733
+ end
8734
+
8581
8735
  class FirewallPolicy
8582
8736
  # @private
8583
8737
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9862,12 +10016,16 @@ module Google
9862
10016
  property :satisfies_pzi, as: 'satisfiesPzi'
9863
10017
  property :satisfies_pzs, as: 'satisfiesPzs'
9864
10018
  property :self_link, as: 'selfLink'
10019
+ property :standby_policy, as: 'standbyPolicy', class: Google::Apis::ComputeV1::InstanceGroupManagerStandbyPolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerStandbyPolicy::Representation
10020
+
9865
10021
  property :stateful_policy, as: 'statefulPolicy', class: Google::Apis::ComputeV1::StatefulPolicy, decorator: Google::Apis::ComputeV1::StatefulPolicy::Representation
9866
10022
 
9867
10023
  property :status, as: 'status', class: Google::Apis::ComputeV1::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeV1::InstanceGroupManagerStatus::Representation
9868
10024
 
9869
10025
  collection :target_pools, as: 'targetPools'
9870
10026
  property :target_size, as: 'targetSize'
10027
+ property :target_stopped_size, as: 'targetStoppedSize'
10028
+ property :target_suspended_size, as: 'targetSuspendedSize'
9871
10029
  property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeV1::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerUpdatePolicy::Representation
9872
10030
 
9873
10031
  collection :versions, as: 'versions', class: Google::Apis::ComputeV1::InstanceGroupManagerVersion, decorator: Google::Apis::ComputeV1::InstanceGroupManagerVersion::Representation
@@ -10136,6 +10294,14 @@ module Google
10136
10294
  end
10137
10295
  end
10138
10296
 
10297
+ class InstanceGroupManagerStandbyPolicy
10298
+ # @private
10299
+ class Representation < Google::Apis::Core::JsonRepresentation
10300
+ property :initial_delay_sec, as: 'initialDelaySec'
10301
+ property :mode, as: 'mode'
10302
+ end
10303
+ end
10304
+
10139
10305
  class InstanceGroupManagerStatus
10140
10306
  # @private
10141
10307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10308,6 +10474,13 @@ module Google
10308
10474
  end
10309
10475
  end
10310
10476
 
10477
+ class InstanceGroupManagersResumeInstancesRequest
10478
+ # @private
10479
+ class Representation < Google::Apis::Core::JsonRepresentation
10480
+ collection :instances, as: 'instances'
10481
+ end
10482
+ end
10483
+
10311
10484
  class InstanceGroupManagersScopedList
10312
10485
  # @private
10313
10486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10351,6 +10524,29 @@ module Google
10351
10524
  end
10352
10525
  end
10353
10526
 
10527
+ class InstanceGroupManagersStartInstancesRequest
10528
+ # @private
10529
+ class Representation < Google::Apis::Core::JsonRepresentation
10530
+ collection :instances, as: 'instances'
10531
+ end
10532
+ end
10533
+
10534
+ class InstanceGroupManagersStopInstancesRequest
10535
+ # @private
10536
+ class Representation < Google::Apis::Core::JsonRepresentation
10537
+ property :force_stop, as: 'forceStop'
10538
+ collection :instances, as: 'instances'
10539
+ end
10540
+ end
10541
+
10542
+ class InstanceGroupManagersSuspendInstancesRequest
10543
+ # @private
10544
+ class Representation < Google::Apis::Core::JsonRepresentation
10545
+ property :force_suspend, as: 'forceSuspend'
10546
+ collection :instances, as: 'instances'
10547
+ end
10548
+ end
10549
+
10354
10550
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
10355
10551
  # @private
10356
10552
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12057,6 +12253,7 @@ module Google
12057
12253
  property :mtu, as: 'mtu'
12058
12254
  property :name, as: 'name'
12059
12255
  property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
12256
+ property :network_profile, as: 'networkProfile'
12060
12257
  collection :peerings, as: 'peerings', class: Google::Apis::ComputeV1::NetworkPeering, decorator: Google::Apis::ComputeV1::NetworkPeering::Representation
12061
12258
 
12062
12259
  property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeV1::NetworkRoutingConfig, decorator: Google::Apis::ComputeV1::NetworkRoutingConfig::Representation
@@ -12507,6 +12704,39 @@ module Google
12507
12704
  end
12508
12705
  end
12509
12706
 
12707
+ class NetworkFirewallPolicyAggregatedList
12708
+ # @private
12709
+ class Representation < Google::Apis::Core::JsonRepresentation
12710
+ property :id, as: 'id'
12711
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::FirewallPoliciesScopedList, decorator: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Representation
12712
+
12713
+ property :kind, as: 'kind'
12714
+ property :next_page_token, as: 'nextPageToken'
12715
+ property :self_link, as: 'selfLink'
12716
+ collection :unreachables, as: 'unreachables'
12717
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning::Representation
12718
+
12719
+ end
12720
+
12721
+ class Warning
12722
+ # @private
12723
+ class Representation < Google::Apis::Core::JsonRepresentation
12724
+ property :code, as: 'code'
12725
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning::Datum::Representation
12726
+
12727
+ property :message, as: 'message'
12728
+ end
12729
+
12730
+ class Datum
12731
+ # @private
12732
+ class Representation < Google::Apis::Core::JsonRepresentation
12733
+ property :key, as: 'key'
12734
+ property :value, as: 'value'
12735
+ end
12736
+ end
12737
+ end
12738
+ end
12739
+
12510
12740
  class NetworkInterface
12511
12741
  # @private
12512
12742
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12589,9 +12819,102 @@ module Google
12589
12819
  end
12590
12820
  end
12591
12821
 
12822
+ class NetworkProfile
12823
+ # @private
12824
+ class Representation < Google::Apis::Core::JsonRepresentation
12825
+ property :creation_timestamp, as: 'creationTimestamp'
12826
+ property :description, as: 'description'
12827
+ property :features, as: 'features', class: Google::Apis::ComputeV1::NetworkProfileNetworkFeatures, decorator: Google::Apis::ComputeV1::NetworkProfileNetworkFeatures::Representation
12828
+
12829
+ property :id, :numeric_string => true, as: 'id'
12830
+ property :kind, as: 'kind'
12831
+ property :location, as: 'location', class: Google::Apis::ComputeV1::NetworkProfileLocation, decorator: Google::Apis::ComputeV1::NetworkProfileLocation::Representation
12832
+
12833
+ property :name, as: 'name'
12834
+ property :self_link, as: 'selfLink'
12835
+ property :self_link_with_id, as: 'selfLinkWithId'
12836
+ property :zone, as: 'zone'
12837
+ end
12838
+ end
12839
+
12840
+ class NetworkProfileLocation
12841
+ # @private
12842
+ class Representation < Google::Apis::Core::JsonRepresentation
12843
+ property :name, as: 'name'
12844
+ property :scope, as: 'scope'
12845
+ end
12846
+ end
12847
+
12848
+ class NetworkProfileNetworkFeatures
12849
+ # @private
12850
+ class Representation < Google::Apis::Core::JsonRepresentation
12851
+ collection :address_purposes, as: 'addressPurposes'
12852
+ property :allow_alias_ip_ranges, as: 'allowAliasIpRanges'
12853
+ property :allow_auto_mode_subnet, as: 'allowAutoModeSubnet'
12854
+ property :allow_class_d_firewalls, as: 'allowClassDFirewalls'
12855
+ property :allow_cloud_nat, as: 'allowCloudNat'
12856
+ property :allow_cloud_router, as: 'allowCloudRouter'
12857
+ property :allow_external_ip_access, as: 'allowExternalIpAccess'
12858
+ property :allow_interconnect, as: 'allowInterconnect'
12859
+ property :allow_load_balancing, as: 'allowLoadBalancing'
12860
+ property :allow_multi_nic_in_same_network, as: 'allowMultiNicInSameNetwork'
12861
+ property :allow_packet_mirroring, as: 'allowPacketMirroring'
12862
+ property :allow_private_google_access, as: 'allowPrivateGoogleAccess'
12863
+ property :allow_psc, as: 'allowPsc'
12864
+ property :allow_same_network_unicast, as: 'allowSameNetworkUnicast'
12865
+ property :allow_static_routes, as: 'allowStaticRoutes'
12866
+ property :allow_sub_interfaces, as: 'allowSubInterfaces'
12867
+ property :allow_vpc_peering, as: 'allowVpcPeering'
12868
+ property :allow_vpn, as: 'allowVpn'
12869
+ collection :interface_types, as: 'interfaceTypes'
12870
+ collection :subnet_purposes, as: 'subnetPurposes'
12871
+ collection :subnet_stack_types, as: 'subnetStackTypes'
12872
+ property :unicast, as: 'unicast'
12873
+ end
12874
+ end
12875
+
12876
+ class NetworkProfilesListResponse
12877
+ # @private
12878
+ class Representation < Google::Apis::Core::JsonRepresentation
12879
+ property :etag, as: 'etag'
12880
+ property :id, as: 'id'
12881
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::NetworkProfile, decorator: Google::Apis::ComputeV1::NetworkProfile::Representation
12882
+
12883
+ property :kind, as: 'kind'
12884
+ property :next_page_token, as: 'nextPageToken'
12885
+ property :self_link, as: 'selfLink'
12886
+ collection :unreachables, as: 'unreachables'
12887
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkProfilesListResponse::Warning, decorator: Google::Apis::ComputeV1::NetworkProfilesListResponse::Warning::Representation
12888
+
12889
+ end
12890
+
12891
+ class Warning
12892
+ # @private
12893
+ class Representation < Google::Apis::Core::JsonRepresentation
12894
+ property :code, as: 'code'
12895
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkProfilesListResponse::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkProfilesListResponse::Warning::Datum::Representation
12896
+
12897
+ property :message, as: 'message'
12898
+ end
12899
+
12900
+ class Datum
12901
+ # @private
12902
+ class Representation < Google::Apis::Core::JsonRepresentation
12903
+ property :key, as: 'key'
12904
+ property :value, as: 'value'
12905
+ end
12906
+ end
12907
+ end
12908
+ end
12909
+
12592
12910
  class NetworkRoutingConfig
12593
12911
  # @private
12594
12912
  class Representation < Google::Apis::Core::JsonRepresentation
12913
+ property :bgp_always_compare_med, as: 'bgpAlwaysCompareMed'
12914
+ property :bgp_best_path_selection_mode, as: 'bgpBestPathSelectionMode'
12915
+ property :bgp_inter_region_cost, as: 'bgpInterRegionCost'
12916
+ property :effective_bgp_always_compare_med, as: 'effectiveBgpAlwaysCompareMed'
12917
+ property :effective_bgp_inter_region_cost, as: 'effectiveBgpInterRegionCost'
12595
12918
  property :routing_mode, as: 'routingMode'
12596
12919
  end
12597
12920
  end
@@ -14271,6 +14594,13 @@ module Google
14271
14594
  end
14272
14595
  end
14273
14596
 
14597
+ class RegionInstanceGroupManagersResumeInstancesRequest
14598
+ # @private
14599
+ class Representation < Google::Apis::Core::JsonRepresentation
14600
+ collection :instances, as: 'instances'
14601
+ end
14602
+ end
14603
+
14274
14604
  class RegionInstanceGroupManagersSetTargetPoolsRequest
14275
14605
  # @private
14276
14606
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14286,6 +14616,29 @@ module Google
14286
14616
  end
14287
14617
  end
14288
14618
 
14619
+ class RegionInstanceGroupManagersStartInstancesRequest
14620
+ # @private
14621
+ class Representation < Google::Apis::Core::JsonRepresentation
14622
+ collection :instances, as: 'instances'
14623
+ end
14624
+ end
14625
+
14626
+ class RegionInstanceGroupManagersStopInstancesRequest
14627
+ # @private
14628
+ class Representation < Google::Apis::Core::JsonRepresentation
14629
+ property :force_stop, as: 'forceStop'
14630
+ collection :instances, as: 'instances'
14631
+ end
14632
+ end
14633
+
14634
+ class RegionInstanceGroupManagersSuspendInstancesRequest
14635
+ # @private
14636
+ class Representation < Google::Apis::Core::JsonRepresentation
14637
+ property :force_suspend, as: 'forceSuspend'
14638
+ collection :instances, as: 'instances'
14639
+ end
14640
+ end
14641
+
14289
14642
  class RegionInstanceGroupsListInstances
14290
14643
  # @private
14291
14644
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14877,8 +15230,11 @@ module Google
14877
15230
  property :next_hop_hub, as: 'nextHopHub'
14878
15231
  property :next_hop_ilb, as: 'nextHopIlb'
14879
15232
  property :next_hop_instance, as: 'nextHopInstance'
15233
+ property :next_hop_inter_region_cost, as: 'nextHopInterRegionCost'
14880
15234
  property :next_hop_ip, as: 'nextHopIp'
15235
+ property :next_hop_med, as: 'nextHopMed'
14881
15236
  property :next_hop_network, as: 'nextHopNetwork'
15237
+ property :next_hop_origin, as: 'nextHopOrigin'
14882
15238
  property :next_hop_peering, as: 'nextHopPeering'
14883
15239
  property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
14884
15240
  property :priority, as: 'priority'