google-apis-notebooks_v1 0.45.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1be9229aac64f714e8d730c218ad3eddfa088fa0c72e24441dbaa4cd29a38d02
4
- data.tar.gz: f81988ae021cd18845f774b914e891ed42e7cdf90053a0c9714c2dbea0fb39c6
3
+ metadata.gz: d2a40c9b1a8a530febccd21f42ef131ac489e2fb648b3abd057c659012b1ef08
4
+ data.tar.gz: 2557701ff0d323a52862dfb34ca6c3695063814401d234a1df67d548ab3144a9
5
5
  SHA512:
6
- metadata.gz: 635355e5c692fce5fb1139a0c7416b1a7d3877d007857256a68a45e36cffd83c9c15ac0f7bdfff5dfc2f2f8aaf52fc8d801646e0fdd78d5e212852dce79a376d
7
- data.tar.gz: f1e30a641a546e7a0fda7cbde555acb2b337da9de9e62deec1888ca49f0a0e7376bc6f8c49e338dfc05bdabed1e8919756fd466845ba696da008b0f127d4a256
6
+ metadata.gz: 11e893adb94c4d6e236ec83f10a163b5f75f1bcc377b3773750b365d3533eba10e4cde397fb4207e10a51acce10fd3de861684a003e298ef893e1d9605e5903d
7
+ data.tar.gz: 97054eb5bd60bfbae1433a55535aba9b74352d9d692f07a208d186fc640615eea4c83fb8bbffaec161cc4947b07d0f89337b05c2da77e067d71e6fdfd586c6de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-notebooks_v1
2
2
 
3
+ ### v0.46.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230810
6
+
3
7
  ### v0.45.0 (2023-08-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20230720
@@ -854,7 +854,7 @@ module Google
854
854
  end
855
855
  end
856
856
 
857
- # The definition of a notebook instance.
857
+ # The definition of a notebook instance. Next tag: 43
858
858
  class Instance
859
859
  include Google::Apis::Core::Hashable
860
860
 
@@ -940,6 +940,12 @@ module Google
940
940
  attr_accessor :install_gpu_driver
941
941
  alias_method :install_gpu_driver?, :install_gpu_driver
942
942
 
943
+ # InstanceMigrationEligibility represents the feasibility information of a
944
+ # migration from UmN to WbI. Next tag: 3
945
+ # Corresponds to the JSON property `instanceMigrationEligibility`
946
+ # @return [Google::Apis::NotebooksV1::InstanceMigrationEligibility]
947
+ attr_accessor :instance_migration_eligibility
948
+
943
949
  # Input only. The owner of this instance after creation. Format: `alias@example.
944
950
  # com` Currently supports one owner only. If not specified, all of the service
945
951
  # account users of your VM instance's service account can use the instance.
@@ -1023,11 +1029,6 @@ module Google
1023
1029
  # @return [String]
1024
1030
  attr_accessor :post_startup_script
1025
1031
 
1026
- # PreMigrationCheck checks how feasible a migration from UmN is.
1027
- # Corresponds to the JSON property `preMigrationCheck`
1028
- # @return [Google::Apis::NotebooksV1::PreMigrationCheck]
1029
- attr_accessor :pre_migration_check
1030
-
1031
1032
  # Output only. The proxy endpoint that is used to access the Jupyter notebook.
1032
1033
  # Corresponds to the JSON property `proxyUri`
1033
1034
  # @return [String]
@@ -1116,6 +1117,7 @@ module Google
1116
1117
  @disk_encryption = args[:disk_encryption] if args.key?(:disk_encryption)
1117
1118
  @disks = args[:disks] if args.key?(:disks)
1118
1119
  @install_gpu_driver = args[:install_gpu_driver] if args.key?(:install_gpu_driver)
1120
+ @instance_migration_eligibility = args[:instance_migration_eligibility] if args.key?(:instance_migration_eligibility)
1119
1121
  @instance_owners = args[:instance_owners] if args.key?(:instance_owners)
1120
1122
  @kms_key = args[:kms_key] if args.key?(:kms_key)
1121
1123
  @labels = args[:labels] if args.key?(:labels)
@@ -1129,7 +1131,6 @@ module Google
1129
1131
  @no_public_ip = args[:no_public_ip] if args.key?(:no_public_ip)
1130
1132
  @no_remove_data_disk = args[:no_remove_data_disk] if args.key?(:no_remove_data_disk)
1131
1133
  @post_startup_script = args[:post_startup_script] if args.key?(:post_startup_script)
1132
- @pre_migration_check = args[:pre_migration_check] if args.key?(:pre_migration_check)
1133
1134
  @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
1134
1135
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
1135
1136
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -1171,6 +1172,33 @@ module Google
1171
1172
  end
1172
1173
  end
1173
1174
 
1175
+ # InstanceMigrationEligibility represents the feasibility information of a
1176
+ # migration from UmN to WbI. Next tag: 3
1177
+ class InstanceMigrationEligibility
1178
+ include Google::Apis::Core::Hashable
1179
+
1180
+ # Output only. Certain configurations make the UmN ineligible for an automatic
1181
+ # migration. A manual migration is required.
1182
+ # Corresponds to the JSON property `errors`
1183
+ # @return [Array<String>]
1184
+ attr_accessor :errors
1185
+
1186
+ # Output only. Certain configurations will be defaulted during the migration.
1187
+ # Corresponds to the JSON property `warnings`
1188
+ # @return [Array<String>]
1189
+ attr_accessor :warnings
1190
+
1191
+ def initialize(**args)
1192
+ update!(**args)
1193
+ end
1194
+
1195
+ # Update properties of this object
1196
+ def update!(**args)
1197
+ @errors = args[:errors] if args.key?(:errors)
1198
+ @warnings = args[:warnings] if args.key?(:warnings)
1199
+ end
1200
+ end
1201
+
1174
1202
  # Response for checking if a notebook instance is upgradeable.
1175
1203
  class IsInstanceUpgradeableResponse
1176
1204
  include Google::Apis::Core::Hashable
@@ -1677,13 +1705,13 @@ module Google
1677
1705
  # @return [String]
1678
1706
  attr_accessor :name
1679
1707
 
1680
- # The normal response of the operation in case of success. If the original
1681
- # method returns no data on success, such as `Delete`, the response is `google.
1682
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1683
- # the response should be the resource. For other methods, the response should
1684
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1685
- # example, if the original method name is `TakeSnapshot()`, the inferred
1686
- # response type is `TakeSnapshotResponse`.
1708
+ # The normal, successful response of the operation. If the original method
1709
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1710
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1711
+ # response should be the resource. For other methods, the response should have
1712
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1713
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1714
+ # `TakeSnapshotResponse`.
1687
1715
  # Corresponds to the JSON property `response`
1688
1716
  # @return [Hash<String,Object>]
1689
1717
  attr_accessor :response
@@ -1777,22 +1805,22 @@ module Google
1777
1805
  # evaluates to `true`. A condition can add constraints based on attributes of
1778
1806
  # the request, the resource, or both. To learn which resources support
1779
1807
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1780
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1808
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1781
1809
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1782
1810
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1783
1811
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1784
1812
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1785
1813
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1786
1814
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1787
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1788
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1789
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1790
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1791
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1792
- # access description: Does not grant access after Sep 2020 expression: request.
1793
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1794
- # a description of IAM and its features, see the [IAM documentation](https://
1795
- # cloud.google.com/iam/docs/).
1815
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1816
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1817
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1818
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1819
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1820
+ # title: expirable access description: Does not grant access after Sep 2020
1821
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1822
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1823
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1796
1824
  class Policy
1797
1825
  include Google::Apis::Core::Hashable
1798
1826
 
@@ -1855,31 +1883,6 @@ module Google
1855
1883
  end
1856
1884
  end
1857
1885
 
1858
- # PreMigrationCheck checks how feasible a migration from UmN is.
1859
- class PreMigrationCheck
1860
- include Google::Apis::Core::Hashable
1861
-
1862
- # Message provides a summary or workaround.
1863
- # Corresponds to the JSON property `message`
1864
- # @return [String]
1865
- attr_accessor :message
1866
-
1867
- # Result returns the result of the check.
1868
- # Corresponds to the JSON property `result`
1869
- # @return [String]
1870
- attr_accessor :result
1871
-
1872
- def initialize(**args)
1873
- update!(**args)
1874
- end
1875
-
1876
- # Update properties of this object
1877
- def update!(**args)
1878
- @message = args[:message] if args.key?(:message)
1879
- @result = args[:result] if args.key?(:result)
1880
- end
1881
- end
1882
-
1883
1886
  # Request for getting a new access token.
1884
1887
  class RefreshRuntimeTokenInternalRequest
1885
1888
  include Google::Apis::Core::Hashable
@@ -2156,6 +2159,12 @@ module Google
2156
2159
  # @return [String]
2157
2160
  attr_accessor :name
2158
2161
 
2162
+ # RuntimeMigrationEligibility represents the feasibility information of a
2163
+ # migration from GmN to WbI. Next tag: 3
2164
+ # Corresponds to the JSON property `runtimeMigrationEligibility`
2165
+ # @return [Google::Apis::NotebooksV1::RuntimeMigrationEligibility]
2166
+ attr_accessor :runtime_migration_eligibility
2167
+
2159
2168
  # Specifies the selection and configuration of software inside the runtime. The
2160
2169
  # properties to set on runtime. Properties keys are specified in `key:value`
2161
2170
  # format, for example: * `idle_shutdown: true` * `idle_shutdown_timeout: 180` * `
@@ -2192,6 +2201,7 @@ module Google
2192
2201
  @metrics = args[:metrics] if args.key?(:metrics)
2193
2202
  @migrated = args[:migrated] if args.key?(:migrated)
2194
2203
  @name = args[:name] if args.key?(:name)
2204
+ @runtime_migration_eligibility = args[:runtime_migration_eligibility] if args.key?(:runtime_migration_eligibility)
2195
2205
  @software_config = args[:software_config] if args.key?(:software_config)
2196
2206
  @state = args[:state] if args.key?(:state)
2197
2207
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -2306,6 +2316,33 @@ module Google
2306
2316
  end
2307
2317
  end
2308
2318
 
2319
+ # RuntimeMigrationEligibility represents the feasibility information of a
2320
+ # migration from GmN to WbI. Next tag: 3
2321
+ class RuntimeMigrationEligibility
2322
+ include Google::Apis::Core::Hashable
2323
+
2324
+ # Output only. Certain configurations make the GmN ineligible for an automatic
2325
+ # migration. A manual migration is required.
2326
+ # Corresponds to the JSON property `errors`
2327
+ # @return [Array<String>]
2328
+ attr_accessor :errors
2329
+
2330
+ # Output only. Certain configurations will be defaulted during the migration.
2331
+ # Corresponds to the JSON property `warnings`
2332
+ # @return [Array<String>]
2333
+ attr_accessor :warnings
2334
+
2335
+ def initialize(**args)
2336
+ update!(**args)
2337
+ end
2338
+
2339
+ # Update properties of this object
2340
+ def update!(**args)
2341
+ @errors = args[:errors] if args.key?(:errors)
2342
+ @warnings = args[:warnings] if args.key?(:warnings)
2343
+ end
2344
+ end
2345
+
2309
2346
  # A set of Shielded Instance options. See [Images using supported Shielded VM
2310
2347
  # features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
2311
2348
  # vm). Not all combinations are valid.
@@ -2582,22 +2619,22 @@ module Google
2582
2619
  # evaluates to `true`. A condition can add constraints based on attributes of
2583
2620
  # the request, the resource, or both. To learn which resources support
2584
2621
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2585
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2622
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
2586
2623
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2587
2624
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2588
2625
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2589
2626
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2590
2627
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
2591
2628
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2592
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2593
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
2594
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2595
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2596
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2597
- # access description: Does not grant access after Sep 2020 expression: request.
2598
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2599
- # a description of IAM and its features, see the [IAM documentation](https://
2600
- # cloud.google.com/iam/docs/).
2629
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
2630
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
2631
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
2632
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
2633
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
2634
+ # title: expirable access description: Does not grant access after Sep 2020
2635
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
2636
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
2637
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2601
2638
  # Corresponds to the JSON property `policy`
2602
2639
  # @return [Google::Apis::NotebooksV1::Policy]
2603
2640
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NotebooksV1
18
18
  # Version of the google-apis-notebooks_v1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230720"
25
+ REVISION = "20230810"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class InstanceMigrationEligibility
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class IsInstanceUpgradeableResponse
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -232,12 +238,6 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
235
- class PreMigrationCheck
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
241
  class RefreshRuntimeTokenInternalRequest
242
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
243
 
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class RuntimeMigrationEligibility
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class RuntimeShieldedInstanceConfig
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -722,6 +728,8 @@ module Google
722
728
  collection :disks, as: 'disks', class: Google::Apis::NotebooksV1::Disk, decorator: Google::Apis::NotebooksV1::Disk::Representation
723
729
 
724
730
  property :install_gpu_driver, as: 'installGpuDriver'
731
+ property :instance_migration_eligibility, as: 'instanceMigrationEligibility', class: Google::Apis::NotebooksV1::InstanceMigrationEligibility, decorator: Google::Apis::NotebooksV1::InstanceMigrationEligibility::Representation
732
+
725
733
  collection :instance_owners, as: 'instanceOwners'
726
734
  property :kms_key, as: 'kmsKey'
727
735
  hash :labels, as: 'labels'
@@ -735,8 +743,6 @@ module Google
735
743
  property :no_public_ip, as: 'noPublicIp'
736
744
  property :no_remove_data_disk, as: 'noRemoveDataDisk'
737
745
  property :post_startup_script, as: 'postStartupScript'
738
- property :pre_migration_check, as: 'preMigrationCheck', class: Google::Apis::NotebooksV1::PreMigrationCheck, decorator: Google::Apis::NotebooksV1::PreMigrationCheck::Representation
739
-
740
746
  property :proxy_uri, as: 'proxyUri'
741
747
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::NotebooksV1::ReservationAffinity, decorator: Google::Apis::NotebooksV1::ReservationAffinity::Representation
742
748
 
@@ -763,6 +769,14 @@ module Google
763
769
  end
764
770
  end
765
771
 
772
+ class InstanceMigrationEligibility
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ collection :errors, as: 'errors'
776
+ collection :warnings, as: 'warnings'
777
+ end
778
+ end
779
+
766
780
  class IsInstanceUpgradeableResponse
767
781
  # @private
768
782
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -919,14 +933,6 @@ module Google
919
933
  end
920
934
  end
921
935
 
922
- class PreMigrationCheck
923
- # @private
924
- class Representation < Google::Apis::Core::JsonRepresentation
925
- property :message, as: 'message'
926
- property :result, as: 'result'
927
- end
928
- end
929
-
930
936
  class RefreshRuntimeTokenInternalRequest
931
937
  # @private
932
938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1016,6 +1022,8 @@ module Google
1016
1022
 
1017
1023
  property :migrated, as: 'migrated'
1018
1024
  property :name, as: 'name'
1025
+ property :runtime_migration_eligibility, as: 'runtimeMigrationEligibility', class: Google::Apis::NotebooksV1::RuntimeMigrationEligibility, decorator: Google::Apis::NotebooksV1::RuntimeMigrationEligibility::Representation
1026
+
1019
1027
  property :software_config, as: 'softwareConfig', class: Google::Apis::NotebooksV1::RuntimeSoftwareConfig, decorator: Google::Apis::NotebooksV1::RuntimeSoftwareConfig::Representation
1020
1028
 
1021
1029
  property :state, as: 'state'
@@ -1056,6 +1064,14 @@ module Google
1056
1064
  end
1057
1065
  end
1058
1066
 
1067
+ class RuntimeMigrationEligibility
1068
+ # @private
1069
+ class Representation < Google::Apis::Core::JsonRepresentation
1070
+ collection :errors, as: 'errors'
1071
+ collection :warnings, as: 'warnings'
1072
+ end
1073
+ end
1074
+
1059
1075
  class RuntimeShieldedInstanceConfig
1060
1076
  # @private
1061
1077
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Notebooks API V1