google-apis-baremetalsolution_v2 0.16.0 → 0.17.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: c3c8cd7c075450811c8f890ad262d11ef4d9edec6b9b765814473d4265effc6a
4
- data.tar.gz: 2e7f74e75f813d9c4fb8f8a8bc14b40645b06e08395e6f52a908ef48cf34aa93
3
+ metadata.gz: 297f8cad8950987f6919b9bddff4183cd88222bcdac30c36d8ec3dea8b5868b8
4
+ data.tar.gz: 1412cdd07bd3c223a6423fbf125b175f19698ac12d8cfc8d7767d03b4c7653a8
5
5
  SHA512:
6
- metadata.gz: 0155a2d19ea0478a3315b399af9f10802dbdf921cf1c77d6428386cbce6d2b364e661a30bb1e43c765e0551653a6548a138d2596d1d2a74699fe45aba37bbcca
7
- data.tar.gz: d35cbd880ebaf315cc1ec92012396469e6c6da677bb60f4a1fa332f2a1945c5fd242bdc9fa4d37f88824c31e1a309f6ef1a88f9f23a12ed6f6d0e25f846a23bb
6
+ metadata.gz: b9e06c73ce1f063c386e3018f64f84df20aa52993e1b66c840389464e22928ab204f0200cda3651bfabc4576dd8edb795a83a29253a2c0fc7505252ffdee9f95
7
+ data.tar.gz: '08659f857a4e5026c250f124a4a7db61688b6f260deb815685ae1bdae926ae25efbd42bceb558cf9a3df71d8c8567c0c6eae7c5031f88c5b7b075d7815e86e94'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-baremetalsolution_v2
2
2
 
3
+ ### v0.17.0 (2022-06-24)
4
+
5
+ * Regenerated from discovery document revision 20220615
6
+
3
7
  ### v0.16.0 (2022-06-19)
4
8
 
5
9
  * Regenerated using generator version 0.7.0
@@ -1372,6 +1372,65 @@ module Google
1372
1372
  end
1373
1373
  end
1374
1374
 
1375
+ # Represents the metadata from a long-running operation.
1376
+ class OperationMetadata
1377
+ include Google::Apis::Core::Hashable
1378
+
1379
+ # Output only. API version used with the operation.
1380
+ # Corresponds to the JSON property `apiVersion`
1381
+ # @return [String]
1382
+ attr_accessor :api_version
1383
+
1384
+ # Output only. The time the operation was created.
1385
+ # Corresponds to the JSON property `createTime`
1386
+ # @return [String]
1387
+ attr_accessor :create_time
1388
+
1389
+ # Output only. The time the operation finished running.
1390
+ # Corresponds to the JSON property `endTime`
1391
+ # @return [String]
1392
+ attr_accessor :end_time
1393
+
1394
+ # Output only. Identifies whether the user requested the cancellation of the
1395
+ # operation. Operations that have been successfully cancelled have Operation.
1396
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1397
+ # CANCELLED`.
1398
+ # Corresponds to the JSON property `requestedCancellation`
1399
+ # @return [Boolean]
1400
+ attr_accessor :requested_cancellation
1401
+ alias_method :requested_cancellation?, :requested_cancellation
1402
+
1403
+ # Output only. Human-readable status of the operation, if any.
1404
+ # Corresponds to the JSON property `statusMessage`
1405
+ # @return [String]
1406
+ attr_accessor :status_message
1407
+
1408
+ # Output only. Server-defined resource path for the target of the operation.
1409
+ # Corresponds to the JSON property `target`
1410
+ # @return [String]
1411
+ attr_accessor :target
1412
+
1413
+ # Output only. Name of the action executed by the operation.
1414
+ # Corresponds to the JSON property `verb`
1415
+ # @return [String]
1416
+ attr_accessor :verb
1417
+
1418
+ def initialize(**args)
1419
+ update!(**args)
1420
+ end
1421
+
1422
+ # Update properties of this object
1423
+ def update!(**args)
1424
+ @api_version = args[:api_version] if args.key?(:api_version)
1425
+ @create_time = args[:create_time] if args.key?(:create_time)
1426
+ @end_time = args[:end_time] if args.key?(:end_time)
1427
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1428
+ @status_message = args[:status_message] if args.key?(:status_message)
1429
+ @target = args[:target] if args.key?(:target)
1430
+ @verb = args[:verb] if args.key?(:verb)
1431
+ end
1432
+ end
1433
+
1375
1434
  # A provisioning configuration.
1376
1435
  class ProvisioningConfig
1377
1436
  include Google::Apis::Core::Hashable
@@ -1419,6 +1478,11 @@ module Google
1419
1478
  # @return [String]
1420
1479
  attr_accessor :state
1421
1480
 
1481
+ # Optional status messages associated with the FAILED state.
1482
+ # Corresponds to the JSON property `statusMessage`
1483
+ # @return [String]
1484
+ attr_accessor :status_message
1485
+
1422
1486
  # A generated ticket id to track provisioning request.
1423
1487
  # Corresponds to the JSON property `ticketId`
1424
1488
  # @return [String]
@@ -1454,6 +1518,7 @@ module Google
1454
1518
  @name = args[:name] if args.key?(:name)
1455
1519
  @networks = args[:networks] if args.key?(:networks)
1456
1520
  @state = args[:state] if args.key?(:state)
1521
+ @status_message = args[:status_message] if args.key?(:status_message)
1457
1522
  @ticket_id = args[:ticket_id] if args.key?(:ticket_id)
1458
1523
  @update_time = args[:update_time] if args.key?(:update_time)
1459
1524
  @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.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220603"
25
+ REVISION = "20220615"
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
 
@@ -646,6 +652,19 @@ module Google
646
652
  end
647
653
  end
648
654
 
655
+ class OperationMetadata
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :api_version, as: 'apiVersion'
659
+ property :create_time, as: 'createTime'
660
+ property :end_time, as: 'endTime'
661
+ property :requested_cancellation, as: 'requestedCancellation'
662
+ property :status_message, as: 'statusMessage'
663
+ property :target, as: 'target'
664
+ property :verb, as: 'verb'
665
+ end
666
+ end
667
+
649
668
  class ProvisioningConfig
650
669
  # @private
651
670
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,6 +678,7 @@ module Google
659
678
  collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkConfig, decorator: Google::Apis::BaremetalsolutionV2::NetworkConfig::Representation
660
679
 
661
680
  property :state, as: 'state'
681
+ property :status_message, as: 'statusMessage'
662
682
  property :ticket_id, as: 'ticketId'
663
683
  property :update_time, as: 'updateTime'
664
684
  collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::VolumeConfig, decorator: Google::Apis::BaremetalsolutionV2::VolumeConfig::Representation
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.17.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-06-27 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.17.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: []