google-apis-baremetalsolution_v2 0.16.0 → 0.19.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: c3c8cd7c075450811c8f890ad262d11ef4d9edec6b9b765814473d4265effc6a
4
- data.tar.gz: 2e7f74e75f813d9c4fb8f8a8bc14b40645b06e08395e6f52a908ef48cf34aa93
3
+ metadata.gz: 809627dce8cbd5e63342764fa4470120d02e105a8bd16abf6f66a103796acb3a
4
+ data.tar.gz: 1d52136d162bd36de58c7959c33a48e857f9a2c7f56d0cc666bfcfdde3cb6c3f
5
5
  SHA512:
6
- metadata.gz: 0155a2d19ea0478a3315b399af9f10802dbdf921cf1c77d6428386cbce6d2b364e661a30bb1e43c765e0551653a6548a138d2596d1d2a74699fe45aba37bbcca
7
- data.tar.gz: d35cbd880ebaf315cc1ec92012396469e6c6da677bb60f4a1fa332f2a1945c5fd242bdc9fa4d37f88824c31e1a309f6ef1a88f9f23a12ed6f6d0e25f846a23bb
6
+ metadata.gz: cb1251025f2f42a2b77614dba11e832fc133cbe1edeabc456ca16907d99a4324a04a872444222246c61acb7d6b1be79cda1b1eafc17915b959f37a8b90580b68
7
+ data.tar.gz: '0280d37a81d49f2d28b00d884461eb8c0bb7dcb5c89de48607847362b2d0eac0973c47ad78017cb7bc4582b0211a9ba83b7c2d85cb993704c403202d10b33c58'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
8
+ ### v0.18.0 (2022-06-30)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.17.0 (2022-06-24)
13
+
14
+ * Regenerated from discovery document revision 20220615
15
+
3
16
  ### v0.16.0 (2022-06-19)
4
17
 
5
18
  * Regenerated using generator version 0.7.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)
@@ -1372,6 +1387,65 @@ module Google
1372
1387
  end
1373
1388
  end
1374
1389
 
1390
+ # Represents the metadata from a long-running operation.
1391
+ class OperationMetadata
1392
+ include Google::Apis::Core::Hashable
1393
+
1394
+ # Output only. API version used with the operation.
1395
+ # Corresponds to the JSON property `apiVersion`
1396
+ # @return [String]
1397
+ attr_accessor :api_version
1398
+
1399
+ # Output only. The time the operation was created.
1400
+ # Corresponds to the JSON property `createTime`
1401
+ # @return [String]
1402
+ attr_accessor :create_time
1403
+
1404
+ # Output only. The time the operation finished running.
1405
+ # Corresponds to the JSON property `endTime`
1406
+ # @return [String]
1407
+ attr_accessor :end_time
1408
+
1409
+ # Output only. Identifies whether the user requested the cancellation of the
1410
+ # operation. Operations that have been successfully cancelled have Operation.
1411
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1412
+ # CANCELLED`.
1413
+ # Corresponds to the JSON property `requestedCancellation`
1414
+ # @return [Boolean]
1415
+ attr_accessor :requested_cancellation
1416
+ alias_method :requested_cancellation?, :requested_cancellation
1417
+
1418
+ # Output only. Human-readable status of the operation, if any.
1419
+ # Corresponds to the JSON property `statusMessage`
1420
+ # @return [String]
1421
+ attr_accessor :status_message
1422
+
1423
+ # Output only. Server-defined resource path for the target of the operation.
1424
+ # Corresponds to the JSON property `target`
1425
+ # @return [String]
1426
+ attr_accessor :target
1427
+
1428
+ # Output only. Name of the action executed by the operation.
1429
+ # Corresponds to the JSON property `verb`
1430
+ # @return [String]
1431
+ attr_accessor :verb
1432
+
1433
+ def initialize(**args)
1434
+ update!(**args)
1435
+ end
1436
+
1437
+ # Update properties of this object
1438
+ def update!(**args)
1439
+ @api_version = args[:api_version] if args.key?(:api_version)
1440
+ @create_time = args[:create_time] if args.key?(:create_time)
1441
+ @end_time = args[:end_time] if args.key?(:end_time)
1442
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1443
+ @status_message = args[:status_message] if args.key?(:status_message)
1444
+ @target = args[:target] if args.key?(:target)
1445
+ @verb = args[:verb] if args.key?(:verb)
1446
+ end
1447
+ end
1448
+
1375
1449
  # A provisioning configuration.
1376
1450
  class ProvisioningConfig
1377
1451
  include Google::Apis::Core::Hashable
@@ -1419,6 +1493,11 @@ module Google
1419
1493
  # @return [String]
1420
1494
  attr_accessor :state
1421
1495
 
1496
+ # Optional status messages associated with the FAILED state.
1497
+ # Corresponds to the JSON property `statusMessage`
1498
+ # @return [String]
1499
+ attr_accessor :status_message
1500
+
1422
1501
  # A generated ticket id to track provisioning request.
1423
1502
  # Corresponds to the JSON property `ticketId`
1424
1503
  # @return [String]
@@ -1454,6 +1533,7 @@ module Google
1454
1533
  @name = args[:name] if args.key?(:name)
1455
1534
  @networks = args[:networks] if args.key?(:networks)
1456
1535
  @state = args[:state] if args.key?(:state)
1536
+ @status_message = args[:status_message] if args.key?(:status_message)
1457
1537
  @ticket_id = args[:ticket_id] if args.key?(:ticket_id)
1458
1538
  @update_time = args[:update_time] if args.key?(:update_time)
1459
1539
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -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.16.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.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220603"
25
+ REVISION = "20220706"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class OperationMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class ProvisioningConfig
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -315,6 +321,7 @@ module Google
315
321
  # @private
316
322
  class Representation < Google::Apis::Core::JsonRepresentation
317
323
  property :lun, as: 'lun'
324
+ property :skip_reboot, as: 'skipReboot'
318
325
  end
319
326
  end
320
327
 
@@ -613,6 +620,7 @@ module Google
613
620
  class Representation < Google::Apis::Core::JsonRepresentation
614
621
  collection :allowed_clients, as: 'allowedClients', class: Google::Apis::BaremetalsolutionV2::AllowedClient, decorator: Google::Apis::BaremetalsolutionV2::AllowedClient::Representation
615
622
 
623
+ property :id, as: 'id'
616
624
  hash :labels, as: 'labels'
617
625
  property :name, as: 'name'
618
626
  property :nfs_share_id, as: 'nfsShareId'
@@ -646,6 +654,19 @@ module Google
646
654
  end
647
655
  end
648
656
 
657
+ class OperationMetadata
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :api_version, as: 'apiVersion'
661
+ property :create_time, as: 'createTime'
662
+ property :end_time, as: 'endTime'
663
+ property :requested_cancellation, as: 'requestedCancellation'
664
+ property :status_message, as: 'statusMessage'
665
+ property :target, as: 'target'
666
+ property :verb, as: 'verb'
667
+ end
668
+ end
669
+
649
670
  class ProvisioningConfig
650
671
  # @private
651
672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,6 +680,7 @@ module Google
659
680
  collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkConfig, decorator: Google::Apis::BaremetalsolutionV2::NetworkConfig::Representation
660
681
 
661
682
  property :state, as: 'state'
683
+ property :status_message, as: 'statusMessage'
662
684
  property :ticket_id, as: 'ticketId'
663
685
  property :update_time, as: 'updateTime'
664
686
  collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::VolumeConfig, decorator: Google::Apis::BaremetalsolutionV2::VolumeConfig::Representation
@@ -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.16.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-06-20 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
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.6'
29
+ version: '0.7'
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.16.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: []