google-apis-compute_alpha 0.66.0 → 0.67.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b691b9da534a6b8bb4164b4a956981ae337464babd3b598cd019c94bcb7b472
|
4
|
+
data.tar.gz: cca42acfdd19f0b2f92fbfb2be4d7afd3800e65ceacf199c5977262bb64daacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b673f167dfd8e4614b13d701cd3a2427b032bb7df3d5a35a1a32aa01d2d9c5591c32b529214b3499061860c3a907ed30a220f8ef867e2201ca09b8121ad8d54
|
7
|
+
data.tar.gz: ee1106a5e07d32a7135236e34a3b8dfa1af5ed861dcb3b0c383c1b93ba51d75ad86e8eaa1a1d325e74e293fe214b9eab2f171e65013e867f6195a3dee69472fc
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -1888,6 +1895,7 @@ module Google
|
|
1888
1895
|
@disk_name = args[:disk_name] if args.key?(:disk_name)
|
1889
1896
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1890
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)
|
1891
1899
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1892
1900
|
@interface = args[:interface] if args.key?(:interface)
|
1893
1901
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -5357,8 +5365,7 @@ module Google
|
|
5357
5365
|
include Google::Apis::Core::Hashable
|
5358
5366
|
|
5359
5367
|
# Specifies the hostname of the instance. More details in: https://cloud.google.
|
5360
|
-
# com/compute/docs/instances/custom-hostname-vm#naming_convention
|
5361
|
-
# be uniqe in per_instance_properties map.
|
5368
|
+
# com/compute/docs/instances/custom-hostname-vm#naming_convention
|
5362
5369
|
# Corresponds to the JSON property `hostname`
|
5363
5370
|
# @return [String]
|
5364
5371
|
attr_accessor :hostname
|
@@ -5825,7 +5832,7 @@ module Google
|
|
5825
5832
|
# @return [String]
|
5826
5833
|
attr_accessor :self_link_with_id
|
5827
5834
|
|
5828
|
-
# Source commitment to be
|
5835
|
+
# Source commitment to be split into a new commitment.
|
5829
5836
|
# Corresponds to the JSON property `splitSourceCommitment`
|
5830
5837
|
# @return [String]
|
5831
5838
|
attr_accessor :split_source_commitment
|
@@ -10944,6 +10951,11 @@ module Google
|
|
10944
10951
|
class FutureReservationStatus
|
10945
10952
|
include Google::Apis::Core::Hashable
|
10946
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
|
+
|
10947
10959
|
# Fully qualified urls of the automatically created reservations at start_time.
|
10948
10960
|
# Corresponds to the JSON property `autoCreatedReservations`
|
10949
10961
|
# @return [Array<String>]
|
@@ -10956,6 +10968,12 @@ module Google
|
|
10956
10968
|
# @return [Fixnum]
|
10957
10969
|
attr_accessor :fulfilled_count
|
10958
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
|
+
|
10959
10977
|
# Time when Future Reservation would become LOCKED, after which no modifications
|
10960
10978
|
# to Future Reservation will be allowed. Applicable only after the Future
|
10961
10979
|
# Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The
|
@@ -10980,14 +10998,85 @@ module Google
|
|
10980
10998
|
|
10981
10999
|
# Update properties of this object
|
10982
11000
|
def update!(**args)
|
11001
|
+
@amendment_status = args[:amendment_status] if args.key?(:amendment_status)
|
10983
11002
|
@auto_created_reservations = args[:auto_created_reservations] if args.key?(:auto_created_reservations)
|
10984
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)
|
10985
11005
|
@lock_time = args[:lock_time] if args.key?(:lock_time)
|
10986
11006
|
@procurement_status = args[:procurement_status] if args.key?(:procurement_status)
|
10987
11007
|
@specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
|
10988
11008
|
end
|
10989
11009
|
end
|
10990
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
|
+
|
10991
11080
|
# Properties to be set for the Future Reservation.
|
10992
11081
|
class FutureReservationStatusSpecificSkuProperties
|
10993
11082
|
include Google::Apis::Core::Hashable
|
@@ -16180,6 +16269,13 @@ module Google
|
|
16180
16269
|
# @return [Fixnum]
|
16181
16270
|
attr_accessor :id
|
16182
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
|
+
|
16183
16279
|
# [Output Only] The URL of the Instance Group resource.
|
16184
16280
|
# Corresponds to the JSON property `instanceGroup`
|
16185
16281
|
# @return [String]
|
@@ -16277,6 +16373,11 @@ module Google
|
|
16277
16373
|
# @return [Fixnum]
|
16278
16374
|
attr_accessor :target_size
|
16279
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
|
+
|
16280
16381
|
# The target number of stopped instances for this managed instance group. This
|
16281
16382
|
# number changes when you: - Stop instance using the stopInstances method or
|
16282
16383
|
# start instances using the startInstances method. - Manually change the
|
@@ -16331,6 +16432,7 @@ module Google
|
|
16331
16432
|
@failover_action = args[:failover_action] if args.key?(:failover_action)
|
16332
16433
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
16333
16434
|
@id = args[:id] if args.key?(:id)
|
16435
|
+
@instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
|
16334
16436
|
@instance_group = args[:instance_group] if args.key?(:instance_group)
|
16335
16437
|
@instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
|
16336
16438
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
@@ -16347,6 +16449,7 @@ module Google
|
|
16347
16449
|
@status = args[:status] if args.key?(:status)
|
16348
16450
|
@target_pools = args[:target_pools] if args.key?(:target_pools)
|
16349
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)
|
16350
16453
|
@target_stopped_size = args[:target_stopped_size] if args.key?(:target_stopped_size)
|
16351
16454
|
@target_suspended_size = args[:target_suspended_size] if args.key?(:target_suspended_size)
|
16352
16455
|
@update_policy = args[:update_policy] if args.key?(:update_policy)
|
@@ -16696,6 +16799,54 @@ module Google
|
|
16696
16799
|
end
|
16697
16800
|
end
|
16698
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
|
+
|
16699
16850
|
#
|
16700
16851
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
16701
16852
|
include Google::Apis::Core::Hashable
|
@@ -22721,7 +22872,7 @@ module Google
|
|
22721
22872
|
end
|
22722
22873
|
end
|
22723
22874
|
|
22724
|
-
# Represents
|
22875
|
+
# Represents a Cross-Cloud Interconnect Remote Location resource. You can use
|
22725
22876
|
# this resource to find remote location details about an Interconnect attachment
|
22726
22877
|
# (VLAN).
|
22727
22878
|
class InterconnectRemoteLocation
|
@@ -22893,7 +23044,7 @@ module Google
|
|
22893
23044
|
# from accidentally ordering something that is incompatible with their cloud
|
22894
23045
|
# provider. Specifically, when ordering a redundant pair of Cross-Cloud
|
22895
23046
|
# Interconnect ports, and one of them uses a remote location with
|
22896
|
-
# portPairMatchingRemoteLocation set to matching, the UI
|
23047
|
+
# portPairMatchingRemoteLocation set to matching, the UI requires that both
|
22897
23048
|
# ports use the same remote location.
|
22898
23049
|
# Corresponds to the JSON property `portPairRemoteLocation`
|
22899
23050
|
# @return [String]
|
@@ -22974,7 +23125,7 @@ module Google
|
|
22974
23125
|
# @return [String]
|
22975
23126
|
attr_accessor :kind
|
22976
23127
|
|
22977
|
-
# [Output Only] This token
|
23128
|
+
# [Output Only] This token lets you get the next page of results for list
|
22978
23129
|
# requests. If the number of results is larger than maxResults, use the
|
22979
23130
|
# nextPageToken as a value for the query parameter pageToken in the next list
|
22980
23131
|
# request. Subsequent list requests will have their own nextPageToken to
|
@@ -24567,7 +24718,7 @@ module Google
|
|
24567
24718
|
# @return [Fixnum]
|
24568
24719
|
attr_accessor :guest_accelerator_count
|
24569
24720
|
|
24570
|
-
# The accelerator type resource name, not a full URL, e.g.
|
24721
|
+
# The accelerator type resource name, not a full URL, e.g. nvidia-tesla-t4.
|
24571
24722
|
# Corresponds to the JSON property `guestAcceleratorType`
|
24572
24723
|
# @return [String]
|
24573
24724
|
attr_accessor :guest_accelerator_type
|
@@ -25465,6 +25616,81 @@ module Google
|
|
25465
25616
|
end
|
25466
25617
|
end
|
25467
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
|
+
|
25468
25694
|
# Represents a VPC Network resource. Networks connect resources to each other
|
25469
25695
|
# and to the internet. For more information, read Virtual Private Cloud (VPC)
|
25470
25696
|
# Network.
|
@@ -25653,9 +25879,9 @@ module Google
|
|
25653
25879
|
# @return [String]
|
25654
25880
|
attr_accessor :description
|
25655
25881
|
|
25656
|
-
#
|
25657
|
-
#
|
25658
|
-
#
|
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.
|
25659
25885
|
# Corresponds to the JSON property `fingerprint`
|
25660
25886
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
25661
25887
|
# @return [String]
|
@@ -25683,6 +25909,10 @@ module Google
|
|
25683
25909
|
attr_accessor :name
|
25684
25910
|
|
25685
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.
|
25686
25916
|
# Corresponds to the JSON property `network`
|
25687
25917
|
# @return [String]
|
25688
25918
|
attr_accessor :network
|
@@ -39438,9 +39668,8 @@ module Google
|
|
39438
39668
|
# ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list
|
39439
39669
|
# of Subnetworks are allowed to Nat (specified in the field subnetwork below)
|
39440
39670
|
# The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if
|
39441
|
-
# this field contains ALL_SUBNETWORKS_ALL_IP_RANGES
|
39442
|
-
#
|
39443
|
-
# 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.
|
39444
39673
|
# Corresponds to the JSON property `sourceSubnetworkIpRangesToNat`
|
39445
39674
|
# @return [String]
|
39446
39675
|
attr_accessor :source_subnetwork_ip_ranges_to_nat
|
@@ -43646,6 +43875,14 @@ module Google
|
|
43646
43875
|
# @return [Fixnum]
|
43647
43876
|
attr_accessor :download_bytes
|
43648
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
|
+
|
43649
43886
|
# [Input Only] Whether to attempt an application consistent snapshot by
|
43650
43887
|
# informing the OS to prepare for the snapshot process.
|
43651
43888
|
# Corresponds to the JSON property `guestFlush`
|
@@ -43856,6 +44093,7 @@ module Google
|
|
43856
44093
|
@description = args[:description] if args.key?(:description)
|
43857
44094
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
43858
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)
|
43859
44097
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
43860
44098
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
43861
44099
|
@id = args[:id] if args.key?(:id)
|
@@ -45825,14 +46063,14 @@ module Google
|
|
45825
46063
|
# @return [Fixnum]
|
45826
46064
|
attr_accessor :number_of_disks
|
45827
46065
|
|
45828
|
-
# [Output Only]
|
45829
|
-
#
|
46066
|
+
# [Output Only] Space used by data stored in disks within the storage pool (in
|
46067
|
+
# bytes).
|
45830
46068
|
# Corresponds to the JSON property `usedBytes`
|
45831
46069
|
# @return [Fixnum]
|
45832
46070
|
attr_accessor :used_bytes
|
45833
46071
|
|
45834
|
-
# [Output Only]
|
45835
|
-
# storage
|
46072
|
+
# [Output Only] Space used by compressed and deduped data stored in disks within
|
46073
|
+
# the storage pool (in bytes).
|
45836
46074
|
# Corresponds to the JSON property `usedReducedBytes`
|
45837
46075
|
# @return [Fixnum]
|
45838
46076
|
attr_accessor :used_reduced_bytes
|
@@ -45993,8 +46231,8 @@ module Google
|
|
45993
46231
|
# Whether to enable flow logging for this subnetwork. If this field is not
|
45994
46232
|
# explicitly set, it will not appear in get listings. If not set the default
|
45995
46233
|
# behavior is determined by the org policy, if there is no org policy specified,
|
45996
|
-
# then it will default to disabled. This field isn't supported
|
45997
|
-
# field set to
|
46234
|
+
# then it will default to disabled. This field isn't supported if the subnet
|
46235
|
+
# purpose field is set to REGIONAL_MANAGED_PROXY.
|
45998
46236
|
# Corresponds to the JSON property `enableFlowLogs`
|
45999
46237
|
# @return [Boolean]
|
46000
46238
|
attr_accessor :enable_flow_logs
|
@@ -46129,12 +46367,19 @@ module Google
|
|
46129
46367
|
# @return [String]
|
46130
46368
|
attr_accessor :private_ipv6_google_access
|
46131
46369
|
|
46132
|
-
# The purpose of the resource. This field can be either
|
46133
|
-
#
|
46134
|
-
# INTERNAL_HTTPS_LOAD_BALANCER is
|
46135
|
-
#
|
46136
|
-
#
|
46137
|
-
#
|
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.
|
46138
46383
|
# Corresponds to the JSON property `purpose`
|
46139
46384
|
# @return [String]
|
46140
46385
|
attr_accessor :purpose
|
@@ -46151,11 +46396,10 @@ module Google
|
|
46151
46396
|
attr_accessor :reserved_internal_range
|
46152
46397
|
|
46153
46398
|
# The role of subnetwork. Currently, this field is only used when purpose =
|
46154
|
-
#
|
46155
|
-
#
|
46156
|
-
#
|
46157
|
-
#
|
46158
|
-
# 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.
|
46159
46403
|
# Corresponds to the JSON property `role`
|
46160
46404
|
# @return [String]
|
46161
46405
|
attr_accessor :role
|
@@ -46503,7 +46747,8 @@ module Google
|
|
46503
46747
|
# Whether to enable flow logging for this subnetwork. If this field is not
|
46504
46748
|
# explicitly set, it will not appear in get listings. If not set the default
|
46505
46749
|
# behavior is determined by the org policy, if there is no org policy specified,
|
46506
|
-
# 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.
|
46507
46752
|
# Corresponds to the JSON property `enable`
|
46508
46753
|
# @return [Boolean]
|
46509
46754
|
attr_accessor :enable
|
@@ -51624,22 +51869,28 @@ module Google
|
|
51624
51869
|
# @return [String]
|
51625
51870
|
attr_accessor :network
|
51626
51871
|
|
51627
|
-
# The purpose of the resource. This field can be either
|
51628
|
-
#
|
51629
|
-
# INTERNAL_HTTPS_LOAD_BALANCER is
|
51630
|
-
#
|
51631
|
-
#
|
51632
|
-
#
|
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.
|
51633
51885
|
# Corresponds to the JSON property `purpose`
|
51634
51886
|
# @return [String]
|
51635
51887
|
attr_accessor :purpose
|
51636
51888
|
|
51637
51889
|
# The role of subnetwork. Currently, this field is only used when purpose =
|
51638
|
-
#
|
51639
|
-
#
|
51640
|
-
#
|
51641
|
-
#
|
51642
|
-
# 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.
|
51643
51894
|
# Corresponds to the JSON property `role`
|
51644
51895
|
# @return [String]
|
51645
51896
|
attr_accessor :role
|
@@ -52532,7 +52783,7 @@ module Google
|
|
52532
52783
|
attr_accessor :local_gateway_interface
|
52533
52784
|
|
52534
52785
|
# The peer gateway interface this VPN tunnel is connected to, the peer gateway
|
52535
|
-
# could either be an external VPN gateway or
|
52786
|
+
# could either be an external VPN gateway or a Google Cloud VPN gateway.
|
52536
52787
|
# Corresponds to the JSON property `peerGatewayInterface`
|
52537
52788
|
# @return [Fixnum]
|
52538
52789
|
attr_accessor :peer_gateway_interface
|
@@ -52555,8 +52806,8 @@ module Google
|
|
52555
52806
|
end
|
52556
52807
|
|
52557
52808
|
# A VPN connection contains all VPN tunnels connected from this VpnGateway to
|
52558
|
-
# the same peer gateway. The peer gateway could either be
|
52559
|
-
# or
|
52809
|
+
# the same peer gateway. The peer gateway could either be an external VPN
|
52810
|
+
# gateway or a Google Cloud VPN gateway.
|
52560
52811
|
class VpnGatewayStatusVpnConnection
|
52561
52812
|
include Google::Apis::Core::Hashable
|
52562
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.
|
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 = "
|
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'
|
@@ -9542,8 +9585,11 @@ module Google
|
|
9542
9585
|
class FutureReservationStatus
|
9543
9586
|
# @private
|
9544
9587
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9588
|
+
property :amendment_status, as: 'amendmentStatus'
|
9545
9589
|
collection :auto_created_reservations, as: 'autoCreatedReservations'
|
9546
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
|
+
|
9547
9593
|
property :lock_time, as: 'lockTime'
|
9548
9594
|
property :procurement_status, as: 'procurementStatus'
|
9549
9595
|
property :specific_sku_properties, as: 'specificSkuProperties', class: Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties, decorator: Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties::Representation
|
@@ -9551,6 +9597,29 @@ module Google
|
|
9551
9597
|
end
|
9552
9598
|
end
|
9553
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
|
+
|
9554
9623
|
class FutureReservationStatusSpecificSkuProperties
|
9555
9624
|
# @private
|
9556
9625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10765,6 +10834,8 @@ module Google
|
|
10765
10834
|
property :failover_action, as: 'failoverAction'
|
10766
10835
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
10767
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
|
+
|
10768
10839
|
property :instance_group, as: 'instanceGroup'
|
10769
10840
|
property :instance_lifecycle_policy, as: 'instanceLifecyclePolicy', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy::Representation
|
10770
10841
|
|
@@ -10786,6 +10857,7 @@ module Google
|
|
10786
10857
|
|
10787
10858
|
collection :target_pools, as: 'targetPools'
|
10788
10859
|
property :target_size, as: 'targetSize'
|
10860
|
+
property :target_size_unit, as: 'targetSizeUnit'
|
10789
10861
|
property :target_stopped_size, as: 'targetStoppedSize'
|
10790
10862
|
property :target_suspended_size, as: 'targetSuspendedSize'
|
10791
10863
|
property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeAlpha::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerUpdatePolicy::Representation
|
@@ -10877,6 +10949,22 @@ module Google
|
|
10877
10949
|
end
|
10878
10950
|
end
|
10879
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
|
+
|
10880
10968
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
10881
10969
|
# @private
|
10882
10970
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13167,6 +13255,32 @@ module Google
|
|
13167
13255
|
end
|
13168
13256
|
end
|
13169
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
|
+
|
13170
13284
|
class Network
|
13171
13285
|
# @private
|
13172
13286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17831,6 +17945,7 @@ module Google
|
|
17831
17945
|
property :description, as: 'description'
|
17832
17946
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
17833
17947
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
17948
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
17834
17949
|
property :guest_flush, as: 'guestFlush'
|
17835
17950
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
|
17836
17951
|
|
@@ -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.
|
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-
|
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.
|
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: []
|