google-apis-notebooks_v1 0.21.0 → 0.24.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: c3d45a90a8df6e11e28aefbcdad4ffe0bd7e55de8a7ad74759c85d7a47f22666
4
- data.tar.gz: 2ca96d8a91d0cec809f9ef78f2c758e494680715207f471f0810422c122c4fef
3
+ metadata.gz: 111ad3a19efffe17053a09b90f6513901880cef96a2bf94566cd518112ecedbe
4
+ data.tar.gz: 4494d0db8106198c3985bb707fe91011c9a7ae818d4030d55e13afaeb3c4e347
5
5
  SHA512:
6
- metadata.gz: b30f88160ffc7532935f7de16e17dd93c5d9b479479e6573b52ae22e50bad55daaf8f0ec9e571f69e79c7e04986690b97a8067240ee465cb882f99758a29e06b
7
- data.tar.gz: 0d72d9bbdfdfa6066bad32c05de835e006f9117f493547a298a4bb657b3fb93465ef7db29553c5586f3a150dad538196ebb67d25ff7e1ce1c7857d3e8838ecc8
6
+ metadata.gz: 6bba3a7e88288ec57527e85c41ce0f95d138efee2325aa53468130eb26011e602f6688cc01710a86c30e8fa989dc04143aaea95922993c7bdbc5507b47b5a30d
7
+ data.tar.gz: b75052cc851e24c777c332173765f952b539a427615fc5c3afe82866a9b10dbbd80409fcf1643173fbbd7e89fda2704298ff7074936e36662524a02cef18d29a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.23.0 (2022-03-06)
8
+
9
+ * Regenerated from discovery document revision 20220224
10
+
11
+ ### v0.22.0 (2022-02-19)
12
+
13
+ * Regenerated from discovery document revision 20220214
14
+
3
15
  ### v0.21.0 (2022-02-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220205
@@ -120,6 +120,20 @@ module Google
120
120
  end
121
121
  end
122
122
 
123
+ # Definition of the boot image used by the Runtime. Used to facilitate runtime
124
+ # upgradeability.
125
+ class BootImage
126
+ include Google::Apis::Core::Hashable
127
+
128
+ def initialize(**args)
129
+ update!(**args)
130
+ end
131
+
132
+ # Update properties of this object
133
+ def update!(**args)
134
+ end
135
+ end
136
+
123
137
  # The request message for Operations.CancelOperation.
124
138
  class CancelOperationRequest
125
139
  include Google::Apis::Core::Hashable
@@ -591,6 +605,13 @@ module Google
591
605
  # @return [String]
592
606
  attr_accessor :service_account
593
607
 
608
+ # The name of a Vertex AI [Tensorboard] resource to which this execution will
609
+ # upload Tensorboard logs. Format: `projects/`project`/locations/`location`/
610
+ # tensorboards/`tensorboard``
611
+ # Corresponds to the JSON property `tensorboard`
612
+ # @return [String]
613
+ attr_accessor :tensorboard
614
+
594
615
  # Parameters used in Vertex AI JobType executions.
595
616
  # Corresponds to the JSON property `vertexAiParameters`
596
617
  # @return [Google::Apis::NotebooksV1::VertexAiParameters]
@@ -615,6 +636,7 @@ module Google
615
636
  @params_yaml_file = args[:params_yaml_file] if args.key?(:params_yaml_file)
616
637
  @scale_tier = args[:scale_tier] if args.key?(:scale_tier)
617
638
  @service_account = args[:service_account] if args.key?(:service_account)
639
+ @tensorboard = args[:tensorboard] if args.key?(:tensorboard)
618
640
  @vertex_ai_parameters = args[:vertex_ai_parameters] if args.key?(:vertex_ai_parameters)
619
641
  end
620
642
  end
@@ -747,6 +769,13 @@ module Google
747
769
  # @return [String]
748
770
  attr_accessor :boot_disk_type
749
771
 
772
+ # Optional. Flag to enable ip forwarding or not, default false/off. https://
773
+ # cloud.google.com/vpc/docs/using-routes#canipforward
774
+ # Corresponds to the JSON property `canIpForward`
775
+ # @return [Boolean]
776
+ attr_accessor :can_ip_forward
777
+ alias_method :can_ip_forward?, :can_ip_forward
778
+
750
779
  # Definition of a container image for starting a notebook instance with the
751
780
  # environment installed in a container.
752
781
  # Corresponds to the JSON property `containerImage`
@@ -954,6 +983,7 @@ module Google
954
983
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
955
984
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
956
985
  @boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type)
986
+ @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
957
987
  @container_image = args[:container_image] if args.key?(:container_image)
958
988
  @create_time = args[:create_time] if args.key?(:create_time)
959
989
  @creator = args[:creator] if args.key?(:creator)
@@ -1822,12 +1852,18 @@ module Google
1822
1852
  class ResetRuntimeRequest
1823
1853
  include Google::Apis::Core::Hashable
1824
1854
 
1855
+ # Idempotent request UUID.
1856
+ # Corresponds to the JSON property `requestId`
1857
+ # @return [String]
1858
+ attr_accessor :request_id
1859
+
1825
1860
  def initialize(**args)
1826
1861
  update!(**args)
1827
1862
  end
1828
1863
 
1829
1864
  # Update properties of this object
1830
1865
  def update!(**args)
1866
+ @request_id = args[:request_id] if args.key?(:request_id)
1831
1867
  end
1832
1868
  end
1833
1869
 
@@ -2103,7 +2139,7 @@ module Google
2103
2139
  # @return [Fixnum]
2104
2140
  attr_accessor :idle_shutdown_timeout
2105
2141
 
2106
- # Install Nvidia Driver automatically.
2142
+ # Install Nvidia Driver automatically. Default: True
2107
2143
  # Corresponds to the JSON property `installGpuDriver`
2108
2144
  # @return [Boolean]
2109
2145
  attr_accessor :install_gpu_driver
@@ -2436,12 +2472,18 @@ module Google
2436
2472
  class StartRuntimeRequest
2437
2473
  include Google::Apis::Core::Hashable
2438
2474
 
2475
+ # Idempotent request UUID.
2476
+ # Corresponds to the JSON property `requestId`
2477
+ # @return [String]
2478
+ attr_accessor :request_id
2479
+
2439
2480
  def initialize(**args)
2440
2481
  update!(**args)
2441
2482
  end
2442
2483
 
2443
2484
  # Update properties of this object
2444
2485
  def update!(**args)
2486
+ @request_id = args[:request_id] if args.key?(:request_id)
2445
2487
  end
2446
2488
  end
2447
2489
 
@@ -2501,12 +2543,18 @@ module Google
2501
2543
  class StopRuntimeRequest
2502
2544
  include Google::Apis::Core::Hashable
2503
2545
 
2546
+ # Idempotent request UUID.
2547
+ # Corresponds to the JSON property `requestId`
2548
+ # @return [String]
2549
+ attr_accessor :request_id
2550
+
2504
2551
  def initialize(**args)
2505
2552
  update!(**args)
2506
2553
  end
2507
2554
 
2508
2555
  # Update properties of this object
2509
2556
  def update!(**args)
2557
+ @request_id = args[:request_id] if args.key?(:request_id)
2510
2558
  end
2511
2559
  end
2512
2560
 
@@ -2529,6 +2577,11 @@ module Google
2529
2577
  # @return [String]
2530
2578
  attr_accessor :machine_type
2531
2579
 
2580
+ # Idempotent request UUID.
2581
+ # Corresponds to the JSON property `requestId`
2582
+ # @return [String]
2583
+ attr_accessor :request_id
2584
+
2532
2585
  def initialize(**args)
2533
2586
  update!(**args)
2534
2587
  end
@@ -2537,6 +2590,7 @@ module Google
2537
2590
  def update!(**args)
2538
2591
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
2539
2592
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2593
+ @request_id = args[:request_id] if args.key?(:request_id)
2540
2594
  end
2541
2595
  end
2542
2596
 
@@ -2868,6 +2922,12 @@ module Google
2868
2922
  # @return [Google::Apis::NotebooksV1::RuntimeAcceleratorConfig]
2869
2923
  attr_accessor :accelerator_config
2870
2924
 
2925
+ # Definition of the boot image used by the Runtime. Used to facilitate runtime
2926
+ # upgradeability.
2927
+ # Corresponds to the JSON property `bootImage`
2928
+ # @return [Google::Apis::NotebooksV1::BootImage]
2929
+ attr_accessor :boot_image
2930
+
2871
2931
  # Optional. Use a list of container images to use as Kernels in the notebook
2872
2932
  # instance.
2873
2933
  # Corresponds to the JSON property `containerImages`
@@ -2992,6 +3052,7 @@ module Google
2992
3052
  # Update properties of this object
2993
3053
  def update!(**args)
2994
3054
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
3055
+ @boot_image = args[:boot_image] if args.key?(:boot_image)
2995
3056
  @container_images = args[:container_images] if args.key?(:container_images)
2996
3057
  @data_disk = args[:data_disk] if args.key?(:data_disk)
2997
3058
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
@@ -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.21.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 = "20220205"
25
+ REVISION = "20220303"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class BootImage
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class CancelOperationRequest
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -472,6 +478,12 @@ module Google
472
478
  end
473
479
  end
474
480
 
481
+ class BootImage
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ end
485
+ end
486
+
475
487
  class CancelOperationRequest
476
488
  # @private
477
489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -583,6 +595,7 @@ module Google
583
595
  property :params_yaml_file, as: 'paramsYamlFile'
584
596
  property :scale_tier, as: 'scaleTier'
585
597
  property :service_account, as: 'serviceAccount'
598
+ property :tensorboard, as: 'tensorboard'
586
599
  property :vertex_ai_parameters, as: 'vertexAiParameters', class: Google::Apis::NotebooksV1::VertexAiParameters, decorator: Google::Apis::NotebooksV1::VertexAiParameters::Representation
587
600
 
588
601
  end
@@ -620,6 +633,7 @@ module Google
620
633
 
621
634
  property :boot_disk_size_gb, :numeric_string => true, as: 'bootDiskSizeGb'
622
635
  property :boot_disk_type, as: 'bootDiskType'
636
+ property :can_ip_forward, as: 'canIpForward'
623
637
  property :container_image, as: 'containerImage', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
624
638
 
625
639
  property :create_time, as: 'createTime'
@@ -867,6 +881,7 @@ module Google
867
881
  class ResetRuntimeRequest
868
882
  # @private
869
883
  class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :request_id, as: 'requestId'
870
885
  end
871
886
  end
872
887
 
@@ -1026,6 +1041,7 @@ module Google
1026
1041
  class StartRuntimeRequest
1027
1042
  # @private
1028
1043
  class Representation < Google::Apis::Core::JsonRepresentation
1044
+ property :request_id, as: 'requestId'
1029
1045
  end
1030
1046
  end
1031
1047
 
@@ -1047,6 +1063,7 @@ module Google
1047
1063
  class StopRuntimeRequest
1048
1064
  # @private
1049
1065
  class Representation < Google::Apis::Core::JsonRepresentation
1066
+ property :request_id, as: 'requestId'
1050
1067
  end
1051
1068
  end
1052
1069
 
@@ -1056,6 +1073,7 @@ module Google
1056
1073
  property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
1057
1074
 
1058
1075
  property :machine_type, as: 'machineType'
1076
+ property :request_id, as: 'requestId'
1059
1077
  end
1060
1078
  end
1061
1079
 
@@ -1163,6 +1181,8 @@ module Google
1163
1181
  class Representation < Google::Apis::Core::JsonRepresentation
1164
1182
  property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
1165
1183
 
1184
+ property :boot_image, as: 'bootImage', class: Google::Apis::NotebooksV1::BootImage, decorator: Google::Apis::NotebooksV1::BootImage::Representation
1185
+
1166
1186
  collection :container_images, as: 'containerImages', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
1167
1187
 
1168
1188
  property :data_disk, as: 'dataDisk', class: Google::Apis::NotebooksV1::LocalDisk, decorator: Google::Apis::NotebooksV1::LocalDisk::Representation
@@ -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.21.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-02-14 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.21.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: []