diff --git a/api_names_out.yaml b/api_names_out.yaml index 6daf840d3ec..143ac4295a5 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -335598,6 +335598,7 @@ "/notebooks:v2/UpgradeHistoryEntry/version": version "/notebooks:v2/UpgradeHistoryEntry/vmImage": vm_image "/notebooks:v2/UpgradeInstanceRequest": upgrade_instance_request +"/notebooks:v2/UpgradeInstanceRequest/imageFamily": image_family "/notebooks:v2/UpgradeInstanceSystemRequest": upgrade_instance_system_request "/notebooks:v2/UpgradeInstanceSystemRequest/vmId": vm_id "/notebooks:v2/VmImage": vm_image diff --git a/generated/google-apis-notebooks_v2/CHANGELOG.md b/generated/google-apis-notebooks_v2/CHANGELOG.md index 1c5d1228191..9b778278531 100644 --- a/generated/google-apis-notebooks_v2/CHANGELOG.md +++ b/generated/google-apis-notebooks_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-notebooks_v2 +### v0.33.0 (2026-05-24) + +* Regenerated from discovery document revision 20260521 + ### v0.32.0 (2026-04-19) * Regenerated from discovery document revision 20260401 diff --git a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/classes.rb b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/classes.rb index 8ced94967d7..9b1d62736fa 100644 --- a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/classes.rb +++ b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/classes.rb @@ -1956,12 +1956,22 @@ def update!(**args) class UpgradeInstanceRequest include Google::Apis::Core::Hashable + # Optional. The Compute Engine image family resource name to upgrade to. Format: + # `projects/`project_id`/global/images/family/`image_family`` If specified, the + # instance will be upgraded to the latest image in the specified image family, + # allowing upgrades across image families. If not specified, the instance will + # be upgraded to the latest image in its current image family. + # Corresponds to the JSON property `imageFamily` + # @return [String] + attr_accessor :image_family + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @image_family = args[:image_family] if args.key?(:image_family) end end diff --git a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/gem_version.rb b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/gem_version.rb index e3facd5ffb0..bcd381bb2cf 100644 --- a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/gem_version.rb +++ b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module NotebooksV2 # Version of the google-apis-notebooks_v2 gem - GEM_VERSION = "0.32.0" + GEM_VERSION = "0.33.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260401" + REVISION = "20260521" end end end diff --git a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/representations.rb b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/representations.rb index 9fb0fe32d30..6444a4dbc4c 100644 --- a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/representations.rb +++ b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/representations.rb @@ -819,6 +819,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class UpgradeInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :image_family, as: 'imageFamily' end end diff --git a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/service.rb b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/service.rb index a6a30ac287b..2af95069555 100644 --- a/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/service.rb +++ b/generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/service.rb @@ -82,8 +82,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc end # Lists information about the supported locations for this service. This method - # lists locations based on the resource scope provided in the [ - # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, + # lists locations based on the resource scope provided in the + # ListLocationsRequest.name field: * **Global locations**: If `name` is empty, # the method lists the public locations available to all projects. * **Project- # specific locations**: If `name` follows the format `projects/`project``, the # 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 # @param [String] name # The resource that owns the locations collection, if applicable. # @param [Array, String] extra_location_types - # Optional. Do not use this field. It is unsupported and is ignored unless - # explicitly documented otherwise. This is primarily for internal usage. + # Optional. Do not use this field unless explicitly documented otherwise. This + # is primarily for internal usage. # @param [String] filter # A filter to narrow down results to a preferred subset. The filtering language # accepts strings like `"displayName=tokyo"`, and is documented in more detail