google-apis-compute_v1 0.155.0 → 0.156.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_v1/classes.rb +73 -2
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +32 -0
- data/lib/google/apis/compute_v1/service.rb +1274 -1624
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0645aba60be9aeb0ff7ee686803c81ba90bf3c18d6a71d05d31671e84fd1fcbf
|
|
4
|
+
data.tar.gz: '0290c8282b7e2343e1ee0dd3dd20f1d08e7d38236be905d900e6b71f1baa4118'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5892feffdeeba220094904e5641d4407e6f312cbea2abe2f49f10db7459bca8fe1150be7507e321c53b1a4af2c5f89d478529c92059534dbc145bd82dd716413
|
|
7
|
+
data.tar.gz: d1015983ef33a4228d0671010c78e0a5f2dd7cd0e3d0eecae70add4610c6309b9665490a64cfdfc528c862bd1af06dccfad085659d47add2bab82aa35dd23318
|
data/CHANGELOG.md
CHANGED
|
@@ -7927,6 +7927,13 @@ module Google
|
|
|
7927
7927
|
# @return [Array<String>]
|
|
7928
7928
|
attr_accessor :machine_types
|
|
7929
7929
|
|
|
7930
|
+
# Optional. Rank when prioritizing the shape flexibilities.
|
|
7931
|
+
# The instance selections are considered in the ascending order of the
|
|
7932
|
+
# rank. If not set, defaults to 0.
|
|
7933
|
+
# Corresponds to the JSON property `rank`
|
|
7934
|
+
# @return [Fixnum]
|
|
7935
|
+
attr_accessor :rank
|
|
7936
|
+
|
|
7930
7937
|
def initialize(**args)
|
|
7931
7938
|
update!(**args)
|
|
7932
7939
|
end
|
|
@@ -7936,6 +7943,7 @@ module Google
|
|
|
7936
7943
|
@disks = args[:disks] if args.key?(:disks)
|
|
7937
7944
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
|
7938
7945
|
@machine_types = args[:machine_types] if args.key?(:machine_types)
|
|
7946
|
+
@rank = args[:rank] if args.key?(:rank)
|
|
7939
7947
|
end
|
|
7940
7948
|
end
|
|
7941
7949
|
|
|
@@ -8144,6 +8152,16 @@ module Google
|
|
|
8144
8152
|
class CapacityHistoryRequestInstanceProperties
|
|
8145
8153
|
include Google::Apis::Core::Hashable
|
|
8146
8154
|
|
|
8155
|
+
# Local SSDs.
|
|
8156
|
+
# Corresponds to the JSON property `disks`
|
|
8157
|
+
# @return [Array<Google::Apis::ComputeV1::CapacityHistoryRequestInstancePropertiesAttachedDisk>]
|
|
8158
|
+
attr_accessor :disks
|
|
8159
|
+
|
|
8160
|
+
# Accelerators configuration.
|
|
8161
|
+
# Corresponds to the JSON property `guestAccelerators`
|
|
8162
|
+
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
|
8163
|
+
attr_accessor :guest_accelerators
|
|
8164
|
+
|
|
8147
8165
|
# The machine type for the VM, such as `n2-standard-4`.
|
|
8148
8166
|
# Corresponds to the JSON property `machineType`
|
|
8149
8167
|
# @return [String]
|
|
@@ -8160,11 +8178,32 @@ module Google
|
|
|
8160
8178
|
|
|
8161
8179
|
# Update properties of this object
|
|
8162
8180
|
def update!(**args)
|
|
8181
|
+
@disks = args[:disks] if args.key?(:disks)
|
|
8182
|
+
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
|
8163
8183
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
8164
8184
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
|
8165
8185
|
end
|
|
8166
8186
|
end
|
|
8167
8187
|
|
|
8188
|
+
# AttachedDisk modeled after Instance's AttachedDisk.
|
|
8189
|
+
class CapacityHistoryRequestInstancePropertiesAttachedDisk
|
|
8190
|
+
include Google::Apis::Core::Hashable
|
|
8191
|
+
|
|
8192
|
+
# Specifies the type of the disk.
|
|
8193
|
+
# Corresponds to the JSON property `type`
|
|
8194
|
+
# @return [String]
|
|
8195
|
+
attr_accessor :type
|
|
8196
|
+
|
|
8197
|
+
def initialize(**args)
|
|
8198
|
+
update!(**args)
|
|
8199
|
+
end
|
|
8200
|
+
|
|
8201
|
+
# Update properties of this object
|
|
8202
|
+
def update!(**args)
|
|
8203
|
+
@type = args[:type] if args.key?(:type)
|
|
8204
|
+
end
|
|
8205
|
+
end
|
|
8206
|
+
|
|
8168
8207
|
# Scheduling options.
|
|
8169
8208
|
class CapacityHistoryRequestInstancePropertiesScheduling
|
|
8170
8209
|
include Google::Apis::Core::Hashable
|
|
@@ -8564,7 +8603,8 @@ module Google
|
|
|
8564
8603
|
# GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
|
|
8565
8604
|
# GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED,
|
|
8566
8605
|
# MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,
|
|
8567
|
-
# STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T
|
|
8606
|
+
# STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T,
|
|
8607
|
+
# STORAGE_OPTIMIZED_Z4M. For
|
|
8568
8608
|
# example, type MEMORY_OPTIMIZED specifies a commitment that
|
|
8569
8609
|
# applies only to eligible resources of memory optimized M1 and M2 machine
|
|
8570
8610
|
# series. Type GENERAL_PURPOSE specifies a commitment that
|
|
@@ -34267,6 +34307,33 @@ module Google
|
|
|
34267
34307
|
end
|
|
34268
34308
|
end
|
|
34269
34309
|
|
|
34310
|
+
# Request to rename an interconnect.
|
|
34311
|
+
class InterconnectsSetNameRequest
|
|
34312
|
+
include Google::Apis::Core::Hashable
|
|
34313
|
+
|
|
34314
|
+
# The current name of the interconnect.
|
|
34315
|
+
# The name must be 1-63 characters long, and comply with RFC1035.
|
|
34316
|
+
# Corresponds to the JSON property `currentName`
|
|
34317
|
+
# @return [String]
|
|
34318
|
+
attr_accessor :current_name
|
|
34319
|
+
|
|
34320
|
+
# The new name of the interconnect.
|
|
34321
|
+
# The name must be 1-63 characters long, and comply with RFC1035.
|
|
34322
|
+
# Corresponds to the JSON property `name`
|
|
34323
|
+
# @return [String]
|
|
34324
|
+
attr_accessor :name
|
|
34325
|
+
|
|
34326
|
+
def initialize(**args)
|
|
34327
|
+
update!(**args)
|
|
34328
|
+
end
|
|
34329
|
+
|
|
34330
|
+
# Update properties of this object
|
|
34331
|
+
def update!(**args)
|
|
34332
|
+
@current_name = args[:current_name] if args.key?(:current_name)
|
|
34333
|
+
@name = args[:name] if args.key?(:name)
|
|
34334
|
+
end
|
|
34335
|
+
end
|
|
34336
|
+
|
|
34270
34337
|
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
|
34271
34338
|
# Timestamp end (exclusive).
|
|
34272
34339
|
# The start must be less than or equal to the end.
|
|
@@ -55448,10 +55515,14 @@ module Google
|
|
|
55448
55515
|
# `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip,
|
|
55449
55516
|
# '2.2.0.0/16')`
|
|
55450
55517
|
# `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'`
|
|
55451
|
-
# The following
|
|
55518
|
+
# The following examples are valid match expressions for private NAT:
|
|
55519
|
+
# (NAT 44)
|
|
55452
55520
|
# `nexthop.hub ==
|
|
55453
55521
|
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
|
55454
55522
|
# hubs/hub-1'`
|
|
55523
|
+
# `nexthop.is_hybrid`
|
|
55524
|
+
# (NAT 64)
|
|
55525
|
+
# `isIPv6(source.ip)`
|
|
55455
55526
|
# Corresponds to the JSON property `match`
|
|
55456
55527
|
# @return [String]
|
|
55457
55528
|
attr_accessor :match
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeV1
|
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.156.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260922"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -952,6 +952,12 @@ module Google
|
|
|
952
952
|
include Google::Apis::Core::JsonObjectSupport
|
|
953
953
|
end
|
|
954
954
|
|
|
955
|
+
class CapacityHistoryRequestInstancePropertiesAttachedDisk
|
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
957
|
+
|
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
959
|
+
end
|
|
960
|
+
|
|
955
961
|
class CapacityHistoryRequestInstancePropertiesScheduling
|
|
956
962
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
957
963
|
|
|
@@ -4150,6 +4156,12 @@ module Google
|
|
|
4150
4156
|
include Google::Apis::Core::JsonObjectSupport
|
|
4151
4157
|
end
|
|
4152
4158
|
|
|
4159
|
+
class InterconnectsSetNameRequest
|
|
4160
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4161
|
+
|
|
4162
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4163
|
+
end
|
|
4164
|
+
|
|
4153
4165
|
class Interval
|
|
4154
4166
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4155
4167
|
|
|
@@ -10843,6 +10855,7 @@ module Google
|
|
|
10843
10855
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
|
10844
10856
|
|
|
10845
10857
|
collection :machine_types, as: 'machineTypes'
|
|
10858
|
+
property :rank, :numeric_string => true, as: 'rank'
|
|
10846
10859
|
end
|
|
10847
10860
|
end
|
|
10848
10861
|
|
|
@@ -10918,12 +10931,23 @@ module Google
|
|
|
10918
10931
|
class CapacityHistoryRequestInstanceProperties
|
|
10919
10932
|
# @private
|
|
10920
10933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10934
|
+
collection :disks, as: 'disks', class: Google::Apis::ComputeV1::CapacityHistoryRequestInstancePropertiesAttachedDisk, decorator: Google::Apis::ComputeV1::CapacityHistoryRequestInstancePropertiesAttachedDisk::Representation
|
|
10935
|
+
|
|
10936
|
+
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
|
10937
|
+
|
|
10921
10938
|
property :machine_type, as: 'machineType'
|
|
10922
10939
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::CapacityHistoryRequestInstancePropertiesScheduling, decorator: Google::Apis::ComputeV1::CapacityHistoryRequestInstancePropertiesScheduling::Representation
|
|
10923
10940
|
|
|
10924
10941
|
end
|
|
10925
10942
|
end
|
|
10926
10943
|
|
|
10944
|
+
class CapacityHistoryRequestInstancePropertiesAttachedDisk
|
|
10945
|
+
# @private
|
|
10946
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10947
|
+
property :type, as: 'type'
|
|
10948
|
+
end
|
|
10949
|
+
end
|
|
10950
|
+
|
|
10927
10951
|
class CapacityHistoryRequestInstancePropertiesScheduling
|
|
10928
10952
|
# @private
|
|
10929
10953
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -16907,6 +16931,14 @@ module Google
|
|
|
16907
16931
|
end
|
|
16908
16932
|
end
|
|
16909
16933
|
|
|
16934
|
+
class InterconnectsSetNameRequest
|
|
16935
|
+
# @private
|
|
16936
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
16937
|
+
property :current_name, as: 'currentName'
|
|
16938
|
+
property :name, as: 'name'
|
|
16939
|
+
end
|
|
16940
|
+
end
|
|
16941
|
+
|
|
16910
16942
|
class Interval
|
|
16911
16943
|
# @private
|
|
16912
16944
|
class Representation < Google::Apis::Core::JsonRepresentation
|