google-apis-notebooks_v2 0.20.0 → 0.22.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: 7112690e9c61f8a45878a7f151ac1d0d831d9f30bac104ceb382bd7547e206c3
4
- data.tar.gz: 1f0e8f312ea00bbfd01a850c09a609f74d5512537951af7733ee51f37668bf84
3
+ metadata.gz: 783905761ddb52afedb577a1fd9607eed61ada3cbf3cddb9aced29d712d80b9f
4
+ data.tar.gz: 1250a9d0ee97f7c4327b7dca214167a656bb925bc9b9e4c2a666b560acea5b11
5
5
  SHA512:
6
- metadata.gz: ea1c36b1fa6e64c50d6825121985f51ffe65561e1990f2e8386d505fd480d1500ad7e5844a9ebfc577aadc5f7c179886e79d5beb49327f1c62399aa5972ccd81
7
- data.tar.gz: 39ead989f9b88ec252ab0a1fd10c59b55577b17b18a2eda42a99cd9c1b9c3d3887099187d96c50c6658078d60b9acd0dac8fcd9735c351d45d9a2ebe86d324ee
6
+ metadata.gz: 15cb4539ea767549647ade8793a8fdff5024f184b0d2643541c1f4e0bbc70b04a9ca02e9c5a98f8c1bfe6966e376d376c313a8d6b2c2f195e3c85b0c9dd00dcd
7
+ data.tar.gz: a1076c770fedcfdf21650df823c409faace9cef0738ec56cbfc16542b15be1e49ed31f17fae6a3538aa580b503cd58ed325d62029aaaae399f8cfe4078544bf5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-notebooks_v2
2
2
 
3
+ ### v0.22.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250319
6
+
7
+ ### v0.21.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250224
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.20.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241204
@@ -271,6 +271,33 @@ module Google
271
271
  end
272
272
  end
273
273
 
274
+ # A set of Confidential Instance options.
275
+ class ConfidentialInstanceConfig
276
+ include Google::Apis::Core::Hashable
277
+
278
+ # Optional. Defines the type of technology used by the confidential instance.
279
+ # Corresponds to the JSON property `confidentialInstanceType`
280
+ # @return [String]
281
+ attr_accessor :confidential_instance_type
282
+
283
+ # Optional. Defines whether the instance should have confidential compute
284
+ # enabled.
285
+ # Corresponds to the JSON property `enableConfidentialCompute`
286
+ # @return [Boolean]
287
+ attr_accessor :enable_confidential_compute
288
+ alias_method :enable_confidential_compute?, :enable_confidential_compute
289
+
290
+ def initialize(**args)
291
+ update!(**args)
292
+ end
293
+
294
+ # Update properties of this object
295
+ def update!(**args)
296
+ @confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
297
+ @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
298
+ end
299
+ end
300
+
274
301
  # Response for getting WbI configurations in a location
275
302
  class Config
276
303
  include Google::Apis::Core::Hashable
@@ -285,6 +312,13 @@ module Google
285
312
  # @return [Google::Apis::NotebooksV2::DefaultValues]
286
313
  attr_accessor :default_values
287
314
 
315
+ # Output only. Flag to disable the creation of legacy Workbench notebooks (User-
316
+ # managed notebooks and Google-managed notebooks).
317
+ # Corresponds to the JSON property `disableWorkbenchLegacyCreation`
318
+ # @return [Boolean]
319
+ attr_accessor :disable_workbench_legacy_creation
320
+ alias_method :disable_workbench_legacy_creation?, :disable_workbench_legacy_creation
321
+
288
322
  # SupportedValues represents the values supported by the configuration.
289
323
  # Corresponds to the JSON property `supportedValues`
290
324
  # @return [Google::Apis::NotebooksV2::SupportedValues]
@@ -298,6 +332,7 @@ module Google
298
332
  def update!(**args)
299
333
  @available_images = args[:available_images] if args.key?(:available_images)
300
334
  @default_values = args[:default_values] if args.key?(:default_values)
335
+ @disable_workbench_legacy_creation = args[:disable_workbench_legacy_creation] if args.key?(:disable_workbench_legacy_creation)
301
336
  @supported_values = args[:supported_values] if args.key?(:supported_values)
302
337
  end
303
338
  end
@@ -621,6 +656,11 @@ module Google
621
656
  # @return [Google::Apis::NotebooksV2::BootDisk]
622
657
  attr_accessor :boot_disk
623
658
 
659
+ # A set of Confidential Instance options.
660
+ # Corresponds to the JSON property `confidentialInstanceConfig`
661
+ # @return [Google::Apis::NotebooksV2::ConfidentialInstanceConfig]
662
+ attr_accessor :confidential_instance_config
663
+
624
664
  # Definition of a container image for starting a notebook instance with the
625
665
  # environment installed in a container.
626
666
  # Corresponds to the JSON property `containerImage`
@@ -707,6 +747,7 @@ module Google
707
747
  def update!(**args)
708
748
  @accelerator_configs = args[:accelerator_configs] if args.key?(:accelerator_configs)
709
749
  @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
750
+ @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
710
751
  @container_image = args[:container_image] if args.key?(:container_image)
711
752
  @data_disks = args[:data_disks] if args.key?(:data_disks)
712
753
  @disable_public_ip = args[:disable_public_ip] if args.key?(:disable_public_ip)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NotebooksV2
18
18
  # Version of the google-apis-notebooks_v2 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241204"
25
+ REVISION = "20250319"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class ConfidentialInstanceConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class Config
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -349,6 +355,14 @@ module Google
349
355
  end
350
356
  end
351
357
 
358
+ class ConfidentialInstanceConfig
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :confidential_instance_type, as: 'confidentialInstanceType'
362
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
363
+ end
364
+ end
365
+
352
366
  class Config
353
367
  # @private
354
368
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -356,6 +370,7 @@ module Google
356
370
 
357
371
  property :default_values, as: 'defaultValues', class: Google::Apis::NotebooksV2::DefaultValues, decorator: Google::Apis::NotebooksV2::DefaultValues::Representation
358
372
 
373
+ property :disable_workbench_legacy_creation, as: 'disableWorkbenchLegacyCreation'
359
374
  property :supported_values, as: 'supportedValues', class: Google::Apis::NotebooksV2::SupportedValues, decorator: Google::Apis::NotebooksV2::SupportedValues::Representation
360
375
 
361
376
  end
@@ -446,6 +461,8 @@ module Google
446
461
 
447
462
  property :boot_disk, as: 'bootDisk', class: Google::Apis::NotebooksV2::BootDisk, decorator: Google::Apis::NotebooksV2::BootDisk::Representation
448
463
 
464
+ property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::NotebooksV2::ConfidentialInstanceConfig, decorator: Google::Apis::NotebooksV2::ConfidentialInstanceConfig::Representation
465
+
449
466
  property :container_image, as: 'containerImage', class: Google::Apis::NotebooksV2::ContainerImage, decorator: Google::Apis::NotebooksV2::ContainerImage::Representation
450
467
 
451
468
  collection :data_disks, as: 'dataDisks', class: Google::Apis::NotebooksV2::DataDisk, decorator: Google::Apis::NotebooksV2::DataDisk::Representation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-30 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v2/v0.20.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v2/v0.22.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v2
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Notebooks API V2
82
79
  test_files: []