google-apis-baremetalsolution_v2 0.18.0 → 0.19.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4473d191f57796d69b7b98a59976ecc8020b093679e2a720e1fbc1225f60326d
4
- data.tar.gz: f39b52ef76e552282187ad20aaa7ed36c4e17e28f89e4d70255bcc38e14a312f
3
+ metadata.gz: 809627dce8cbd5e63342764fa4470120d02e105a8bd16abf6f66a103796acb3a
4
+ data.tar.gz: 1d52136d162bd36de58c7959c33a48e857f9a2c7f56d0cc666bfcfdde3cb6c3f
5
5
  SHA512:
6
- metadata.gz: c28da039ccf1f7447f58858e23eb39303820d33f582220b70cd171e0b9288c21ca1cb86c01e02d4754fb42f3e01668def218875aa42a4d130b8e42d902305913
7
- data.tar.gz: 8ac07ca0e09abf3862975699e3f3a57874a97339ad4aeb3c8300ed9f6fdc7bd428e28818e712612921e11c367c707ef74975e52289f99f5a4a322644ad1c48c2
6
+ metadata.gz: cb1251025f2f42a2b77614dba11e832fc133cbe1edeabc456ca16907d99a4324a04a872444222246c61acb7d6b1be79cda1b1eafc17915b959f37a8b90580b68
7
+ data.tar.gz: '0280d37a81d49f2d28b00d884461eb8c0bb7dcb5c89de48607847362b2d0eac0973c47ad78017cb7bc4582b0211a9ba83b7c2d85cb993704c403202d10b33c58'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-baremetalsolution_v2
2
2
 
3
+ ### v0.19.0 (2022-07-11)
4
+
5
+ * Regenerated from discovery document revision 20220706
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.18.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -91,6 +91,12 @@ module Google
91
91
  # @return [String]
92
92
  attr_accessor :lun
93
93
 
94
+ # If true, performs lun unmapping without instance reboot.
95
+ # Corresponds to the JSON property `skipReboot`
96
+ # @return [Boolean]
97
+ attr_accessor :skip_reboot
98
+ alias_method :skip_reboot?, :skip_reboot
99
+
94
100
  def initialize(**args)
95
101
  update!(**args)
96
102
  end
@@ -98,6 +104,7 @@ module Google
98
104
  # Update properties of this object
99
105
  def update!(**args)
100
106
  @lun = args[:lun] if args.key?(:lun)
107
+ @skip_reboot = args[:skip_reboot] if args.key?(:skip_reboot)
101
108
  end
102
109
  end
103
110
 
@@ -1220,6 +1227,12 @@ module Google
1220
1227
  # @return [Array<Google::Apis::BaremetalsolutionV2::AllowedClient>]
1221
1228
  attr_accessor :allowed_clients
1222
1229
 
1230
+ # Output only. An identifier for the NFS share, generated by the backend. This
1231
+ # is the same value as nfs_share_id and will replace it in the future.
1232
+ # Corresponds to the JSON property `id`
1233
+ # @return [String]
1234
+ attr_accessor :id
1235
+
1223
1236
  # Labels as key value pairs.
1224
1237
  # Corresponds to the JSON property `labels`
1225
1238
  # @return [Hash<String,String>]
@@ -1230,7 +1243,8 @@ module Google
1230
1243
  # @return [String]
1231
1244
  attr_accessor :name
1232
1245
 
1233
- # Output only. An identifier for the NFS share, generated by the backend.
1246
+ # Output only. An identifier for the NFS share, generated by the backend. This
1247
+ # field will be deprecated in the future, use `id` instead.
1234
1248
  # Corresponds to the JSON property `nfsShareId`
1235
1249
  # @return [String]
1236
1250
  attr_accessor :nfs_share_id
@@ -1257,6 +1271,7 @@ module Google
1257
1271
  # Update properties of this object
1258
1272
  def update!(**args)
1259
1273
  @allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
1274
+ @id = args[:id] if args.key?(:id)
1260
1275
  @labels = args[:labels] if args.key?(:labels)
1261
1276
  @name = args[:name] if args.key?(:name)
1262
1277
  @nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id)
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220615"
25
+ REVISION = "20220706"
26
26
  end
27
27
  end
28
28
  end
@@ -321,6 +321,7 @@ module Google
321
321
  # @private
322
322
  class Representation < Google::Apis::Core::JsonRepresentation
323
323
  property :lun, as: 'lun'
324
+ property :skip_reboot, as: 'skipReboot'
324
325
  end
325
326
  end
326
327
 
@@ -619,6 +620,7 @@ module Google
619
620
  class Representation < Google::Apis::Core::JsonRepresentation
620
621
  collection :allowed_clients, as: 'allowedClients', class: Google::Apis::BaremetalsolutionV2::AllowedClient, decorator: Google::Apis::BaremetalsolutionV2::AllowedClient::Representation
621
622
 
623
+ property :id, as: 'id'
622
624
  hash :labels, as: 'labels'
623
625
  property :name, as: 'name'
624
626
  property :nfs_share_id, as: 'nfsShareId'
@@ -644,6 +644,37 @@ module Google
644
644
  execute_or_queue_command(command, &block)
645
645
  end
646
646
 
647
+ # Get details about an operation. This method used only to work around CCFE lack
648
+ # of passthrough LRO support (b/221498758).
649
+ # @param [String] name
650
+ # The name of the operation resource.
651
+ # @param [String] fields
652
+ # Selector specifying which fields to include in a partial response.
653
+ # @param [String] quota_user
654
+ # Available to use for quota purposes for server-side applications. Can be any
655
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
656
+ # @param [Google::Apis::RequestOptions] options
657
+ # Request-specific options
658
+ #
659
+ # @yield [result, err] Result & error if block supplied
660
+ # @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
661
+ # @yieldparam err [StandardError] error object if request failed
662
+ #
663
+ # @return [Google::Apis::BaremetalsolutionV2::Operation]
664
+ #
665
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
666
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
667
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
668
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
669
+ command = make_simple_command(:get, 'v2/{+name}', options)
670
+ command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
671
+ command.response_class = Google::Apis::BaremetalsolutionV2::Operation
672
+ command.params['name'] = name unless name.nil?
673
+ command.query['fields'] = fields unless fields.nil?
674
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
675
+ execute_or_queue_command(command, &block)
676
+ end
677
+
647
678
  # Create new ProvisioningConfig.
648
679
  # @param [String] parent
649
680
  # 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.18.0
4
+ version: 0.19.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: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-18 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.19.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: []