google-apis-baremetalsolution_v2 0.18.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +70 -14
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +3 -3
- data/lib/google/apis/baremetalsolution_v2/representations.rb +9 -0
- data/lib/google/apis/baremetalsolution_v2/service.rb +69 -7
- 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: bdda774e2df0db0b53d093680b310807ce959faac9ced500c731ee91b32f89bf
|
4
|
+
data.tar.gz: 565c052888026e00cdc87495ac053f115a68b63cae40246ef64e1afb7b6e84cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bebcf03a015705f6d863f232977706c89b3da80c391d55d8f7cb126617aea1cbac49d2ca354f63c396190ee3c14b78447c5e9bf099e5d49b1ae830bfefc5bef8
|
7
|
+
data.tar.gz: 838a074a2593c25a0de39a9f3e66c51a219caba27488020ed93239e315626cc16c952e8cace936101c8a97d75661777b4cdfa5460420c81e1a554c243a356102
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-baremetalsolution_v2
|
2
2
|
|
3
|
+
### v0.21.0 (2022-08-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220731
|
6
|
+
|
7
|
+
### v0.20.0 (2022-07-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220725
|
10
|
+
|
11
|
+
### v0.19.0 (2022-07-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220706
|
14
|
+
* Regenerated using generator version 0.9.0
|
15
|
+
|
3
16
|
### v0.18.0 (2022-06-30)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.8.0
|
@@ -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.
|
@@ -77,6 +84,7 @@ module Google
|
|
77
84
|
@allowed_clients_cidr = args[:allowed_clients_cidr] if args.key?(:allowed_clients_cidr)
|
78
85
|
@mount_permissions = args[:mount_permissions] if args.key?(:mount_permissions)
|
79
86
|
@network = args[:network] if args.key?(:network)
|
87
|
+
@nfs_path = args[:nfs_path] if args.key?(:nfs_path)
|
80
88
|
@no_root_squash = args[:no_root_squash] if args.key?(:no_root_squash)
|
81
89
|
@share_ip = args[:share_ip] if args.key?(:share_ip)
|
82
90
|
end
|
@@ -91,6 +99,12 @@ module Google
|
|
91
99
|
# @return [String]
|
92
100
|
attr_accessor :lun
|
93
101
|
|
102
|
+
# If true, performs lun unmapping without instance reboot.
|
103
|
+
# Corresponds to the JSON property `skipReboot`
|
104
|
+
# @return [Boolean]
|
105
|
+
attr_accessor :skip_reboot
|
106
|
+
alias_method :skip_reboot?, :skip_reboot
|
107
|
+
|
94
108
|
def initialize(**args)
|
95
109
|
update!(**args)
|
96
110
|
end
|
@@ -98,6 +112,7 @@ module Google
|
|
98
112
|
# Update properties of this object
|
99
113
|
def update!(**args)
|
100
114
|
@lun = args[:lun] if args.key?(:lun)
|
115
|
+
@skip_reboot = args[:skip_reboot] if args.key?(:skip_reboot)
|
101
116
|
end
|
102
117
|
end
|
103
118
|
|
@@ -206,13 +221,13 @@ module Google
|
|
206
221
|
attr_accessor :hyperthreading_enabled
|
207
222
|
alias_method :hyperthreading_enabled?, :hyperthreading_enabled
|
208
223
|
|
209
|
-
# An identifier for the `Instance`, generated by the backend.
|
224
|
+
# Output only. An identifier for the `Instance`, generated by the backend.
|
210
225
|
# Corresponds to the JSON property `id`
|
211
226
|
# @return [String]
|
212
227
|
attr_accessor :id
|
213
228
|
|
214
|
-
# True if the interactive serial console feature is enabled for the
|
215
|
-
# false otherwise. The default value is false.
|
229
|
+
# Output only. True if the interactive serial console feature is enabled for the
|
230
|
+
# instance, false otherwise. The default value is false.
|
216
231
|
# Corresponds to the JSON property `interactiveSerialConsoleEnabled`
|
217
232
|
# @return [Boolean]
|
218
233
|
attr_accessor :interactive_serial_console_enabled
|
@@ -234,21 +249,26 @@ module Google
|
|
234
249
|
# @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface>]
|
235
250
|
attr_accessor :logical_interfaces
|
236
251
|
|
237
|
-
#
|
252
|
+
# Output only. Text field about info for logging in.
|
253
|
+
# Corresponds to the JSON property `loginInfo`
|
254
|
+
# @return [String]
|
255
|
+
attr_accessor :login_info
|
256
|
+
|
257
|
+
# Immutable. List of LUNs associated with this server.
|
238
258
|
# Corresponds to the JSON property `luns`
|
239
259
|
# @return [Array<Google::Apis::BaremetalsolutionV2::Lun>]
|
240
260
|
attr_accessor :luns
|
241
261
|
|
242
|
-
# The server type. [Available server types](https://cloud.google.com/
|
243
|
-
# docs/bms-planning#server_configurations)
|
262
|
+
# Immutable. The server type. [Available server types](https://cloud.google.com/
|
263
|
+
# bare-metal/docs/bms-planning#server_configurations)
|
244
264
|
# Corresponds to the JSON property `machineType`
|
245
265
|
# @return [String]
|
246
266
|
attr_accessor :machine_type
|
247
267
|
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
268
|
+
# Immutable. The resource name of this `Instance`. Resource names are schemeless
|
269
|
+
# URIs that follow the conventions in https://cloud.google.com/apis/design/
|
270
|
+
# resource_names. Format: `projects/`project`/locations/`location`/instances/`
|
271
|
+
# instance``
|
252
272
|
# Corresponds to the JSON property `name`
|
253
273
|
# @return [String]
|
254
274
|
attr_accessor :name
|
@@ -259,7 +279,7 @@ module Google
|
|
259
279
|
# @return [String]
|
260
280
|
attr_accessor :network_template
|
261
281
|
|
262
|
-
# List of networks associated with this server.
|
282
|
+
# Output only. List of networks associated with this server.
|
263
283
|
# Corresponds to the JSON property `networks`
|
264
284
|
# @return [Array<Google::Apis::BaremetalsolutionV2::Network>]
|
265
285
|
attr_accessor :networks
|
@@ -276,7 +296,7 @@ module Google
|
|
276
296
|
# @return [String]
|
277
297
|
attr_accessor :pod
|
278
298
|
|
279
|
-
# The state of the server.
|
299
|
+
# Output only. The state of the server.
|
280
300
|
# Corresponds to the JSON property `state`
|
281
301
|
# @return [String]
|
282
302
|
attr_accessor :state
|
@@ -286,6 +306,12 @@ module Google
|
|
286
306
|
# @return [String]
|
287
307
|
attr_accessor :update_time
|
288
308
|
|
309
|
+
# Input only. List of Volumes to attach to this Instance on creation. This field
|
310
|
+
# won't be populated in Get/List responses.
|
311
|
+
# Corresponds to the JSON property `volumes`
|
312
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::Volume>]
|
313
|
+
attr_accessor :volumes
|
314
|
+
|
289
315
|
def initialize(**args)
|
290
316
|
update!(**args)
|
291
317
|
end
|
@@ -298,6 +324,7 @@ module Google
|
|
298
324
|
@interactive_serial_console_enabled = args[:interactive_serial_console_enabled] if args.key?(:interactive_serial_console_enabled)
|
299
325
|
@labels = args[:labels] if args.key?(:labels)
|
300
326
|
@logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
|
327
|
+
@login_info = args[:login_info] if args.key?(:login_info)
|
301
328
|
@luns = args[:luns] if args.key?(:luns)
|
302
329
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
303
330
|
@name = args[:name] if args.key?(:name)
|
@@ -307,6 +334,7 @@ module Google
|
|
307
334
|
@pod = args[:pod] if args.key?(:pod)
|
308
335
|
@state = args[:state] if args.key?(:state)
|
309
336
|
@update_time = args[:update_time] if args.key?(:update_time)
|
337
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
310
338
|
end
|
311
339
|
end
|
312
340
|
|
@@ -414,7 +442,12 @@ module Google
|
|
414
442
|
# @return [Fixnum]
|
415
443
|
attr_accessor :available_machine_count
|
416
444
|
|
417
|
-
#
|
445
|
+
# The gcp service of the provisioning quota.
|
446
|
+
# Corresponds to the JSON property `gcpService`
|
447
|
+
# @return [String]
|
448
|
+
attr_accessor :gcp_service
|
449
|
+
|
450
|
+
# Instance type. Deprecated: use gcp_service.
|
418
451
|
# Corresponds to the JSON property `instanceType`
|
419
452
|
# @return [String]
|
420
453
|
attr_accessor :instance_type
|
@@ -436,6 +469,7 @@ module Google
|
|
436
469
|
# Update properties of this object
|
437
470
|
def update!(**args)
|
438
471
|
@available_machine_count = args[:available_machine_count] if args.key?(:available_machine_count)
|
472
|
+
@gcp_service = args[:gcp_service] if args.key?(:gcp_service)
|
439
473
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
440
474
|
@location = args[:location] if args.key?(:location)
|
441
475
|
@name = args[:name] if args.key?(:name)
|
@@ -1220,6 +1254,12 @@ module Google
|
|
1220
1254
|
# @return [Array<Google::Apis::BaremetalsolutionV2::AllowedClient>]
|
1221
1255
|
attr_accessor :allowed_clients
|
1222
1256
|
|
1257
|
+
# Output only. An identifier for the NFS share, generated by the backend. This
|
1258
|
+
# is the same value as nfs_share_id and will replace it in the future.
|
1259
|
+
# Corresponds to the JSON property `id`
|
1260
|
+
# @return [String]
|
1261
|
+
attr_accessor :id
|
1262
|
+
|
1223
1263
|
# Labels as key value pairs.
|
1224
1264
|
# Corresponds to the JSON property `labels`
|
1225
1265
|
# @return [Hash<String,String>]
|
@@ -1230,7 +1270,8 @@ module Google
|
|
1230
1270
|
# @return [String]
|
1231
1271
|
attr_accessor :name
|
1232
1272
|
|
1233
|
-
# Output only. An identifier for the NFS share, generated by the backend.
|
1273
|
+
# Output only. An identifier for the NFS share, generated by the backend. This
|
1274
|
+
# field will be deprecated in the future, use `id` instead.
|
1234
1275
|
# Corresponds to the JSON property `nfsShareId`
|
1235
1276
|
# @return [String]
|
1236
1277
|
attr_accessor :nfs_share_id
|
@@ -1257,6 +1298,7 @@ module Google
|
|
1257
1298
|
# Update properties of this object
|
1258
1299
|
def update!(**args)
|
1259
1300
|
@allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
|
1301
|
+
@id = args[:id] if args.key?(:id)
|
1260
1302
|
@labels = args[:labels] if args.key?(:labels)
|
1261
1303
|
@name = args[:name] if args.key?(:name)
|
1262
1304
|
@nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id)
|
@@ -1908,6 +1950,13 @@ module Google
|
|
1908
1950
|
# @return [Fixnum]
|
1909
1951
|
attr_accessor :auto_grown_size_gib
|
1910
1952
|
|
1953
|
+
# Output only. Whether this volume is a boot volume. A boot volume is one which
|
1954
|
+
# contains a boot LUN.
|
1955
|
+
# Corresponds to the JSON property `bootVolume`
|
1956
|
+
# @return [Boolean]
|
1957
|
+
attr_accessor :boot_volume
|
1958
|
+
alias_method :boot_volume?, :boot_volume
|
1959
|
+
|
1911
1960
|
# The current size of this storage volume, in GiB, including space reserved for
|
1912
1961
|
# snapshots. This size might be different than the requested size if the storage
|
1913
1962
|
# volume has been configured with auto grow or auto shrink.
|
@@ -1954,6 +2003,11 @@ module Google
|
|
1954
2003
|
# @return [String]
|
1955
2004
|
attr_accessor :pod
|
1956
2005
|
|
2006
|
+
# Output only. Storage protocol for the Volume.
|
2007
|
+
# Corresponds to the JSON property `protocol`
|
2008
|
+
# @return [String]
|
2009
|
+
attr_accessor :protocol
|
2010
|
+
|
1957
2011
|
# The space remaining in the storage volume for new LUNs, in GiB, excluding
|
1958
2012
|
# space reserved for snapshots.
|
1959
2013
|
# Corresponds to the JSON property `remainingSpaceGib`
|
@@ -2003,6 +2057,7 @@ module Google
|
|
2003
2057
|
# Update properties of this object
|
2004
2058
|
def update!(**args)
|
2005
2059
|
@auto_grown_size_gib = args[:auto_grown_size_gib] if args.key?(:auto_grown_size_gib)
|
2060
|
+
@boot_volume = args[:boot_volume] if args.key?(:boot_volume)
|
2006
2061
|
@current_size_gib = args[:current_size_gib] if args.key?(:current_size_gib)
|
2007
2062
|
@emergency_size_gib = args[:emergency_size_gib] if args.key?(:emergency_size_gib)
|
2008
2063
|
@id = args[:id] if args.key?(:id)
|
@@ -2011,6 +2066,7 @@ module Google
|
|
2011
2066
|
@name = args[:name] if args.key?(:name)
|
2012
2067
|
@originally_requested_size_gib = args[:originally_requested_size_gib] if args.key?(:originally_requested_size_gib)
|
2013
2068
|
@pod = args[:pod] if args.key?(:pod)
|
2069
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
2014
2070
|
@remaining_space_gib = args[:remaining_space_gib] if args.key?(:remaining_space_gib)
|
2015
2071
|
@requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib)
|
2016
2072
|
@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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220731"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -312,6 +312,7 @@ module Google
|
|
312
312
|
property :allowed_clients_cidr, as: 'allowedClientsCidr'
|
313
313
|
property :mount_permissions, as: 'mountPermissions'
|
314
314
|
property :network, as: 'network'
|
315
|
+
property :nfs_path, as: 'nfsPath'
|
315
316
|
property :no_root_squash, as: 'noRootSquash'
|
316
317
|
property :share_ip, as: 'shareIp'
|
317
318
|
end
|
@@ -321,6 +322,7 @@ module Google
|
|
321
322
|
# @private
|
322
323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
323
324
|
property :lun, as: 'lun'
|
325
|
+
property :skip_reboot, as: 'skipReboot'
|
324
326
|
end
|
325
327
|
end
|
326
328
|
|
@@ -361,6 +363,7 @@ module Google
|
|
361
363
|
hash :labels, as: 'labels'
|
362
364
|
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface::Representation
|
363
365
|
|
366
|
+
property :login_info, as: 'loginInfo'
|
364
367
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
365
368
|
|
366
369
|
property :machine_type, as: 'machineType'
|
@@ -372,6 +375,8 @@ module Google
|
|
372
375
|
property :pod, as: 'pod'
|
373
376
|
property :state, as: 'state'
|
374
377
|
property :update_time, as: 'updateTime'
|
378
|
+
collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::Volume, decorator: Google::Apis::BaremetalsolutionV2::Volume::Representation
|
379
|
+
|
375
380
|
end
|
376
381
|
end
|
377
382
|
|
@@ -400,6 +405,7 @@ module Google
|
|
400
405
|
# @private
|
401
406
|
class Representation < Google::Apis::Core::JsonRepresentation
|
402
407
|
property :available_machine_count, as: 'availableMachineCount'
|
408
|
+
property :gcp_service, as: 'gcpService'
|
403
409
|
property :instance_type, as: 'instanceType'
|
404
410
|
property :location, as: 'location'
|
405
411
|
property :name, as: 'name'
|
@@ -619,6 +625,7 @@ module Google
|
|
619
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
620
626
|
collection :allowed_clients, as: 'allowedClients', class: Google::Apis::BaremetalsolutionV2::AllowedClient, decorator: Google::Apis::BaremetalsolutionV2::AllowedClient::Representation
|
621
627
|
|
628
|
+
property :id, as: 'id'
|
622
629
|
hash :labels, as: 'labels'
|
623
630
|
property :name, as: 'name'
|
624
631
|
property :nfs_share_id, as: 'nfsShareId'
|
@@ -806,6 +813,7 @@ module Google
|
|
806
813
|
# @private
|
807
814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
808
815
|
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
816
|
+
property :boot_volume, as: 'bootVolume'
|
809
817
|
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
810
818
|
property :emergency_size_gib, :numeric_string => true, as: 'emergencySizeGib'
|
811
819
|
property :id, as: 'id'
|
@@ -814,6 +822,7 @@ module Google
|
|
814
822
|
property :name, as: 'name'
|
815
823
|
property :originally_requested_size_gib, :numeric_string => true, as: 'originallyRequestedSizeGib'
|
816
824
|
property :pod, as: 'pod'
|
825
|
+
property :protocol, as: 'protocol'
|
817
826
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
818
827
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
819
828
|
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` `
|
@@ -644,6 +677,37 @@ module Google
|
|
644
677
|
execute_or_queue_command(command, &block)
|
645
678
|
end
|
646
679
|
|
680
|
+
# Get details about an operation. This method used only to work around CCFE lack
|
681
|
+
# of passthrough LRO support (b/221498758).
|
682
|
+
# @param [String] name
|
683
|
+
# The name of the operation resource.
|
684
|
+
# @param [String] fields
|
685
|
+
# Selector specifying which fields to include in a partial response.
|
686
|
+
# @param [String] quota_user
|
687
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
688
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
689
|
+
# @param [Google::Apis::RequestOptions] options
|
690
|
+
# Request-specific options
|
691
|
+
#
|
692
|
+
# @yield [result, err] Result & error if block supplied
|
693
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
|
694
|
+
# @yieldparam err [StandardError] error object if request failed
|
695
|
+
#
|
696
|
+
# @return [Google::Apis::BaremetalsolutionV2::Operation]
|
697
|
+
#
|
698
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
699
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
700
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
701
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
702
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
703
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
|
704
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::Operation
|
705
|
+
command.params['name'] = name unless name.nil?
|
706
|
+
command.query['fields'] = fields unless fields.nil?
|
707
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
708
|
+
execute_or_queue_command(command, &block)
|
709
|
+
end
|
710
|
+
|
647
711
|
# Create new ProvisioningConfig.
|
648
712
|
# @param [String] parent
|
649
713
|
# Required. The parent project and location containing the ProvisioningConfig.
|
@@ -899,9 +963,7 @@ module Google
|
|
899
963
|
# volume``
|
900
964
|
# @param [Google::Apis::BaremetalsolutionV2::Volume] volume_object
|
901
965
|
# @param [String] update_mask
|
902
|
-
# The list of fields to update. The only currently supported fields are:
|
903
|
-
# snapshot_auto_delete_behavior` `snapshot_schedule_policy_name` 'labels' '
|
904
|
-
# snapshot_enabled' 'snapshot_reservation_detail.reserved_space_percent'
|
966
|
+
# The list of fields to update. The only currently supported fields are: 'labels'
|
905
967
|
# @param [String] fields
|
906
968
|
# Selector specifying which fields to include in a partial response.
|
907
969
|
# @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.21.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-08 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.21.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: []
|