google-apis-notebooks_v1 0.23.0 → 0.24.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: 5789618c2e7b882452883e91d2abeb6f950e2e49cf21c5827661bab1924784e6
4
- data.tar.gz: 5b87b930313d78530685575c6cdef4f96861b75493e612045f339a5380b8d2c5
3
+ metadata.gz: 111ad3a19efffe17053a09b90f6513901880cef96a2bf94566cd518112ecedbe
4
+ data.tar.gz: 4494d0db8106198c3985bb707fe91011c9a7ae818d4030d55e13afaeb3c4e347
5
5
  SHA512:
6
- metadata.gz: d49a94015cf3f0d91ffa7c795ad2667c48824a7290039beeeb39ce51ef25a6c7546a82e89325bdb95a9091e3c175a657a49562a1574cd9694c20a5f6f6a28578
7
- data.tar.gz: 535b1a4e4dd4ad227b0e2c707bc8999a18a1b2f8f7826f165222546571b5e2a1a97cae5841ee55362b65eae928b393ef7e0da45f8fa26c5edaaafbcd6bc10021
6
+ metadata.gz: 6bba3a7e88288ec57527e85c41ce0f95d138efee2325aa53468130eb26011e602f6688cc01710a86c30e8fa989dc04143aaea95922993c7bdbc5507b47b5a30d
7
+ data.tar.gz: b75052cc851e24c777c332173765f952b539a427615fc5c3afe82866a9b10dbbd80409fcf1643173fbbd7e89fda2704298ff7074936e36662524a02cef18d29a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-notebooks_v1
2
2
 
3
+ ### v0.24.0 (2022-03-12)
4
+
5
+ * Regenerated from discovery document revision 20220303
6
+
3
7
  ### v0.23.0 (2022-03-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20220224
@@ -1852,12 +1852,18 @@ module Google
1852
1852
  class ResetRuntimeRequest
1853
1853
  include Google::Apis::Core::Hashable
1854
1854
 
1855
+ # Idempotent request UUID.
1856
+ # Corresponds to the JSON property `requestId`
1857
+ # @return [String]
1858
+ attr_accessor :request_id
1859
+
1855
1860
  def initialize(**args)
1856
1861
  update!(**args)
1857
1862
  end
1858
1863
 
1859
1864
  # Update properties of this object
1860
1865
  def update!(**args)
1866
+ @request_id = args[:request_id] if args.key?(:request_id)
1861
1867
  end
1862
1868
  end
1863
1869
 
@@ -2466,12 +2472,18 @@ module Google
2466
2472
  class StartRuntimeRequest
2467
2473
  include Google::Apis::Core::Hashable
2468
2474
 
2475
+ # Idempotent request UUID.
2476
+ # Corresponds to the JSON property `requestId`
2477
+ # @return [String]
2478
+ attr_accessor :request_id
2479
+
2469
2480
  def initialize(**args)
2470
2481
  update!(**args)
2471
2482
  end
2472
2483
 
2473
2484
  # Update properties of this object
2474
2485
  def update!(**args)
2486
+ @request_id = args[:request_id] if args.key?(:request_id)
2475
2487
  end
2476
2488
  end
2477
2489
 
@@ -2531,12 +2543,18 @@ module Google
2531
2543
  class StopRuntimeRequest
2532
2544
  include Google::Apis::Core::Hashable
2533
2545
 
2546
+ # Idempotent request UUID.
2547
+ # Corresponds to the JSON property `requestId`
2548
+ # @return [String]
2549
+ attr_accessor :request_id
2550
+
2534
2551
  def initialize(**args)
2535
2552
  update!(**args)
2536
2553
  end
2537
2554
 
2538
2555
  # Update properties of this object
2539
2556
  def update!(**args)
2557
+ @request_id = args[:request_id] if args.key?(:request_id)
2540
2558
  end
2541
2559
  end
2542
2560
 
@@ -2559,6 +2577,11 @@ module Google
2559
2577
  # @return [String]
2560
2578
  attr_accessor :machine_type
2561
2579
 
2580
+ # Idempotent request UUID.
2581
+ # Corresponds to the JSON property `requestId`
2582
+ # @return [String]
2583
+ attr_accessor :request_id
2584
+
2562
2585
  def initialize(**args)
2563
2586
  update!(**args)
2564
2587
  end
@@ -2567,6 +2590,7 @@ module Google
2567
2590
  def update!(**args)
2568
2591
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
2569
2592
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2593
+ @request_id = args[:request_id] if args.key?(:request_id)
2570
2594
  end
2571
2595
  end
2572
2596
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NotebooksV1
18
18
  # Version of the google-apis-notebooks_v1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220224"
25
+ REVISION = "20220303"
26
26
  end
27
27
  end
28
28
  end
@@ -881,6 +881,7 @@ module Google
881
881
  class ResetRuntimeRequest
882
882
  # @private
883
883
  class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :request_id, as: 'requestId'
884
885
  end
885
886
  end
886
887
 
@@ -1040,6 +1041,7 @@ module Google
1040
1041
  class StartRuntimeRequest
1041
1042
  # @private
1042
1043
  class Representation < Google::Apis::Core::JsonRepresentation
1044
+ property :request_id, as: 'requestId'
1043
1045
  end
1044
1046
  end
1045
1047
 
@@ -1061,6 +1063,7 @@ module Google
1061
1063
  class StopRuntimeRequest
1062
1064
  # @private
1063
1065
  class Representation < Google::Apis::Core::JsonRepresentation
1066
+ property :request_id, as: 'requestId'
1064
1067
  end
1065
1068
  end
1066
1069
 
@@ -1070,6 +1073,7 @@ module Google
1070
1073
  property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
1071
1074
 
1072
1075
  property :machine_type, as: 'machineType'
1076
+ property :request_id, as: 'requestId'
1073
1077
  end
1074
1078
  end
1075
1079
 
@@ -1356,6 +1356,8 @@ module Google
1356
1356
  # @param [String] parent
1357
1357
  # Required. Format: `parent=projects/`project_id`/locations/`location``
1358
1358
  # @param [Google::Apis::NotebooksV1::Runtime] runtime_object
1359
+ # @param [String] request_id
1360
+ # Idempotent request UUID.
1359
1361
  # @param [String] runtime_id
1360
1362
  # Required. User-defined unique ID of this Runtime.
1361
1363
  # @param [String] fields
@@ -1375,13 +1377,14 @@ module Google
1375
1377
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1376
1378
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1377
1379
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1378
- def create_project_location_runtime(parent, runtime_object = nil, runtime_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1380
+ def create_project_location_runtime(parent, runtime_object = nil, request_id: nil, runtime_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1379
1381
  command = make_simple_command(:post, 'v1/{+parent}/runtimes', options)
1380
1382
  command.request_representation = Google::Apis::NotebooksV1::Runtime::Representation
1381
1383
  command.request_object = runtime_object
1382
1384
  command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1383
1385
  command.response_class = Google::Apis::NotebooksV1::Operation
1384
1386
  command.params['parent'] = parent unless parent.nil?
1387
+ command.query['requestId'] = request_id unless request_id.nil?
1385
1388
  command.query['runtimeId'] = runtime_id unless runtime_id.nil?
1386
1389
  command.query['fields'] = fields unless fields.nil?
1387
1390
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1392,6 +1395,8 @@ module Google
1392
1395
  # @param [String] name
1393
1396
  # Required. Format: `projects/`project_id`/locations/`location`/runtimes/`
1394
1397
  # runtime_id``
1398
+ # @param [String] request_id
1399
+ # Idempotent request UUID.
1395
1400
  # @param [String] fields
1396
1401
  # Selector specifying which fields to include in a partial response.
1397
1402
  # @param [String] quota_user
@@ -1409,11 +1414,12 @@ module Google
1409
1414
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1410
1415
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1411
1416
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1412
- def delete_project_location_runtime(name, fields: nil, quota_user: nil, options: nil, &block)
1417
+ def delete_project_location_runtime(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1413
1418
  command = make_simple_command(:delete, 'v1/{+name}', options)
1414
1419
  command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1415
1420
  command.response_class = Google::Apis::NotebooksV1::Operation
1416
1421
  command.params['name'] = name unless name.nil?
1422
+ command.query['requestId'] = request_id unless request_id.nil?
1417
1423
  command.query['fields'] = fields unless fields.nil?
1418
1424
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1419
1425
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.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-03-07 00:00:00.000000000 Z
11
+ date: 2022-03-14 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-notebooks_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v1
63
63
  post_install_message:
64
64
  rdoc_options: []