google-apis-baremetalsolution_v2 0.36.0 → 0.38.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 +8 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +171 -27
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +87 -3
- data/lib/google/apis/baremetalsolution_v2/service.rb +39 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe972bbba2cc172c17cfec89c9503f9938266045be9a0290aecfcc95f9f0105d
|
4
|
+
data.tar.gz: 129498367032861497b06016271563190834eecf4c85de2d0632c0f17947a1e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afa9889b56051535e72fdd6248bba624a8fb8e3cca712b65018025177f6e1bb0fc0d84f70a0d4a220c782eff783eb5bc58e0c7f569561f9177dcc606d0aaccad
|
7
|
+
data.tar.gz: be8d9d25b67c4b08bc9dd06e788bbbb2cbd401e1e42733a441e875167711534af9baf70cbde2133c97e3b4a8fed0965aba622275ada9990b5cee19e6a703c030
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-baremetalsolution_v2
|
2
2
|
|
3
|
+
### v0.38.0 (2023-08-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230814
|
6
|
+
|
7
|
+
### v0.37.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230807
|
10
|
+
|
3
11
|
### v0.36.0 (2023-07-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230710
|
@@ -130,6 +130,19 @@ module Google
|
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
133
|
+
# Message for response of DisableInteractiveSerialConsole.
|
134
|
+
class DisableInteractiveSerialConsoleResponse
|
135
|
+
include Google::Apis::Core::Hashable
|
136
|
+
|
137
|
+
def initialize(**args)
|
138
|
+
update!(**args)
|
139
|
+
end
|
140
|
+
|
141
|
+
# Update properties of this object
|
142
|
+
def update!(**args)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
133
146
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
134
147
|
# messages in your APIs. A typical example is to use it as the request or the
|
135
148
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -159,6 +172,19 @@ module Google
|
|
159
172
|
end
|
160
173
|
end
|
161
174
|
|
175
|
+
# Message for response of EnableInteractiveSerialConsole.
|
176
|
+
class EnableInteractiveSerialConsoleResponse
|
177
|
+
include Google::Apis::Core::Hashable
|
178
|
+
|
179
|
+
def initialize(**args)
|
180
|
+
update!(**args)
|
181
|
+
end
|
182
|
+
|
183
|
+
# Update properties of this object
|
184
|
+
def update!(**args)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
162
188
|
# Request for skip lun cooloff and delete it.
|
163
189
|
class EvictLunRequest
|
164
190
|
include Google::Apis::Core::Hashable
|
@@ -221,6 +247,40 @@ module Google
|
|
221
247
|
end
|
222
248
|
end
|
223
249
|
|
250
|
+
# Logical interface.
|
251
|
+
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
252
|
+
include Google::Apis::Core::Hashable
|
253
|
+
|
254
|
+
# Interface name. This is not a globally unique identifier. Name is unique only
|
255
|
+
# inside the ServerNetworkTemplate. This is of syntax or and forms part of the
|
256
|
+
# network template name.
|
257
|
+
# Corresponds to the JSON property `name`
|
258
|
+
# @return [String]
|
259
|
+
attr_accessor :name
|
260
|
+
|
261
|
+
# If true, interface must have network connected.
|
262
|
+
# Corresponds to the JSON property `required`
|
263
|
+
# @return [Boolean]
|
264
|
+
attr_accessor :required
|
265
|
+
alias_method :required?, :required
|
266
|
+
|
267
|
+
# Interface type.
|
268
|
+
# Corresponds to the JSON property `type`
|
269
|
+
# @return [String]
|
270
|
+
attr_accessor :type
|
271
|
+
|
272
|
+
def initialize(**args)
|
273
|
+
update!(**args)
|
274
|
+
end
|
275
|
+
|
276
|
+
# Update properties of this object
|
277
|
+
def update!(**args)
|
278
|
+
@name = args[:name] if args.key?(:name)
|
279
|
+
@required = args[:required] if args.key?(:required)
|
280
|
+
@type = args[:type] if args.key?(:type)
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
224
284
|
# A server.
|
225
285
|
class Instance
|
226
286
|
include Google::Apis::Core::Hashable
|
@@ -703,6 +763,32 @@ module Google
|
|
703
763
|
end
|
704
764
|
end
|
705
765
|
|
766
|
+
# Request for getting all available OS images.
|
767
|
+
class ListOsImagesResponse
|
768
|
+
include Google::Apis::Core::Hashable
|
769
|
+
|
770
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
771
|
+
# results in the list.
|
772
|
+
# Corresponds to the JSON property `nextPageToken`
|
773
|
+
# @return [String]
|
774
|
+
attr_accessor :next_page_token
|
775
|
+
|
776
|
+
# The OS images available.
|
777
|
+
# Corresponds to the JSON property `osImages`
|
778
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::OsImage>]
|
779
|
+
attr_accessor :os_images
|
780
|
+
|
781
|
+
def initialize(**args)
|
782
|
+
update!(**args)
|
783
|
+
end
|
784
|
+
|
785
|
+
# Update properties of this object
|
786
|
+
def update!(**args)
|
787
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
788
|
+
@os_images = args[:os_images] if args.key?(:os_images)
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
706
792
|
# Response message for the list of provisioning quotas.
|
707
793
|
class ListProvisioningQuotasResponse
|
708
794
|
include Google::Apis::Core::Hashable
|
@@ -1482,6 +1568,50 @@ module Google
|
|
1482
1568
|
end
|
1483
1569
|
end
|
1484
1570
|
|
1571
|
+
# Operation System image.
|
1572
|
+
class OsImage
|
1573
|
+
include Google::Apis::Core::Hashable
|
1574
|
+
|
1575
|
+
# Instance types this image is applicable to. [Available types](https://cloud.
|
1576
|
+
# google.com/bare-metal/docs/bms-planning#server_configurations)
|
1577
|
+
# Corresponds to the JSON property `applicableInstanceTypes`
|
1578
|
+
# @return [Array<String>]
|
1579
|
+
attr_accessor :applicable_instance_types
|
1580
|
+
|
1581
|
+
# OS Image code.
|
1582
|
+
# Corresponds to the JSON property `code`
|
1583
|
+
# @return [String]
|
1584
|
+
attr_accessor :code
|
1585
|
+
|
1586
|
+
# OS Image description.
|
1587
|
+
# Corresponds to the JSON property `description`
|
1588
|
+
# @return [String]
|
1589
|
+
attr_accessor :description
|
1590
|
+
|
1591
|
+
# Output only. OS Image's unique name.
|
1592
|
+
# Corresponds to the JSON property `name`
|
1593
|
+
# @return [String]
|
1594
|
+
attr_accessor :name
|
1595
|
+
|
1596
|
+
# Network templates that can be used with this OS Image.
|
1597
|
+
# Corresponds to the JSON property `supportedNetworkTemplates`
|
1598
|
+
# @return [Array<String>]
|
1599
|
+
attr_accessor :supported_network_templates
|
1600
|
+
|
1601
|
+
def initialize(**args)
|
1602
|
+
update!(**args)
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
# Update properties of this object
|
1606
|
+
def update!(**args)
|
1607
|
+
@applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
|
1608
|
+
@code = args[:code] if args.key?(:code)
|
1609
|
+
@description = args[:description] if args.key?(:description)
|
1610
|
+
@name = args[:name] if args.key?(:name)
|
1611
|
+
@supported_network_templates = args[:supported_network_templates] if args.key?(:supported_network_templates)
|
1612
|
+
end
|
1613
|
+
end
|
1614
|
+
|
1485
1615
|
# This resource represents a long-running operation that is the result of a
|
1486
1616
|
# network API call.
|
1487
1617
|
class Operation
|
@@ -1519,13 +1649,13 @@ module Google
|
|
1519
1649
|
# @return [String]
|
1520
1650
|
attr_accessor :name
|
1521
1651
|
|
1522
|
-
# The normal response of the operation
|
1523
|
-
#
|
1524
|
-
#
|
1525
|
-
#
|
1526
|
-
#
|
1527
|
-
#
|
1528
|
-
#
|
1652
|
+
# The normal, successful response of the operation. If the original method
|
1653
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
1654
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
1655
|
+
# response should be the resource. For other methods, the response should have
|
1656
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
1657
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
1658
|
+
# `TakeSnapshotResponse`.
|
1529
1659
|
# Corresponds to the JSON property `response`
|
1530
1660
|
# @return [Hash<String,Object>]
|
1531
1661
|
attr_accessor :response
|
@@ -1892,6 +2022,40 @@ module Google
|
|
1892
2022
|
end
|
1893
2023
|
end
|
1894
2024
|
|
2025
|
+
# Network template.
|
2026
|
+
class ServerNetworkTemplate
|
2027
|
+
include Google::Apis::Core::Hashable
|
2028
|
+
|
2029
|
+
# Instance types this template is applicable to.
|
2030
|
+
# Corresponds to the JSON property `applicableInstanceTypes`
|
2031
|
+
# @return [Array<String>]
|
2032
|
+
attr_accessor :applicable_instance_types
|
2033
|
+
|
2034
|
+
# Logical interfaces.
|
2035
|
+
# Corresponds to the JSON property `logicalInterfaces`
|
2036
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface>]
|
2037
|
+
attr_accessor :logical_interfaces
|
2038
|
+
|
2039
|
+
# Output only. Template's unique name. The full resource name follows the
|
2040
|
+
# pattern: `projects/`project`/locations/`location`/serverNetworkTemplate/`
|
2041
|
+
# server_network_template`` Generally, the `server_network_template` follows the
|
2042
|
+
# syntax of "bond" or "nic".
|
2043
|
+
# Corresponds to the JSON property `name`
|
2044
|
+
# @return [String]
|
2045
|
+
attr_accessor :name
|
2046
|
+
|
2047
|
+
def initialize(**args)
|
2048
|
+
update!(**args)
|
2049
|
+
end
|
2050
|
+
|
2051
|
+
# Update properties of this object
|
2052
|
+
def update!(**args)
|
2053
|
+
@applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
|
2054
|
+
@logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
|
2055
|
+
@name = args[:name] if args.key?(:name)
|
2056
|
+
end
|
2057
|
+
end
|
2058
|
+
|
1895
2059
|
# Details about snapshot space reservation and usage on the storage volume.
|
1896
2060
|
class SnapshotReservationDetail
|
1897
2061
|
include Google::Apis::Core::Hashable
|
@@ -2290,22 +2454,11 @@ module Google
|
|
2290
2454
|
# @return [Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail]
|
2291
2455
|
attr_accessor :snapshot_reservation_detail
|
2292
2456
|
|
2293
|
-
# The name of the snapshot schedule policy in use for this volume, if any.
|
2294
|
-
# Corresponds to the JSON property `snapshotSchedulePolicy`
|
2295
|
-
# @return [String]
|
2296
|
-
attr_accessor :snapshot_schedule_policy
|
2297
|
-
|
2298
2457
|
# The state of this storage volume.
|
2299
2458
|
# Corresponds to the JSON property `state`
|
2300
2459
|
# @return [String]
|
2301
2460
|
attr_accessor :state
|
2302
2461
|
|
2303
|
-
# Input only. Name of the storage aggregate pool to allocate the volume in. Can
|
2304
|
-
# be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes.
|
2305
|
-
# Corresponds to the JSON property `storageAggregatePool`
|
2306
|
-
# @return [String]
|
2307
|
-
attr_accessor :storage_aggregate_pool
|
2308
|
-
|
2309
2462
|
# The storage type for this volume.
|
2310
2463
|
# Corresponds to the JSON property `storageType`
|
2311
2464
|
# @return [String]
|
@@ -2343,9 +2496,7 @@ module Google
|
|
2343
2496
|
@snapshot_auto_delete_behavior = args[:snapshot_auto_delete_behavior] if args.key?(:snapshot_auto_delete_behavior)
|
2344
2497
|
@snapshot_enabled = args[:snapshot_enabled] if args.key?(:snapshot_enabled)
|
2345
2498
|
@snapshot_reservation_detail = args[:snapshot_reservation_detail] if args.key?(:snapshot_reservation_detail)
|
2346
|
-
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
|
2347
2499
|
@state = args[:state] if args.key?(:state)
|
2348
|
-
@storage_aggregate_pool = args[:storage_aggregate_pool] if args.key?(:storage_aggregate_pool)
|
2349
2500
|
@storage_type = args[:storage_type] if args.key?(:storage_type)
|
2350
2501
|
@workload_profile = args[:workload_profile] if args.key?(:workload_profile)
|
2351
2502
|
end
|
@@ -2408,12 +2559,6 @@ module Google
|
|
2408
2559
|
attr_accessor :snapshots_enabled
|
2409
2560
|
alias_method :snapshots_enabled?, :snapshots_enabled
|
2410
2561
|
|
2411
|
-
# Input only. Name of the storage aggregate pool to allocate the volume in. Can
|
2412
|
-
# be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes.
|
2413
|
-
# Corresponds to the JSON property `storageAggregatePool`
|
2414
|
-
# @return [String]
|
2415
|
-
attr_accessor :storage_aggregate_pool
|
2416
|
-
|
2417
2562
|
# The type of this Volume.
|
2418
2563
|
# Corresponds to the JSON property `type`
|
2419
2564
|
# @return [String]
|
@@ -2441,7 +2586,6 @@ module Google
|
|
2441
2586
|
@protocol = args[:protocol] if args.key?(:protocol)
|
2442
2587
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
2443
2588
|
@snapshots_enabled = args[:snapshots_enabled] if args.key?(:snapshots_enabled)
|
2444
|
-
@storage_aggregate_pool = args[:storage_aggregate_pool] if args.key?(:storage_aggregate_pool)
|
2445
2589
|
@type = args[:type] if args.key?(:type)
|
2446
2590
|
@user_note = args[:user_note] if args.key?(:user_note)
|
2447
2591
|
end
|
@@ -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.38.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 = "20230814"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class DisableInteractiveSerialConsoleResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class Empty
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -52,6 +58,12 @@ module Google
|
|
52
58
|
include Google::Apis::Core::JsonObjectSupport
|
53
59
|
end
|
54
60
|
|
61
|
+
class EnableInteractiveSerialConsoleResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
55
67
|
class EvictLunRequest
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
69
|
|
@@ -70,6 +82,12 @@ module Google
|
|
70
82
|
include Google::Apis::Core::JsonObjectSupport
|
71
83
|
end
|
72
84
|
|
85
|
+
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
73
91
|
class Instance
|
74
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
93
|
|
@@ -130,6 +148,12 @@ module Google
|
|
130
148
|
include Google::Apis::Core::JsonObjectSupport
|
131
149
|
end
|
132
150
|
|
151
|
+
class ListOsImagesResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
133
157
|
class ListProvisioningQuotasResponse
|
134
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
159
|
|
@@ -226,6 +250,12 @@ module Google
|
|
226
250
|
include Google::Apis::Core::JsonObjectSupport
|
227
251
|
end
|
228
252
|
|
253
|
+
class OsImage
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
229
259
|
class Operation
|
230
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
261
|
|
@@ -304,6 +334,12 @@ module Google
|
|
304
334
|
include Google::Apis::Core::JsonObjectSupport
|
305
335
|
end
|
306
336
|
|
337
|
+
class ServerNetworkTemplate
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
307
343
|
class SnapshotReservationDetail
|
308
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
345
|
|
@@ -410,6 +446,12 @@ module Google
|
|
410
446
|
end
|
411
447
|
end
|
412
448
|
|
449
|
+
class DisableInteractiveSerialConsoleResponse
|
450
|
+
# @private
|
451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
413
455
|
class Empty
|
414
456
|
# @private
|
415
457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -422,6 +464,12 @@ module Google
|
|
422
464
|
end
|
423
465
|
end
|
424
466
|
|
467
|
+
class EnableInteractiveSerialConsoleResponse
|
468
|
+
# @private
|
469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
425
473
|
class EvictLunRequest
|
426
474
|
# @private
|
427
475
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -444,6 +492,15 @@ module Google
|
|
444
492
|
end
|
445
493
|
end
|
446
494
|
|
495
|
+
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
property :name, as: 'name'
|
499
|
+
property :required, as: 'required'
|
500
|
+
property :type, as: 'type'
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
447
504
|
class Instance
|
448
505
|
# @private
|
449
506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -571,6 +628,15 @@ module Google
|
|
571
628
|
end
|
572
629
|
end
|
573
630
|
|
631
|
+
class ListOsImagesResponse
|
632
|
+
# @private
|
633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
634
|
+
property :next_page_token, as: 'nextPageToken'
|
635
|
+
collection :os_images, as: 'osImages', class: Google::Apis::BaremetalsolutionV2::OsImage, decorator: Google::Apis::BaremetalsolutionV2::OsImage::Representation
|
636
|
+
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
574
640
|
class ListProvisioningQuotasResponse
|
575
641
|
# @private
|
576
642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -766,6 +832,17 @@ module Google
|
|
766
832
|
end
|
767
833
|
end
|
768
834
|
|
835
|
+
class OsImage
|
836
|
+
# @private
|
837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
838
|
+
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
839
|
+
property :code, as: 'code'
|
840
|
+
property :description, as: 'description'
|
841
|
+
property :name, as: 'name'
|
842
|
+
collection :supported_network_templates, as: 'supportedNetworkTemplates'
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
769
846
|
class Operation
|
770
847
|
# @private
|
771
848
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -885,6 +962,16 @@ module Google
|
|
885
962
|
end
|
886
963
|
end
|
887
964
|
|
965
|
+
class ServerNetworkTemplate
|
966
|
+
# @private
|
967
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
968
|
+
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
969
|
+
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface::Representation
|
970
|
+
|
971
|
+
property :name, as: 'name'
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
888
975
|
class SnapshotReservationDetail
|
889
976
|
# @private
|
890
977
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -996,9 +1083,7 @@ module Google
|
|
996
1083
|
property :snapshot_enabled, as: 'snapshotEnabled'
|
997
1084
|
property :snapshot_reservation_detail, as: 'snapshotReservationDetail', class: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail, decorator: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail::Representation
|
998
1085
|
|
999
|
-
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy'
|
1000
1086
|
property :state, as: 'state'
|
1001
|
-
property :storage_aggregate_pool, as: 'storageAggregatePool'
|
1002
1087
|
property :storage_type, as: 'storageType'
|
1003
1088
|
property :workload_profile, as: 'workloadProfile'
|
1004
1089
|
end
|
@@ -1019,7 +1104,6 @@ module Google
|
|
1019
1104
|
property :protocol, as: 'protocol'
|
1020
1105
|
property :size_gb, as: 'sizeGb'
|
1021
1106
|
property :snapshots_enabled, as: 'snapshotsEnabled'
|
1022
|
-
property :storage_aggregate_pool, as: 'storageAggregatePool'
|
1023
1107
|
property :type, as: 'type'
|
1024
1108
|
property :user_note, as: 'userNote'
|
1025
1109
|
end
|
@@ -878,6 +878,45 @@ module Google
|
|
878
878
|
execute_or_queue_command(command, &block)
|
879
879
|
end
|
880
880
|
|
881
|
+
# Retrieves the list of OS images which are currently approved.
|
882
|
+
# @param [String] parent
|
883
|
+
# Required. Parent value for ListProvisioningQuotasRequest.
|
884
|
+
# @param [Fixnum] page_size
|
885
|
+
# Requested page size. The server might return fewer items than requested. If
|
886
|
+
# unspecified, server will pick an appropriate default. Notice that page_size
|
887
|
+
# field is not supported and won't be respected in the API request for now, will
|
888
|
+
# be updated when pagination is supported.
|
889
|
+
# @param [String] page_token
|
890
|
+
# A token identifying a page of results from the server.
|
891
|
+
# @param [String] fields
|
892
|
+
# Selector specifying which fields to include in a partial response.
|
893
|
+
# @param [String] quota_user
|
894
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
895
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
896
|
+
# @param [Google::Apis::RequestOptions] options
|
897
|
+
# Request-specific options
|
898
|
+
#
|
899
|
+
# @yield [result, err] Result & error if block supplied
|
900
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::ListOsImagesResponse] parsed result object
|
901
|
+
# @yieldparam err [StandardError] error object if request failed
|
902
|
+
#
|
903
|
+
# @return [Google::Apis::BaremetalsolutionV2::ListOsImagesResponse]
|
904
|
+
#
|
905
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
906
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
907
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
908
|
+
def list_project_location_os_images(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
909
|
+
command = make_simple_command(:get, 'v2/{+parent}/osImages', options)
|
910
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::ListOsImagesResponse::Representation
|
911
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::ListOsImagesResponse
|
912
|
+
command.params['parent'] = parent unless parent.nil?
|
913
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
914
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
915
|
+
command.query['fields'] = fields unless fields.nil?
|
916
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
917
|
+
execute_or_queue_command(command, &block)
|
918
|
+
end
|
919
|
+
|
881
920
|
# Create new ProvisioningConfig.
|
882
921
|
# @param [String] parent
|
883
922
|
# Required. The parent project and location containing the ProvisioningConfig.
|
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.38.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-08-27 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.38.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Bare Metal Solution API V2
|