diff --git a/api_names_out.yaml b/api_names_out.yaml index 3e72c8b351a..8ef1da8d69c 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -308810,6 +308810,8 @@ "/notebooks:v2/DataDisk/diskSizeGb": disk_size_gb "/notebooks:v2/DataDisk/diskType": disk_type "/notebooks:v2/DataDisk/kmsKey": kms_key +"/notebooks:v2/DataDisk/resourcePolicies": resource_policies +"/notebooks:v2/DataDisk/resourcePolicies/resource_policy": resource_policy "/notebooks:v2/DefaultValues": default_values "/notebooks:v2/DefaultValues/machineType": machine_type "/notebooks:v2/DiagnoseInstanceRequest": diagnose_instance_request @@ -308908,6 +308910,8 @@ "/notebooks:v2/ListOperationsResponse/nextPageToken": next_page_token "/notebooks:v2/ListOperationsResponse/operations": operations "/notebooks:v2/ListOperationsResponse/operations/operation": operation +"/notebooks:v2/ListOperationsResponse/unreachable": unreachable +"/notebooks:v2/ListOperationsResponse/unreachable/unreachable": unreachable "/notebooks:v2/Location": location "/notebooks:v2/Location/displayName": display_name "/notebooks:v2/Location/labels": labels @@ -309085,6 +309089,7 @@ "/notebooks:v2/notebooks.projects.locations.operations.list/name": name "/notebooks:v2/notebooks.projects.locations.operations.list/pageSize": page_size "/notebooks:v2/notebooks.projects.locations.operations.list/pageToken": page_token +"/notebooks:v2/notebooks.projects.locations.operations.list/returnPartialSuccess": return_partial_success "/notebooks:v2/quotaUser": quota_user "/oauth2:v1/Jwk": jwk "/oauth2:v1/Jwk/keys": keys diff --git a/generated/google-apis-notebooks_v2/CHANGELOG.md b/generated/google-apis-notebooks_v2/CHANGELOG.md index 1cbe38c350f..8b32ba52c18 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.27.0 (2025-10-19) + +* Regenerated from discovery document revision 20251008 + ### v0.26.0 (2025-07-20) * Regenerated from discovery document revision 20250710 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 11270db2b37..c5110eef010 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 @@ -440,6 +440,11 @@ class DataDisk # @return [String] attr_accessor :kms_key + # Optional. The resource policies to apply to the data disk. + # Corresponds to the JSON property `resourcePolicies` + # @return [Array] + attr_accessor :resource_policies + def initialize(**args) update!(**args) end @@ -450,6 +455,7 @@ def update!(**args) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @disk_type = args[:disk_type] if args.key?(:disk_type) @kms_key = args[:kms_key] if args.key?(:kms_key) + @resource_policies = args[:resource_policies] if args.key?(:resource_policies) end end @@ -979,8 +985,8 @@ class Instance # @return [Hash] attr_accessor :labels - # Output only. The name of this notebook instance. Format: `projects/`project_id` - # /locations/`location`/instances/`instance_id`` + # Output only. Identifier. The name of this notebook instance. Format: `projects/ + # `project_id`/locations/`location`/instances/`instance_id`` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1125,6 +1131,13 @@ class ListOperationsResponse # @return [Array] attr_accessor :operations + # Unordered list. Unreachable resources. Populated when the request sets ` + # ListOperationsRequest.return_partial_success` and reads across collections e.g. + # when attempting to list all resources across all supported locations. + # Corresponds to the JSON property `unreachable` + # @return [Array] + attr_accessor :unreachable + def initialize(**args) update!(**args) end @@ -1133,6 +1146,7 @@ def initialize(**args) def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) + @unreachable = args[:unreachable] if args.key?(:unreachable) 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 0e648868aca..0710802f2f1 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.26.0" + GEM_VERSION = "0.27.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 = "20250710" + REVISION = "20251008" 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 a8e34adecb7..9fee14f5806 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 @@ -436,6 +436,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_type, as: 'diskType' property :kms_key, as: 'kmsKey' + collection :resource_policies, as: 'resourcePolicies' end end @@ -611,6 +612,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::NotebooksV2::Operation, decorator: Google::Apis::NotebooksV2::Operation::Representation + collection :unreachable, as: 'unreachable' 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 2f067a939c9..bdf4604933a 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 @@ -85,8 +85,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. A list of extra location types that should be used as conditions for - # controlling the visibility of the locations. + # Optional. Unless explicitly documented otherwise, don't use this unsupported + # field which is primarily intended 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 @@ -488,8 +488,8 @@ def list_project_location_instances(parent, filter: nil, order_by: nil, page_siz # UpdateInstance updates an Instance. # @param [String] name - # Output only. The name of this notebook instance. Format: `projects/`project_id` - # /locations/`location`/instances/`instance_id`` + # Output only. Identifier. The name of this notebook instance. Format: `projects/ + # `project_id`/locations/`location`/instances/`instance_id`` # @param [Google::Apis::NotebooksV2::Instance] instance_object # @param [String] request_id # Optional. Idempotent request UUID. @@ -1038,6 +1038,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # The standard list page size. # @param [String] page_token # The standard list page token. + # @param [Boolean] return_partial_success + # When set to `true`, operations that are reachable are returned as normal, and + # those that are unreachable are returned in the [ListOperationsResponse. + # unreachable] field. This can only be `true` when reading across collections e. + # g. when `parent` is set to `"projects/example/locations/-"`. This field is not + # by default supported and will result in an `UNIMPLEMENTED` error if set unless + # explicitly documented otherwise in service or product specific documentation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1055,7 +1062,7 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}/operations', options) command.response_representation = Google::Apis::NotebooksV2::ListOperationsResponse::Representation command.response_class = Google::Apis::NotebooksV2::ListOperationsResponse @@ -1063,6 +1070,7 @@ def list_project_location_operations(name, filter: nil, page_size: nil, page_tok command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)