google-apis-baremetalsolution_v2 0.19.0 → 0.22.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 +12 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +135 -17
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +31 -0
- data/lib/google/apis/baremetalsolution_v2/service.rb +103 -8
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0ddd42936833e67a320f935c74a7931ca3c7fbb69baa2ab42fe46d2175e6f09
|
|
4
|
+
data.tar.gz: 3a5a040a9ae9ad2d4a163ff136ec80ae6dd5c778dfa9fa2703041fd232ad374c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54e03d203d9bc426d3bf3936236391b2e36ec3b9ce4cafbe717e68fdfeff1c3d9310bbf31c2bafd2cf6ad4db2a31e033bdda1c8d5997efc62dc335bc687f5b4f
|
|
7
|
+
data.tar.gz: 27cf77e1afe39bc26a3ac3a33757ab153a578a795c5aedb7caf3790aa1168bf45b254f9b4cd5daeed4734fa35f4c91f34d37b3eb6bfdad20316be3f3bd89103b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Release history for google-apis-baremetalsolution_v2
|
|
2
2
|
|
|
3
|
+
### v0.22.0 (2022-08-24)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20220822
|
|
6
|
+
|
|
7
|
+
### v0.21.0 (2022-08-07)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20220731
|
|
10
|
+
|
|
11
|
+
### v0.20.0 (2022-07-31)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20220725
|
|
14
|
+
|
|
3
15
|
### v0.19.0 (2022-07-11)
|
|
4
16
|
|
|
5
17
|
* Regenerated from discovery document revision 20220706
|
|
@@ -53,6 +53,13 @@ module Google
|
|
|
53
53
|
# @return [String]
|
|
54
54
|
attr_accessor :network
|
|
55
55
|
|
|
56
|
+
# Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID
|
|
57
|
+
# is the generated ID instead of customer provided name. example like "10.0.0.0:/
|
|
58
|
+
# g123456789-nfs001"
|
|
59
|
+
# Corresponds to the JSON property `nfsPath`
|
|
60
|
+
# @return [String]
|
|
61
|
+
attr_accessor :nfs_path
|
|
62
|
+
|
|
56
63
|
# Disable root squashing, which is a feature of NFS. Root squash is a special
|
|
57
64
|
# mapping of the remote superuser (root) identity when using identity
|
|
58
65
|
# authentication.
|
|
@@ -61,7 +68,8 @@ module Google
|
|
|
61
68
|
attr_accessor :no_root_squash
|
|
62
69
|
alias_method :no_root_squash?, :no_root_squash
|
|
63
70
|
|
|
64
|
-
# The IP address of the share on this network.
|
|
71
|
+
# Output only. The IP address of the share on this network. Assigned
|
|
72
|
+
# automatically during provisioning based on the network's services_cidr.
|
|
65
73
|
# Corresponds to the JSON property `shareIp`
|
|
66
74
|
# @return [String]
|
|
67
75
|
attr_accessor :share_ip
|
|
@@ -77,6 +85,7 @@ module Google
|
|
|
77
85
|
@allowed_clients_cidr = args[:allowed_clients_cidr] if args.key?(:allowed_clients_cidr)
|
|
78
86
|
@mount_permissions = args[:mount_permissions] if args.key?(:mount_permissions)
|
|
79
87
|
@network = args[:network] if args.key?(:network)
|
|
88
|
+
@nfs_path = args[:nfs_path] if args.key?(:nfs_path)
|
|
80
89
|
@no_root_squash = args[:no_root_squash] if args.key?(:no_root_squash)
|
|
81
90
|
@share_ip = args[:share_ip] if args.key?(:share_ip)
|
|
82
91
|
end
|
|
@@ -213,13 +222,13 @@ module Google
|
|
|
213
222
|
attr_accessor :hyperthreading_enabled
|
|
214
223
|
alias_method :hyperthreading_enabled?, :hyperthreading_enabled
|
|
215
224
|
|
|
216
|
-
# An identifier for the `Instance`, generated by the backend.
|
|
225
|
+
# Output only. An identifier for the `Instance`, generated by the backend.
|
|
217
226
|
# Corresponds to the JSON property `id`
|
|
218
227
|
# @return [String]
|
|
219
228
|
attr_accessor :id
|
|
220
229
|
|
|
221
|
-
# True if the interactive serial console feature is enabled for the
|
|
222
|
-
# false otherwise. The default value is false.
|
|
230
|
+
# Output only. True if the interactive serial console feature is enabled for the
|
|
231
|
+
# instance, false otherwise. The default value is false.
|
|
223
232
|
# Corresponds to the JSON property `interactiveSerialConsoleEnabled`
|
|
224
233
|
# @return [Boolean]
|
|
225
234
|
attr_accessor :interactive_serial_console_enabled
|
|
@@ -241,21 +250,26 @@ module Google
|
|
|
241
250
|
# @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface>]
|
|
242
251
|
attr_accessor :logical_interfaces
|
|
243
252
|
|
|
244
|
-
#
|
|
253
|
+
# Output only. Text field about info for logging in.
|
|
254
|
+
# Corresponds to the JSON property `loginInfo`
|
|
255
|
+
# @return [String]
|
|
256
|
+
attr_accessor :login_info
|
|
257
|
+
|
|
258
|
+
# Immutable. List of LUNs associated with this server.
|
|
245
259
|
# Corresponds to the JSON property `luns`
|
|
246
260
|
# @return [Array<Google::Apis::BaremetalsolutionV2::Lun>]
|
|
247
261
|
attr_accessor :luns
|
|
248
262
|
|
|
249
|
-
# The server type. [Available server types](https://cloud.google.com/
|
|
250
|
-
# docs/bms-planning#server_configurations)
|
|
263
|
+
# Immutable. The server type. [Available server types](https://cloud.google.com/
|
|
264
|
+
# bare-metal/docs/bms-planning#server_configurations)
|
|
251
265
|
# Corresponds to the JSON property `machineType`
|
|
252
266
|
# @return [String]
|
|
253
267
|
attr_accessor :machine_type
|
|
254
268
|
|
|
255
|
-
#
|
|
256
|
-
#
|
|
257
|
-
#
|
|
258
|
-
#
|
|
269
|
+
# Immutable. The resource name of this `Instance`. Resource names are schemeless
|
|
270
|
+
# URIs that follow the conventions in https://cloud.google.com/apis/design/
|
|
271
|
+
# resource_names. Format: `projects/`project`/locations/`location`/instances/`
|
|
272
|
+
# instance``
|
|
259
273
|
# Corresponds to the JSON property `name`
|
|
260
274
|
# @return [String]
|
|
261
275
|
attr_accessor :name
|
|
@@ -266,7 +280,7 @@ module Google
|
|
|
266
280
|
# @return [String]
|
|
267
281
|
attr_accessor :network_template
|
|
268
282
|
|
|
269
|
-
# List of networks associated with this server.
|
|
283
|
+
# Output only. List of networks associated with this server.
|
|
270
284
|
# Corresponds to the JSON property `networks`
|
|
271
285
|
# @return [Array<Google::Apis::BaremetalsolutionV2::Network>]
|
|
272
286
|
attr_accessor :networks
|
|
@@ -283,7 +297,7 @@ module Google
|
|
|
283
297
|
# @return [String]
|
|
284
298
|
attr_accessor :pod
|
|
285
299
|
|
|
286
|
-
# The state of the server.
|
|
300
|
+
# Output only. The state of the server.
|
|
287
301
|
# Corresponds to the JSON property `state`
|
|
288
302
|
# @return [String]
|
|
289
303
|
attr_accessor :state
|
|
@@ -293,6 +307,12 @@ module Google
|
|
|
293
307
|
# @return [String]
|
|
294
308
|
attr_accessor :update_time
|
|
295
309
|
|
|
310
|
+
# Input only. List of Volumes to attach to this Instance on creation. This field
|
|
311
|
+
# won't be populated in Get/List responses.
|
|
312
|
+
# Corresponds to the JSON property `volumes`
|
|
313
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::Volume>]
|
|
314
|
+
attr_accessor :volumes
|
|
315
|
+
|
|
296
316
|
def initialize(**args)
|
|
297
317
|
update!(**args)
|
|
298
318
|
end
|
|
@@ -305,6 +325,7 @@ module Google
|
|
|
305
325
|
@interactive_serial_console_enabled = args[:interactive_serial_console_enabled] if args.key?(:interactive_serial_console_enabled)
|
|
306
326
|
@labels = args[:labels] if args.key?(:labels)
|
|
307
327
|
@logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
|
|
328
|
+
@login_info = args[:login_info] if args.key?(:login_info)
|
|
308
329
|
@luns = args[:luns] if args.key?(:luns)
|
|
309
330
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
310
331
|
@name = args[:name] if args.key?(:name)
|
|
@@ -314,6 +335,7 @@ module Google
|
|
|
314
335
|
@pod = args[:pod] if args.key?(:pod)
|
|
315
336
|
@state = args[:state] if args.key?(:state)
|
|
316
337
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
338
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
|
317
339
|
end
|
|
318
340
|
end
|
|
319
341
|
|
|
@@ -421,7 +443,12 @@ module Google
|
|
|
421
443
|
# @return [Fixnum]
|
|
422
444
|
attr_accessor :available_machine_count
|
|
423
445
|
|
|
424
|
-
#
|
|
446
|
+
# The gcp service of the provisioning quota.
|
|
447
|
+
# Corresponds to the JSON property `gcpService`
|
|
448
|
+
# @return [String]
|
|
449
|
+
attr_accessor :gcp_service
|
|
450
|
+
|
|
451
|
+
# Instance type. Deprecated: use gcp_service.
|
|
425
452
|
# Corresponds to the JSON property `instanceType`
|
|
426
453
|
# @return [String]
|
|
427
454
|
attr_accessor :instance_type
|
|
@@ -443,6 +470,7 @@ module Google
|
|
|
443
470
|
# Update properties of this object
|
|
444
471
|
def update!(**args)
|
|
445
472
|
@available_machine_count = args[:available_machine_count] if args.key?(:available_machine_count)
|
|
473
|
+
@gcp_service = args[:gcp_service] if args.key?(:gcp_service)
|
|
446
474
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
|
447
475
|
@location = args[:location] if args.key?(:location)
|
|
448
476
|
@name = args[:name] if args.key?(:name)
|
|
@@ -911,6 +939,12 @@ module Google
|
|
|
911
939
|
# @return [String]
|
|
912
940
|
attr_accessor :ip_address
|
|
913
941
|
|
|
942
|
+
# Whether network uses standard frames or jumbo ones.
|
|
943
|
+
# Corresponds to the JSON property `jumboFramesEnabled`
|
|
944
|
+
# @return [Boolean]
|
|
945
|
+
attr_accessor :jumbo_frames_enabled
|
|
946
|
+
alias_method :jumbo_frames_enabled?, :jumbo_frames_enabled
|
|
947
|
+
|
|
914
948
|
# Labels as key value pairs.
|
|
915
949
|
# Corresponds to the JSON property `labels`
|
|
916
950
|
# @return [Hash<String,String>]
|
|
@@ -921,6 +955,11 @@ module Google
|
|
|
921
955
|
# @return [Array<String>]
|
|
922
956
|
attr_accessor :mac_address
|
|
923
957
|
|
|
958
|
+
# Input only. List of mount points to attach the network to.
|
|
959
|
+
# Corresponds to the JSON property `mountPoints`
|
|
960
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::NetworkMountPoint>]
|
|
961
|
+
attr_accessor :mount_points
|
|
962
|
+
|
|
924
963
|
# Output only. The resource name of this `Network`. Resource names are
|
|
925
964
|
# schemeless URIs that follow the conventions in https://cloud.google.com/apis/
|
|
926
965
|
# design/resource_names. Format: `projects/`project`/locations/`location`/
|
|
@@ -929,6 +968,11 @@ module Google
|
|
|
929
968
|
# @return [String]
|
|
930
969
|
attr_accessor :name
|
|
931
970
|
|
|
971
|
+
# Output only. Pod name.
|
|
972
|
+
# Corresponds to the JSON property `pod`
|
|
973
|
+
# @return [String]
|
|
974
|
+
attr_accessor :pod
|
|
975
|
+
|
|
932
976
|
# List of IP address reservations in this network. When updating this field, an
|
|
933
977
|
# error will be generated if a reservation conflicts with an IP address already
|
|
934
978
|
# allocated to a physical server.
|
|
@@ -970,9 +1014,12 @@ module Google
|
|
|
970
1014
|
@cidr = args[:cidr] if args.key?(:cidr)
|
|
971
1015
|
@id = args[:id] if args.key?(:id)
|
|
972
1016
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
1017
|
+
@jumbo_frames_enabled = args[:jumbo_frames_enabled] if args.key?(:jumbo_frames_enabled)
|
|
973
1018
|
@labels = args[:labels] if args.key?(:labels)
|
|
974
1019
|
@mac_address = args[:mac_address] if args.key?(:mac_address)
|
|
1020
|
+
@mount_points = args[:mount_points] if args.key?(:mount_points)
|
|
975
1021
|
@name = args[:name] if args.key?(:name)
|
|
1022
|
+
@pod = args[:pod] if args.key?(:pod)
|
|
976
1023
|
@reservations = args[:reservations] if args.key?(:reservations)
|
|
977
1024
|
@services_cidr = args[:services_cidr] if args.key?(:services_cidr)
|
|
978
1025
|
@state = args[:state] if args.key?(:state)
|
|
@@ -1132,6 +1179,44 @@ module Google
|
|
|
1132
1179
|
end
|
|
1133
1180
|
end
|
|
1134
1181
|
|
|
1182
|
+
# Mount point for a network.
|
|
1183
|
+
class NetworkMountPoint
|
|
1184
|
+
include Google::Apis::Core::Hashable
|
|
1185
|
+
|
|
1186
|
+
# Network should be a default gateway.
|
|
1187
|
+
# Corresponds to the JSON property `defaultGateway`
|
|
1188
|
+
# @return [Boolean]
|
|
1189
|
+
attr_accessor :default_gateway
|
|
1190
|
+
alias_method :default_gateway?, :default_gateway
|
|
1191
|
+
|
|
1192
|
+
# Instance to attach network to.
|
|
1193
|
+
# Corresponds to the JSON property `instance`
|
|
1194
|
+
# @return [String]
|
|
1195
|
+
attr_accessor :instance
|
|
1196
|
+
|
|
1197
|
+
# Ip address of the server.
|
|
1198
|
+
# Corresponds to the JSON property `ipAddress`
|
|
1199
|
+
# @return [String]
|
|
1200
|
+
attr_accessor :ip_address
|
|
1201
|
+
|
|
1202
|
+
# Logical interface to detach from.
|
|
1203
|
+
# Corresponds to the JSON property `logicalInterface`
|
|
1204
|
+
# @return [String]
|
|
1205
|
+
attr_accessor :logical_interface
|
|
1206
|
+
|
|
1207
|
+
def initialize(**args)
|
|
1208
|
+
update!(**args)
|
|
1209
|
+
end
|
|
1210
|
+
|
|
1211
|
+
# Update properties of this object
|
|
1212
|
+
def update!(**args)
|
|
1213
|
+
@default_gateway = args[:default_gateway] if args.key?(:default_gateway)
|
|
1214
|
+
@instance = args[:instance] if args.key?(:instance)
|
|
1215
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
1216
|
+
@logical_interface = args[:logical_interface] if args.key?(:logical_interface)
|
|
1217
|
+
end
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1135
1220
|
# Network with all used IP addresses.
|
|
1136
1221
|
class NetworkUsage
|
|
1137
1222
|
include Google::Apis::Core::Hashable
|
|
@@ -1238,7 +1323,7 @@ module Google
|
|
|
1238
1323
|
# @return [Hash<String,String>]
|
|
1239
1324
|
attr_accessor :labels
|
|
1240
1325
|
|
|
1241
|
-
#
|
|
1326
|
+
# Immutable. The name of the NFS share.
|
|
1242
1327
|
# Corresponds to the JSON property `name`
|
|
1243
1328
|
# @return [String]
|
|
1244
1329
|
attr_accessor :name
|
|
@@ -1254,12 +1339,18 @@ module Google
|
|
|
1254
1339
|
# @return [Fixnum]
|
|
1255
1340
|
attr_accessor :requested_size_gib
|
|
1256
1341
|
|
|
1257
|
-
# The state of the NFS share.
|
|
1342
|
+
# Output only. The state of the NFS share.
|
|
1258
1343
|
# Corresponds to the JSON property `state`
|
|
1259
1344
|
# @return [String]
|
|
1260
1345
|
attr_accessor :state
|
|
1261
1346
|
|
|
1262
|
-
# The
|
|
1347
|
+
# Immutable. The storage type of the underlying volume.
|
|
1348
|
+
# Corresponds to the JSON property `storageType`
|
|
1349
|
+
# @return [String]
|
|
1350
|
+
attr_accessor :storage_type
|
|
1351
|
+
|
|
1352
|
+
# Output only. The underlying volume of the share. Created automatically during
|
|
1353
|
+
# provisioning.
|
|
1263
1354
|
# Corresponds to the JSON property `volume`
|
|
1264
1355
|
# @return [String]
|
|
1265
1356
|
attr_accessor :volume
|
|
@@ -1277,6 +1368,7 @@ module Google
|
|
|
1277
1368
|
@nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id)
|
|
1278
1369
|
@requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib)
|
|
1279
1370
|
@state = args[:state] if args.key?(:state)
|
|
1371
|
+
@storage_type = args[:storage_type] if args.key?(:storage_type)
|
|
1280
1372
|
@volume = args[:volume] if args.key?(:volume)
|
|
1281
1373
|
end
|
|
1282
1374
|
end
|
|
@@ -1886,6 +1978,11 @@ module Google
|
|
|
1886
1978
|
class VlanAttachment
|
|
1887
1979
|
include Google::Apis::Core::Hashable
|
|
1888
1980
|
|
|
1981
|
+
# Input only. Pairing key.
|
|
1982
|
+
# Corresponds to the JSON property `pairingKey`
|
|
1983
|
+
# @return [String]
|
|
1984
|
+
attr_accessor :pairing_key
|
|
1985
|
+
|
|
1889
1986
|
# The peer IP of the attachment.
|
|
1890
1987
|
# Corresponds to the JSON property `peerIp`
|
|
1891
1988
|
# @return [String]
|
|
@@ -1896,6 +1993,11 @@ module Google
|
|
|
1896
1993
|
# @return [Fixnum]
|
|
1897
1994
|
attr_accessor :peer_vlan_id
|
|
1898
1995
|
|
|
1996
|
+
# QOS policy parameters.
|
|
1997
|
+
# Corresponds to the JSON property `qosPolicy`
|
|
1998
|
+
# @return [Google::Apis::BaremetalsolutionV2::QosPolicy]
|
|
1999
|
+
attr_accessor :qos_policy
|
|
2000
|
+
|
|
1899
2001
|
# The router IP of the attachment.
|
|
1900
2002
|
# Corresponds to the JSON property `routerIp`
|
|
1901
2003
|
# @return [String]
|
|
@@ -1907,8 +2009,10 @@ module Google
|
|
|
1907
2009
|
|
|
1908
2010
|
# Update properties of this object
|
|
1909
2011
|
def update!(**args)
|
|
2012
|
+
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
|
1910
2013
|
@peer_ip = args[:peer_ip] if args.key?(:peer_ip)
|
|
1911
2014
|
@peer_vlan_id = args[:peer_vlan_id] if args.key?(:peer_vlan_id)
|
|
2015
|
+
@qos_policy = args[:qos_policy] if args.key?(:qos_policy)
|
|
1912
2016
|
@router_ip = args[:router_ip] if args.key?(:router_ip)
|
|
1913
2017
|
end
|
|
1914
2018
|
end
|
|
@@ -1923,6 +2027,13 @@ module Google
|
|
|
1923
2027
|
# @return [Fixnum]
|
|
1924
2028
|
attr_accessor :auto_grown_size_gib
|
|
1925
2029
|
|
|
2030
|
+
# Output only. Whether this volume is a boot volume. A boot volume is one which
|
|
2031
|
+
# contains a boot LUN.
|
|
2032
|
+
# Corresponds to the JSON property `bootVolume`
|
|
2033
|
+
# @return [Boolean]
|
|
2034
|
+
attr_accessor :boot_volume
|
|
2035
|
+
alias_method :boot_volume?, :boot_volume
|
|
2036
|
+
|
|
1926
2037
|
# The current size of this storage volume, in GiB, including space reserved for
|
|
1927
2038
|
# snapshots. This size might be different than the requested size if the storage
|
|
1928
2039
|
# volume has been configured with auto grow or auto shrink.
|
|
@@ -1969,6 +2080,11 @@ module Google
|
|
|
1969
2080
|
# @return [String]
|
|
1970
2081
|
attr_accessor :pod
|
|
1971
2082
|
|
|
2083
|
+
# Output only. Storage protocol for the Volume.
|
|
2084
|
+
# Corresponds to the JSON property `protocol`
|
|
2085
|
+
# @return [String]
|
|
2086
|
+
attr_accessor :protocol
|
|
2087
|
+
|
|
1972
2088
|
# The space remaining in the storage volume for new LUNs, in GiB, excluding
|
|
1973
2089
|
# space reserved for snapshots.
|
|
1974
2090
|
# Corresponds to the JSON property `remainingSpaceGib`
|
|
@@ -2018,6 +2134,7 @@ module Google
|
|
|
2018
2134
|
# Update properties of this object
|
|
2019
2135
|
def update!(**args)
|
|
2020
2136
|
@auto_grown_size_gib = args[:auto_grown_size_gib] if args.key?(:auto_grown_size_gib)
|
|
2137
|
+
@boot_volume = args[:boot_volume] if args.key?(:boot_volume)
|
|
2021
2138
|
@current_size_gib = args[:current_size_gib] if args.key?(:current_size_gib)
|
|
2022
2139
|
@emergency_size_gib = args[:emergency_size_gib] if args.key?(:emergency_size_gib)
|
|
2023
2140
|
@id = args[:id] if args.key?(:id)
|
|
@@ -2026,6 +2143,7 @@ module Google
|
|
|
2026
2143
|
@name = args[:name] if args.key?(:name)
|
|
2027
2144
|
@originally_requested_size_gib = args[:originally_requested_size_gib] if args.key?(:originally_requested_size_gib)
|
|
2028
2145
|
@pod = args[:pod] if args.key?(:pod)
|
|
2146
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
|
2029
2147
|
@remaining_space_gib = args[:remaining_space_gib] if args.key?(:remaining_space_gib)
|
|
2030
2148
|
@requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib)
|
|
2031
2149
|
@snapshot_auto_delete_behavior = args[:snapshot_auto_delete_behavior] if args.key?(:snapshot_auto_delete_behavior)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module BaremetalsolutionV2
|
|
18
18
|
# Version of the google-apis-baremetalsolution_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.22.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220822"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -172,6 +172,12 @@ module Google
|
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
+
class NetworkMountPoint
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
175
181
|
class NetworkUsage
|
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
183
|
|
|
@@ -312,6 +318,7 @@ module Google
|
|
|
312
318
|
property :allowed_clients_cidr, as: 'allowedClientsCidr'
|
|
313
319
|
property :mount_permissions, as: 'mountPermissions'
|
|
314
320
|
property :network, as: 'network'
|
|
321
|
+
property :nfs_path, as: 'nfsPath'
|
|
315
322
|
property :no_root_squash, as: 'noRootSquash'
|
|
316
323
|
property :share_ip, as: 'shareIp'
|
|
317
324
|
end
|
|
@@ -362,6 +369,7 @@ module Google
|
|
|
362
369
|
hash :labels, as: 'labels'
|
|
363
370
|
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface::Representation
|
|
364
371
|
|
|
372
|
+
property :login_info, as: 'loginInfo'
|
|
365
373
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
|
366
374
|
|
|
367
375
|
property :machine_type, as: 'machineType'
|
|
@@ -373,6 +381,8 @@ module Google
|
|
|
373
381
|
property :pod, as: 'pod'
|
|
374
382
|
property :state, as: 'state'
|
|
375
383
|
property :update_time, as: 'updateTime'
|
|
384
|
+
collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::Volume, decorator: Google::Apis::BaremetalsolutionV2::Volume::Representation
|
|
385
|
+
|
|
376
386
|
end
|
|
377
387
|
end
|
|
378
388
|
|
|
@@ -401,6 +411,7 @@ module Google
|
|
|
401
411
|
# @private
|
|
402
412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
403
413
|
property :available_machine_count, as: 'availableMachineCount'
|
|
414
|
+
property :gcp_service, as: 'gcpService'
|
|
404
415
|
property :instance_type, as: 'instanceType'
|
|
405
416
|
property :location, as: 'location'
|
|
406
417
|
property :name, as: 'name'
|
|
@@ -543,9 +554,13 @@ module Google
|
|
|
543
554
|
property :cidr, as: 'cidr'
|
|
544
555
|
property :id, as: 'id'
|
|
545
556
|
property :ip_address, as: 'ipAddress'
|
|
557
|
+
property :jumbo_frames_enabled, as: 'jumboFramesEnabled'
|
|
546
558
|
hash :labels, as: 'labels'
|
|
547
559
|
collection :mac_address, as: 'macAddress'
|
|
560
|
+
collection :mount_points, as: 'mountPoints', class: Google::Apis::BaremetalsolutionV2::NetworkMountPoint, decorator: Google::Apis::BaremetalsolutionV2::NetworkMountPoint::Representation
|
|
561
|
+
|
|
548
562
|
property :name, as: 'name'
|
|
563
|
+
property :pod, as: 'pod'
|
|
549
564
|
collection :reservations, as: 'reservations', class: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation::Representation
|
|
550
565
|
|
|
551
566
|
property :services_cidr, as: 'servicesCidr'
|
|
@@ -593,6 +608,16 @@ module Google
|
|
|
593
608
|
end
|
|
594
609
|
end
|
|
595
610
|
|
|
611
|
+
class NetworkMountPoint
|
|
612
|
+
# @private
|
|
613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
614
|
+
property :default_gateway, as: 'defaultGateway'
|
|
615
|
+
property :instance, as: 'instance'
|
|
616
|
+
property :ip_address, as: 'ipAddress'
|
|
617
|
+
property :logical_interface, as: 'logicalInterface'
|
|
618
|
+
end
|
|
619
|
+
end
|
|
620
|
+
|
|
596
621
|
class NetworkUsage
|
|
597
622
|
# @private
|
|
598
623
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -626,6 +651,7 @@ module Google
|
|
|
626
651
|
property :nfs_share_id, as: 'nfsShareId'
|
|
627
652
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
|
628
653
|
property :state, as: 'state'
|
|
654
|
+
property :storage_type, as: 'storageType'
|
|
629
655
|
property :volume, as: 'volume'
|
|
630
656
|
end
|
|
631
657
|
end
|
|
@@ -798,8 +824,11 @@ module Google
|
|
|
798
824
|
class VlanAttachment
|
|
799
825
|
# @private
|
|
800
826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
827
|
+
property :pairing_key, as: 'pairingKey'
|
|
801
828
|
property :peer_ip, as: 'peerIp'
|
|
802
829
|
property :peer_vlan_id, :numeric_string => true, as: 'peerVlanId'
|
|
830
|
+
property :qos_policy, as: 'qosPolicy', class: Google::Apis::BaremetalsolutionV2::QosPolicy, decorator: Google::Apis::BaremetalsolutionV2::QosPolicy::Representation
|
|
831
|
+
|
|
803
832
|
property :router_ip, as: 'routerIp'
|
|
804
833
|
end
|
|
805
834
|
end
|
|
@@ -808,6 +837,7 @@ module Google
|
|
|
808
837
|
# @private
|
|
809
838
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
810
839
|
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
|
840
|
+
property :boot_volume, as: 'bootVolume'
|
|
811
841
|
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
|
812
842
|
property :emergency_size_gib, :numeric_string => true, as: 'emergencySizeGib'
|
|
813
843
|
property :id, as: 'id'
|
|
@@ -816,6 +846,7 @@ module Google
|
|
|
816
846
|
property :name, as: 'name'
|
|
817
847
|
property :originally_requested_size_gib, :numeric_string => true, as: 'originallyRequestedSizeGib'
|
|
818
848
|
property :pod, as: 'pod'
|
|
849
|
+
property :protocol, as: 'protocol'
|
|
819
850
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
|
820
851
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
|
821
852
|
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
|
@@ -154,6 +154,39 @@ module Google
|
|
|
154
154
|
execute_or_queue_command(command, &block)
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
+
# Create an Instance.
|
|
158
|
+
# @param [String] parent
|
|
159
|
+
# Required. The parent project and location.
|
|
160
|
+
# @param [Google::Apis::BaremetalsolutionV2::Instance] instance_object
|
|
161
|
+
# @param [String] fields
|
|
162
|
+
# Selector specifying which fields to include in a partial response.
|
|
163
|
+
# @param [String] quota_user
|
|
164
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
165
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
166
|
+
# @param [Google::Apis::RequestOptions] options
|
|
167
|
+
# Request-specific options
|
|
168
|
+
#
|
|
169
|
+
# @yield [result, err] Result & error if block supplied
|
|
170
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
|
|
171
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
172
|
+
#
|
|
173
|
+
# @return [Google::Apis::BaremetalsolutionV2::Operation]
|
|
174
|
+
#
|
|
175
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
176
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
177
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
178
|
+
def create_project_location_instance(parent, instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
179
|
+
command = make_simple_command(:post, 'v2/{+parent}/instances', options)
|
|
180
|
+
command.request_representation = Google::Apis::BaremetalsolutionV2::Instance::Representation
|
|
181
|
+
command.request_object = instance_object
|
|
182
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
|
|
183
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::Operation
|
|
184
|
+
command.params['parent'] = parent unless parent.nil?
|
|
185
|
+
command.query['fields'] = fields unless fields.nil?
|
|
186
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
187
|
+
execute_or_queue_command(command, &block)
|
|
188
|
+
end
|
|
189
|
+
|
|
157
190
|
# Detach LUN from Instance.
|
|
158
191
|
# @param [String] instance
|
|
159
192
|
# Required. Name of the instance.
|
|
@@ -259,10 +292,10 @@ module Google
|
|
|
259
292
|
|
|
260
293
|
# Update details of a single server.
|
|
261
294
|
# @param [String] name
|
|
262
|
-
#
|
|
263
|
-
#
|
|
264
|
-
#
|
|
265
|
-
#
|
|
295
|
+
# Immutable. The resource name of this `Instance`. Resource names are schemeless
|
|
296
|
+
# URIs that follow the conventions in https://cloud.google.com/apis/design/
|
|
297
|
+
# resource_names. Format: `projects/`project`/locations/`location`/instances/`
|
|
298
|
+
# instance``
|
|
266
299
|
# @param [Google::Apis::BaremetalsolutionV2::Instance] instance_object
|
|
267
300
|
# @param [String] update_mask
|
|
268
301
|
# The list of fields to update. The currently supported fields are: `labels` `
|
|
@@ -538,6 +571,69 @@ module Google
|
|
|
538
571
|
execute_or_queue_command(command, &block)
|
|
539
572
|
end
|
|
540
573
|
|
|
574
|
+
# Create an NFS share.
|
|
575
|
+
# @param [String] parent
|
|
576
|
+
# Required. The parent project and location.
|
|
577
|
+
# @param [Google::Apis::BaremetalsolutionV2::NfsShare] nfs_share_object
|
|
578
|
+
# @param [String] fields
|
|
579
|
+
# Selector specifying which fields to include in a partial response.
|
|
580
|
+
# @param [String] quota_user
|
|
581
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
582
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
583
|
+
# @param [Google::Apis::RequestOptions] options
|
|
584
|
+
# Request-specific options
|
|
585
|
+
#
|
|
586
|
+
# @yield [result, err] Result & error if block supplied
|
|
587
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
|
|
588
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
589
|
+
#
|
|
590
|
+
# @return [Google::Apis::BaremetalsolutionV2::Operation]
|
|
591
|
+
#
|
|
592
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
593
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
594
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
595
|
+
def create_project_location_nfs_share(parent, nfs_share_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
596
|
+
command = make_simple_command(:post, 'v2/{+parent}/nfsShares', options)
|
|
597
|
+
command.request_representation = Google::Apis::BaremetalsolutionV2::NfsShare::Representation
|
|
598
|
+
command.request_object = nfs_share_object
|
|
599
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
|
|
600
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::Operation
|
|
601
|
+
command.params['parent'] = parent unless parent.nil?
|
|
602
|
+
command.query['fields'] = fields unless fields.nil?
|
|
603
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
604
|
+
execute_or_queue_command(command, &block)
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
# Delete an NFS share. The underlying volume is automatically deleted.
|
|
608
|
+
# @param [String] name
|
|
609
|
+
# Required. The name of the NFS share to delete.
|
|
610
|
+
# @param [String] fields
|
|
611
|
+
# Selector specifying which fields to include in a partial response.
|
|
612
|
+
# @param [String] quota_user
|
|
613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
615
|
+
# @param [Google::Apis::RequestOptions] options
|
|
616
|
+
# Request-specific options
|
|
617
|
+
#
|
|
618
|
+
# @yield [result, err] Result & error if block supplied
|
|
619
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
|
|
620
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
621
|
+
#
|
|
622
|
+
# @return [Google::Apis::BaremetalsolutionV2::Operation]
|
|
623
|
+
#
|
|
624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
627
|
+
def delete_project_location_nfs_share(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
628
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
|
629
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
|
|
630
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::Operation
|
|
631
|
+
command.params['name'] = name unless name.nil?
|
|
632
|
+
command.query['fields'] = fields unless fields.nil?
|
|
633
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
634
|
+
execute_or_queue_command(command, &block)
|
|
635
|
+
end
|
|
636
|
+
|
|
541
637
|
# Get details of a single NFS share.
|
|
542
638
|
# @param [String] name
|
|
543
639
|
# Required. Name of the resource.
|
|
@@ -610,10 +706,11 @@ module Google
|
|
|
610
706
|
|
|
611
707
|
# Update details of a single NFS share.
|
|
612
708
|
# @param [String] name
|
|
613
|
-
#
|
|
709
|
+
# Immutable. The name of the NFS share.
|
|
614
710
|
# @param [Google::Apis::BaremetalsolutionV2::NfsShare] nfs_share_object
|
|
615
711
|
# @param [String] update_mask
|
|
616
712
|
# The list of fields to update. The only currently supported fields are: `labels`
|
|
713
|
+
# `allowed_clients`
|
|
617
714
|
# @param [String] fields
|
|
618
715
|
# Selector specifying which fields to include in a partial response.
|
|
619
716
|
# @param [String] quota_user
|
|
@@ -930,9 +1027,7 @@ module Google
|
|
|
930
1027
|
# volume``
|
|
931
1028
|
# @param [Google::Apis::BaremetalsolutionV2::Volume] volume_object
|
|
932
1029
|
# @param [String] update_mask
|
|
933
|
-
# The list of fields to update. The only currently supported fields are:
|
|
934
|
-
# snapshot_auto_delete_behavior` `snapshot_schedule_policy_name` 'labels' '
|
|
935
|
-
# snapshot_enabled' 'snapshot_reservation_detail.reserved_space_percent'
|
|
1030
|
+
# The list of fields to update. The only currently supported fields are: 'labels'
|
|
936
1031
|
# @param [String] fields
|
|
937
1032
|
# Selector specifying which fields to include in a partial response.
|
|
938
1033
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-baremetalsolution_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.22.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: 2022-
|
|
11
|
+
date: 2022-08-29 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-baremetalsolution_v2/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.22.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-baremetalsolution_v2
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|