google-apis-baremetalsolution_v2 0.29.0 → 0.30.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: 81ae63cb6ad768d022a52d8bdda682977abcd6ff0437d2bd19682af8808ac6e8
4
- data.tar.gz: 0d0d91d6a273fb4506fa9b504a0bd38ad75aa87c774bc9ee3d36cfe58e42a01d
3
+ metadata.gz: a04b52a21131e1565818fa8d1feb2fcc948cd8b3ea14d478c3c7a72a83759900
4
+ data.tar.gz: f9821ca6a5984cb16499fdc6cad1103cc2f371912e6ee899330c3a891f8ccdfd
5
5
  SHA512:
6
- metadata.gz: 4602c22d57d61f1a6ff79f02033add45b5fb4f1eca3e41f3aef9df4a06628562a6d261132780d466c850f4bea64d98dc4a630e2da6657f4903c6b60a70691b54
7
- data.tar.gz: 834585d87b65ae4d4189b820b2919959200b870221ae17a549c9cf5b40aaea8426369f7408d3d1309bb08e5aa345c31c260d9cbd5783e7186b0368d0a4a34f5e
6
+ metadata.gz: 6174f63711a58264294213f49da4c6e064079e2f698d7d1ae4b2d19dd9ffc5880543b22e690c7adffcd1f8cfa8fd2fc851f8c9d1312aeb279ab572216d9a7b44
7
+ data.tar.gz: 4fb9af2556862309e8d97708d1241feb835b961558cb4d18d7a705b9f52682071907998036541d41199a2b5567a5bfc88fa9706155a2da33e5de11b2cdda8c8d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-baremetalsolution_v2
2
2
 
3
+ ### v0.30.0 (2023-02-19)
4
+
5
+ * Regenerated from discovery document revision 20230215
6
+ * Regenerated using generator version 0.12.0
7
+
3
8
  ### v0.29.0 (2023-02-12)
4
9
 
5
10
  * Regenerated from discovery document revision 20230206
@@ -1815,15 +1815,10 @@ module Google
1815
1815
  class RenameInstanceRequest
1816
1816
  include Google::Apis::Core::Hashable
1817
1817
 
1818
- # A server.
1819
- # Corresponds to the JSON property `instance`
1820
- # @return [Google::Apis::BaremetalsolutionV2::Instance]
1821
- attr_accessor :instance
1822
-
1823
1818
  # Required. The new `name` of the instance. Format: `instancename`
1824
- # Corresponds to the JSON property `name`
1819
+ # Corresponds to the JSON property `newName`
1825
1820
  # @return [String]
1826
- attr_accessor :name
1821
+ attr_accessor :new_name
1827
1822
 
1828
1823
  def initialize(**args)
1829
1824
  update!(**args)
@@ -1831,8 +1826,7 @@ module Google
1831
1826
 
1832
1827
  # Update properties of this object
1833
1828
  def update!(**args)
1834
- @instance = args[:instance] if args.key?(:instance)
1835
- @name = args[:name] if args.key?(:name)
1829
+ @new_name = args[:new_name] if args.key?(:new_name)
1836
1830
  end
1837
1831
  end
1838
1832
 
@@ -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.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230206"
25
+ REVISION = "20230215"
26
26
  end
27
27
  end
28
28
  end
@@ -841,9 +841,7 @@ module Google
841
841
  class RenameInstanceRequest
842
842
  # @private
843
843
  class Representation < Google::Apis::Core::JsonRepresentation
844
- property :instance, as: 'instance', class: Google::Apis::BaremetalsolutionV2::Instance, decorator: Google::Apis::BaremetalsolutionV2::Instance::Representation
845
-
846
- property :name, as: 'name'
844
+ property :new_name, as: 'newName'
847
845
  end
848
846
  end
849
847
 
@@ -398,10 +398,8 @@ module Google
398
398
 
399
399
  # RenameInstance sets a new name for an instance.
400
400
  # @param [String] name
401
- # Immutable. The resource name of this `Instance`. Resource names are schemeless
402
- # URIs that follow the conventions in https://cloud.google.com/apis/design/
403
- # resource_names. Format: `projects/`project`/locations/`location`/instances/`
404
- # instance``
401
+ # Required. The `name` field is used to identify the instance. Format: projects/`
402
+ # project`/locations/`location`/instances/`instance`
405
403
  # @param [Google::Apis::BaremetalsolutionV2::RenameInstanceRequest] rename_instance_request_object
406
404
  # @param [String] fields
407
405
  # Selector specifying which fields to include in a partial response.
@@ -412,10 +410,10 @@ module Google
412
410
  # Request-specific options
413
411
  #
414
412
  # @yield [result, err] Result & error if block supplied
415
- # @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
413
+ # @yieldparam result [Google::Apis::BaremetalsolutionV2::Instance] parsed result object
416
414
  # @yieldparam err [StandardError] error object if request failed
417
415
  #
418
- # @return [Google::Apis::BaremetalsolutionV2::Operation]
416
+ # @return [Google::Apis::BaremetalsolutionV2::Instance]
419
417
  #
420
418
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
421
419
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
@@ -424,8 +422,8 @@ module Google
424
422
  command = make_simple_command(:post, 'v2/{+name}:rename', options)
425
423
  command.request_representation = Google::Apis::BaremetalsolutionV2::RenameInstanceRequest::Representation
426
424
  command.request_object = rename_instance_request_object
427
- command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
428
- command.response_class = Google::Apis::BaremetalsolutionV2::Operation
425
+ command.response_representation = Google::Apis::BaremetalsolutionV2::Instance::Representation
426
+ command.response_class = Google::Apis::BaremetalsolutionV2::Instance
429
427
  command.params['name'] = name unless name.nil?
430
428
  command.query['fields'] = fields unless fields.nil?
431
429
  command.query['quotaUser'] = quota_user unless quota_user.nil?
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.29.0
4
+ version: 0.30.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-02-12 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.30.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: []