google-apis-notebooks_v2 0.26.0 → 0.28.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: a082263484948a5d45bfd682bc47670bd14080fe78586447a081bcb1f9ee444b
4
- data.tar.gz: 03d80c99e5b852fba06f4684caeb674953ada771dc71a5e5a5fe1a9203eb5c4c
3
+ metadata.gz: 3d1e4512244bddc89678291dc1a7797c19c06badd661c776f1e73df0928e8357
4
+ data.tar.gz: 07653eebdb1e6f5c4c1c921ebc71f225871877e100f3b64764312a115ee56964
5
5
  SHA512:
6
- metadata.gz: c627a103abe56a66218690ecca25ce24d16d5b7be56d3581604595bba5b14b1f15c550d46d94b6d463f750081a0958f1a65af6e2ba462ad5f6ee3fc6f7ab86da
7
- data.tar.gz: 2a86cb1762151c22a1732ca42bef5f232e6a2ba5a73f84047c985fd547c9e8508be0fbd10183a55a8e4a35ad3e4fc09668e7bb1e43abe7508c5791f7eda2aafb
6
+ metadata.gz: 84aaeca2cd7d4c2006c270c91e2521b46b46382e114c414e430faa2205569d2488addfa61a3909cc215c80ecdf6e2d5bd593d06bcb55171aa0137546ef51a856
7
+ data.tar.gz: b53195763cfe5b261bcab646b3d73c6fcd3d7fbf5bc773af0ee5cedaba4bfc934bb1689b1df6a443ad2de0e223a25468bec83af7410097102d675ad6a98dd2b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-notebooks_v2
2
2
 
3
+ ### v0.28.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251016
6
+
7
+ ### v0.27.0 (2025-10-19)
8
+
9
+ * Regenerated from discovery document revision 20251008
10
+
3
11
  ### v0.26.0 (2025-07-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20250710
@@ -440,6 +440,11 @@ module Google
440
440
  # @return [String]
441
441
  attr_accessor :kms_key
442
442
 
443
+ # Optional. The resource policies to apply to the data disk.
444
+ # Corresponds to the JSON property `resourcePolicies`
445
+ # @return [Array<String>]
446
+ attr_accessor :resource_policies
447
+
443
448
  def initialize(**args)
444
449
  update!(**args)
445
450
  end
@@ -450,6 +455,7 @@ module Google
450
455
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
451
456
  @disk_type = args[:disk_type] if args.key?(:disk_type)
452
457
  @kms_key = args[:kms_key] if args.key?(:kms_key)
458
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
453
459
  end
454
460
  end
455
461
 
@@ -737,6 +743,11 @@ module Google
737
743
  # @return [Google::Apis::NotebooksV2::GpuDriverConfig]
738
744
  attr_accessor :gpu_driver_config
739
745
 
746
+ # Output only. The unique ID of the Compute Engine instance resource.
747
+ # Corresponds to the JSON property `instanceId`
748
+ # @return [String]
749
+ attr_accessor :instance_id
750
+
740
751
  # Optional. The machine type of the VM instance. https://cloud.google.com/
741
752
  # compute/docs/machine-resource
742
753
  # Corresponds to the JSON property `machineType`
@@ -804,6 +815,7 @@ module Google
804
815
  @disable_public_ip = args[:disable_public_ip] if args.key?(:disable_public_ip)
805
816
  @enable_ip_forwarding = args[:enable_ip_forwarding] if args.key?(:enable_ip_forwarding)
806
817
  @gpu_driver_config = args[:gpu_driver_config] if args.key?(:gpu_driver_config)
818
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
807
819
  @machine_type = args[:machine_type] if args.key?(:machine_type)
808
820
  @metadata = args[:metadata] if args.key?(:metadata)
809
821
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -979,8 +991,8 @@ module Google
979
991
  # @return [Hash<String,String>]
980
992
  attr_accessor :labels
981
993
 
982
- # Output only. The name of this notebook instance. Format: `projects/`project_id`
983
- # /locations/`location`/instances/`instance_id``
994
+ # Output only. Identifier. The name of this notebook instance. Format: `projects/
995
+ # `project_id`/locations/`location`/instances/`instance_id``
984
996
  # Corresponds to the JSON property `name`
985
997
  # @return [String]
986
998
  attr_accessor :name
@@ -1125,6 +1137,13 @@ module Google
1125
1137
  # @return [Array<Google::Apis::NotebooksV2::Operation>]
1126
1138
  attr_accessor :operations
1127
1139
 
1140
+ # Unordered list. Unreachable resources. Populated when the request sets `
1141
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1142
+ # when attempting to list all resources across all supported locations.
1143
+ # Corresponds to the JSON property `unreachable`
1144
+ # @return [Array<String>]
1145
+ attr_accessor :unreachable
1146
+
1128
1147
  def initialize(**args)
1129
1148
  update!(**args)
1130
1149
  end
@@ -1133,6 +1152,7 @@ module Google
1133
1152
  def update!(**args)
1134
1153
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1135
1154
  @operations = args[:operations] if args.key?(:operations)
1155
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1136
1156
  end
1137
1157
  end
1138
1158
 
@@ -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.26.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250710"
25
+ REVISION = "20251016"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,7 @@ module Google
436
436
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
437
437
  property :disk_type, as: 'diskType'
438
438
  property :kms_key, as: 'kmsKey'
439
+ collection :resource_policies, as: 'resourcePolicies'
439
440
  end
440
441
  end
441
442
 
@@ -516,6 +517,7 @@ module Google
516
517
  property :enable_ip_forwarding, as: 'enableIpForwarding'
517
518
  property :gpu_driver_config, as: 'gpuDriverConfig', class: Google::Apis::NotebooksV2::GpuDriverConfig, decorator: Google::Apis::NotebooksV2::GpuDriverConfig::Representation
518
519
 
520
+ property :instance_id, as: 'instanceId'
519
521
  property :machine_type, as: 'machineType'
520
522
  hash :metadata, as: 'metadata'
521
523
  property :min_cpu_platform, as: 'minCpuPlatform'
@@ -611,6 +613,7 @@ module Google
611
613
  property :next_page_token, as: 'nextPageToken'
612
614
  collection :operations, as: 'operations', class: Google::Apis::NotebooksV2::Operation, decorator: Google::Apis::NotebooksV2::Operation::Representation
613
615
 
616
+ collection :unreachable, as: 'unreachable'
614
617
  end
615
618
  end
616
619
 
@@ -85,8 +85,8 @@ module Google
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
87
  # @param [Array<String>, String] extra_location_types
88
- # Optional. A list of extra location types that should be used as conditions for
89
- # controlling the visibility of the locations.
88
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
89
+ # field which is primarily intended for internal usage.
90
90
  # @param [String] filter
91
91
  # A filter to narrow down results to a preferred subset. The filtering language
92
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -488,8 +488,8 @@ module Google
488
488
 
489
489
  # UpdateInstance updates an Instance.
490
490
  # @param [String] name
491
- # Output only. The name of this notebook instance. Format: `projects/`project_id`
492
- # /locations/`location`/instances/`instance_id``
491
+ # Output only. Identifier. The name of this notebook instance. Format: `projects/
492
+ # `project_id`/locations/`location`/instances/`instance_id``
493
493
  # @param [Google::Apis::NotebooksV2::Instance] instance_object
494
494
  # @param [String] request_id
495
495
  # Optional. Idempotent request UUID.
@@ -1038,6 +1038,13 @@ module Google
1038
1038
  # The standard list page size.
1039
1039
  # @param [String] page_token
1040
1040
  # The standard list page token.
1041
+ # @param [Boolean] return_partial_success
1042
+ # When set to `true`, operations that are reachable are returned as normal, and
1043
+ # those that are unreachable are returned in the [ListOperationsResponse.
1044
+ # unreachable] field. This can only be `true` when reading across collections e.
1045
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1046
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1047
+ # explicitly documented otherwise in service or product specific documentation.
1041
1048
  # @param [String] fields
1042
1049
  # Selector specifying which fields to include in a partial response.
1043
1050
  # @param [String] quota_user
@@ -1055,7 +1062,7 @@ module Google
1055
1062
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1056
1063
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1057
1064
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1058
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1065
+ 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)
1059
1066
  command = make_simple_command(:get, 'v2/{+name}/operations', options)
1060
1067
  command.response_representation = Google::Apis::NotebooksV2::ListOperationsResponse::Representation
1061
1068
  command.response_class = Google::Apis::NotebooksV2::ListOperationsResponse
@@ -1063,6 +1070,7 @@ module Google
1063
1070
  command.query['filter'] = filter unless filter.nil?
1064
1071
  command.query['pageSize'] = page_size unless page_size.nil?
1065
1072
  command.query['pageToken'] = page_token unless page_token.nil?
1073
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1066
1074
  command.query['fields'] = fields unless fields.nil?
1067
1075
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1068
1076
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v2/v0.26.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v2/v0.28.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v2
62
62
  rdoc_options: []
63
63
  require_paths: