google-apis-compute_v1 0.114.0 → 0.115.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.114.0"
19
+ GEM_VERSION = "0.115.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241231"
25
+ REVISION = "20250224"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class AllocationReservationSharingPolicy
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class AllocationResourceStatus
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -406,6 +412,12 @@ module Google
406
412
  include Google::Apis::Core::JsonObjectSupport
407
413
  end
408
414
 
415
+ class BackendCustomMetric
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
409
421
  class BackendService
410
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
423
 
@@ -454,6 +466,12 @@ module Google
454
466
  include Google::Apis::Core::JsonObjectSupport
455
467
  end
456
468
 
469
+ class BackendServiceCustomMetric
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
457
475
  class BackendServiceFailoverPolicy
458
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
477
 
@@ -586,6 +604,24 @@ module Google
586
604
  include Google::Apis::Core::JsonObjectSupport
587
605
  end
588
606
 
607
+ class BgpRoute
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class BgpRouteAsPath
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class BgpRouteNetworkLayerReachabilityInformation
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
589
625
  class Binding
590
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
627
 
@@ -1852,6 +1888,12 @@ module Google
1852
1888
  include Google::Apis::Core::JsonObjectSupport
1853
1889
  end
1854
1890
 
1891
+ class InstanceGroupManagerResourcePolicies
1892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1893
+
1894
+ include Google::Apis::Core::JsonObjectSupport
1895
+ end
1896
+
1855
1897
  class InstanceGroupManagerStandbyPolicy
1856
1898
  class Representation < Google::Apis::Core::JsonRepresentation; end
1857
1899
 
@@ -2284,6 +2326,18 @@ module Google
2284
2326
  include Google::Apis::Core::JsonObjectSupport
2285
2327
  end
2286
2328
 
2329
+ class InstancesReportHostAsFaultyRequest
2330
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2331
+
2332
+ include Google::Apis::Core::JsonObjectSupport
2333
+ end
2334
+
2335
+ class InstancesReportHostAsFaultyRequestFaultReason
2336
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2337
+
2338
+ include Google::Apis::Core::JsonObjectSupport
2339
+ end
2340
+
2287
2341
  class InstancesScopedList
2288
2342
  class Representation < Google::Apis::Core::JsonRepresentation; end
2289
2343
 
@@ -4636,6 +4690,18 @@ module Google
4636
4690
  include Google::Apis::Core::JsonObjectSupport
4637
4691
  end
4638
4692
 
4693
+ class RoutePolicy
4694
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4695
+
4696
+ include Google::Apis::Core::JsonObjectSupport
4697
+ end
4698
+
4699
+ class RoutePolicyPolicyTerm
4700
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4701
+
4702
+ include Google::Apis::Core::JsonObjectSupport
4703
+ end
4704
+
4639
4705
  class Router
4640
4706
  class Representation < Google::Apis::Core::JsonRepresentation; end
4641
4707
 
@@ -4780,6 +4846,48 @@ module Google
4780
4846
  include Google::Apis::Core::JsonObjectSupport
4781
4847
  end
4782
4848
 
4849
+ class RoutersGetRoutePolicyResponse
4850
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4851
+
4852
+ include Google::Apis::Core::JsonObjectSupport
4853
+ end
4854
+
4855
+ class RoutersListBgpRoutes
4856
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4857
+
4858
+ class Warning
4859
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4860
+
4861
+ class Datum
4862
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4863
+
4864
+ include Google::Apis::Core::JsonObjectSupport
4865
+ end
4866
+
4867
+ include Google::Apis::Core::JsonObjectSupport
4868
+ end
4869
+
4870
+ include Google::Apis::Core::JsonObjectSupport
4871
+ end
4872
+
4873
+ class RoutersListRoutePolicies
4874
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4875
+
4876
+ class Warning
4877
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4878
+
4879
+ class Datum
4880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4881
+
4882
+ include Google::Apis::Core::JsonObjectSupport
4883
+ end
4884
+
4885
+ include Google::Apis::Core::JsonObjectSupport
4886
+ end
4887
+
4888
+ include Google::Apis::Core::JsonObjectSupport
4889
+ end
4890
+
4783
4891
  class RoutersPreviewResponse
4784
4892
  class Representation < Google::Apis::Core::JsonRepresentation; end
4785
4893
 
@@ -6962,6 +7070,13 @@ module Google
6962
7070
  end
6963
7071
  end
6964
7072
 
7073
+ class AllocationReservationSharingPolicy
7074
+ # @private
7075
+ class Representation < Google::Apis::Core::JsonRepresentation
7076
+ property :service_share_type, as: 'serviceShareType'
7077
+ end
7078
+ end
7079
+
6965
7080
  class AllocationResourceStatus
6966
7081
  # @private
6967
7082
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6974,6 +7089,7 @@ module Google
6974
7089
  # @private
6975
7090
  class Representation < Google::Apis::Core::JsonRepresentation
6976
7091
  property :source_instance_template_id, as: 'sourceInstanceTemplateId'
7092
+ hash :utilizations, as: 'utilizations'
6977
7093
  end
6978
7094
  end
6979
7095
 
@@ -7278,6 +7394,8 @@ module Google
7278
7394
  class Representation < Google::Apis::Core::JsonRepresentation
7279
7395
  property :balancing_mode, as: 'balancingMode'
7280
7396
  property :capacity_scaler, as: 'capacityScaler'
7397
+ collection :custom_metrics, as: 'customMetrics', class: Google::Apis::ComputeV1::BackendCustomMetric, decorator: Google::Apis::ComputeV1::BackendCustomMetric::Representation
7398
+
7281
7399
  property :description, as: 'description'
7282
7400
  property :failover, as: 'failover'
7283
7401
  property :group, as: 'group'
@@ -7396,6 +7514,15 @@ module Google
7396
7514
  end
7397
7515
  end
7398
7516
 
7517
+ class BackendCustomMetric
7518
+ # @private
7519
+ class Representation < Google::Apis::Core::JsonRepresentation
7520
+ property :dry_run, as: 'dryRun'
7521
+ property :max_utilization, as: 'maxUtilization'
7522
+ property :name, as: 'name'
7523
+ end
7524
+ end
7525
+
7399
7526
  class BackendService
7400
7527
  # @private
7401
7528
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7414,6 +7541,8 @@ module Google
7414
7541
  property :consistent_hash, as: 'consistentHash', class: Google::Apis::ComputeV1::ConsistentHashLoadBalancerSettings, decorator: Google::Apis::ComputeV1::ConsistentHashLoadBalancerSettings::Representation
7415
7542
 
7416
7543
  property :creation_timestamp, as: 'creationTimestamp'
7544
+ collection :custom_metrics, as: 'customMetrics', class: Google::Apis::ComputeV1::BackendServiceCustomMetric, decorator: Google::Apis::ComputeV1::BackendServiceCustomMetric::Representation
7545
+
7417
7546
  collection :custom_request_headers, as: 'customRequestHeaders'
7418
7547
  collection :custom_response_headers, as: 'customResponseHeaders'
7419
7548
  property :description, as: 'description'
@@ -7541,6 +7670,14 @@ module Google
7541
7670
  end
7542
7671
  end
7543
7672
 
7673
+ class BackendServiceCustomMetric
7674
+ # @private
7675
+ class Representation < Google::Apis::Core::JsonRepresentation
7676
+ property :dry_run, as: 'dryRun'
7677
+ property :name, as: 'name'
7678
+ end
7679
+ end
7680
+
7544
7681
  class BackendServiceFailoverPolicy
7545
7682
  # @private
7546
7683
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7773,6 +7910,35 @@ module Google
7773
7910
  end
7774
7911
  end
7775
7912
 
7913
+ class BgpRoute
7914
+ # @private
7915
+ class Representation < Google::Apis::Core::JsonRepresentation
7916
+ collection :as_paths, as: 'asPaths', class: Google::Apis::ComputeV1::BgpRouteAsPath, decorator: Google::Apis::ComputeV1::BgpRouteAsPath::Representation
7917
+
7918
+ collection :communities, as: 'communities'
7919
+ property :destination, as: 'destination', class: Google::Apis::ComputeV1::BgpRouteNetworkLayerReachabilityInformation, decorator: Google::Apis::ComputeV1::BgpRouteNetworkLayerReachabilityInformation::Representation
7920
+
7921
+ property :med, as: 'med'
7922
+ property :origin, as: 'origin'
7923
+ end
7924
+ end
7925
+
7926
+ class BgpRouteAsPath
7927
+ # @private
7928
+ class Representation < Google::Apis::Core::JsonRepresentation
7929
+ collection :asns, as: 'asns'
7930
+ property :type, as: 'type'
7931
+ end
7932
+ end
7933
+
7934
+ class BgpRouteNetworkLayerReachabilityInformation
7935
+ # @private
7936
+ class Representation < Google::Apis::Core::JsonRepresentation
7937
+ property :path_id, as: 'pathId'
7938
+ property :prefix, as: 'prefix'
7939
+ end
7940
+ end
7941
+
7776
7942
  class Binding
7777
7943
  # @private
7778
7944
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8744,6 +8910,8 @@ module Google
8744
8910
  property :id, :numeric_string => true, as: 'id'
8745
8911
  property :kind, as: 'kind'
8746
8912
  property :name, as: 'name'
8913
+ collection :packet_mirroring_rules, as: 'packetMirroringRules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
8914
+
8747
8915
  property :parent, as: 'parent'
8748
8916
  property :region, as: 'region'
8749
8917
  property :rule_tuple_count, as: 'ruleTupleCount'
@@ -10013,6 +10181,8 @@ module Google
10013
10181
  collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
10014
10182
 
10015
10183
  property :region, as: 'region'
10184
+ property :resource_policies, as: 'resourcePolicies', class: Google::Apis::ComputeV1::InstanceGroupManagerResourcePolicies, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResourcePolicies::Representation
10185
+
10016
10186
  property :satisfies_pzi, as: 'satisfiesPzi'
10017
10187
  property :satisfies_pzs, as: 'satisfiesPzs'
10018
10188
  property :self_link, as: 'selfLink'
@@ -10294,6 +10464,13 @@ module Google
10294
10464
  end
10295
10465
  end
10296
10466
 
10467
+ class InstanceGroupManagerResourcePolicies
10468
+ # @private
10469
+ class Representation < Google::Apis::Core::JsonRepresentation
10470
+ property :workload_policy, as: 'workloadPolicy'
10471
+ end
10472
+ end
10473
+
10297
10474
  class InstanceGroupManagerStandbyPolicy
10298
10475
  # @private
10299
10476
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10978,6 +11155,8 @@ module Google
10978
11155
  class Representation < Google::Apis::Core::JsonRepresentation
10979
11156
  property :display_name, as: 'displayName'
10980
11157
  property :name, as: 'name'
11158
+ collection :packet_mirroring_rules, as: 'packetMirroringRules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
11159
+
10981
11160
  property :priority, as: 'priority'
10982
11161
  collection :rules, as: 'rules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
10983
11162
 
@@ -10993,6 +11172,23 @@ module Google
10993
11172
  end
10994
11173
  end
10995
11174
 
11175
+ class InstancesReportHostAsFaultyRequest
11176
+ # @private
11177
+ class Representation < Google::Apis::Core::JsonRepresentation
11178
+ property :disruption_schedule, as: 'disruptionSchedule'
11179
+ collection :fault_reasons, as: 'faultReasons', class: Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequestFaultReason, decorator: Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequestFaultReason::Representation
11180
+
11181
+ end
11182
+ end
11183
+
11184
+ class InstancesReportHostAsFaultyRequestFaultReason
11185
+ # @private
11186
+ class Representation < Google::Apis::Core::JsonRepresentation
11187
+ property :behavior, as: 'behavior'
11188
+ property :description, as: 'description'
11189
+ end
11190
+ end
11191
+
10996
11192
  class InstancesScopedList
10997
11193
  # @private
10998
11194
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12833,7 +13029,6 @@ module Google
12833
13029
  property :name, as: 'name'
12834
13030
  property :self_link, as: 'selfLink'
12835
13031
  property :self_link_with_id, as: 'selfLinkWithId'
12836
- property :zone, as: 'zone'
12837
13032
  end
12838
13033
  end
12839
13034
 
@@ -12945,6 +13140,8 @@ module Google
12945
13140
  class Representation < Google::Apis::Core::JsonRepresentation
12946
13141
  property :display_name, as: 'displayName'
12947
13142
  property :name, as: 'name'
13143
+ collection :packet_mirroring_rules, as: 'packetMirroringRules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
13144
+
12948
13145
  property :priority, as: 'priority'
12949
13146
  collection :rules, as: 'rules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
12950
13147
 
@@ -13340,6 +13537,7 @@ module Google
13340
13537
  property :id, :numeric_string => true, as: 'id'
13341
13538
  property :kind, as: 'kind'
13342
13539
  property :local_ssd_gb, as: 'localSsdGb'
13540
+ property :max_vms, as: 'maxVms'
13343
13541
  property :memory_mb, as: 'memoryMb'
13344
13542
  property :name, as: 'name'
13345
13543
  property :self_link, as: 'selfLink'
@@ -14751,6 +14949,9 @@ module Google
14751
14949
  class Representation < Google::Apis::Core::JsonRepresentation
14752
14950
  property :display_name, as: 'displayName'
14753
14951
  property :name, as: 'name'
14952
+ collection :packet_mirroring_rules, as: 'packetMirroringRules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
14953
+
14954
+ property :priority, as: 'priority'
14754
14955
  collection :rules, as: 'rules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
14755
14956
 
14756
14957
  property :type, as: 'type'
@@ -14809,6 +15010,8 @@ module Google
14809
15010
  property :id, :numeric_string => true, as: 'id'
14810
15011
  property :kind, as: 'kind'
14811
15012
  property :name, as: 'name'
15013
+ property :reservation_sharing_policy, as: 'reservationSharingPolicy', class: Google::Apis::ComputeV1::AllocationReservationSharingPolicy, decorator: Google::Apis::ComputeV1::AllocationReservationSharingPolicy::Representation
15014
+
14812
15015
  hash :resource_policies, as: 'resourcePolicies'
14813
15016
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::AllocationResourceStatus, decorator: Google::Apis::ComputeV1::AllocationResourceStatus::Representation
14814
15017
 
@@ -15305,6 +15508,29 @@ module Google
15305
15508
  end
15306
15509
  end
15307
15510
 
15511
+ class RoutePolicy
15512
+ # @private
15513
+ class Representation < Google::Apis::Core::JsonRepresentation
15514
+ property :description, as: 'description'
15515
+ property :fingerprint, :base64 => true, as: 'fingerprint'
15516
+ property :name, as: 'name'
15517
+ collection :terms, as: 'terms', class: Google::Apis::ComputeV1::RoutePolicyPolicyTerm, decorator: Google::Apis::ComputeV1::RoutePolicyPolicyTerm::Representation
15518
+
15519
+ property :type, as: 'type'
15520
+ end
15521
+ end
15522
+
15523
+ class RoutePolicyPolicyTerm
15524
+ # @private
15525
+ class Representation < Google::Apis::Core::JsonRepresentation
15526
+ collection :actions, as: 'actions', class: Google::Apis::ComputeV1::Expr, decorator: Google::Apis::ComputeV1::Expr::Representation
15527
+
15528
+ property :match, as: 'match', class: Google::Apis::ComputeV1::Expr, decorator: Google::Apis::ComputeV1::Expr::Representation
15529
+
15530
+ property :priority, as: 'priority'
15531
+ end
15532
+ end
15533
+
15308
15534
  class Router
15309
15535
  # @private
15310
15536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15635,6 +15861,82 @@ module Google
15635
15861
  end
15636
15862
  end
15637
15863
 
15864
+ class RoutersGetRoutePolicyResponse
15865
+ # @private
15866
+ class Representation < Google::Apis::Core::JsonRepresentation
15867
+ property :resource, as: 'resource', class: Google::Apis::ComputeV1::RoutePolicy, decorator: Google::Apis::ComputeV1::RoutePolicy::Representation
15868
+
15869
+ end
15870
+ end
15871
+
15872
+ class RoutersListBgpRoutes
15873
+ # @private
15874
+ class Representation < Google::Apis::Core::JsonRepresentation
15875
+ property :etag, as: 'etag'
15876
+ property :id, as: 'id'
15877
+ property :kind, as: 'kind'
15878
+ property :next_page_token, as: 'nextPageToken'
15879
+ collection :result, as: 'result', class: Google::Apis::ComputeV1::BgpRoute, decorator: Google::Apis::ComputeV1::BgpRoute::Representation
15880
+
15881
+ property :self_link, as: 'selfLink'
15882
+ collection :unreachables, as: 'unreachables'
15883
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::RoutersListBgpRoutes::Warning, decorator: Google::Apis::ComputeV1::RoutersListBgpRoutes::Warning::Representation
15884
+
15885
+ end
15886
+
15887
+ class Warning
15888
+ # @private
15889
+ class Representation < Google::Apis::Core::JsonRepresentation
15890
+ property :code, as: 'code'
15891
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::RoutersListBgpRoutes::Warning::Datum, decorator: Google::Apis::ComputeV1::RoutersListBgpRoutes::Warning::Datum::Representation
15892
+
15893
+ property :message, as: 'message'
15894
+ end
15895
+
15896
+ class Datum
15897
+ # @private
15898
+ class Representation < Google::Apis::Core::JsonRepresentation
15899
+ property :key, as: 'key'
15900
+ property :value, as: 'value'
15901
+ end
15902
+ end
15903
+ end
15904
+ end
15905
+
15906
+ class RoutersListRoutePolicies
15907
+ # @private
15908
+ class Representation < Google::Apis::Core::JsonRepresentation
15909
+ property :etag, as: 'etag'
15910
+ property :id, as: 'id'
15911
+ property :kind, as: 'kind'
15912
+ property :next_page_token, as: 'nextPageToken'
15913
+ collection :result, as: 'result', class: Google::Apis::ComputeV1::RoutePolicy, decorator: Google::Apis::ComputeV1::RoutePolicy::Representation
15914
+
15915
+ property :self_link, as: 'selfLink'
15916
+ collection :unreachables, as: 'unreachables'
15917
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::RoutersListRoutePolicies::Warning, decorator: Google::Apis::ComputeV1::RoutersListRoutePolicies::Warning::Representation
15918
+
15919
+ end
15920
+
15921
+ class Warning
15922
+ # @private
15923
+ class Representation < Google::Apis::Core::JsonRepresentation
15924
+ property :code, as: 'code'
15925
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::RoutersListRoutePolicies::Warning::Datum, decorator: Google::Apis::ComputeV1::RoutersListRoutePolicies::Warning::Datum::Representation
15926
+
15927
+ property :message, as: 'message'
15928
+ end
15929
+
15930
+ class Datum
15931
+ # @private
15932
+ class Representation < Google::Apis::Core::JsonRepresentation
15933
+ property :key, as: 'key'
15934
+ property :value, as: 'value'
15935
+ end
15936
+ end
15937
+ end
15938
+ end
15939
+
15638
15940
  class RoutersPreviewResponse
15639
15941
  # @private
15640
15942
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15732,6 +16034,7 @@ module Google
15732
16034
  class Representation < Google::Apis::Core::JsonRepresentation
15733
16035
  property :automatic_restart, as: 'automaticRestart'
15734
16036
  property :availability_domain, as: 'availabilityDomain'
16037
+ property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
15735
16038
  property :instance_termination_action, as: 'instanceTerminationAction'
15736
16039
  property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
15737
16040