Skip to content

Commit 2e55a6e

Browse files
feat: Automated regeneration of notebooks v2 client (googleapis#22195)
Auto-created at 2025-03-23 10:18:25 +0000 using the toys pull request generator.
1 parent a7e033c commit 2e55a6e

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285272,6 +285272,7 @@
285272285272
"/notebooks:v2/Config/availableImages": available_images
285273285273
"/notebooks:v2/Config/availableImages/available_image": available_image
285274285274
"/notebooks:v2/Config/defaultValues": default_values
285275+
"/notebooks:v2/Config/disableWorkbenchLegacyCreation": disable_workbench_legacy_creation
285275285276
"/notebooks:v2/Config/supportedValues": supported_values
285276285277
"/notebooks:v2/ContainerImage": container_image
285277285278
"/notebooks:v2/ContainerImage/repository": repository

generated/google-apis-notebooks_v2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-notebooks_v2
22

3+
### v0.21.0 (2025-03-23)
4+
5+
* Regenerated from discovery document revision 20250224
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.20.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241204

generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,13 @@ class Config
285285
# @return [Google::Apis::NotebooksV2::DefaultValues]
286286
attr_accessor :default_values
287287

288+
# Output only. Flag to disable the creation of legacy Workbench notebooks (User-
289+
# managed notebooks and Google-managed notebooks).
290+
# Corresponds to the JSON property `disableWorkbenchLegacyCreation`
291+
# @return [Boolean]
292+
attr_accessor :disable_workbench_legacy_creation
293+
alias_method :disable_workbench_legacy_creation?, :disable_workbench_legacy_creation
294+
288295
# SupportedValues represents the values supported by the configuration.
289296
# Corresponds to the JSON property `supportedValues`
290297
# @return [Google::Apis::NotebooksV2::SupportedValues]
@@ -298,6 +305,7 @@ def initialize(**args)
298305
def update!(**args)
299306
@available_images = args[:available_images] if args.key?(:available_images)
300307
@default_values = args[:default_values] if args.key?(:default_values)
308+
@disable_workbench_legacy_creation = args[:disable_workbench_legacy_creation] if args.key?(:disable_workbench_legacy_creation)
301309
@supported_values = args[:supported_values] if args.key?(:supported_values)
302310
end
303311
end

generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module NotebooksV2
1818
# Version of the google-apis-notebooks_v2 gem
19-
GEM_VERSION = "0.20.0"
19+
GEM_VERSION = "0.21.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241204"
25+
REVISION = "20250224"
2626
end
2727
end
2828
end

generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
356356

357357
property :default_values, as: 'defaultValues', class: Google::Apis::NotebooksV2::DefaultValues, decorator: Google::Apis::NotebooksV2::DefaultValues::Representation
358358

359+
property :disable_workbench_legacy_creation, as: 'disableWorkbenchLegacyCreation'
359360
property :supported_values, as: 'supportedValues', class: Google::Apis::NotebooksV2::SupportedValues, decorator: Google::Apis::NotebooksV2::SupportedValues::Representation
360361

361362
end

0 commit comments

Comments
 (0)