google-apis-compute_beta 0.115.0 → 0.116.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: cf6394979a8f0639006de3db96d930e9ffc073e67e8d17640cfe113eed912911
4
- data.tar.gz: a7bbef59b6d02119f1fa763d4d2d9e4ccc60614b39590507eea08b67a8baeadf
3
+ metadata.gz: 1424018918d98b989883189015ec7c470067b75a8b59f0bdfb485d900a91b6cd
4
+ data.tar.gz: 0cf1b17060b1700014fdae9666818cf11caf6c75647dbb8642ee399978b17f1d
5
5
  SHA512:
6
- metadata.gz: 61867c4c2e13d476714c19c5a8167a1e49291f13ad899400d1d52dfa6c71a236d98e0384af32c118701f65f38cf4df9115812febf4831a34dad2c47496f14703
7
- data.tar.gz: 91e31e3f30708196b310a6e1e8c7ef623d295639297f0154364a2812ee6aa9c23585b6d3f2a53077b5a576c96896d4aad67d6428bb9d02ce737406a1ae06eb9c
6
+ metadata.gz: 4c61783d9bb7385b9b7c9511ae9f4ef415dd44ec7989dbfe66296374b61f1e220fc6212b167d6134bf72778a9c6e784a8ba5aca3e8f99285e5ad6a521460deda
7
+ data.tar.gz: e95e2dce62d5e558b35c594e28e540949a42c2ced36628e5ca489fe2911ecfcd9e85eb227c7af2b6e733c373b314b6db1724820c9113b6c448e1cf6dd2dd3877
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.116.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250601
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.115.0 (2025-05-21)
4
9
 
5
10
  * Regenerated from discovery document revision 20250511
@@ -4749,7 +4749,7 @@ module Google
4749
4749
  # backend service must set the network field, and all NEGs must belong to that
4750
4750
  # network. However, individual NEGs can belong to different subnetworks of that
4751
4751
  # network. - The maximum number of network endpoints across all backends of a
4752
- # backend service with fastIPMove is 64. - The maximum number of backend
4752
+ # backend service with fastIPMove is 32. - The maximum number of backend
4753
4753
  # services with fastIPMove that can have the same network endpoint attached to
4754
4754
  # one of its backends is 64. - The maximum number of backend services with
4755
4755
  # fastIPMove in a VPC in a region is 64. - The network endpoints that are
@@ -10652,6 +10652,12 @@ module Google
10652
10652
  # @return [String]
10653
10653
  attr_accessor :parent
10654
10654
 
10655
+ # The type of the firewall policy. This field can be either VPC_POLICY or
10656
+ # RDMA_ROCE_POLICY. Note: if not specified then VPC_POLICY will be used.
10657
+ # Corresponds to the JSON property `policyType`
10658
+ # @return [String]
10659
+ attr_accessor :policy_type
10660
+
10655
10661
  # [Output Only] URL of the region where the regional firewall policy resides.
10656
10662
  # This field is not applicable to global firewall policies. You must specify
10657
10663
  # this field as part of the HTTP request URL. It is not settable as a field in
@@ -10713,6 +10719,7 @@ module Google
10713
10719
  @name = args[:name] if args.key?(:name)
10714
10720
  @packet_mirroring_rules = args[:packet_mirroring_rules] if args.key?(:packet_mirroring_rules)
10715
10721
  @parent = args[:parent] if args.key?(:parent)
10722
+ @policy_type = args[:policy_type] if args.key?(:policy_type)
10716
10723
  @region = args[:region] if args.key?(:region)
10717
10724
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
10718
10725
  @rules = args[:rules] if args.key?(:rules)
@@ -11643,6 +11650,11 @@ module Google
11643
11650
  # @return [String]
11644
11651
  attr_accessor :self_link
11645
11652
 
11653
+ # [Output Only] Server-defined URL for this resource with the resource id.
11654
+ # Corresponds to the JSON property `selfLinkWithId`
11655
+ # @return [String]
11656
+ attr_accessor :self_link_with_id
11657
+
11646
11658
  # Service Directory resources to register this forwarding rule with. Currently,
11647
11659
  # only supports a single Service Directory resource.
11648
11660
  # Corresponds to the JSON property `serviceDirectoryRegistrations`
@@ -11741,6 +11753,7 @@ module Google
11741
11753
  @psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
11742
11754
  @region = args[:region] if args.key?(:region)
11743
11755
  @self_link = args[:self_link] if args.key?(:self_link)
11756
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
11744
11757
  @service_directory_registrations = args[:service_directory_registrations] if args.key?(:service_directory_registrations)
11745
11758
  @service_label = args[:service_label] if args.key?(:service_label)
11746
11759
  @service_name = args[:service_name] if args.key?(:service_name)
@@ -15351,7 +15364,8 @@ module Google
15351
15364
 
15352
15365
  # If false, headerValue is appended to any values that already exist for the
15353
15366
  # header. If true, headerValue is set for the header, discarding any values that
15354
- # were set for that header. The default value is false.
15367
+ # were set for that header. The default value is true, unless a variable is
15368
+ # present in headerValue, in which case the default value is false. .
15355
15369
  # Corresponds to the JSON property `replace`
15356
15370
  # @return [Boolean]
15357
15371
  attr_accessor :replace
@@ -18464,6 +18478,11 @@ module Google
18464
18478
  # @return [String]
18465
18479
  attr_accessor :on_failed_health_check
18466
18480
 
18481
+ # Configuration for VM repairs in the MIG.
18482
+ # Corresponds to the JSON property `onRepair`
18483
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicyOnRepair]
18484
+ attr_accessor :on_repair
18485
+
18467
18486
  def initialize(**args)
18468
18487
  update!(**args)
18469
18488
  end
@@ -18473,6 +18492,26 @@ module Google
18473
18492
  @default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
18474
18493
  @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
18475
18494
  @on_failed_health_check = args[:on_failed_health_check] if args.key?(:on_failed_health_check)
18495
+ @on_repair = args[:on_repair] if args.key?(:on_repair)
18496
+ end
18497
+ end
18498
+
18499
+ # Configuration for VM repairs in the MIG.
18500
+ class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
18501
+ include Google::Apis::Core::Hashable
18502
+
18503
+ # Specifies whether the MIG can change a VM's zone during a repair.
18504
+ # Corresponds to the JSON property `allowChangingZone`
18505
+ # @return [String]
18506
+ attr_accessor :allow_changing_zone
18507
+
18508
+ def initialize(**args)
18509
+ update!(**args)
18510
+ end
18511
+
18512
+ # Update properties of this object
18513
+ def update!(**args)
18514
+ @allow_changing_zone = args[:allow_changing_zone] if args.key?(:allow_changing_zone)
18476
18515
  end
18477
18516
  end
18478
18517
 
@@ -40145,7 +40184,8 @@ module Google
40145
40184
  # @return [String]
40146
40185
  attr_accessor :description
40147
40186
 
40148
- # Indicates if this group of VMs have emergent maintenance enabled.
40187
+ # Indicates whether Compute Engine allows unplanned maintenance for your VMs;
40188
+ # for example, to fix hardware errors.
40149
40189
  # Corresponds to the JSON property `enableEmergentMaintenance`
40150
40190
  # @return [Boolean]
40151
40191
  attr_accessor :enable_emergent_maintenance
@@ -40489,6 +40529,19 @@ module Google
40489
40529
  # @return [Google::Apis::ComputeBeta::GroupMaintenanceInfo]
40490
40530
  attr_accessor :reservation_maintenance
40491
40531
 
40532
+ # [Output Only] The number of reservation subBlocks associated with this
40533
+ # reservation block.
40534
+ # Corresponds to the JSON property `reservationSubBlockCount`
40535
+ # @return [Fixnum]
40536
+ attr_accessor :reservation_sub_block_count
40537
+
40538
+ # [Output Only] The number of in-use reservation subBlocks associated with this
40539
+ # reservation block. If at least one VM is running on a subBlock, it is
40540
+ # considered in-use.
40541
+ # Corresponds to the JSON property `reservationSubBlockInUseCount`
40542
+ # @return [Fixnum]
40543
+ attr_accessor :reservation_sub_block_in_use_count
40544
+
40492
40545
  # [Output Only] Server-defined fully-qualified URL for this resource.
40493
40546
  # Corresponds to the JSON property `selfLink`
40494
40547
  # @return [String]
@@ -40523,6 +40576,8 @@ module Google
40523
40576
  @name = args[:name] if args.key?(:name)
40524
40577
  @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
40525
40578
  @reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
40579
+ @reservation_sub_block_count = args[:reservation_sub_block_count] if args.key?(:reservation_sub_block_count)
40580
+ @reservation_sub_block_in_use_count = args[:reservation_sub_block_in_use_count] if args.key?(:reservation_sub_block_in_use_count)
40526
40581
  @self_link = args[:self_link] if args.key?(:self_link)
40527
40582
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
40528
40583
  @status = args[:status] if args.key?(:status)
@@ -40811,6 +40866,259 @@ module Google
40811
40866
  end
40812
40867
  end
40813
40868
 
40869
+ # Represents a reservation subBlock resource.
40870
+ class ReservationSubBlock
40871
+ include Google::Apis::Core::Hashable
40872
+
40873
+ # [Output Only] The number of hosts that are allocated in this reservation
40874
+ # subBlock.
40875
+ # Corresponds to the JSON property `count`
40876
+ # @return [Fixnum]
40877
+ attr_accessor :count
40878
+
40879
+ # [Output Only] Creation timestamp in RFC3339 text format.
40880
+ # Corresponds to the JSON property `creationTimestamp`
40881
+ # @return [String]
40882
+ attr_accessor :creation_timestamp
40883
+
40884
+ # [Output Only] The unique identifier for the resource. This identifier is
40885
+ # defined by the server.
40886
+ # Corresponds to the JSON property `id`
40887
+ # @return [Fixnum]
40888
+ attr_accessor :id
40889
+
40890
+ # [Output Only] The number of instances that are currently in use on this
40891
+ # reservation subBlock.
40892
+ # Corresponds to the JSON property `inUseCount`
40893
+ # @return [Fixnum]
40894
+ attr_accessor :in_use_count
40895
+
40896
+ # [Output Only] Type of the resource. Always compute#reservationSubBlock for
40897
+ # reservation subBlocks.
40898
+ # Corresponds to the JSON property `kind`
40899
+ # @return [String]
40900
+ attr_accessor :kind
40901
+
40902
+ # [Output Only] The name of this reservation subBlock generated by Google
40903
+ # Compute Engine. The name must be 1-63 characters long, and comply with RFC1035
40904
+ # @pattern [a-z](?:[-a-z0-9]`0,61`[a-z0-9])?
40905
+ # Corresponds to the JSON property `name`
40906
+ # @return [String]
40907
+ attr_accessor :name
40908
+
40909
+ # [Output Only] The physical topology of the reservation subBlock.
40910
+ # Corresponds to the JSON property `physicalTopology`
40911
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology]
40912
+ attr_accessor :physical_topology
40913
+
40914
+ # [Output Only] Server-defined fully-qualified URL for this resource.
40915
+ # Corresponds to the JSON property `selfLink`
40916
+ # @return [String]
40917
+ attr_accessor :self_link
40918
+
40919
+ # [Output Only] Server-defined URL for this resource with the resource id.
40920
+ # Corresponds to the JSON property `selfLinkWithId`
40921
+ # @return [String]
40922
+ attr_accessor :self_link_with_id
40923
+
40924
+ # [Output Only] Status of the reservation subBlock.
40925
+ # Corresponds to the JSON property `status`
40926
+ # @return [String]
40927
+ attr_accessor :status
40928
+
40929
+ # [Output Only] Zone in which the reservation subBlock resides.
40930
+ # Corresponds to the JSON property `zone`
40931
+ # @return [String]
40932
+ attr_accessor :zone
40933
+
40934
+ def initialize(**args)
40935
+ update!(**args)
40936
+ end
40937
+
40938
+ # Update properties of this object
40939
+ def update!(**args)
40940
+ @count = args[:count] if args.key?(:count)
40941
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
40942
+ @id = args[:id] if args.key?(:id)
40943
+ @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
40944
+ @kind = args[:kind] if args.key?(:kind)
40945
+ @name = args[:name] if args.key?(:name)
40946
+ @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
40947
+ @self_link = args[:self_link] if args.key?(:self_link)
40948
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
40949
+ @status = args[:status] if args.key?(:status)
40950
+ @zone = args[:zone] if args.key?(:zone)
40951
+ end
40952
+ end
40953
+
40954
+ #
40955
+ class ReservationSubBlockPhysicalTopology
40956
+ include Google::Apis::Core::Hashable
40957
+
40958
+ # The hash of the capacity block within the cluster.
40959
+ # Corresponds to the JSON property `block`
40960
+ # @return [String]
40961
+ attr_accessor :block
40962
+
40963
+ # The cluster name of the reservation subBlock.
40964
+ # Corresponds to the JSON property `cluster`
40965
+ # @return [String]
40966
+ attr_accessor :cluster
40967
+
40968
+ # The hash of the capacity sub-block within the capacity block.
40969
+ # Corresponds to the JSON property `subBlock`
40970
+ # @return [String]
40971
+ attr_accessor :sub_block
40972
+
40973
+ def initialize(**args)
40974
+ update!(**args)
40975
+ end
40976
+
40977
+ # Update properties of this object
40978
+ def update!(**args)
40979
+ @block = args[:block] if args.key?(:block)
40980
+ @cluster = args[:cluster] if args.key?(:cluster)
40981
+ @sub_block = args[:sub_block] if args.key?(:sub_block)
40982
+ end
40983
+ end
40984
+
40985
+ #
40986
+ class ReservationSubBlocksGetResponse
40987
+ include Google::Apis::Core::Hashable
40988
+
40989
+ # Represents a reservation subBlock resource.
40990
+ # Corresponds to the JSON property `resource`
40991
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlock]
40992
+ attr_accessor :resource
40993
+
40994
+ def initialize(**args)
40995
+ update!(**args)
40996
+ end
40997
+
40998
+ # Update properties of this object
40999
+ def update!(**args)
41000
+ @resource = args[:resource] if args.key?(:resource)
41001
+ end
41002
+ end
41003
+
41004
+ # A list of reservation subBlocks under a single reservation.
41005
+ class ReservationSubBlocksListResponse
41006
+ include Google::Apis::Core::Hashable
41007
+
41008
+ # Unique identifier for the resource; defined by the server.
41009
+ # Corresponds to the JSON property `id`
41010
+ # @return [String]
41011
+ attr_accessor :id
41012
+
41013
+ # A list of reservation subBlock resources.
41014
+ # Corresponds to the JSON property `items`
41015
+ # @return [Array<Google::Apis::ComputeBeta::ReservationSubBlock>]
41016
+ attr_accessor :items
41017
+
41018
+ # Type of the resource. Always compute#reservationSubBlock for a list of
41019
+ # reservation subBlocks.
41020
+ # Corresponds to the JSON property `kind`
41021
+ # @return [String]
41022
+ attr_accessor :kind
41023
+
41024
+ # This token allows you to get the next page of results for list requests. If
41025
+ # the number of results is larger than maxResults, use the nextPageToken as a
41026
+ # value for the query parameter pageToken in the next list request. Subsequent
41027
+ # list requests will have their own nextPageToken to continue paging through the
41028
+ # results.
41029
+ # Corresponds to the JSON property `nextPageToken`
41030
+ # @return [String]
41031
+ attr_accessor :next_page_token
41032
+
41033
+ # Server-defined URL for this resource.
41034
+ # Corresponds to the JSON property `selfLink`
41035
+ # @return [String]
41036
+ attr_accessor :self_link
41037
+
41038
+ # Informational warning message.
41039
+ # Corresponds to the JSON property `warning`
41040
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Warning]
41041
+ attr_accessor :warning
41042
+
41043
+ def initialize(**args)
41044
+ update!(**args)
41045
+ end
41046
+
41047
+ # Update properties of this object
41048
+ def update!(**args)
41049
+ @id = args[:id] if args.key?(:id)
41050
+ @items = args[:items] if args.key?(:items)
41051
+ @kind = args[:kind] if args.key?(:kind)
41052
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
41053
+ @self_link = args[:self_link] if args.key?(:self_link)
41054
+ @warning = args[:warning] if args.key?(:warning)
41055
+ end
41056
+
41057
+ # Informational warning message.
41058
+ class Warning
41059
+ include Google::Apis::Core::Hashable
41060
+
41061
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
41062
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
41063
+ # Corresponds to the JSON property `code`
41064
+ # @return [String]
41065
+ attr_accessor :code
41066
+
41067
+ # [Output Only] Metadata about this warning in key: value format. For example: "
41068
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
41069
+ # Corresponds to the JSON property `data`
41070
+ # @return [Array<Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Warning::Datum>]
41071
+ attr_accessor :data
41072
+
41073
+ # [Output Only] A human-readable description of the warning code.
41074
+ # Corresponds to the JSON property `message`
41075
+ # @return [String]
41076
+ attr_accessor :message
41077
+
41078
+ def initialize(**args)
41079
+ update!(**args)
41080
+ end
41081
+
41082
+ # Update properties of this object
41083
+ def update!(**args)
41084
+ @code = args[:code] if args.key?(:code)
41085
+ @data = args[:data] if args.key?(:data)
41086
+ @message = args[:message] if args.key?(:message)
41087
+ end
41088
+
41089
+ #
41090
+ class Datum
41091
+ include Google::Apis::Core::Hashable
41092
+
41093
+ # [Output Only] A key that provides more detail on the warning being returned.
41094
+ # For example, for warnings where there are no results in a list request for a
41095
+ # particular zone, this key might be scope and the key value might be the zone
41096
+ # name. Other examples might be a key indicating a deprecated resource and a
41097
+ # suggested replacement, or a warning about invalid network settings (for
41098
+ # example, if an instance attempts to perform IP forwarding but is not enabled
41099
+ # for IP forwarding).
41100
+ # Corresponds to the JSON property `key`
41101
+ # @return [String]
41102
+ attr_accessor :key
41103
+
41104
+ # [Output Only] A warning data value corresponding to the key.
41105
+ # Corresponds to the JSON property `value`
41106
+ # @return [String]
41107
+ attr_accessor :value
41108
+
41109
+ def initialize(**args)
41110
+ update!(**args)
41111
+ end
41112
+
41113
+ # Update properties of this object
41114
+ def update!(**args)
41115
+ @key = args[:key] if args.key?(:key)
41116
+ @value = args[:value] if args.key?(:value)
41117
+ end
41118
+ end
41119
+ end
41120
+ end
41121
+
40814
41122
  #
40815
41123
  class ReservationsBlocksPerformMaintenanceRequest
40816
41124
  include Google::Apis::Core::Hashable
@@ -42785,6 +43093,11 @@ module Google
42785
43093
  # @return [String]
42786
43094
  attr_accessor :network
42787
43095
 
43096
+ # Additional router parameters.
43097
+ # Corresponds to the JSON property `params`
43098
+ # @return [Google::Apis::ComputeBeta::RouterParams]
43099
+ attr_accessor :params
43100
+
42788
43101
  # [Output Only] URI of the region where the router resides. You must specify
42789
43102
  # this field as part of the HTTP request URL. It is not settable as a field in
42790
43103
  # the request body.
@@ -42816,6 +43129,7 @@ module Google
42816
43129
  @nats = args[:nats] if args.key?(:nats)
42817
43130
  @ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
42818
43131
  @network = args[:network] if args.key?(:network)
43132
+ @params = args[:params] if args.key?(:params)
42819
43133
  @region = args[:region] if args.key?(:region)
42820
43134
  @self_link = args[:self_link] if args.key?(:self_link)
42821
43135
  end
@@ -43932,6 +44246,33 @@ module Google
43932
44246
  end
43933
44247
  end
43934
44248
 
44249
+ # Additional router parameters.
44250
+ class RouterParams
44251
+ include Google::Apis::Core::Hashable
44252
+
44253
+ # Tag keys/values directly bound to this resource. Tag keys and values have the
44254
+ # same definition as resource manager tags. The field is allowed for INSERT only.
44255
+ # The keys/values to set on the resource should be specified in either ID ` : `
44256
+ # or Namespaced format ` : `. For example the following are valid inputs: * `"
44257
+ # tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
44258
+ # environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
44259
+ # of ID & namespaced format is not supported. For instance: `"123/environment" :
44260
+ # "tagValues/444"` is invalid. * Inconsistent format is not supported. For
44261
+ # instance: `"tagKeys/333" : "tagValues/444", "123/env" : "prod"` is invalid.
44262
+ # Corresponds to the JSON property `resourceManagerTags`
44263
+ # @return [Hash<String,String>]
44264
+ attr_accessor :resource_manager_tags
44265
+
44266
+ def initialize(**args)
44267
+ update!(**args)
44268
+ end
44269
+
44270
+ # Update properties of this object
44271
+ def update!(**args)
44272
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
44273
+ end
44274
+ end
44275
+
43935
44276
  #
43936
44277
  class RouterStatus
43937
44278
  include Google::Apis::Core::Hashable
@@ -45055,6 +45396,13 @@ module Google
45055
45396
  # @return [String]
45056
45397
  attr_accessor :provisioning_model
45057
45398
 
45399
+ # Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off
45400
+ # and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs.
45401
+ # Corresponds to the JSON property `skipGuestOsShutdown`
45402
+ # @return [Boolean]
45403
+ attr_accessor :skip_guest_os_shutdown
45404
+ alias_method :skip_guest_os_shutdown?, :skip_guest_os_shutdown
45405
+
45058
45406
  # Specifies the timestamp, when the instance will be terminated, in RFC3339 text
45059
45407
  # format. If specified, the instance termination action will be performed at the
45060
45408
  # termination time.
@@ -45084,6 +45432,7 @@ module Google
45084
45432
  @on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
45085
45433
  @preemptible = args[:preemptible] if args.key?(:preemptible)
45086
45434
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
45435
+ @skip_guest_os_shutdown = args[:skip_guest_os_shutdown] if args.key?(:skip_guest_os_shutdown)
45087
45436
  @termination_time = args[:termination_time] if args.key?(:termination_time)
45088
45437
  end
45089
45438
  end
@@ -58304,6 +58653,12 @@ module Google
58304
58653
  class VpnTunnel
58305
58654
  include Google::Apis::Core::Hashable
58306
58655
 
58656
+ # User specified list of ciphers to use for the phase 1 and phase 2 of the IKE
58657
+ # protocol.
58658
+ # Corresponds to the JSON property `cipherSuite`
58659
+ # @return [Google::Apis::ComputeBeta::VpnTunnelCipherSuite]
58660
+ attr_accessor :cipher_suite
58661
+
58307
58662
  # [Output Only] Creation timestamp in RFC3339 text format.
58308
58663
  # Corresponds to the JSON property `creationTimestamp`
58309
58664
  # @return [String]
@@ -58489,6 +58844,7 @@ module Google
58489
58844
 
58490
58845
  # Update properties of this object
58491
58846
  def update!(**args)
58847
+ @cipher_suite = args[:cipher_suite] if args.key?(:cipher_suite)
58492
58848
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
58493
58849
  @description = args[:description] if args.key?(:description)
58494
58850
  @detailed_status = args[:detailed_status] if args.key?(:detailed_status)
@@ -58639,6 +58995,31 @@ module Google
58639
58995
  end
58640
58996
  end
58641
58997
 
58998
+ #
58999
+ class VpnTunnelCipherSuite
59000
+ include Google::Apis::Core::Hashable
59001
+
59002
+ #
59003
+ # Corresponds to the JSON property `phase1`
59004
+ # @return [Google::Apis::ComputeBeta::VpnTunnelPhase1Algorithms]
59005
+ attr_accessor :phase1
59006
+
59007
+ #
59008
+ # Corresponds to the JSON property `phase2`
59009
+ # @return [Google::Apis::ComputeBeta::VpnTunnelPhase2Algorithms]
59010
+ attr_accessor :phase2
59011
+
59012
+ def initialize(**args)
59013
+ update!(**args)
59014
+ end
59015
+
59016
+ # Update properties of this object
59017
+ def update!(**args)
59018
+ @phase1 = args[:phase1] if args.key?(:phase1)
59019
+ @phase2 = args[:phase2] if args.key?(:phase2)
59020
+ end
59021
+ end
59022
+
58642
59023
  # Contains a list of VpnTunnel resources.
58643
59024
  class VpnTunnelList
58644
59025
  include Google::Apis::Core::Hashable
@@ -58756,6 +59137,74 @@ module Google
58756
59137
  end
58757
59138
  end
58758
59139
 
59140
+ #
59141
+ class VpnTunnelPhase1Algorithms
59142
+ include Google::Apis::Core::Hashable
59143
+
59144
+ #
59145
+ # Corresponds to the JSON property `dh`
59146
+ # @return [Array<String>]
59147
+ attr_accessor :dh
59148
+
59149
+ #
59150
+ # Corresponds to the JSON property `encryption`
59151
+ # @return [Array<String>]
59152
+ attr_accessor :encryption
59153
+
59154
+ #
59155
+ # Corresponds to the JSON property `integrity`
59156
+ # @return [Array<String>]
59157
+ attr_accessor :integrity
59158
+
59159
+ #
59160
+ # Corresponds to the JSON property `prf`
59161
+ # @return [Array<String>]
59162
+ attr_accessor :prf
59163
+
59164
+ def initialize(**args)
59165
+ update!(**args)
59166
+ end
59167
+
59168
+ # Update properties of this object
59169
+ def update!(**args)
59170
+ @dh = args[:dh] if args.key?(:dh)
59171
+ @encryption = args[:encryption] if args.key?(:encryption)
59172
+ @integrity = args[:integrity] if args.key?(:integrity)
59173
+ @prf = args[:prf] if args.key?(:prf)
59174
+ end
59175
+ end
59176
+
59177
+ #
59178
+ class VpnTunnelPhase2Algorithms
59179
+ include Google::Apis::Core::Hashable
59180
+
59181
+ #
59182
+ # Corresponds to the JSON property `encryption`
59183
+ # @return [Array<String>]
59184
+ attr_accessor :encryption
59185
+
59186
+ #
59187
+ # Corresponds to the JSON property `integrity`
59188
+ # @return [Array<String>]
59189
+ attr_accessor :integrity
59190
+
59191
+ #
59192
+ # Corresponds to the JSON property `pfs`
59193
+ # @return [Array<String>]
59194
+ attr_accessor :pfs
59195
+
59196
+ def initialize(**args)
59197
+ update!(**args)
59198
+ end
59199
+
59200
+ # Update properties of this object
59201
+ def update!(**args)
59202
+ @encryption = args[:encryption] if args.key?(:encryption)
59203
+ @integrity = args[:integrity] if args.key?(:integrity)
59204
+ @pfs = args[:pfs] if args.key?(:pfs)
59205
+ end
59206
+ end
59207
+
58759
59208
  #
58760
59209
  class VpnTunnelsScopedList
58761
59210
  include Google::Apis::Core::Hashable
@@ -59079,6 +59528,12 @@ module Google
59079
59528
  # @return [String]
59080
59529
  attr_accessor :name
59081
59530
 
59531
+ # [Output Only] Indicates whether there are wire changes yet to be processed.
59532
+ # Corresponds to the JSON property `reconciling`
59533
+ # @return [Boolean]
59534
+ attr_accessor :reconciling
59535
+ alias_method :reconciling?, :reconciling
59536
+
59082
59537
  # [Output Only] Server-defined URL for the resource.
59083
59538
  # Corresponds to the JSON property `selfLink`
59084
59539
  # @return [String]
@@ -59118,6 +59573,7 @@ module Google
59118
59573
  @id = args[:id] if args.key?(:id)
59119
59574
  @kind = args[:kind] if args.key?(:kind)
59120
59575
  @name = args[:name] if args.key?(:name)
59576
+ @reconciling = args[:reconciling] if args.key?(:reconciling)
59121
59577
  @self_link = args[:self_link] if args.key?(:self_link)
59122
59578
  @topology = args[:topology] if args.key?(:topology)
59123
59579
  @wire_group_properties = args[:wire_group_properties] if args.key?(:wire_group_properties)
@@ -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.115.0"
19
+ GEM_VERSION = "0.116.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250511"
25
+ REVISION = "20250601"
26
26
  end
27
27
  end
28
28
  end
@@ -2164,6 +2164,12 @@ module Google
2164
2164
  include Google::Apis::Core::JsonObjectSupport
2165
2165
  end
2166
2166
 
2167
+ class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
2168
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2169
+
2170
+ include Google::Apis::Core::JsonObjectSupport
2171
+ end
2172
+
2167
2173
  class InstanceGroupManagerList
2168
2174
  class Representation < Google::Apis::Core::JsonRepresentation; end
2169
2175
 
@@ -5368,6 +5374,42 @@ module Google
5368
5374
  include Google::Apis::Core::JsonObjectSupport
5369
5375
  end
5370
5376
 
5377
+ class ReservationSubBlock
5378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5379
+
5380
+ include Google::Apis::Core::JsonObjectSupport
5381
+ end
5382
+
5383
+ class ReservationSubBlockPhysicalTopology
5384
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5385
+
5386
+ include Google::Apis::Core::JsonObjectSupport
5387
+ end
5388
+
5389
+ class ReservationSubBlocksGetResponse
5390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5391
+
5392
+ include Google::Apis::Core::JsonObjectSupport
5393
+ end
5394
+
5395
+ class ReservationSubBlocksListResponse
5396
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5397
+
5398
+ class Warning
5399
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5400
+
5401
+ class Datum
5402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5403
+
5404
+ include Google::Apis::Core::JsonObjectSupport
5405
+ end
5406
+
5407
+ include Google::Apis::Core::JsonObjectSupport
5408
+ end
5409
+
5410
+ include Google::Apis::Core::JsonObjectSupport
5411
+ end
5412
+
5371
5413
  class ReservationsBlocksPerformMaintenanceRequest
5372
5414
  class Representation < Google::Apis::Core::JsonRepresentation; end
5373
5415
 
@@ -5776,6 +5818,12 @@ module Google
5776
5818
  include Google::Apis::Core::JsonObjectSupport
5777
5819
  end
5778
5820
 
5821
+ class RouterParams
5822
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5823
+
5824
+ include Google::Apis::Core::JsonObjectSupport
5825
+ end
5826
+
5779
5827
  class RouterStatus
5780
5828
  class Representation < Google::Apis::Core::JsonRepresentation; end
5781
5829
 
@@ -7750,6 +7798,12 @@ module Google
7750
7798
  include Google::Apis::Core::JsonObjectSupport
7751
7799
  end
7752
7800
 
7801
+ class VpnTunnelCipherSuite
7802
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7803
+
7804
+ include Google::Apis::Core::JsonObjectSupport
7805
+ end
7806
+
7753
7807
  class VpnTunnelList
7754
7808
  class Representation < Google::Apis::Core::JsonRepresentation; end
7755
7809
 
@@ -7768,6 +7822,18 @@ module Google
7768
7822
  include Google::Apis::Core::JsonObjectSupport
7769
7823
  end
7770
7824
 
7825
+ class VpnTunnelPhase1Algorithms
7826
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7827
+
7828
+ include Google::Apis::Core::JsonObjectSupport
7829
+ end
7830
+
7831
+ class VpnTunnelPhase2Algorithms
7832
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7833
+
7834
+ include Google::Apis::Core::JsonObjectSupport
7835
+ end
7836
+
7771
7837
  class VpnTunnelsScopedList
7772
7838
  class Representation < Google::Apis::Core::JsonRepresentation; end
7773
7839
 
@@ -10384,6 +10450,7 @@ module Google
10384
10450
  collection :packet_mirroring_rules, as: 'packetMirroringRules', class: Google::Apis::ComputeBeta::FirewallPolicyRule, decorator: Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
10385
10451
 
10386
10452
  property :parent, as: 'parent'
10453
+ property :policy_type, as: 'policyType'
10387
10454
  property :region, as: 'region'
10388
10455
  property :rule_tuple_count, as: 'ruleTupleCount'
10389
10456
  collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::FirewallPolicyRule, decorator: Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
@@ -10558,6 +10625,7 @@ module Google
10558
10625
  property :psc_connection_status, as: 'pscConnectionStatus'
10559
10626
  property :region, as: 'region'
10560
10627
  property :self_link, as: 'selfLink'
10628
+ property :self_link_with_id, as: 'selfLinkWithId'
10561
10629
  collection :service_directory_registrations, as: 'serviceDirectoryRegistrations', class: Google::Apis::ComputeBeta::ForwardingRuleServiceDirectoryRegistration, decorator: Google::Apis::ComputeBeta::ForwardingRuleServiceDirectoryRegistration::Representation
10562
10630
 
10563
10631
  property :service_label, as: 'serviceLabel'
@@ -12158,6 +12226,15 @@ module Google
12158
12226
  property :default_action_on_failure, as: 'defaultActionOnFailure'
12159
12227
  property :force_update_on_repair, as: 'forceUpdateOnRepair'
12160
12228
  property :on_failed_health_check, as: 'onFailedHealthCheck'
12229
+ property :on_repair, as: 'onRepair', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicyOnRepair, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicyOnRepair::Representation
12230
+
12231
+ end
12232
+ end
12233
+
12234
+ class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
12235
+ # @private
12236
+ class Representation < Google::Apis::Core::JsonRepresentation
12237
+ property :allow_changing_zone, as: 'allowChangingZone'
12161
12238
  end
12162
12239
  end
12163
12240
 
@@ -17874,6 +17951,8 @@ module Google
17874
17951
 
17875
17952
  property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeBeta::GroupMaintenanceInfo, decorator: Google::Apis::ComputeBeta::GroupMaintenanceInfo::Representation
17876
17953
 
17954
+ property :reservation_sub_block_count, as: 'reservationSubBlockCount'
17955
+ property :reservation_sub_block_in_use_count, as: 'reservationSubBlockInUseCount'
17877
17956
  property :self_link, as: 'selfLink'
17878
17957
  property :self_link_with_id, as: 'selfLinkWithId'
17879
17958
  property :status, as: 'status'
@@ -17961,6 +18040,73 @@ module Google
17961
18040
  end
17962
18041
  end
17963
18042
 
18043
+ class ReservationSubBlock
18044
+ # @private
18045
+ class Representation < Google::Apis::Core::JsonRepresentation
18046
+ property :count, as: 'count'
18047
+ property :creation_timestamp, as: 'creationTimestamp'
18048
+ property :id, :numeric_string => true, as: 'id'
18049
+ property :in_use_count, as: 'inUseCount'
18050
+ property :kind, as: 'kind'
18051
+ property :name, as: 'name'
18052
+ property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology::Representation
18053
+
18054
+ property :self_link, as: 'selfLink'
18055
+ property :self_link_with_id, as: 'selfLinkWithId'
18056
+ property :status, as: 'status'
18057
+ property :zone, as: 'zone'
18058
+ end
18059
+ end
18060
+
18061
+ class ReservationSubBlockPhysicalTopology
18062
+ # @private
18063
+ class Representation < Google::Apis::Core::JsonRepresentation
18064
+ property :block, as: 'block'
18065
+ property :cluster, as: 'cluster'
18066
+ property :sub_block, as: 'subBlock'
18067
+ end
18068
+ end
18069
+
18070
+ class ReservationSubBlocksGetResponse
18071
+ # @private
18072
+ class Representation < Google::Apis::Core::JsonRepresentation
18073
+ property :resource, as: 'resource', class: Google::Apis::ComputeBeta::ReservationSubBlock, decorator: Google::Apis::ComputeBeta::ReservationSubBlock::Representation
18074
+
18075
+ end
18076
+ end
18077
+
18078
+ class ReservationSubBlocksListResponse
18079
+ # @private
18080
+ class Representation < Google::Apis::Core::JsonRepresentation
18081
+ property :id, as: 'id'
18082
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::ReservationSubBlock, decorator: Google::Apis::ComputeBeta::ReservationSubBlock::Representation
18083
+
18084
+ property :kind, as: 'kind'
18085
+ property :next_page_token, as: 'nextPageToken'
18086
+ property :self_link, as: 'selfLink'
18087
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Warning, decorator: Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Warning::Representation
18088
+
18089
+ end
18090
+
18091
+ class Warning
18092
+ # @private
18093
+ class Representation < Google::Apis::Core::JsonRepresentation
18094
+ property :code, as: 'code'
18095
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Warning::Datum, decorator: Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Warning::Datum::Representation
18096
+
18097
+ property :message, as: 'message'
18098
+ end
18099
+
18100
+ class Datum
18101
+ # @private
18102
+ class Representation < Google::Apis::Core::JsonRepresentation
18103
+ property :key, as: 'key'
18104
+ property :value, as: 'value'
18105
+ end
18106
+ end
18107
+ end
18108
+ end
18109
+
17964
18110
  class ReservationsBlocksPerformMaintenanceRequest
17965
18111
  # @private
17966
18112
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18486,6 +18632,8 @@ module Google
18486
18632
 
18487
18633
  property :ncc_gateway, as: 'nccGateway'
18488
18634
  property :network, as: 'network'
18635
+ property :params, as: 'params', class: Google::Apis::ComputeBeta::RouterParams, decorator: Google::Apis::ComputeBeta::RouterParams::Representation
18636
+
18489
18637
  property :region, as: 'region'
18490
18638
  property :self_link, as: 'selfLink'
18491
18639
  end
@@ -18727,6 +18875,13 @@ module Google
18727
18875
  end
18728
18876
  end
18729
18877
 
18878
+ class RouterParams
18879
+ # @private
18880
+ class Representation < Google::Apis::Core::JsonRepresentation
18881
+ hash :resource_manager_tags, as: 'resourceManagerTags'
18882
+ end
18883
+ end
18884
+
18730
18885
  class RouterStatus
18731
18886
  # @private
18732
18887
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18999,6 +19154,7 @@ module Google
18999
19154
 
19000
19155
  property :preemptible, as: 'preemptible'
19001
19156
  property :provisioning_model, as: 'provisioningModel'
19157
+ property :skip_guest_os_shutdown, as: 'skipGuestOsShutdown'
19002
19158
  property :termination_time, as: 'terminationTime'
19003
19159
  end
19004
19160
  end
@@ -22312,6 +22468,8 @@ module Google
22312
22468
  class VpnTunnel
22313
22469
  # @private
22314
22470
  class Representation < Google::Apis::Core::JsonRepresentation
22471
+ property :cipher_suite, as: 'cipherSuite', class: Google::Apis::ComputeBeta::VpnTunnelCipherSuite, decorator: Google::Apis::ComputeBeta::VpnTunnelCipherSuite::Representation
22472
+
22315
22473
  property :creation_timestamp, as: 'creationTimestamp'
22316
22474
  property :description, as: 'description'
22317
22475
  property :detailed_status, as: 'detailedStatus'
@@ -22372,6 +22530,16 @@ module Google
22372
22530
  end
22373
22531
  end
22374
22532
 
22533
+ class VpnTunnelCipherSuite
22534
+ # @private
22535
+ class Representation < Google::Apis::Core::JsonRepresentation
22536
+ property :phase1, as: 'phase1', class: Google::Apis::ComputeBeta::VpnTunnelPhase1Algorithms, decorator: Google::Apis::ComputeBeta::VpnTunnelPhase1Algorithms::Representation
22537
+
22538
+ property :phase2, as: 'phase2', class: Google::Apis::ComputeBeta::VpnTunnelPhase2Algorithms, decorator: Google::Apis::ComputeBeta::VpnTunnelPhase2Algorithms::Representation
22539
+
22540
+ end
22541
+ end
22542
+
22375
22543
  class VpnTunnelList
22376
22544
  # @private
22377
22545
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22404,6 +22572,25 @@ module Google
22404
22572
  end
22405
22573
  end
22406
22574
 
22575
+ class VpnTunnelPhase1Algorithms
22576
+ # @private
22577
+ class Representation < Google::Apis::Core::JsonRepresentation
22578
+ collection :dh, as: 'dh'
22579
+ collection :encryption, as: 'encryption'
22580
+ collection :integrity, as: 'integrity'
22581
+ collection :prf, as: 'prf'
22582
+ end
22583
+ end
22584
+
22585
+ class VpnTunnelPhase2Algorithms
22586
+ # @private
22587
+ class Representation < Google::Apis::Core::JsonRepresentation
22588
+ collection :encryption, as: 'encryption'
22589
+ collection :integrity, as: 'integrity'
22590
+ collection :pfs, as: 'pfs'
22591
+ end
22592
+ end
22593
+
22407
22594
  class VpnTunnelsScopedList
22408
22595
  # @private
22409
22596
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22491,6 +22678,7 @@ module Google
22491
22678
  property :id, :numeric_string => true, as: 'id'
22492
22679
  property :kind, as: 'kind'
22493
22680
  property :name, as: 'name'
22681
+ property :reconciling, as: 'reconciling'
22494
22682
  property :self_link, as: 'selfLink'
22495
22683
  property :topology, as: 'topology', class: Google::Apis::ComputeBeta::WireGroupTopology, decorator: Google::Apis::ComputeBeta::WireGroupTopology::Representation
22496
22684
 
@@ -26069,9 +26069,11 @@ module Google
26069
26069
  execute_or_queue_command(command, &block)
26070
26070
  end
26071
26071
 
26072
- # Inserts an association for the specified security policy. Use of this API to
26073
- # modify firewall policies is deprecated. Use firewallPolicies.addAssociation
26074
- # instead if possible.
26072
+ # Inserts an association for the specified security policy. This has billing
26073
+ # implications. Projects in the hierarchy with effective hierarchical security
26074
+ # policies will be automatically enrolled into Cloud Armor Enterprise if not
26075
+ # already enrolled. Use of this API to modify firewall policies is deprecated.
26076
+ # Use firewallPolicies.addAssociation instead if possible.
26075
26077
  # @param [String] security_policy
26076
26078
  # Name of the security policy to update.
26077
26079
  # @param [Google::Apis::ComputeBeta::SecurityPolicyAssociation] security_policy_association_object
@@ -41345,6 +41347,148 @@ module Google
41345
41347
  execute_or_queue_command(command, &block)
41346
41348
  end
41347
41349
 
41350
+ # Retrieves information about the specified reservation subBlock.
41351
+ # @param [String] project
41352
+ # Project ID for this request.
41353
+ # @param [String] zone
41354
+ # Name of the zone for this request. Zone name should conform to RFC1035.
41355
+ # @param [String] parent_name
41356
+ # The name of the parent reservation and parent block. In the format of
41357
+ # reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
41358
+ # @param [String] reservation_sub_block
41359
+ # The name of the reservation subBlock. Name should conform to RFC1035 or be a
41360
+ # resource ID.
41361
+ # @param [String] fields
41362
+ # Selector specifying which fields to include in a partial response.
41363
+ # @param [String] quota_user
41364
+ # Available to use for quota purposes for server-side applications. Can be any
41365
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41366
+ # @param [String] user_ip
41367
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41368
+ # @param [Google::Apis::RequestOptions] options
41369
+ # Request-specific options
41370
+ #
41371
+ # @yield [result, err] Result & error if block supplied
41372
+ # @yieldparam result [Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse] parsed result object
41373
+ # @yieldparam err [StandardError] error object if request failed
41374
+ #
41375
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse]
41376
+ #
41377
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41378
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41379
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41380
+ def get_reservation_sub_block(project, zone, parent_name, reservation_sub_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41381
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}', options)
41382
+ command.response_representation = Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse::Representation
41383
+ command.response_class = Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse
41384
+ command.params['project'] = project unless project.nil?
41385
+ command.params['zone'] = zone unless zone.nil?
41386
+ command.params['parentName'] = parent_name unless parent_name.nil?
41387
+ command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
41388
+ command.query['fields'] = fields unless fields.nil?
41389
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41390
+ command.query['userIp'] = user_ip unless user_ip.nil?
41391
+ execute_or_queue_command(command, &block)
41392
+ end
41393
+
41394
+ # Retrieves a list of reservation subBlocks under a single reservation.
41395
+ # @param [String] project
41396
+ # Project ID for this request.
41397
+ # @param [String] zone
41398
+ # Name of the zone for this request. Zone name should conform to RFC1035.
41399
+ # @param [String] parent_name
41400
+ # The name of the parent reservation and parent block. In the format of
41401
+ # reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
41402
+ # @param [String] filter
41403
+ # A filter expression that filters resources listed in the response. Most
41404
+ # Compute resources support two types of filter expressions: expressions that
41405
+ # support regular expressions and expressions that follow API improvement
41406
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
41407
+ # request. If you want to use AIP-160, your expression must specify the field
41408
+ # name, an operator, and the value that you want to use for filtering. The value
41409
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
41410
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
41411
+ # Engine instances, you can exclude instances named `example-instance` by
41412
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
41413
+ # whether a key has been defined. For example, to find all objects with `owner`
41414
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
41415
+ # example, you could specify `scheduling.automaticRestart = false` to include
41416
+ # instances only if they are not scheduled for automatic restarts. You can use
41417
+ # filtering on nested fields to filter based on resource labels. To filter on
41418
+ # multiple expressions, provide each separate expression within parentheses. For
41419
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
41420
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
41421
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
41422
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
41423
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
41424
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
41425
+ # un-parenthesized expression with or without quotes or against multiple
41426
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
41427
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
41428
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
41429
+ # interpreted as a regular expression using Google RE2 library syntax. The
41430
+ # literal value must match the entire field. For example, to filter for
41431
+ # instances that do not end with name "instance", you would use `name ne .*
41432
+ # instance`. You cannot combine constraints on multiple fields using regular
41433
+ # expressions.
41434
+ # @param [Fixnum] max_results
41435
+ # The maximum number of results per page that should be returned. If the number
41436
+ # of available results is larger than `maxResults`, Compute Engine returns a `
41437
+ # nextPageToken` that can be used to get the next page of results in subsequent
41438
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
41439
+ # @param [String] order_by
41440
+ # Sorts list results by a certain order. By default, results are returned in
41441
+ # alphanumerical order based on the resource name. You can also sort results in
41442
+ # descending order based on the creation timestamp using `orderBy="
41443
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
41444
+ # field in reverse chronological order (newest result first). Use this to sort
41445
+ # resources like operations so that the newest operation is returned first.
41446
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
41447
+ # @param [String] page_token
41448
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
41449
+ # by a previous list request to get the next page of results.
41450
+ # @param [Boolean] return_partial_success
41451
+ # Opt-in for partial success behavior which provides partial results in case of
41452
+ # failure. The default value is false. For example, when partial success
41453
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
41454
+ # resources in the zone or no resources, with an error code.
41455
+ # @param [String] fields
41456
+ # Selector specifying which fields to include in a partial response.
41457
+ # @param [String] quota_user
41458
+ # Available to use for quota purposes for server-side applications. Can be any
41459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41460
+ # @param [String] user_ip
41461
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41462
+ # @param [Google::Apis::RequestOptions] options
41463
+ # Request-specific options
41464
+ #
41465
+ # @yield [result, err] Result & error if block supplied
41466
+ # @yieldparam result [Google::Apis::ComputeBeta::ReservationSubBlocksListResponse] parsed result object
41467
+ # @yieldparam err [StandardError] error object if request failed
41468
+ #
41469
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlocksListResponse]
41470
+ #
41471
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41472
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41473
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41474
+ def list_reservation_sub_blocks(project, zone, parent_name, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41475
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks', options)
41476
+ command.response_representation = Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Representation
41477
+ command.response_class = Google::Apis::ComputeBeta::ReservationSubBlocksListResponse
41478
+ command.params['project'] = project unless project.nil?
41479
+ command.params['zone'] = zone unless zone.nil?
41480
+ command.params['parentName'] = parent_name unless parent_name.nil?
41481
+ command.query['filter'] = filter unless filter.nil?
41482
+ command.query['maxResults'] = max_results unless max_results.nil?
41483
+ command.query['orderBy'] = order_by unless order_by.nil?
41484
+ command.query['pageToken'] = page_token unless page_token.nil?
41485
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
41486
+ command.query['fields'] = fields unless fields.nil?
41487
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41488
+ command.query['userIp'] = user_ip unless user_ip.nil?
41489
+ execute_or_queue_command(command, &block)
41490
+ end
41491
+
41348
41492
  # Retrieves an aggregated list of reservations. To prevent failure, Google
41349
41493
  # recommends that you set the `returnPartialSuccess` parameter to `true`.
41350
41494
  # @param [String] project
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.115.0
4
+ version: 0.116.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.115.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.116.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: