google-apis-baremetalsolution_v2 0.34.0 → 0.35.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/baremetalsolution_v2/classes.rb +0 -131
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +0 -63
- data/lib/google/apis/baremetalsolution_v2/service.rb +0 -31
- 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: 1983b0cca0e439f14f8c6b0233775ff57273432b230d8f5b5e8643c981b02890
|
|
4
|
+
data.tar.gz: 15a8b1535f1435dff455c0a1576ecad93c1cedb81155e9d5863083e30782647f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03f99d7774aaf79931d5932c69563d73d815f9cf8952a963a5dc3534f8760cddfe1bec2223d5c2585263778c2845fc61984f04831a55fb0879ae4448f68d6319
|
|
7
|
+
data.tar.gz: 80abe06bb65584c319f397cc67bbcbd5a60e6d2b1e8026453acc9ab8df4b5893a13da46a6e176501cfcf6abe293226684593bf66842ca9e59e5176a8dda3d1cc
|
data/CHANGELOG.md
CHANGED
|
@@ -185,25 +185,6 @@ module Google
|
|
|
185
185
|
end
|
|
186
186
|
end
|
|
187
187
|
|
|
188
|
-
# Response with all provisioning settings.
|
|
189
|
-
class FetchInstanceProvisioningSettingsResponse
|
|
190
|
-
include Google::Apis::Core::Hashable
|
|
191
|
-
|
|
192
|
-
# The OS images available.
|
|
193
|
-
# Corresponds to the JSON property `images`
|
|
194
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::OsImage>]
|
|
195
|
-
attr_accessor :images
|
|
196
|
-
|
|
197
|
-
def initialize(**args)
|
|
198
|
-
update!(**args)
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
# Update properties of this object
|
|
202
|
-
def update!(**args)
|
|
203
|
-
@images = args[:images] if args.key?(:images)
|
|
204
|
-
end
|
|
205
|
-
end
|
|
206
|
-
|
|
207
188
|
# Each logical interface represents a logical abstraction of the underlying
|
|
208
189
|
# physical interface (for eg. bond, nic) of the instance. Each logical interface
|
|
209
190
|
# can effectively map to multiple network-IP pairs and still be mapped to one
|
|
@@ -240,40 +221,6 @@ module Google
|
|
|
240
221
|
end
|
|
241
222
|
end
|
|
242
223
|
|
|
243
|
-
# Logical interface.
|
|
244
|
-
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
|
245
|
-
include Google::Apis::Core::Hashable
|
|
246
|
-
|
|
247
|
-
# Interface name. This is not a globally unique identifier. Name is unique only
|
|
248
|
-
# inside the ServerNetworkTemplate. This is of syntax or and forms part of the
|
|
249
|
-
# network template name.
|
|
250
|
-
# Corresponds to the JSON property `name`
|
|
251
|
-
# @return [String]
|
|
252
|
-
attr_accessor :name
|
|
253
|
-
|
|
254
|
-
# If true, interface must have network connected.
|
|
255
|
-
# Corresponds to the JSON property `required`
|
|
256
|
-
# @return [Boolean]
|
|
257
|
-
attr_accessor :required
|
|
258
|
-
alias_method :required?, :required
|
|
259
|
-
|
|
260
|
-
# Interface type.
|
|
261
|
-
# Corresponds to the JSON property `type`
|
|
262
|
-
# @return [String]
|
|
263
|
-
attr_accessor :type
|
|
264
|
-
|
|
265
|
-
def initialize(**args)
|
|
266
|
-
update!(**args)
|
|
267
|
-
end
|
|
268
|
-
|
|
269
|
-
# Update properties of this object
|
|
270
|
-
def update!(**args)
|
|
271
|
-
@name = args[:name] if args.key?(:name)
|
|
272
|
-
@required = args[:required] if args.key?(:required)
|
|
273
|
-
@type = args[:type] if args.key?(:type)
|
|
274
|
-
end
|
|
275
|
-
end
|
|
276
|
-
|
|
277
224
|
# A server.
|
|
278
225
|
class Instance
|
|
279
226
|
include Google::Apis::Core::Hashable
|
|
@@ -1535,50 +1482,6 @@ module Google
|
|
|
1535
1482
|
end
|
|
1536
1483
|
end
|
|
1537
1484
|
|
|
1538
|
-
# Operation System image.
|
|
1539
|
-
class OsImage
|
|
1540
|
-
include Google::Apis::Core::Hashable
|
|
1541
|
-
|
|
1542
|
-
# Instance types this image is applicable to. [Available types](https://cloud.
|
|
1543
|
-
# google.com/bare-metal/docs/bms-planning#server_configurations)
|
|
1544
|
-
# Corresponds to the JSON property `applicableInstanceTypes`
|
|
1545
|
-
# @return [Array<String>]
|
|
1546
|
-
attr_accessor :applicable_instance_types
|
|
1547
|
-
|
|
1548
|
-
# OS Image code.
|
|
1549
|
-
# Corresponds to the JSON property `code`
|
|
1550
|
-
# @return [String]
|
|
1551
|
-
attr_accessor :code
|
|
1552
|
-
|
|
1553
|
-
# OS Image description.
|
|
1554
|
-
# Corresponds to the JSON property `description`
|
|
1555
|
-
# @return [String]
|
|
1556
|
-
attr_accessor :description
|
|
1557
|
-
|
|
1558
|
-
# Output only. OS Image's unique name.
|
|
1559
|
-
# Corresponds to the JSON property `name`
|
|
1560
|
-
# @return [String]
|
|
1561
|
-
attr_accessor :name
|
|
1562
|
-
|
|
1563
|
-
# Network templates that can be used with this OS Image.
|
|
1564
|
-
# Corresponds to the JSON property `supportedNetworkTemplates`
|
|
1565
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate>]
|
|
1566
|
-
attr_accessor :supported_network_templates
|
|
1567
|
-
|
|
1568
|
-
def initialize(**args)
|
|
1569
|
-
update!(**args)
|
|
1570
|
-
end
|
|
1571
|
-
|
|
1572
|
-
# Update properties of this object
|
|
1573
|
-
def update!(**args)
|
|
1574
|
-
@applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
|
|
1575
|
-
@code = args[:code] if args.key?(:code)
|
|
1576
|
-
@description = args[:description] if args.key?(:description)
|
|
1577
|
-
@name = args[:name] if args.key?(:name)
|
|
1578
|
-
@supported_network_templates = args[:supported_network_templates] if args.key?(:supported_network_templates)
|
|
1579
|
-
end
|
|
1580
|
-
end
|
|
1581
|
-
|
|
1582
1485
|
# This resource represents a long-running operation that is the result of a
|
|
1583
1486
|
# network API call.
|
|
1584
1487
|
class Operation
|
|
@@ -1989,40 +1892,6 @@ module Google
|
|
|
1989
1892
|
end
|
|
1990
1893
|
end
|
|
1991
1894
|
|
|
1992
|
-
# Network template.
|
|
1993
|
-
class ServerNetworkTemplate
|
|
1994
|
-
include Google::Apis::Core::Hashable
|
|
1995
|
-
|
|
1996
|
-
# Instance types this template is applicable to.
|
|
1997
|
-
# Corresponds to the JSON property `applicableInstanceTypes`
|
|
1998
|
-
# @return [Array<String>]
|
|
1999
|
-
attr_accessor :applicable_instance_types
|
|
2000
|
-
|
|
2001
|
-
# Logical interfaces.
|
|
2002
|
-
# Corresponds to the JSON property `logicalInterfaces`
|
|
2003
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface>]
|
|
2004
|
-
attr_accessor :logical_interfaces
|
|
2005
|
-
|
|
2006
|
-
# Output only. Template's unique name. The full resource name follows the
|
|
2007
|
-
# pattern: `projects/`project`/locations/`location`/serverNetworkTemplate/`
|
|
2008
|
-
# server_network_template`` Generally, the `server_network_template` follows the
|
|
2009
|
-
# syntax of "bond" or "nic".
|
|
2010
|
-
# Corresponds to the JSON property `name`
|
|
2011
|
-
# @return [String]
|
|
2012
|
-
attr_accessor :name
|
|
2013
|
-
|
|
2014
|
-
def initialize(**args)
|
|
2015
|
-
update!(**args)
|
|
2016
|
-
end
|
|
2017
|
-
|
|
2018
|
-
# Update properties of this object
|
|
2019
|
-
def update!(**args)
|
|
2020
|
-
@applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
|
|
2021
|
-
@logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
|
|
2022
|
-
@name = args[:name] if args.key?(:name)
|
|
2023
|
-
end
|
|
2024
|
-
end
|
|
2025
|
-
|
|
2026
1895
|
# Details about snapshot space reservation and usage on the storage volume.
|
|
2027
1896
|
class SnapshotReservationDetail
|
|
2028
1897
|
include Google::Apis::Core::Hashable
|
|
@@ -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.35.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 = "20230628"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -64,24 +64,12 @@ module Google
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
class FetchInstanceProvisioningSettingsResponse
|
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
-
|
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
-
end
|
|
72
|
-
|
|
73
67
|
class GoogleCloudBaremetalsolutionV2LogicalInterface
|
|
74
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
69
|
|
|
76
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
71
|
end
|
|
78
72
|
|
|
79
|
-
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
73
|
class Instance
|
|
86
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
75
|
|
|
@@ -238,12 +226,6 @@ module Google
|
|
|
238
226
|
include Google::Apis::Core::JsonObjectSupport
|
|
239
227
|
end
|
|
240
228
|
|
|
241
|
-
class OsImage
|
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
-
|
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
245
|
-
end
|
|
246
|
-
|
|
247
229
|
class Operation
|
|
248
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
231
|
|
|
@@ -322,12 +304,6 @@ module Google
|
|
|
322
304
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
305
|
end
|
|
324
306
|
|
|
325
|
-
class ServerNetworkTemplate
|
|
326
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
-
|
|
328
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
-
end
|
|
330
|
-
|
|
331
307
|
class SnapshotReservationDetail
|
|
332
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
309
|
|
|
@@ -458,14 +434,6 @@ module Google
|
|
|
458
434
|
end
|
|
459
435
|
end
|
|
460
436
|
|
|
461
|
-
class FetchInstanceProvisioningSettingsResponse
|
|
462
|
-
# @private
|
|
463
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
464
|
-
collection :images, as: 'images', class: Google::Apis::BaremetalsolutionV2::OsImage, decorator: Google::Apis::BaremetalsolutionV2::OsImage::Representation
|
|
465
|
-
|
|
466
|
-
end
|
|
467
|
-
end
|
|
468
|
-
|
|
469
437
|
class GoogleCloudBaremetalsolutionV2LogicalInterface
|
|
470
438
|
# @private
|
|
471
439
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -476,15 +444,6 @@ module Google
|
|
|
476
444
|
end
|
|
477
445
|
end
|
|
478
446
|
|
|
479
|
-
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
|
480
|
-
# @private
|
|
481
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
482
|
-
property :name, as: 'name'
|
|
483
|
-
property :required, as: 'required'
|
|
484
|
-
property :type, as: 'type'
|
|
485
|
-
end
|
|
486
|
-
end
|
|
487
|
-
|
|
488
447
|
class Instance
|
|
489
448
|
# @private
|
|
490
449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -807,18 +766,6 @@ module Google
|
|
|
807
766
|
end
|
|
808
767
|
end
|
|
809
768
|
|
|
810
|
-
class OsImage
|
|
811
|
-
# @private
|
|
812
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
813
|
-
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
|
814
|
-
property :code, as: 'code'
|
|
815
|
-
property :description, as: 'description'
|
|
816
|
-
property :name, as: 'name'
|
|
817
|
-
collection :supported_network_templates, as: 'supportedNetworkTemplates', class: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate, decorator: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate::Representation
|
|
818
|
-
|
|
819
|
-
end
|
|
820
|
-
end
|
|
821
|
-
|
|
822
769
|
class Operation
|
|
823
770
|
# @private
|
|
824
771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -938,16 +885,6 @@ module Google
|
|
|
938
885
|
end
|
|
939
886
|
end
|
|
940
887
|
|
|
941
|
-
class ServerNetworkTemplate
|
|
942
|
-
# @private
|
|
943
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
944
|
-
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
|
945
|
-
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface::Representation
|
|
946
|
-
|
|
947
|
-
property :name, as: 'name'
|
|
948
|
-
end
|
|
949
|
-
end
|
|
950
|
-
|
|
951
888
|
class SnapshotReservationDetail
|
|
952
889
|
# @private
|
|
953
890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -123,37 +123,6 @@ module Google
|
|
|
123
123
|
execute_or_queue_command(command, &block)
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
# Get instance provisioning settings for a given project. This is hidden method
|
|
127
|
-
# used by UI only.
|
|
128
|
-
# @param [String] location
|
|
129
|
-
# Required. The parent project and location containing the ProvisioningSettings.
|
|
130
|
-
# @param [String] fields
|
|
131
|
-
# Selector specifying which fields to include in a partial response.
|
|
132
|
-
# @param [String] quota_user
|
|
133
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
134
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
135
|
-
# @param [Google::Apis::RequestOptions] options
|
|
136
|
-
# Request-specific options
|
|
137
|
-
#
|
|
138
|
-
# @yield [result, err] Result & error if block supplied
|
|
139
|
-
# @yieldparam result [Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse] parsed result object
|
|
140
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
141
|
-
#
|
|
142
|
-
# @return [Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse]
|
|
143
|
-
#
|
|
144
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
145
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
146
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
147
|
-
def fetch_project_location_instance_provisioning_setting(location, fields: nil, quota_user: nil, options: nil, &block)
|
|
148
|
-
command = make_simple_command(:get, 'v2/{+location}/instanceProvisioningSettings:fetch', options)
|
|
149
|
-
command.response_representation = Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse::Representation
|
|
150
|
-
command.response_class = Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse
|
|
151
|
-
command.params['location'] = location unless location.nil?
|
|
152
|
-
command.query['fields'] = fields unless fields.nil?
|
|
153
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
154
|
-
execute_or_queue_command(command, &block)
|
|
155
|
-
end
|
|
156
|
-
|
|
157
126
|
# Detach LUN from Instance.
|
|
158
127
|
# @param [String] instance
|
|
159
128
|
# Required. Name of the instance.
|
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.35.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-07-02 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.35.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: []
|