google-apis-baremetalsolution_v2 0.33.0 → 0.34.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 +4 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +6 -0
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +1 -0
- data/lib/google/apis/baremetalsolution_v2/service.rb +0 -33
- 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: 9ca79b0830f21ee6f540405127f8c6fbf24fa987b492cfdcbe50b608c9453362
|
4
|
+
data.tar.gz: f31a1d09583ea84c4a8f1afac0aee91ba72de89d32096c640b9ac57819e31971
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1996bce81fe7ac795c16742d77b8e8e536c3b168875f983ead00c9667dd10b7f13a3285033ac11d606c0b55008a9d9c8a8bb8ab946671a22d9c53733e0078037
|
7
|
+
data.tar.gz: 17ff3877bc961c77479661b2cc2b75125240138bc578d21badb2693d6bfca3d3b23f54778dafcf8a272723b85cbbcf6e5dac4db7aef958d5a8b2997502dd5f4d
|
data/CHANGELOG.md
CHANGED
@@ -486,6 +486,11 @@ module Google
|
|
486
486
|
# @return [Google::Apis::BaremetalsolutionV2::NetworkAddress]
|
487
487
|
attr_accessor :private_network
|
488
488
|
|
489
|
+
# List of names of ssh keys used to provision the instance.
|
490
|
+
# Corresponds to the JSON property `sshKeyNames`
|
491
|
+
# @return [Array<String>]
|
492
|
+
attr_accessor :ssh_key_names
|
493
|
+
|
489
494
|
# User note field, it can be used by customers to add additional information for
|
490
495
|
# the BMS Ops team .
|
491
496
|
# Corresponds to the JSON property `userNote`
|
@@ -509,6 +514,7 @@ module Google
|
|
509
514
|
@network_template = args[:network_template] if args.key?(:network_template)
|
510
515
|
@os_image = args[:os_image] if args.key?(:os_image)
|
511
516
|
@private_network = args[:private_network] if args.key?(:private_network)
|
517
|
+
@ssh_key_names = args[:ssh_key_names] if args.key?(:ssh_key_names)
|
512
518
|
@user_note = args[:user_note] if args.key?(:user_note)
|
513
519
|
end
|
514
520
|
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.34.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 = "20230607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -531,6 +531,7 @@ module Google
|
|
531
531
|
property :os_image, as: 'osImage'
|
532
532
|
property :private_network, as: 'privateNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
|
533
533
|
|
534
|
+
collection :ssh_key_names, as: 'sshKeyNames'
|
534
535
|
property :user_note, as: 'userNote'
|
535
536
|
end
|
536
537
|
end
|
@@ -154,39 +154,6 @@ 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
|
-
|
190
157
|
# Detach LUN from Instance.
|
191
158
|
# @param [String] instance
|
192
159
|
# 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.34.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-06-11 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.34.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: []
|