google-apis-baremetalsolution_v2 0.32.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1687cfbbaad84979ae62dec63ca4cea3ef01095bfbe6e62ddae184cf0e7dbaa8
4
- data.tar.gz: f16968c178ebd3b9f1b6a9638606ab14fd6789a692bea5d00730b4262ae525ea
3
+ metadata.gz: 9ca79b0830f21ee6f540405127f8c6fbf24fa987b492cfdcbe50b608c9453362
4
+ data.tar.gz: f31a1d09583ea84c4a8f1afac0aee91ba72de89d32096c640b9ac57819e31971
5
5
  SHA512:
6
- metadata.gz: 2d6846712e0bb799fd3bf7be0e077132fe71bb5e4a070331d432fd4eb1ac54e4370b3789b3f8a3c68d963f2d13822f1dfae7b0ad7da0acffd600560b1b1a68be
7
- data.tar.gz: 83b23840c8e3c6ffc1b82cdb3b3107195188d602d52c03d5e0a9a420cd2d8cd8096932fe3230be766be856c70b04b98647c2edf0f086d4e93bb0b4f73987ffec
6
+ metadata.gz: 1996bce81fe7ac795c16742d77b8e8e536c3b168875f983ead00c9667dd10b7f13a3285033ac11d606c0b55008a9d9c8a8bb8ab946671a22d9c53733e0078037
7
+ data.tar.gz: 17ff3877bc961c77479661b2cc2b75125240138bc578d21badb2693d6bfca3d3b23f54778dafcf8a272723b85cbbcf6e5dac4db7aef958d5a8b2997502dd5f4d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-baremetalsolution_v2
2
2
 
3
+ ### v0.34.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230607
6
+
7
+ ### v0.33.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230522
10
+
3
11
  ### v0.32.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230426
@@ -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
@@ -1912,6 +1918,19 @@ module Google
1912
1918
  end
1913
1919
  end
1914
1920
 
1921
+ # Response message from resetting a server.
1922
+ class ResetInstanceResponse
1923
+ include Google::Apis::Core::Hashable
1924
+
1925
+ def initialize(**args)
1926
+ update!(**args)
1927
+ end
1928
+
1929
+ # Update properties of this object
1930
+ def update!(**args)
1931
+ end
1932
+ end
1933
+
1915
1934
  # Request for emergency resize Volume.
1916
1935
  class ResizeVolumeRequest
1917
1936
  include Google::Apis::Core::Hashable
@@ -2060,6 +2079,19 @@ module Google
2060
2079
  end
2061
2080
  end
2062
2081
 
2082
+ # Response message from starting a server.
2083
+ class StartInstanceResponse
2084
+ include Google::Apis::Core::Hashable
2085
+
2086
+ def initialize(**args)
2087
+ update!(**args)
2088
+ end
2089
+
2090
+ # Update properties of this object
2091
+ def update!(**args)
2092
+ end
2093
+ end
2094
+
2063
2095
  # The `Status` type defines a logical error model that is suitable for different
2064
2096
  # programming environments, including REST APIs and RPC APIs. It is used by [
2065
2097
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2112,6 +2144,19 @@ module Google
2112
2144
  end
2113
2145
  end
2114
2146
 
2147
+ # Response message from stopping a server.
2148
+ class StopInstanceResponse
2149
+ include Google::Apis::Core::Hashable
2150
+
2151
+ def initialize(**args)
2152
+ update!(**args)
2153
+ end
2154
+
2155
+ # Update properties of this object
2156
+ def update!(**args)
2157
+ end
2158
+ end
2159
+
2115
2160
  # Request for SubmitProvisioningConfig.
2116
2161
  class SubmitProvisioningConfigRequest
2117
2162
  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.32.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 = "20230426"
25
+ REVISION = "20230607"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class ResetInstanceResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class ResizeVolumeRequest
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -334,6 +340,12 @@ module Google
334
340
  include Google::Apis::Core::JsonObjectSupport
335
341
  end
336
342
 
343
+ class StartInstanceResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
337
349
  class Status
338
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
351
 
@@ -346,6 +358,12 @@ module Google
346
358
  include Google::Apis::Core::JsonObjectSupport
347
359
  end
348
360
 
361
+ class StopInstanceResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
349
367
  class SubmitProvisioningConfigRequest
350
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
369
 
@@ -513,6 +531,7 @@ module Google
513
531
  property :os_image, as: 'osImage'
514
532
  property :private_network, as: 'privateNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
515
533
 
534
+ collection :ssh_key_names, as: 'sshKeyNames'
516
535
  property :user_note, as: 'userNote'
517
536
  end
518
537
  end
@@ -892,6 +911,12 @@ module Google
892
911
  end
893
912
  end
894
913
 
914
+ class ResetInstanceResponse
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ end
918
+ end
919
+
895
920
  class ResizeVolumeRequest
896
921
  # @private
897
922
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -939,6 +964,12 @@ module Google
939
964
  end
940
965
  end
941
966
 
967
+ class StartInstanceResponse
968
+ # @private
969
+ class Representation < Google::Apis::Core::JsonRepresentation
970
+ end
971
+ end
972
+
942
973
  class Status
943
974
  # @private
944
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -954,6 +985,12 @@ module Google
954
985
  end
955
986
  end
956
987
 
988
+ class StopInstanceResponse
989
+ # @private
990
+ class Representation < Google::Apis::Core::JsonRepresentation
991
+ end
992
+ end
993
+
957
994
  class SubmitProvisioningConfigRequest
958
995
  # @private
959
996
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.32.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-04-30 00:00:00.000000000 Z
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.32.0
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: []