Skip to content

Commit ae59d13

Browse files
feat: Automated regeneration of notebooks v2 client (googleapis#26532)
Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
1 parent 0bdd413 commit ae59d13

6 files changed

Lines changed: 22 additions & 6 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336359,6 +336359,7 @@
336359336359
"/notebooks:v2/UpgradeHistoryEntry/version": version
336360336360
"/notebooks:v2/UpgradeHistoryEntry/vmImage": vm_image
336361336361
"/notebooks:v2/UpgradeInstanceRequest": upgrade_instance_request
336362+
"/notebooks:v2/UpgradeInstanceRequest/imageFamily": image_family
336362336363
"/notebooks:v2/UpgradeInstanceSystemRequest": upgrade_instance_system_request
336363336364
"/notebooks:v2/UpgradeInstanceSystemRequest/vmId": vm_id
336364336365
"/notebooks:v2/VmImage": vm_image

generated/google-apis-notebooks_v2/CHANGELOG.md

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

3+
### v0.33.0 (2026-05-24)
4+
5+
* Regenerated from discovery document revision 20260521
6+
37
### v0.32.0 (2026-04-19)
48

59
* Regenerated from discovery document revision 20260401

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,12 +1956,22 @@ def update!(**args)
19561956
class UpgradeInstanceRequest
19571957
include Google::Apis::Core::Hashable
19581958

1959+
# Optional. The Compute Engine image family resource name to upgrade to. Format:
1960+
# `projects/`project_id`/global/images/family/`image_family`` If specified, the
1961+
# instance will be upgraded to the latest image in the specified image family,
1962+
# allowing upgrades across image families. If not specified, the instance will
1963+
# be upgraded to the latest image in its current image family.
1964+
# Corresponds to the JSON property `imageFamily`
1965+
# @return [String]
1966+
attr_accessor :image_family
1967+
19591968
def initialize(**args)
19601969
update!(**args)
19611970
end
19621971

19631972
# Update properties of this object
19641973
def update!(**args)
1974+
@image_family = args[:image_family] if args.key?(:image_family)
19651975
end
19661976
end
19671977

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

Lines changed: 2 additions & 2 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.32.0"
19+
GEM_VERSION = "0.33.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260401"
25+
REVISION = "20260521"
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
@@ -819,6 +819,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
819819
class UpgradeInstanceRequest
820820
# @private
821821
class Representation < Google::Apis::Core::JsonRepresentation
822+
property :image_family, as: 'imageFamily'
822823
end
823824
end
824825

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8282
end
8383

8484
# Lists information about the supported locations for this service. This method
85-
# lists locations based on the resource scope provided in the [
86-
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
85+
# lists locations based on the resource scope provided in the
86+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
8787
# the method lists the public locations available to all projects. * **Project-
8888
# specific locations**: If `name` follows the format `projects/`project``, the
8989
# method lists locations visible to that specific project. This includes public,
@@ -94,8 +94,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
9494
# @param [String] name
9595
# The resource that owns the locations collection, if applicable.
9696
# @param [Array<String>, String] extra_location_types
97-
# Optional. Do not use this field. It is unsupported and is ignored unless
98-
# explicitly documented otherwise. This is primarily for internal usage.
97+
# Optional. Do not use this field unless explicitly documented otherwise. This
98+
# is primarily for internal usage.
9999
# @param [String] filter
100100
# A filter to narrow down results to a preferred subset. The filtering language
101101
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)