google-apis-compute_beta 0.147.0 → 0.148.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '049501081f746174832d14dbd12a32d06f6c3096f4cb6509c166d3e0f894f958'
4
- data.tar.gz: 257ce9f94e758179d40db7afbab5ee0912ed404bac22c3a698bbae014169b4f4
3
+ metadata.gz: c76e0b6c4145dbf5f3c91012804377004daeacf21df899765d261cd216fa05bd
4
+ data.tar.gz: aace22dc5fd497003bc49d4ab48253a1102e77c4e425171fb07d0b6796d09d25
5
5
  SHA512:
6
- metadata.gz: 831a70bbaa9fe73180a469e1ab4252cb99825e1b5e38d578c02079838c771df00d8fcb730eae29e5f4fa12499ea6a06aac3a2343ac2cbf502dc56d9f7fe3addb
7
- data.tar.gz: d5d83261d3bc1622487165646f8645fcf1eddba0f5030d48d345559390a49ced140fc88ed1517e0a2ee864baf6d480d8af465db8d5c47f782a53773a3e12f9fe
6
+ metadata.gz: 770357e0256241ea8271f986c1ff699a7bda114ead3df538ec07ee3d4c75ec08e846c3e80b9611fdfd7c84746e490a5861acdd5e5e79a1d6516b410fe52600fc
7
+ data.tar.gz: 671904602c0c8656c45702ebc4860247d46659a91c32976428bf3cb836c6d32693737f91d411948f981e2f3e044b7b16be5f3fdf64aeda3b0860cdcf8827db75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.148.0 (2026-09-13)
4
+
5
+ * Regenerated from discovery document revision 20260908
6
+
3
7
  ### v0.147.0 (2026-08-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20260821
@@ -1377,6 +1377,21 @@ module Google
1377
1377
  class AliasIpRange
1378
1378
  include Google::Apis::Core::Hashable
1379
1379
 
1380
+ # Identifies the candidate subnetwork range names for the alias
1381
+ # IPs to be allocated from. When it is set, the IP would be allocated from
1382
+ # any subnetwork range defined here if the IPs are available.
1383
+ # Only one of subnetwork_range_name or candidate_subnetwork_range_names
1384
+ # should be set.
1385
+ # Corresponds to the JSON property `candidateSubnetworkRangeNames`
1386
+ # @return [Array<String>]
1387
+ attr_accessor :candidate_subnetwork_range_names
1388
+
1389
+ # Output only. [Output Only] The subnetwork range name where the IP is allocated.
1390
+ # It will be set to the subnetwork range where the IP is allocated only.
1391
+ # Corresponds to the JSON property `effectiveSubnetworkRangeName`
1392
+ # @return [String]
1393
+ attr_accessor :effective_subnetwork_range_name
1394
+
1380
1395
  # The IP alias ranges to allocate for this interface. This IP CIDR range
1381
1396
  # must belong to the specified subnetwork and cannot contain IP addresses
1382
1397
  # reserved by system or used by other network interfaces. This range may be
@@ -1398,6 +1413,8 @@ module Google
1398
1413
 
1399
1414
  # Update properties of this object
1400
1415
  def update!(**args)
1416
+ @candidate_subnetwork_range_names = args[:candidate_subnetwork_range_names] if args.key?(:candidate_subnetwork_range_names)
1417
+ @effective_subnetwork_range_name = args[:effective_subnetwork_range_name] if args.key?(:effective_subnetwork_range_name)
1401
1418
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
1402
1419
  @subnetwork_range_name = args[:subnetwork_range_name] if args.key?(:subnetwork_range_name)
1403
1420
  end
@@ -5938,7 +5955,8 @@ module Google
5938
5955
  # The name of the VM instance of the leader network endpoint. The
5939
5956
  # instance must already be attached to the NEG specified in the
5940
5957
  # haPolicy.leader.backendGroup.
5941
- # The name must be 1-63 characters long, and comply with RFC1035.
5958
+ # The value must be a valid RFC1035 name (1-63 characters) or a valid
5959
+ # instance URL.
5942
5960
  # Authorization requires the following IAM permission on the
5943
5961
  # specified resource instance: compute.instances.use
5944
5962
  # Corresponds to the JSON property `instance`
@@ -8000,6 +8018,100 @@ module Google
8000
8018
  end
8001
8019
  end
8002
8020
 
8021
+ # A request to recommend the maximum duration for extending an existing future
8022
+ # reservation in calendar mode. The recommended duration is shorter than or
8023
+ # equal to the specified extension duration.
8024
+ class CalendarModeExtensionAdviceRequest
8025
+ include Google::Apis::Core::Hashable
8026
+
8027
+ # Required. The desired end time for the extension.
8028
+ # Corresponds to the JSON property `endTimeNotLaterThan`
8029
+ # @return [String]
8030
+ attr_accessor :end_time_not_later_than
8031
+
8032
+ # Required. Reference to the future reservation, in the format:
8033
+ # projects/`project`/zones/`zone`/futureReservations/`name`
8034
+ # Full URIs that include hostnames (like compute.googleapis.com or
8035
+ # www.googleapis.com) are also supported.
8036
+ # Corresponds to the JSON property `futureReservation`
8037
+ # @return [String]
8038
+ attr_accessor :future_reservation
8039
+
8040
+ def initialize(**args)
8041
+ update!(**args)
8042
+ end
8043
+
8044
+ # Update properties of this object
8045
+ def update!(**args)
8046
+ @end_time_not_later_than = args[:end_time_not_later_than] if args.key?(:end_time_not_later_than)
8047
+ @future_reservation = args[:future_reservation] if args.key?(:future_reservation)
8048
+ end
8049
+ end
8050
+
8051
+ # A response that contains the recommended duration for extending
8052
+ # a future reservation in calendar mode based on available capacity
8053
+ # during the extension period.
8054
+ class CalendarModeExtensionAdviceResponse
8055
+ include Google::Apis::Core::Hashable
8056
+
8057
+ # The recommended end time for the extension, which is either the end time
8058
+ # requested by the caller or the longest alternative with sufficient
8059
+ # capacity. If the extension is not possible, this field is empty, and
8060
+ # notRecommendedReason is populated instead.
8061
+ # Corresponds to the JSON property `endTime`
8062
+ # @return [String]
8063
+ attr_accessor :end_time
8064
+
8065
+ # Information about why no recommendation was provided.
8066
+ # Corresponds to the JSON property `notRecommendedReason`
8067
+ # @return [Google::Apis::ComputeBeta::CalendarModeExtensionAdviceResponseNotRecommendedReason]
8068
+ attr_accessor :not_recommended_reason
8069
+
8070
+ # The unique ID of the recommendation, which is a UUID string generated by
8071
+ # the API.
8072
+ # Corresponds to the JSON property `recommendationId`
8073
+ # @return [String]
8074
+ attr_accessor :recommendation_id
8075
+
8076
+ def initialize(**args)
8077
+ update!(**args)
8078
+ end
8079
+
8080
+ # Update properties of this object
8081
+ def update!(**args)
8082
+ @end_time = args[:end_time] if args.key?(:end_time)
8083
+ @not_recommended_reason = args[:not_recommended_reason] if args.key?(:not_recommended_reason)
8084
+ @recommendation_id = args[:recommendation_id] if args.key?(:recommendation_id)
8085
+ end
8086
+ end
8087
+
8088
+ # Information about why no recommendation was provided.
8089
+ class CalendarModeExtensionAdviceResponseNotRecommendedReason
8090
+ include Google::Apis::Core::Hashable
8091
+
8092
+ # Human-readable details describing why the recommendation wasn't provided.
8093
+ # For example, if the status is CONDITIONS_NOT_MET, this field explains why
8094
+ # the requested extension duration isn't possible.
8095
+ # Corresponds to the JSON property `details`
8096
+ # @return [String]
8097
+ attr_accessor :details
8098
+
8099
+ # Status of recommendation.
8100
+ # Corresponds to the JSON property `status`
8101
+ # @return [String]
8102
+ attr_accessor :status
8103
+
8104
+ def initialize(**args)
8105
+ update!(**args)
8106
+ end
8107
+
8108
+ # Update properties of this object
8109
+ def update!(**args)
8110
+ @details = args[:details] if args.key?(:details)
8111
+ @status = args[:status] if args.key?(:status)
8112
+ end
8113
+ end
8114
+
8003
8115
  # A single recommendation to create requested resources. Contains detailed
8004
8116
  # recommendations for every future resources specification specified in
8005
8117
  # CalendarModeAdviceRequest.
@@ -8804,7 +8916,8 @@ module Google
8804
8916
  # GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2,
8805
8917
  # GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
8806
8918
  # GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED,
8807
- # MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
8919
+ # MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,
8920
+ # STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T. For
8808
8921
  # example, type MEMORY_OPTIMIZED specifies a commitment that
8809
8922
  # applies only to eligible resources of memory optimized M1 and M2 machine
8810
8923
  # series. Type GENERAL_PURPOSE specifies a commitment that
@@ -12951,6 +13064,26 @@ module Google
12951
13064
  end
12952
13065
  end
12953
13066
 
13067
+ # Dynamic compression policy for this URL Map's route.
13068
+ class DynamicCompressionPolicy
13069
+ include Google::Apis::Core::Hashable
13070
+
13071
+ # Compress text responses using Brotli or gzip compression, based on
13072
+ # the client's Accept-Encoding header.
13073
+ # Corresponds to the JSON property `compressionMode`
13074
+ # @return [String]
13075
+ attr_accessor :compression_mode
13076
+
13077
+ def initialize(**args)
13078
+ update!(**args)
13079
+ end
13080
+
13081
+ # Update properties of this object
13082
+ def update!(**args)
13083
+ @compression_mode = args[:compression_mode] if args.key?(:compression_mode)
13084
+ end
13085
+ end
13086
+
12954
13087
  # Describes the cause of the error with structured details.
12955
13088
  # Example of an error when contacting the "pubsub.googleapis.com" API when it
12956
13089
  # is not enabled:
@@ -22566,6 +22699,11 @@ module Google
22566
22699
  # @return [Google::Apis::ComputeBeta::CorsPolicy]
22567
22700
  attr_accessor :cors_policy
22568
22701
 
22702
+ # Dynamic compression policy for this URL Map's route.
22703
+ # Corresponds to the JSON property `dynamicCompressionPolicy`
22704
+ # @return [Google::Apis::ComputeBeta::DynamicCompressionPolicy]
22705
+ attr_accessor :dynamic_compression_policy
22706
+
22569
22707
  # The specification for fault injection introduced into traffic to test
22570
22708
  # the resiliency of clients to backend service failure. As part of fault
22571
22709
  # injection, when clients send requests to a backend service, delays can be
@@ -22643,6 +22781,7 @@ module Google
22643
22781
  def update!(**args)
22644
22782
  @cache_policy = args[:cache_policy] if args.key?(:cache_policy)
22645
22783
  @cors_policy = args[:cors_policy] if args.key?(:cors_policy)
22784
+ @dynamic_compression_policy = args[:dynamic_compression_policy] if args.key?(:dynamic_compression_policy)
22646
22785
  @fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
22647
22786
  @image_optimization_policy = args[:image_optimization_policy] if args.key?(:image_optimization_policy)
22648
22787
  @max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
@@ -29279,6 +29418,12 @@ module Google
29279
29418
  class InstancePropertiesPatch
29280
29419
  include Google::Apis::Core::Hashable
29281
29420
 
29421
+ # This optional flag exposes the hashed physical host ID.
29422
+ # Corresponds to the JSON property `exposeHostTopology`
29423
+ # @return [Boolean]
29424
+ attr_accessor :expose_host_topology
29425
+ alias_method :expose_host_topology?, :expose_host_topology
29426
+
29282
29427
  # The label key-value pairs that you want to patch onto the instance.
29283
29428
  # Corresponds to the JSON property `labels`
29284
29429
  # @return [Hash<String,String>]
@@ -29297,6 +29442,7 @@ module Google
29297
29442
 
29298
29443
  # Update properties of this object
29299
29444
  def update!(**args)
29445
+ @expose_host_topology = args[:expose_host_topology] if args.key?(:expose_host_topology)
29300
29446
  @labels = args[:labels] if args.key?(:labels)
29301
29447
  @metadata = args[:metadata] if args.key?(:metadata)
29302
29448
  end
@@ -35134,6 +35280,14 @@ module Google
35134
35280
  attr_accessor :fail_open
35135
35281
  alias_method :fail_open?, :fail_open
35136
35282
 
35283
+ # Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the
35284
+ # format:
35285
+ # projects/`project`/locations/`region`/interconnectKeyGroups/`
35286
+ # interconnectKeyGroup`.
35287
+ # Corresponds to the JSON property `interconnectKeyGroup`
35288
+ # @return [String]
35289
+ attr_accessor :interconnect_key_group
35290
+
35137
35291
  # Required. A keychain placeholder describing a set of named key objects
35138
35292
  # along with their start times. A MACsec CKN/CAK is generated for each
35139
35293
  # key in the key chain. Google router automatically picks the key with
@@ -35150,6 +35304,7 @@ module Google
35150
35304
  # Update properties of this object
35151
35305
  def update!(**args)
35152
35306
  @fail_open = args[:fail_open] if args.key?(:fail_open)
35307
+ @interconnect_key_group = args[:interconnect_key_group] if args.key?(:interconnect_key_group)
35153
35308
  @pre_shared_keys = args[:pre_shared_keys] if args.key?(:pre_shared_keys)
35154
35309
  end
35155
35310
  end
@@ -56824,6 +56979,13 @@ module Google
56824
56979
  # @return [String]
56825
56980
  attr_accessor :host
56826
56981
 
56982
+ # Output only. [Output Only] The ID of the machine on which the running instance
56983
+ # is
56984
+ # located. It is only populated for machines which have multiple hosts.
56985
+ # Corresponds to the JSON property `machine`
56986
+ # @return [String]
56987
+ attr_accessor :machine
56988
+
56827
56989
  # [Output Only] The ID of the sub-block in which the running instance is
56828
56990
  # located. Instances in the same sub-block experience lower network latency
56829
56991
  # than instances in the same block.
@@ -56841,6 +57003,7 @@ module Google
56841
57003
  @block = args[:block] if args.key?(:block)
56842
57004
  @cluster = args[:cluster] if args.key?(:cluster)
56843
57005
  @host = args[:host] if args.key?(:host)
57006
+ @machine = args[:machine] if args.key?(:machine)
56844
57007
  @subblock = args[:subblock] if args.key?(:subblock)
56845
57008
  end
56846
57009
  end
@@ -61291,6 +61454,13 @@ module Google
61291
61454
  # @return [Fixnum]
61292
61455
  attr_accessor :availability_domain
61293
61456
 
61457
+ # This optional flag exposes the hashed physical host ID in the
61458
+ # ResourceStatus resource of the VM.
61459
+ # Corresponds to the JSON property `exposeHostTopology`
61460
+ # @return [Boolean]
61461
+ attr_accessor :expose_host_topology
61462
+ alias_method :expose_host_topology?, :expose_host_topology
61463
+
61294
61464
  # The configuration for gracefully shutting down the instance.
61295
61465
  # Corresponds to the JSON property `gracefulShutdown`
61296
61466
  # @return [Google::Apis::ComputeBeta::SchedulingGracefulShutdown]
@@ -61417,6 +61587,7 @@ module Google
61417
61587
  def update!(**args)
61418
61588
  @automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
61419
61589
  @availability_domain = args[:availability_domain] if args.key?(:availability_domain)
61590
+ @expose_host_topology = args[:expose_host_topology] if args.key?(:expose_host_topology)
61420
61591
  @graceful_shutdown = args[:graceful_shutdown] if args.key?(:graceful_shutdown)
61421
61592
  @host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
61422
61593
  @instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
@@ -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.147.0"
19
+ GEM_VERSION = "0.148.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260821"
25
+ REVISION = "20260908"
26
26
  end
27
27
  end
28
28
  end
@@ -892,6 +892,24 @@ module Google
892
892
  include Google::Apis::Core::JsonObjectSupport
893
893
  end
894
894
 
895
+ class CalendarModeExtensionAdviceRequest
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class CalendarModeExtensionAdviceResponse
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class CalendarModeExtensionAdviceResponseNotRecommendedReason
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
895
913
  class CalendarModeRecommendation
896
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
915
 
@@ -1528,6 +1546,12 @@ module Google
1528
1546
  include Google::Apis::Core::JsonObjectSupport
1529
1547
  end
1530
1548
 
1549
+ class DynamicCompressionPolicy
1550
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1551
+
1552
+ include Google::Apis::Core::JsonObjectSupport
1553
+ end
1554
+
1531
1555
  class ErrorInfo
1532
1556
  class Representation < Google::Apis::Core::JsonRepresentation; end
1533
1557
 
@@ -10165,6 +10189,8 @@ module Google
10165
10189
  class AliasIpRange
10166
10190
  # @private
10167
10191
  class Representation < Google::Apis::Core::JsonRepresentation
10192
+ collection :candidate_subnetwork_range_names, as: 'candidateSubnetworkRangeNames'
10193
+ property :effective_subnetwork_range_name, as: 'effectiveSubnetworkRangeName'
10168
10194
  property :ip_cidr_range, as: 'ipCidrRange'
10169
10195
  property :subnetwork_range_name, as: 'subnetworkRangeName'
10170
10196
  end
@@ -11517,6 +11543,32 @@ module Google
11517
11543
  end
11518
11544
  end
11519
11545
 
11546
+ class CalendarModeExtensionAdviceRequest
11547
+ # @private
11548
+ class Representation < Google::Apis::Core::JsonRepresentation
11549
+ property :end_time_not_later_than, as: 'endTimeNotLaterThan'
11550
+ property :future_reservation, as: 'futureReservation'
11551
+ end
11552
+ end
11553
+
11554
+ class CalendarModeExtensionAdviceResponse
11555
+ # @private
11556
+ class Representation < Google::Apis::Core::JsonRepresentation
11557
+ property :end_time, as: 'endTime'
11558
+ property :not_recommended_reason, as: 'notRecommendedReason', class: Google::Apis::ComputeBeta::CalendarModeExtensionAdviceResponseNotRecommendedReason, decorator: Google::Apis::ComputeBeta::CalendarModeExtensionAdviceResponseNotRecommendedReason::Representation
11559
+
11560
+ property :recommendation_id, as: 'recommendationId'
11561
+ end
11562
+ end
11563
+
11564
+ class CalendarModeExtensionAdviceResponseNotRecommendedReason
11565
+ # @private
11566
+ class Representation < Google::Apis::Core::JsonRepresentation
11567
+ property :details, as: 'details'
11568
+ property :status, as: 'status'
11569
+ end
11570
+ end
11571
+
11520
11572
  class CalendarModeRecommendation
11521
11573
  # @private
11522
11574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12655,6 +12707,13 @@ module Google
12655
12707
  end
12656
12708
  end
12657
12709
 
12710
+ class DynamicCompressionPolicy
12711
+ # @private
12712
+ class Representation < Google::Apis::Core::JsonRepresentation
12713
+ property :compression_mode, as: 'compressionMode'
12714
+ end
12715
+ end
12716
+
12658
12717
  class ErrorInfo
12659
12718
  # @private
12660
12719
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14755,6 +14814,8 @@ module Google
14755
14814
 
14756
14815
  property :cors_policy, as: 'corsPolicy', class: Google::Apis::ComputeBeta::CorsPolicy, decorator: Google::Apis::ComputeBeta::CorsPolicy::Representation
14757
14816
 
14817
+ property :dynamic_compression_policy, as: 'dynamicCompressionPolicy', class: Google::Apis::ComputeBeta::DynamicCompressionPolicy, decorator: Google::Apis::ComputeBeta::DynamicCompressionPolicy::Representation
14818
+
14758
14819
  property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::ComputeBeta::HttpFaultInjection, decorator: Google::Apis::ComputeBeta::HttpFaultInjection::Representation
14759
14820
 
14760
14821
  property :image_optimization_policy, as: 'imageOptimizationPolicy', class: Google::Apis::ComputeBeta::ImageOptimizationPolicy, decorator: Google::Apis::ComputeBeta::ImageOptimizationPolicy::Representation
@@ -16353,6 +16414,7 @@ module Google
16353
16414
  class InstancePropertiesPatch
16354
16415
  # @private
16355
16416
  class Representation < Google::Apis::Core::JsonRepresentation
16417
+ property :expose_host_topology, as: 'exposeHostTopology'
16356
16418
  hash :labels, as: 'labels'
16357
16419
  hash :metadata, as: 'metadata'
16358
16420
  end
@@ -17750,6 +17812,7 @@ module Google
17750
17812
  # @private
17751
17813
  class Representation < Google::Apis::Core::JsonRepresentation
17752
17814
  property :fail_open, as: 'failOpen'
17815
+ property :interconnect_key_group, as: 'interconnectKeyGroup'
17753
17816
  collection :pre_shared_keys, as: 'preSharedKeys', class: Google::Apis::ComputeBeta::InterconnectMacsecPreSharedKey, decorator: Google::Apis::ComputeBeta::InterconnectMacsecPreSharedKey::Representation
17754
17817
 
17755
17818
  end
@@ -22993,6 +23056,7 @@ module Google
22993
23056
  property :block, as: 'block'
22994
23057
  property :cluster, as: 'cluster'
22995
23058
  property :host, as: 'host'
23059
+ property :machine, as: 'machine'
22996
23060
  property :subblock, as: 'subblock'
22997
23061
  end
22998
23062
  end
@@ -23994,6 +24058,7 @@ module Google
23994
24058
  class Representation < Google::Apis::Core::JsonRepresentation
23995
24059
  property :automatic_restart, as: 'automaticRestart'
23996
24060
  property :availability_domain, as: 'availabilityDomain'
24061
+ property :expose_host_topology, as: 'exposeHostTopology'
23997
24062
  property :graceful_shutdown, as: 'gracefulShutdown', class: Google::Apis::ComputeBeta::SchedulingGracefulShutdown, decorator: Google::Apis::ComputeBeta::SchedulingGracefulShutdown::Representation
23998
24063
 
23999
24064
  property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
@@ -927,6 +927,48 @@ module Google
927
927
  execute_or_queue_command(command, &block)
928
928
  end
929
929
 
930
+ # Advises on whether extending an existing future reservation is possible
931
+ # based on the desired extension end time. If capacity isn't available for
932
+ # the entire requested duration, the method recommends the longest possible
933
+ # extension.
934
+ # @param [String] project
935
+ # Project ID for this request.
936
+ # @param [String] region
937
+ # Name of the region for this request.
938
+ # @param [Google::Apis::ComputeBeta::CalendarModeExtensionAdviceRequest] calendar_mode_extension_advice_request_object
939
+ # @param [String] fields
940
+ # Selector specifying which fields to include in a partial response.
941
+ # @param [String] quota_user
942
+ # Available to use for quota purposes for server-side applications. Can be any
943
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
944
+ # @param [String] user_ip
945
+ # Legacy name for parameter that has been superseded by `quotaUser`.
946
+ # @param [Google::Apis::RequestOptions] options
947
+ # Request-specific options
948
+ #
949
+ # @yield [result, err] Result & error if block supplied
950
+ # @yieldparam result [Google::Apis::ComputeBeta::CalendarModeExtensionAdviceResponse] parsed result object
951
+ # @yieldparam err [StandardError] error object if request failed
952
+ #
953
+ # @return [Google::Apis::ComputeBeta::CalendarModeExtensionAdviceResponse]
954
+ #
955
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
956
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
957
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
958
+ def calendar_mode_extension_advice(project, region, calendar_mode_extension_advice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
959
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/advice/calendarModeExtension', options)
960
+ command.request_representation = Google::Apis::ComputeBeta::CalendarModeExtensionAdviceRequest::Representation
961
+ command.request_object = calendar_mode_extension_advice_request_object
962
+ command.response_representation = Google::Apis::ComputeBeta::CalendarModeExtensionAdviceResponse::Representation
963
+ command.response_class = Google::Apis::ComputeBeta::CalendarModeExtensionAdviceResponse
964
+ command.params['project'] = project unless project.nil?
965
+ command.params['region'] = region unless region.nil?
966
+ command.query['fields'] = fields unless fields.nil?
967
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
968
+ command.query['userIp'] = user_ip unless user_ip.nil?
969
+ execute_or_queue_command(command, &block)
970
+ end
971
+
930
972
  # Advice on making real-time decisions (such as choosing zone or
931
973
  # machine types) during deployment to maximize your chances of obtaining
932
974
  # capacity.
@@ -50498,6 +50540,49 @@ module Google
50498
50540
  execute_or_queue_command(command, &block)
50499
50541
  end
50500
50542
 
50543
+ # Gets the access control policy for a resource. May be empty if no such
50544
+ # policy or resource exists.
50545
+ # @param [String] project
50546
+ # Project ID for this request.
50547
+ # @param [String] region
50548
+ # The name of the region for this request.
50549
+ # @param [String] resource
50550
+ # Name or id of the resource for this request.
50551
+ # @param [Fixnum] options_requested_policy_version
50552
+ # Requested IAM Policy version.
50553
+ # @param [String] fields
50554
+ # Selector specifying which fields to include in a partial response.
50555
+ # @param [String] quota_user
50556
+ # Available to use for quota purposes for server-side applications. Can be any
50557
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
50558
+ # @param [String] user_ip
50559
+ # Legacy name for parameter that has been superseded by `quotaUser`.
50560
+ # @param [Google::Apis::RequestOptions] options
50561
+ # Request-specific options
50562
+ #
50563
+ # @yield [result, err] Result & error if block supplied
50564
+ # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
50565
+ # @yieldparam err [StandardError] error object if request failed
50566
+ #
50567
+ # @return [Google::Apis::ComputeBeta::Policy]
50568
+ #
50569
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
50570
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
50571
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
50572
+ def get_region_ssl_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
50573
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy', options)
50574
+ command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
50575
+ command.response_class = Google::Apis::ComputeBeta::Policy
50576
+ command.params['project'] = project unless project.nil?
50577
+ command.params['region'] = region unless region.nil?
50578
+ command.params['resource'] = resource unless resource.nil?
50579
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
50580
+ command.query['fields'] = fields unless fields.nil?
50581
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
50582
+ command.query['userIp'] = user_ip unless user_ip.nil?
50583
+ execute_or_queue_command(command, &block)
50584
+ end
50585
+
50501
50586
  # Creates a new policy in the specified project and region using the data
50502
50587
  # included in the request.
50503
50588
  # @param [String] project
@@ -50843,6 +50928,49 @@ module Google
50843
50928
  execute_or_queue_command(command, &block)
50844
50929
  end
50845
50930
 
50931
+ # Sets the access control policy on the specified resource.
50932
+ # Replaces any existing policy.
50933
+ # @param [String] project
50934
+ # Project ID for this request.
50935
+ # @param [String] region
50936
+ # The name of the region for this request.
50937
+ # @param [String] resource
50938
+ # Name or id of the resource for this request.
50939
+ # @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
50940
+ # @param [String] fields
50941
+ # Selector specifying which fields to include in a partial response.
50942
+ # @param [String] quota_user
50943
+ # Available to use for quota purposes for server-side applications. Can be any
50944
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
50945
+ # @param [String] user_ip
50946
+ # Legacy name for parameter that has been superseded by `quotaUser`.
50947
+ # @param [Google::Apis::RequestOptions] options
50948
+ # Request-specific options
50949
+ #
50950
+ # @yield [result, err] Result & error if block supplied
50951
+ # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
50952
+ # @yieldparam err [StandardError] error object if request failed
50953
+ #
50954
+ # @return [Google::Apis::ComputeBeta::Policy]
50955
+ #
50956
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
50957
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
50958
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
50959
+ def set_region_ssl_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
50960
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies/{resource}/setIamPolicy', options)
50961
+ command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
50962
+ command.request_object = region_set_policy_request_object
50963
+ command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
50964
+ command.response_class = Google::Apis::ComputeBeta::Policy
50965
+ command.params['project'] = project unless project.nil?
50966
+ command.params['region'] = region unless region.nil?
50967
+ command.params['resource'] = resource unless resource.nil?
50968
+ command.query['fields'] = fields unless fields.nil?
50969
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
50970
+ command.query['userIp'] = user_ip unless user_ip.nil?
50971
+ execute_or_queue_command(command, &block)
50972
+ end
50973
+
50846
50974
  # Returns permissions that a caller has on the specified resource.
50847
50975
  # @param [String] project
50848
50976
  # Project ID for this request.
@@ -61136,6 +61264,46 @@ module Google
61136
61264
  execute_or_queue_command(command, &block)
61137
61265
  end
61138
61266
 
61267
+ # Gets the access control policy for a resource. May be empty if no such
61268
+ # policy or resource exists.
61269
+ # @param [String] project
61270
+ # Project ID for this request.
61271
+ # @param [String] resource
61272
+ # Name or id of the resource for this request.
61273
+ # @param [Fixnum] options_requested_policy_version
61274
+ # Requested IAM Policy version.
61275
+ # @param [String] fields
61276
+ # Selector specifying which fields to include in a partial response.
61277
+ # @param [String] quota_user
61278
+ # Available to use for quota purposes for server-side applications. Can be any
61279
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61280
+ # @param [String] user_ip
61281
+ # Legacy name for parameter that has been superseded by `quotaUser`.
61282
+ # @param [Google::Apis::RequestOptions] options
61283
+ # Request-specific options
61284
+ #
61285
+ # @yield [result, err] Result & error if block supplied
61286
+ # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
61287
+ # @yieldparam err [StandardError] error object if request failed
61288
+ #
61289
+ # @return [Google::Apis::ComputeBeta::Policy]
61290
+ #
61291
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
61292
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
61293
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
61294
+ def get_ssl_policy_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
61295
+ command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/{resource}/getIamPolicy', options)
61296
+ command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
61297
+ command.response_class = Google::Apis::ComputeBeta::Policy
61298
+ command.params['project'] = project unless project.nil?
61299
+ command.params['resource'] = resource unless resource.nil?
61300
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
61301
+ command.query['fields'] = fields unless fields.nil?
61302
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
61303
+ command.query['userIp'] = user_ip unless user_ip.nil?
61304
+ execute_or_queue_command(command, &block)
61305
+ end
61306
+
61139
61307
  # Returns the specified SSL policy resource.
61140
61308
  # @param [String] project
61141
61309
  # Project ID for this request.
@@ -61468,6 +61636,46 @@ module Google
61468
61636
  execute_or_queue_command(command, &block)
61469
61637
  end
61470
61638
 
61639
+ # Sets the access control policy on the specified resource.
61640
+ # Replaces any existing policy.
61641
+ # @param [String] project
61642
+ # Project ID for this request.
61643
+ # @param [String] resource
61644
+ # Name or id of the resource for this request.
61645
+ # @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
61646
+ # @param [String] fields
61647
+ # Selector specifying which fields to include in a partial response.
61648
+ # @param [String] quota_user
61649
+ # Available to use for quota purposes for server-side applications. Can be any
61650
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61651
+ # @param [String] user_ip
61652
+ # Legacy name for parameter that has been superseded by `quotaUser`.
61653
+ # @param [Google::Apis::RequestOptions] options
61654
+ # Request-specific options
61655
+ #
61656
+ # @yield [result, err] Result & error if block supplied
61657
+ # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
61658
+ # @yieldparam err [StandardError] error object if request failed
61659
+ #
61660
+ # @return [Google::Apis::ComputeBeta::Policy]
61661
+ #
61662
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
61663
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
61664
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
61665
+ def set_ssl_policy_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
61666
+ command = make_simple_command(:post, 'projects/{project}/global/sslPolicies/{resource}/setIamPolicy', options)
61667
+ command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation
61668
+ command.request_object = global_set_policy_request_object
61669
+ command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
61670
+ command.response_class = Google::Apis::ComputeBeta::Policy
61671
+ command.params['project'] = project unless project.nil?
61672
+ command.params['resource'] = resource unless resource.nil?
61673
+ command.query['fields'] = fields unless fields.nil?
61674
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
61675
+ command.query['userIp'] = user_ip unless user_ip.nil?
61676
+ execute_or_queue_command(command, &block)
61677
+ end
61678
+
61471
61679
  # Returns permissions that a caller has on the specified resource.
61472
61680
  # @param [String] project
61473
61681
  # Project ID for this request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.147.0
4
+ version: 0.148.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.147.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.148.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
62
62
  rdoc_options: []
63
63
  require_paths: