google-apis-compute_alpha 0.65.0 → 0.67.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf79ce000f74ef1405dbca01e1b3c81b7a4ef400d62ae549a194361ead1c1af8
4
- data.tar.gz: 1b039779d64aaa0426098eb3a33b4f339ef517cf3dcf7f8523056588575b47f9
3
+ metadata.gz: 9b691b9da534a6b8bb4164b4a956981ae337464babd3b598cd019c94bcb7b472
4
+ data.tar.gz: cca42acfdd19f0b2f92fbfb2be4d7afd3800e65ceacf199c5977262bb64daacc
5
5
  SHA512:
6
- metadata.gz: cc2a494ac735a2cadc4e559bd5829c9ab9459a8fe208be002b6a7ce55be7cffeb9ffe18c1db5aa3d57711ba941a20a2fa3ad35896ad50c3b7d3fa4fd22fcbe71
7
- data.tar.gz: a7126d7d9351c781954094c10be8885c8b0a0a865a325d1f6ac39f0122d1b81e795f8592a81abbae97cff2ca310a8b8386d245d87ba0c4c3d55f961dec5dd901
6
+ metadata.gz: 9b673f167dfd8e4614b13d701cd3a2427b032bb7df3d5a35a1a32aa01d2d9c5591c32b529214b3499061860c3a907ed30a220f8ef867e2201ca09b8121ad8d54
7
+ data.tar.gz: ee1106a5e07d32a7135236e34a3b8dfa1af5ed861dcb3b0c383c1b93ba51d75ad86e8eaa1a1d325e74e293fe214b9eab2f171e65013e867f6195a3dee69472fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.67.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230502
6
+
7
+ ### v0.66.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230418
10
+
3
11
  ### v0.65.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230403
@@ -1736,6 +1736,13 @@ module Google
1736
1736
  # @return [String]
1737
1737
  attr_accessor :disk_type
1738
1738
 
1739
+ # Whether this disk is using confidential compute mode. see go/confidential-mode-
1740
+ # in-arcus for details.
1741
+ # Corresponds to the JSON property `enableConfidentialCompute`
1742
+ # @return [Boolean]
1743
+ attr_accessor :enable_confidential_compute
1744
+ alias_method :enable_confidential_compute?, :enable_confidential_compute
1745
+
1739
1746
  # A list of features to enable on the guest operating system. Applicable only
1740
1747
  # for bootable images. Read Enabling guest operating system features to see a
1741
1748
  # list of available options. Guest OS features are applied by merging
@@ -1868,6 +1875,15 @@ module Google
1868
1875
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
1869
1876
  attr_accessor :source_snapshot_encryption_key
1870
1877
 
1878
+ # The storage pool in which the new disk is created. You can provide this as a
1879
+ # partial or full URL to the resource. For example, the following are valid
1880
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
1881
+ # storagePools/storagePool - projects/project/zones/zone/storagePools/
1882
+ # storagePool - zones/zone/storagePools/storagePool
1883
+ # Corresponds to the JSON property `storagePool`
1884
+ # @return [String]
1885
+ attr_accessor :storage_pool
1886
+
1871
1887
  def initialize(**args)
1872
1888
  update!(**args)
1873
1889
  end
@@ -1879,6 +1895,7 @@ module Google
1879
1895
  @disk_name = args[:disk_name] if args.key?(:disk_name)
1880
1896
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1881
1897
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1898
+ @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
1882
1899
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
1883
1900
  @interface = args[:interface] if args.key?(:interface)
1884
1901
  @labels = args[:labels] if args.key?(:labels)
@@ -1896,6 +1913,7 @@ module Google
1896
1913
  @source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
1897
1914
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
1898
1915
  @source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
1916
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
1899
1917
  end
1900
1918
  end
1901
1919
 
@@ -5347,8 +5365,7 @@ module Google
5347
5365
  include Google::Apis::Core::Hashable
5348
5366
 
5349
5367
  # Specifies the hostname of the instance. More details in: https://cloud.google.
5350
- # com/compute/docs/instances/custom-hostname-vm#naming_convention hostname must
5351
- # be uniqe in per_instance_properties map.
5368
+ # com/compute/docs/instances/custom-hostname-vm#naming_convention
5352
5369
  # Corresponds to the JSON property `hostname`
5353
5370
  # @return [String]
5354
5371
  attr_accessor :hostname
@@ -5815,7 +5832,7 @@ module Google
5815
5832
  # @return [String]
5816
5833
  attr_accessor :self_link_with_id
5817
5834
 
5818
- # Source commitment to be splitted into a new commitment.
5835
+ # Source commitment to be split into a new commitment.
5819
5836
  # Corresponds to the JSON property `splitSourceCommitment`
5820
5837
  # @return [String]
5821
5838
  attr_accessor :split_source_commitment
@@ -7055,6 +7072,15 @@ module Google
7055
7072
  # @return [String]
7056
7073
  attr_accessor :status
7057
7074
 
7075
+ # The storage pool in which the new disk is created. You can provide this as a
7076
+ # partial or full URL to the resource. For example, the following are valid
7077
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
7078
+ # storagePools/storagePool - projects/project/zones/zone/storagePools/
7079
+ # storagePool - zones/zone/storagePools/storagePool
7080
+ # Corresponds to the JSON property `storagePool`
7081
+ # @return [String]
7082
+ attr_accessor :storage_pool
7083
+
7058
7084
  # [Deprecated] Storage type of the persistent disk.
7059
7085
  # Corresponds to the JSON property `storageType`
7060
7086
  # @return [String]
@@ -7144,6 +7170,7 @@ module Google
7144
7170
  @source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
7145
7171
  @source_storage_object = args[:source_storage_object] if args.key?(:source_storage_object)
7146
7172
  @status = args[:status] if args.key?(:status)
7173
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
7147
7174
  @storage_type = args[:storage_type] if args.key?(:storage_type)
7148
7175
  @type = args[:type] if args.key?(:type)
7149
7176
  @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
@@ -10924,6 +10951,11 @@ module Google
10924
10951
  class FutureReservationStatus
10925
10952
  include Google::Apis::Core::Hashable
10926
10953
 
10954
+ # The current status of the requested amendment.
10955
+ # Corresponds to the JSON property `amendmentStatus`
10956
+ # @return [String]
10957
+ attr_accessor :amendment_status
10958
+
10927
10959
  # Fully qualified urls of the automatically created reservations at start_time.
10928
10960
  # Corresponds to the JSON property `autoCreatedReservations`
10929
10961
  # @return [Array<String>]
@@ -10936,6 +10968,12 @@ module Google
10936
10968
  # @return [Fixnum]
10937
10969
  attr_accessor :fulfilled_count
10938
10970
 
10971
+ # The state that the future reservation will be reverted to should the amendment
10972
+ # be declined.
10973
+ # Corresponds to the JSON property `lastKnownGoodState`
10974
+ # @return [Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodState]
10975
+ attr_accessor :last_known_good_state
10976
+
10939
10977
  # Time when Future Reservation would become LOCKED, after which no modifications
10940
10978
  # to Future Reservation will be allowed. Applicable only after the Future
10941
10979
  # Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The
@@ -10960,14 +10998,85 @@ module Google
10960
10998
 
10961
10999
  # Update properties of this object
10962
11000
  def update!(**args)
11001
+ @amendment_status = args[:amendment_status] if args.key?(:amendment_status)
10963
11002
  @auto_created_reservations = args[:auto_created_reservations] if args.key?(:auto_created_reservations)
10964
11003
  @fulfilled_count = args[:fulfilled_count] if args.key?(:fulfilled_count)
11004
+ @last_known_good_state = args[:last_known_good_state] if args.key?(:last_known_good_state)
10965
11005
  @lock_time = args[:lock_time] if args.key?(:lock_time)
10966
11006
  @procurement_status = args[:procurement_status] if args.key?(:procurement_status)
10967
11007
  @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
10968
11008
  end
10969
11009
  end
10970
11010
 
11011
+ # The state that the future reservation will be reverted to should the amendment
11012
+ # be declined.
11013
+ class FutureReservationStatusLastKnownGoodState
11014
+ include Google::Apis::Core::Hashable
11015
+
11016
+ # The description of the FutureReservation before an amendment was requested.
11017
+ # Corresponds to the JSON property `description`
11018
+ # @return [String]
11019
+ attr_accessor :description
11020
+
11021
+ # The properties of the last known good state for the Future Reservation.
11022
+ # Corresponds to the JSON property `futureReservationSpecs`
11023
+ # @return [Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs]
11024
+ attr_accessor :future_reservation_specs
11025
+
11026
+ # The name prefix of the Future Reservation before an amendment was requested.
11027
+ # Corresponds to the JSON property `namePrefix`
11028
+ # @return [String]
11029
+ attr_accessor :name_prefix
11030
+
11031
+ # The status of the last known good state for the Future Reservation.
11032
+ # Corresponds to the JSON property `procurementStatus`
11033
+ # @return [String]
11034
+ attr_accessor :procurement_status
11035
+
11036
+ def initialize(**args)
11037
+ update!(**args)
11038
+ end
11039
+
11040
+ # Update properties of this object
11041
+ def update!(**args)
11042
+ @description = args[:description] if args.key?(:description)
11043
+ @future_reservation_specs = args[:future_reservation_specs] if args.key?(:future_reservation_specs)
11044
+ @name_prefix = args[:name_prefix] if args.key?(:name_prefix)
11045
+ @procurement_status = args[:procurement_status] if args.key?(:procurement_status)
11046
+ end
11047
+ end
11048
+
11049
+ # The properties of the last known good state for the Future Reservation.
11050
+ class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
11051
+ include Google::Apis::Core::Hashable
11052
+
11053
+ # The share setting for reservations and sole tenancy node groups.
11054
+ # Corresponds to the JSON property `shareSettings`
11055
+ # @return [Google::Apis::ComputeAlpha::ShareSettings]
11056
+ attr_accessor :share_settings
11057
+
11058
+ # The previous instance related properties of the Future Reservation.
11059
+ # Corresponds to the JSON property `specificSkuProperties`
11060
+ # @return [Google::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties]
11061
+ attr_accessor :specific_sku_properties
11062
+
11063
+ # The previous time window of the Future Reservation.
11064
+ # Corresponds to the JSON property `timeWindow`
11065
+ # @return [Google::Apis::ComputeAlpha::FutureReservationTimeWindow]
11066
+ attr_accessor :time_window
11067
+
11068
+ def initialize(**args)
11069
+ update!(**args)
11070
+ end
11071
+
11072
+ # Update properties of this object
11073
+ def update!(**args)
11074
+ @share_settings = args[:share_settings] if args.key?(:share_settings)
11075
+ @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
11076
+ @time_window = args[:time_window] if args.key?(:time_window)
11077
+ end
11078
+ end
11079
+
10971
11080
  # Properties to be set for the Future Reservation.
10972
11081
  class FutureReservationStatusSpecificSkuProperties
10973
11082
  include Google::Apis::Core::Hashable
@@ -12101,11 +12210,11 @@ module Google
12101
12210
  # Regional](/compute/docs/reference/rest/alpha/regionHealthChecks) Internal HTTP(
12102
12211
  # S) load balancers must use regional health checks (`compute.v1.
12103
12212
  # regionHealthChecks`). Traffic Director must use global health checks (`compute.
12104
- # v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or
12213
+ # v1.healthChecks`). Internal TCP/UDP load balancers can use either regional or
12105
12214
  # global health checks (`compute.v1.regionHealthChecks` or `compute.v1.
12106
- # HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as
12215
+ # healthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as
12107
12216
  # well as managed instance group auto-healing must use global health checks (`
12108
- # compute.v1.HealthChecks`). Backend service-based network load balancers must
12217
+ # compute.v1.healthChecks`). Backend service-based network load balancers must
12109
12218
  # use regional health checks (`compute.v1.regionHealthChecks`). Target pool-
12110
12219
  # based network load balancers must use legacy HTTP health checks (`compute.v1.
12111
12220
  # httpHealthChecks`). For more information, see Health checks overview.
@@ -16160,6 +16269,13 @@ module Google
16160
16269
  # @return [Fixnum]
16161
16270
  attr_accessor :id
16162
16271
 
16272
+ # Instance flexibility allowing MIG to create VMs from multiple types of
16273
+ # machines. Instance flexibility configuration on MIG overrides instance
16274
+ # template configuration.
16275
+ # Corresponds to the JSON property `instanceFlexibilityPolicy`
16276
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicy]
16277
+ attr_accessor :instance_flexibility_policy
16278
+
16163
16279
  # [Output Only] The URL of the Instance Group resource.
16164
16280
  # Corresponds to the JSON property `instanceGroup`
16165
16281
  # @return [String]
@@ -16257,6 +16373,11 @@ module Google
16257
16373
  # @return [Fixnum]
16258
16374
  attr_accessor :target_size
16259
16375
 
16376
+ # The unit of measure for the target size.
16377
+ # Corresponds to the JSON property `targetSizeUnit`
16378
+ # @return [String]
16379
+ attr_accessor :target_size_unit
16380
+
16260
16381
  # The target number of stopped instances for this managed instance group. This
16261
16382
  # number changes when you: - Stop instance using the stopInstances method or
16262
16383
  # start instances using the startInstances method. - Manually change the
@@ -16311,6 +16432,7 @@ module Google
16311
16432
  @failover_action = args[:failover_action] if args.key?(:failover_action)
16312
16433
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
16313
16434
  @id = args[:id] if args.key?(:id)
16435
+ @instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
16314
16436
  @instance_group = args[:instance_group] if args.key?(:instance_group)
16315
16437
  @instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
16316
16438
  @instance_template = args[:instance_template] if args.key?(:instance_template)
@@ -16327,6 +16449,7 @@ module Google
16327
16449
  @status = args[:status] if args.key?(:status)
16328
16450
  @target_pools = args[:target_pools] if args.key?(:target_pools)
16329
16451
  @target_size = args[:target_size] if args.key?(:target_size)
16452
+ @target_size_unit = args[:target_size_unit] if args.key?(:target_size_unit)
16330
16453
  @target_stopped_size = args[:target_stopped_size] if args.key?(:target_stopped_size)
16331
16454
  @target_suspended_size = args[:target_suspended_size] if args.key?(:target_suspended_size)
16332
16455
  @update_policy = args[:update_policy] if args.key?(:update_policy)
@@ -16676,6 +16799,54 @@ module Google
16676
16799
  end
16677
16800
  end
16678
16801
 
16802
+ #
16803
+ class InstanceGroupManagerInstanceFlexibilityPolicy
16804
+ include Google::Apis::Core::Hashable
16805
+
16806
+ # List of instance selection options that the group will use when creating new
16807
+ # VMs.
16808
+ # Corresponds to the JSON property `instanceSelectionLists`
16809
+ # @return [Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
16810
+ attr_accessor :instance_selection_lists
16811
+
16812
+ def initialize(**args)
16813
+ update!(**args)
16814
+ end
16815
+
16816
+ # Update properties of this object
16817
+ def update!(**args)
16818
+ @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
16819
+ end
16820
+ end
16821
+
16822
+ #
16823
+ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
16824
+ include Google::Apis::Core::Hashable
16825
+
16826
+ # Full machine-type names, e.g. "n1-standard-16".
16827
+ # Corresponds to the JSON property `machineTypes`
16828
+ # @return [Array<String>]
16829
+ attr_accessor :machine_types
16830
+
16831
+ # Preference of this instance selection. Lower number means higher preference.
16832
+ # MIG will first try to create a VM based on the machine-type with lowest rank
16833
+ # and fallback to next rank based on availability. Machine types and instance
16834
+ # selections with the same rank have the same preference.
16835
+ # Corresponds to the JSON property `rank`
16836
+ # @return [Fixnum]
16837
+ attr_accessor :rank
16838
+
16839
+ def initialize(**args)
16840
+ update!(**args)
16841
+ end
16842
+
16843
+ # Update properties of this object
16844
+ def update!(**args)
16845
+ @machine_types = args[:machine_types] if args.key?(:machine_types)
16846
+ @rank = args[:rank] if args.key?(:rank)
16847
+ end
16848
+ end
16849
+
16679
16850
  #
16680
16851
  class InstanceGroupManagerInstanceLifecyclePolicy
16681
16852
  include Google::Apis::Core::Hashable
@@ -22701,7 +22872,7 @@ module Google
22701
22872
  end
22702
22873
  end
22703
22874
 
22704
- # Represents an Cross-Cloud Interconnect Remote Location resource. You can use
22875
+ # Represents a Cross-Cloud Interconnect Remote Location resource. You can use
22705
22876
  # this resource to find remote location details about an Interconnect attachment
22706
22877
  # (VLAN).
22707
22878
  class InterconnectRemoteLocation
@@ -22873,7 +23044,7 @@ module Google
22873
23044
  # from accidentally ordering something that is incompatible with their cloud
22874
23045
  # provider. Specifically, when ordering a redundant pair of Cross-Cloud
22875
23046
  # Interconnect ports, and one of them uses a remote location with
22876
- # portPairMatchingRemoteLocation set to matching, the UI will require that both
23047
+ # portPairMatchingRemoteLocation set to matching, the UI requires that both
22877
23048
  # ports use the same remote location.
22878
23049
  # Corresponds to the JSON property `portPairRemoteLocation`
22879
23050
  # @return [String]
@@ -22954,7 +23125,7 @@ module Google
22954
23125
  # @return [String]
22955
23126
  attr_accessor :kind
22956
23127
 
22957
- # [Output Only] This token allows you to get the next page of results for list
23128
+ # [Output Only] This token lets you get the next page of results for list
22958
23129
  # requests. If the number of results is larger than maxResults, use the
22959
23130
  # nextPageToken as a value for the query parameter pageToken in the next list
22960
23131
  # request. Subsequent list requests will have their own nextPageToken to
@@ -24547,7 +24718,7 @@ module Google
24547
24718
  # @return [Fixnum]
24548
24719
  attr_accessor :guest_accelerator_count
24549
24720
 
24550
- # The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.
24721
+ # The accelerator type resource name, not a full URL, e.g. nvidia-tesla-t4.
24551
24722
  # Corresponds to the JSON property `guestAcceleratorType`
24552
24723
  # @return [String]
24553
24724
  attr_accessor :guest_accelerator_type
@@ -25445,6 +25616,81 @@ module Google
25445
25616
  end
25446
25617
  end
25447
25618
 
25619
+ # Contains NAT IP information of a NAT config (i.e. usage status, mode).
25620
+ class NatIpInfo
25621
+ include Google::Apis::Core::Hashable
25622
+
25623
+ # A list of all NAT IPs assigned to this NAT config.
25624
+ # Corresponds to the JSON property `natIpInfoMappings`
25625
+ # @return [Array<Google::Apis::ComputeAlpha::NatIpInfoNatIpInfoMapping>]
25626
+ attr_accessor :nat_ip_info_mappings
25627
+
25628
+ # Name of the NAT config which the NAT IP belongs to.
25629
+ # Corresponds to the JSON property `natName`
25630
+ # @return [String]
25631
+ attr_accessor :nat_name
25632
+
25633
+ def initialize(**args)
25634
+ update!(**args)
25635
+ end
25636
+
25637
+ # Update properties of this object
25638
+ def update!(**args)
25639
+ @nat_ip_info_mappings = args[:nat_ip_info_mappings] if args.key?(:nat_ip_info_mappings)
25640
+ @nat_name = args[:nat_name] if args.key?(:nat_name)
25641
+ end
25642
+ end
25643
+
25644
+ # Contains information of a NAT IP.
25645
+ class NatIpInfoNatIpInfoMapping
25646
+ include Google::Apis::Core::Hashable
25647
+
25648
+ # Specifies whether NAT IP is auto or manual.
25649
+ # Corresponds to the JSON property `mode`
25650
+ # @return [String]
25651
+ attr_accessor :mode
25652
+
25653
+ # NAT IP address. For example: 203.0.113.11.
25654
+ # Corresponds to the JSON property `natIp`
25655
+ # @return [String]
25656
+ attr_accessor :nat_ip
25657
+
25658
+ # Specifies whether NAT IP is currently serving at least one endpoint or not.
25659
+ # Corresponds to the JSON property `usage`
25660
+ # @return [String]
25661
+ attr_accessor :usage
25662
+
25663
+ def initialize(**args)
25664
+ update!(**args)
25665
+ end
25666
+
25667
+ # Update properties of this object
25668
+ def update!(**args)
25669
+ @mode = args[:mode] if args.key?(:mode)
25670
+ @nat_ip = args[:nat_ip] if args.key?(:nat_ip)
25671
+ @usage = args[:usage] if args.key?(:usage)
25672
+ end
25673
+ end
25674
+
25675
+ #
25676
+ class NatIpInfoResponse
25677
+ include Google::Apis::Core::Hashable
25678
+
25679
+ # [Output Only] A list of NAT IP information.
25680
+ # Corresponds to the JSON property `result`
25681
+ # @return [Array<Google::Apis::ComputeAlpha::NatIpInfo>]
25682
+ attr_accessor :result
25683
+
25684
+ def initialize(**args)
25685
+ update!(**args)
25686
+ end
25687
+
25688
+ # Update properties of this object
25689
+ def update!(**args)
25690
+ @result = args[:result] if args.key?(:result)
25691
+ end
25692
+ end
25693
+
25448
25694
  # Represents a VPC Network resource. Networks connect resources to each other
25449
25695
  # and to the internet. For more information, read Virtual Private Cloud (VPC)
25450
25696
  # Network.
@@ -25633,9 +25879,9 @@ module Google
25633
25879
  # @return [String]
25634
25880
  attr_accessor :description
25635
25881
 
25636
- # [Output Only] Fingerprint of this resource. A hash of the contents stored in
25637
- # this object. This field is used in optimistic locking. An up-to-date
25638
- # fingerprint must be provided in order to patch.
25882
+ # Fingerprint of this resource. A hash of the contents stored in this object.
25883
+ # This field is used in optimistic locking. An up-to-date fingerprint must be
25884
+ # provided in order to patch.
25639
25885
  # Corresponds to the JSON property `fingerprint`
25640
25886
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
25641
25887
  # @return [String]
@@ -25663,6 +25909,10 @@ module Google
25663
25909
  attr_accessor :name
25664
25910
 
25665
25911
  # [Output Only] The URL of the network which the Network Attachment belongs to.
25912
+ # Practically it is inferred by fetching the network of the first subnetwork
25913
+ # associated. Because it is required that all the subnetworks must be from the
25914
+ # same network, it is assured that the Network Attachment belongs to the same
25915
+ # network as all the subnetworks.
25666
25916
  # Corresponds to the JSON property `network`
25667
25917
  # @return [String]
25668
25918
  attr_accessor :network
@@ -39418,9 +39668,8 @@ module Google
39418
39668
  # ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list
39419
39669
  # of Subnetworks are allowed to Nat (specified in the field subnetwork below)
39420
39670
  # The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if
39421
- # this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or
39422
- # ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other
39423
- # Router.Nat section in any Router for this network in this region.
39671
+ # this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any
39672
+ # other Router.Nat section in any Router for this network in this region.
39424
39673
  # Corresponds to the JSON property `sourceSubnetworkIpRangesToNat`
39425
39674
  # @return [String]
39426
39675
  attr_accessor :source_subnetwork_ip_ranges_to_nat
@@ -43626,6 +43875,14 @@ module Google
43626
43875
  # @return [Fixnum]
43627
43876
  attr_accessor :download_bytes
43628
43877
 
43878
+ # Whether this snapshot is created from a confidential compute mode disk. see go/
43879
+ # confidential-mode-in-arcus for details. [Output Only]: This field is not set
43880
+ # by user, but from source disk.
43881
+ # Corresponds to the JSON property `enableConfidentialCompute`
43882
+ # @return [Boolean]
43883
+ attr_accessor :enable_confidential_compute
43884
+ alias_method :enable_confidential_compute?, :enable_confidential_compute
43885
+
43629
43886
  # [Input Only] Whether to attempt an application consistent snapshot by
43630
43887
  # informing the OS to prepare for the snapshot process.
43631
43888
  # Corresponds to the JSON property `guestFlush`
@@ -43749,6 +44006,11 @@ module Google
43749
44006
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
43750
44007
  attr_accessor :source_disk_encryption_key
43751
44008
 
44009
+ # The source disk whose recovery checkpoint will be used to create this snapshot.
44010
+ # Corresponds to the JSON property `sourceDiskForRecoveryCheckpoint`
44011
+ # @return [String]
44012
+ attr_accessor :source_disk_for_recovery_checkpoint
44013
+
43752
44014
  # [Output Only] The ID value of the disk used to create this snapshot. This
43753
44015
  # value may be used to determine whether the snapshot was taken from the current
43754
44016
  # or a previous instance of a given disk name.
@@ -43831,6 +44093,7 @@ module Google
43831
44093
  @description = args[:description] if args.key?(:description)
43832
44094
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
43833
44095
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
44096
+ @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
43834
44097
  @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
43835
44098
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
43836
44099
  @id = args[:id] if args.key?(:id)
@@ -43849,6 +44112,7 @@ module Google
43849
44112
  @snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
43850
44113
  @source_disk = args[:source_disk] if args.key?(:source_disk)
43851
44114
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
44115
+ @source_disk_for_recovery_checkpoint = args[:source_disk_for_recovery_checkpoint] if args.key?(:source_disk_for_recovery_checkpoint)
43852
44116
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
43853
44117
  @source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
43854
44118
  @source_instant_snapshot_id = args[:source_instant_snapshot_id] if args.key?(:source_instant_snapshot_id)
@@ -45799,14 +46063,14 @@ module Google
45799
46063
  # @return [Fixnum]
45800
46064
  attr_accessor :number_of_disks
45801
46065
 
45802
- # [Output Only] Sum of all the disks' local used bytes. This specifically refers
45803
- # to the amount of bytes used on the disk without any encryption or compression.
46066
+ # [Output Only] Space used by data stored in disks within the storage pool (in
46067
+ # bytes).
45804
46068
  # Corresponds to the JSON property `usedBytes`
45805
46069
  # @return [Fixnum]
45806
46070
  attr_accessor :used_bytes
45807
46071
 
45808
- # [Output Only] Sum of all the disks' used reduced bytes. This is the actual
45809
- # storage capacity consumed by all of the disks.
46072
+ # [Output Only] Space used by compressed and deduped data stored in disks within
46073
+ # the storage pool (in bytes).
45810
46074
  # Corresponds to the JSON property `usedReducedBytes`
45811
46075
  # @return [Fixnum]
45812
46076
  attr_accessor :used_reduced_bytes
@@ -45967,8 +46231,8 @@ module Google
45967
46231
  # Whether to enable flow logging for this subnetwork. If this field is not
45968
46232
  # explicitly set, it will not appear in get listings. If not set the default
45969
46233
  # behavior is determined by the org policy, if there is no org policy specified,
45970
- # then it will default to disabled. This field isn't supported with the purpose
45971
- # field set to INTERNAL_HTTPS_LOAD_BALANCER.
46234
+ # then it will default to disabled. This field isn't supported if the subnet
46235
+ # purpose field is set to REGIONAL_MANAGED_PROXY.
45972
46236
  # Corresponds to the JSON property `enableFlowLogs`
45973
46237
  # @return [Boolean]
45974
46238
  attr_accessor :enable_flow_logs
@@ -46103,12 +46367,19 @@ module Google
46103
46367
  # @return [String]
46104
46368
  attr_accessor :private_ipv6_google_access
46105
46369
 
46106
- # The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
46107
- # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
46108
- # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
46109
- # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
46110
- # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
46111
- # field set to INTERNAL_HTTPS_LOAD_BALANCER.
46370
+ # The purpose of the resource. This field can be either PRIVATE,
46371
+ # REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
46372
+ # INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created
46373
+ # subnets or subnets that are automatically created in auto mode networks. A
46374
+ # subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork
46375
+ # that is reserved for regional Envoy-based load balancers. A subnet with
46376
+ # purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using
46377
+ # Private Service Connect. A subnet with purpose set to
46378
+ # INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by
46379
+ # regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is
46380
+ # the preferred setting for all regional Envoy load balancers. If unspecified,
46381
+ # the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't
46382
+ # supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
46112
46383
  # Corresponds to the JSON property `purpose`
46113
46384
  # @return [String]
46114
46385
  attr_accessor :purpose
@@ -46125,11 +46396,10 @@ module Google
46125
46396
  attr_accessor :reserved_internal_range
46126
46397
 
46127
46398
  # The role of subnetwork. Currently, this field is only used when purpose =
46128
- # INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
46129
- # ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
46130
- # Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
46131
- # ACTIVE or is currently draining. This field can be updated with a patch
46132
- # request.
46399
+ # REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE
46400
+ # subnetwork is one that is currently being used for Envoy-based load balancers
46401
+ # in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE
46402
+ # or is currently draining. This field can be updated with a patch request.
46133
46403
  # Corresponds to the JSON property `role`
46134
46404
  # @return [String]
46135
46405
  attr_accessor :role
@@ -46477,7 +46747,8 @@ module Google
46477
46747
  # Whether to enable flow logging for this subnetwork. If this field is not
46478
46748
  # explicitly set, it will not appear in get listings. If not set the default
46479
46749
  # behavior is determined by the org policy, if there is no org policy specified,
46480
- # then it will default to disabled.
46750
+ # then it will default to disabled. Flow logging isn't supported if the subnet
46751
+ # purpose field is set to REGIONAL_MANAGED_PROXY.
46481
46752
  # Corresponds to the JSON property `enable`
46482
46753
  # @return [Boolean]
46483
46754
  attr_accessor :enable
@@ -47620,7 +47891,9 @@ module Google
47620
47891
  class TargetHttpsProxiesSetCertificateMapRequest
47621
47892
  include Google::Apis::Core::Hashable
47622
47893
 
47623
- # URL of the Certificate Map to associate with this TargetHttpsProxy.
47894
+ # URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted
47895
+ # format is //certificatemanager.googleapis.com/projects/`project `/locations/`
47896
+ # location`/certificateMaps/`resourceName`.
47624
47897
  # Corresponds to the JSON property `certificateMap`
47625
47898
  # @return [String]
47626
47899
  attr_accessor :certificate_map
@@ -47710,7 +47983,9 @@ module Google
47710
47983
 
47711
47984
  # URL of a certificate map that identifies a certificate map associated with the
47712
47985
  # given target proxy. This field can only be set for global target proxies. If
47713
- # set, sslCertificates will be ignored.
47986
+ # set, sslCertificates will be ignored. Accepted format is //certificatemanager.
47987
+ # googleapis.com/projects/`project `/locations/`location`/certificateMaps/`
47988
+ # resourceName`.
47714
47989
  # Corresponds to the JSON property `certificateMap`
47715
47990
  # @return [String]
47716
47991
  attr_accessor :certificate_map
@@ -49192,7 +49467,9 @@ module Google
49192
49467
  class TargetSslProxiesSetCertificateMapRequest
49193
49468
  include Google::Apis::Core::Hashable
49194
49469
 
49195
- # URL of the Certificate Map to associate with this TargetSslProxy.
49470
+ # URL of the Certificate Map to associate with this TargetSslProxy. Accepted
49471
+ # format is //certificatemanager.googleapis.com/projects/`project `/locations/`
49472
+ # location`/certificateMaps/`resourceName`.
49196
49473
  # Corresponds to the JSON property `certificateMap`
49197
49474
  # @return [String]
49198
49475
  attr_accessor :certificate_map
@@ -49257,7 +49534,9 @@ module Google
49257
49534
 
49258
49535
  # URL of a certificate map that identifies a certificate map associated with the
49259
49536
  # given target proxy. This field can only be set for global target proxies. If
49260
- # set, sslCertificates will be ignored.
49537
+ # set, sslCertificates will be ignored. Accepted format is //certificatemanager.
49538
+ # googleapis.com/projects/`project `/locations/`location`/certificateMaps/`
49539
+ # resourceName`.
49261
49540
  # Corresponds to the JSON property `certificateMap`
49262
49541
  # @return [String]
49263
49542
  attr_accessor :certificate_map
@@ -51590,22 +51869,28 @@ module Google
51590
51869
  # @return [String]
51591
51870
  attr_accessor :network
51592
51871
 
51593
- # The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
51594
- # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
51595
- # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
51596
- # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
51597
- # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
51598
- # field set to INTERNAL_HTTPS_LOAD_BALANCER.
51872
+ # The purpose of the resource. This field can be either PRIVATE,
51873
+ # REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
51874
+ # INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created
51875
+ # subnets or subnets that are automatically created in auto mode networks. A
51876
+ # subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork
51877
+ # that is reserved for regional Envoy-based load balancers. A subnet with
51878
+ # purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using
51879
+ # Private Service Connect. A subnet with purpose set to
51880
+ # INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by
51881
+ # regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is
51882
+ # the preferred setting for all regional Envoy load balancers. If unspecified,
51883
+ # the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't
51884
+ # supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
51599
51885
  # Corresponds to the JSON property `purpose`
51600
51886
  # @return [String]
51601
51887
  attr_accessor :purpose
51602
51888
 
51603
51889
  # The role of subnetwork. Currently, this field is only used when purpose =
51604
- # INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
51605
- # ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
51606
- # Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
51607
- # ACTIVE or is currently draining. This field can be updated with a patch
51608
- # request.
51890
+ # REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE
51891
+ # subnetwork is one that is currently being used for Envoy-based load balancers
51892
+ # in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE
51893
+ # or is currently draining. This field can be updated with a patch request.
51609
51894
  # Corresponds to the JSON property `role`
51610
51895
  # @return [String]
51611
51896
  attr_accessor :role
@@ -52498,7 +52783,7 @@ module Google
52498
52783
  attr_accessor :local_gateway_interface
52499
52784
 
52500
52785
  # The peer gateway interface this VPN tunnel is connected to, the peer gateway
52501
- # could either be an external VPN gateway or GCP VPN gateway.
52786
+ # could either be an external VPN gateway or a Google Cloud VPN gateway.
52502
52787
  # Corresponds to the JSON property `peerGatewayInterface`
52503
52788
  # @return [Fixnum]
52504
52789
  attr_accessor :peer_gateway_interface
@@ -52521,8 +52806,8 @@ module Google
52521
52806
  end
52522
52807
 
52523
52808
  # A VPN connection contains all VPN tunnels connected from this VpnGateway to
52524
- # the same peer gateway. The peer gateway could either be a external VPN gateway
52525
- # or GCP VPN gateway.
52809
+ # the same peer gateway. The peer gateway could either be an external VPN
52810
+ # gateway or a Google Cloud VPN gateway.
52526
52811
  class VpnGatewayStatusVpnConnection
52527
52812
  include Google::Apis::Core::Hashable
52528
52813
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.65.0"
19
+ GEM_VERSION = "0.67.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230403"
25
+ REVISION = "20230502"
26
26
  end
27
27
  end
28
28
  end
@@ -1270,6 +1270,18 @@ module Google
1270
1270
  include Google::Apis::Core::JsonObjectSupport
1271
1271
  end
1272
1272
 
1273
+ class FutureReservationStatusLastKnownGoodState
1274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1275
+
1276
+ include Google::Apis::Core::JsonObjectSupport
1277
+ end
1278
+
1279
+ class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
1280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1281
+
1282
+ include Google::Apis::Core::JsonObjectSupport
1283
+ end
1284
+
1273
1285
  class FutureReservationStatusSpecificSkuProperties
1274
1286
  class Representation < Google::Apis::Core::JsonRepresentation; end
1275
1287
 
@@ -1894,6 +1906,18 @@ module Google
1894
1906
  include Google::Apis::Core::JsonObjectSupport
1895
1907
  end
1896
1908
 
1909
+ class InstanceGroupManagerInstanceFlexibilityPolicy
1910
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1911
+
1912
+ include Google::Apis::Core::JsonObjectSupport
1913
+ end
1914
+
1915
+ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
1916
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1917
+
1918
+ include Google::Apis::Core::JsonObjectSupport
1919
+ end
1920
+
1897
1921
  class InstanceGroupManagerInstanceLifecyclePolicy
1898
1922
  class Representation < Google::Apis::Core::JsonRepresentation; end
1899
1923
 
@@ -3184,6 +3208,24 @@ module Google
3184
3208
  include Google::Apis::Core::JsonObjectSupport
3185
3209
  end
3186
3210
 
3211
+ class NatIpInfo
3212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3213
+
3214
+ include Google::Apis::Core::JsonObjectSupport
3215
+ end
3216
+
3217
+ class NatIpInfoNatIpInfoMapping
3218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3219
+
3220
+ include Google::Apis::Core::JsonObjectSupport
3221
+ end
3222
+
3223
+ class NatIpInfoResponse
3224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3225
+
3226
+ include Google::Apis::Core::JsonObjectSupport
3227
+ end
3228
+
3187
3229
  class Network
3188
3230
  class Representation < Google::Apis::Core::JsonRepresentation; end
3189
3231
 
@@ -7497,6 +7539,7 @@ module Google
7497
7539
  property :disk_name, as: 'diskName'
7498
7540
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
7499
7541
  property :disk_type, as: 'diskType'
7542
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
7500
7543
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
7501
7544
 
7502
7545
  property :interface, as: 'interface'
@@ -7517,6 +7560,7 @@ module Google
7517
7560
  property :source_snapshot, as: 'sourceSnapshot'
7518
7561
  property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
7519
7562
 
7563
+ property :storage_pool, as: 'storagePool'
7520
7564
  end
7521
7565
  end
7522
7566
 
@@ -8646,6 +8690,7 @@ module Google
8646
8690
  property :source_snapshot_id, as: 'sourceSnapshotId'
8647
8691
  property :source_storage_object, as: 'sourceStorageObject'
8648
8692
  property :status, as: 'status'
8693
+ property :storage_pool, as: 'storagePool'
8649
8694
  property :storage_type, as: 'storageType'
8650
8695
  property :type, as: 'type'
8651
8696
  collection :user_licenses, as: 'userLicenses'
@@ -9540,8 +9585,11 @@ module Google
9540
9585
  class FutureReservationStatus
9541
9586
  # @private
9542
9587
  class Representation < Google::Apis::Core::JsonRepresentation
9588
+ property :amendment_status, as: 'amendmentStatus'
9543
9589
  collection :auto_created_reservations, as: 'autoCreatedReservations'
9544
9590
  property :fulfilled_count, :numeric_string => true, as: 'fulfilledCount'
9591
+ property :last_known_good_state, as: 'lastKnownGoodState', class: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodState, decorator: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodState::Representation
9592
+
9545
9593
  property :lock_time, as: 'lockTime'
9546
9594
  property :procurement_status, as: 'procurementStatus'
9547
9595
  property :specific_sku_properties, as: 'specificSkuProperties', class: Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties, decorator: Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties::Representation
@@ -9549,6 +9597,29 @@ module Google
9549
9597
  end
9550
9598
  end
9551
9599
 
9600
+ class FutureReservationStatusLastKnownGoodState
9601
+ # @private
9602
+ class Representation < Google::Apis::Core::JsonRepresentation
9603
+ property :description, as: 'description'
9604
+ property :future_reservation_specs, as: 'futureReservationSpecs', class: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs, decorator: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs::Representation
9605
+
9606
+ property :name_prefix, as: 'namePrefix'
9607
+ property :procurement_status, as: 'procurementStatus'
9608
+ end
9609
+ end
9610
+
9611
+ class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
9612
+ # @private
9613
+ class Representation < Google::Apis::Core::JsonRepresentation
9614
+ property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeAlpha::ShareSettings, decorator: Google::Apis::ComputeAlpha::ShareSettings::Representation
9615
+
9616
+ property :specific_sku_properties, as: 'specificSkuProperties', class: Google::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties, decorator: Google::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties::Representation
9617
+
9618
+ property :time_window, as: 'timeWindow', class: Google::Apis::ComputeAlpha::FutureReservationTimeWindow, decorator: Google::Apis::ComputeAlpha::FutureReservationTimeWindow::Representation
9619
+
9620
+ end
9621
+ end
9622
+
9552
9623
  class FutureReservationStatusSpecificSkuProperties
9553
9624
  # @private
9554
9625
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10763,6 +10834,8 @@ module Google
10763
10834
  property :failover_action, as: 'failoverAction'
10764
10835
  property :fingerprint, :base64 => true, as: 'fingerprint'
10765
10836
  property :id, :numeric_string => true, as: 'id'
10837
+ property :instance_flexibility_policy, as: 'instanceFlexibilityPolicy', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicy::Representation
10838
+
10766
10839
  property :instance_group, as: 'instanceGroup'
10767
10840
  property :instance_lifecycle_policy, as: 'instanceLifecyclePolicy', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy::Representation
10768
10841
 
@@ -10784,6 +10857,7 @@ module Google
10784
10857
 
10785
10858
  collection :target_pools, as: 'targetPools'
10786
10859
  property :target_size, as: 'targetSize'
10860
+ property :target_size_unit, as: 'targetSizeUnit'
10787
10861
  property :target_stopped_size, as: 'targetStoppedSize'
10788
10862
  property :target_suspended_size, as: 'targetSuspendedSize'
10789
10863
  property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeAlpha::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerUpdatePolicy::Representation
@@ -10875,6 +10949,22 @@ module Google
10875
10949
  end
10876
10950
  end
10877
10951
 
10952
+ class InstanceGroupManagerInstanceFlexibilityPolicy
10953
+ # @private
10954
+ class Representation < Google::Apis::Core::JsonRepresentation
10955
+ hash :instance_selection_lists, as: 'instanceSelectionLists', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
10956
+
10957
+ end
10958
+ end
10959
+
10960
+ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
10961
+ # @private
10962
+ class Representation < Google::Apis::Core::JsonRepresentation
10963
+ collection :machine_types, as: 'machineTypes'
10964
+ property :rank, as: 'rank'
10965
+ end
10966
+ end
10967
+
10878
10968
  class InstanceGroupManagerInstanceLifecyclePolicy
10879
10969
  # @private
10880
10970
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13165,6 +13255,32 @@ module Google
13165
13255
  end
13166
13256
  end
13167
13257
 
13258
+ class NatIpInfo
13259
+ # @private
13260
+ class Representation < Google::Apis::Core::JsonRepresentation
13261
+ collection :nat_ip_info_mappings, as: 'natIpInfoMappings', class: Google::Apis::ComputeAlpha::NatIpInfoNatIpInfoMapping, decorator: Google::Apis::ComputeAlpha::NatIpInfoNatIpInfoMapping::Representation
13262
+
13263
+ property :nat_name, as: 'natName'
13264
+ end
13265
+ end
13266
+
13267
+ class NatIpInfoNatIpInfoMapping
13268
+ # @private
13269
+ class Representation < Google::Apis::Core::JsonRepresentation
13270
+ property :mode, as: 'mode'
13271
+ property :nat_ip, as: 'natIp'
13272
+ property :usage, as: 'usage'
13273
+ end
13274
+ end
13275
+
13276
+ class NatIpInfoResponse
13277
+ # @private
13278
+ class Representation < Google::Apis::Core::JsonRepresentation
13279
+ collection :result, as: 'result', class: Google::Apis::ComputeAlpha::NatIpInfo, decorator: Google::Apis::ComputeAlpha::NatIpInfo::Representation
13280
+
13281
+ end
13282
+ end
13283
+
13168
13284
  class Network
13169
13285
  # @private
13170
13286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17829,6 +17945,7 @@ module Google
17829
17945
  property :description, as: 'description'
17830
17946
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
17831
17947
  property :download_bytes, :numeric_string => true, as: 'downloadBytes'
17948
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
17832
17949
  property :guest_flush, as: 'guestFlush'
17833
17950
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
17834
17951
 
@@ -17850,6 +17967,7 @@ module Google
17850
17967
  property :source_disk, as: 'sourceDisk'
17851
17968
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
17852
17969
 
17970
+ property :source_disk_for_recovery_checkpoint, as: 'sourceDiskForRecoveryCheckpoint'
17853
17971
  property :source_disk_id, as: 'sourceDiskId'
17854
17972
  property :source_instant_snapshot, as: 'sourceInstantSnapshot'
17855
17973
  property :source_instant_snapshot_id, as: 'sourceInstantSnapshotId'
@@ -38429,6 +38429,50 @@ module Google
38429
38429
  execute_or_queue_command(command, &block)
38430
38430
  end
38431
38431
 
38432
+ # Retrieves runtime NAT IP information.
38433
+ # @param [String] project
38434
+ # Project ID for this request.
38435
+ # @param [String] region
38436
+ # Name of the region for this request.
38437
+ # @param [String] router
38438
+ # Name of the Router resource to query for Nat IP information. The name should
38439
+ # conform to RFC1035.
38440
+ # @param [String] nat_name
38441
+ # Name of the nat service to filter the NAT IP information. If it is omitted,
38442
+ # all nats for this router will be returned. Name should conform to RFC1035.
38443
+ # @param [String] fields
38444
+ # Selector specifying which fields to include in a partial response.
38445
+ # @param [String] quota_user
38446
+ # Available to use for quota purposes for server-side applications. Can be any
38447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
38448
+ # @param [String] user_ip
38449
+ # Legacy name for parameter that has been superseded by `quotaUser`.
38450
+ # @param [Google::Apis::RequestOptions] options
38451
+ # Request-specific options
38452
+ #
38453
+ # @yield [result, err] Result & error if block supplied
38454
+ # @yieldparam result [Google::Apis::ComputeAlpha::NatIpInfoResponse] parsed result object
38455
+ # @yieldparam err [StandardError] error object if request failed
38456
+ #
38457
+ # @return [Google::Apis::ComputeAlpha::NatIpInfoResponse]
38458
+ #
38459
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38460
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38461
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
38462
+ def get_router_nat_ip_info(project, region, router, nat_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38463
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatIpInfo', options)
38464
+ command.response_representation = Google::Apis::ComputeAlpha::NatIpInfoResponse::Representation
38465
+ command.response_class = Google::Apis::ComputeAlpha::NatIpInfoResponse
38466
+ command.params['project'] = project unless project.nil?
38467
+ command.params['region'] = region unless region.nil?
38468
+ command.params['router'] = router unless router.nil?
38469
+ command.query['natName'] = nat_name unless nat_name.nil?
38470
+ command.query['fields'] = fields unless fields.nil?
38471
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
38472
+ command.query['userIp'] = user_ip unless user_ip.nil?
38473
+ execute_or_queue_command(command, &block)
38474
+ end
38475
+
38432
38476
  # Retrieves runtime Nat mapping information of VM endpoints.
38433
38477
  # @param [String] project
38434
38478
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.0
4
+ version: 0.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-16 00:00:00.000000000 Z
11
+ date: 2023-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.65.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.67.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []