google-apis-notebooks_v1 0.26.0 → 0.29.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: d238bd3c138c71b7146323cc8e67a4e1b15e614e60abfaa3cbadf82107df5100
4
- data.tar.gz: cc532c9eb4fee89ccc3dcf9af75e6935e1d2591e6ba32e34b2510a615f0242e7
3
+ metadata.gz: 5e9d05f0991d239c03c1a8b33e09616739a277cc74dd635282cc2856f83a7a49
4
+ data.tar.gz: bd5ae1fc6a3e1640a1089fa28d5e246652ac5192daaf14d0958ffb94358dc863
5
5
  SHA512:
6
- metadata.gz: bb050c09726f930b433acd407f9f8dca7cad364814875223780810a297f3fbad0f3e5af53b2e78bba470158415bf1fa7e96fe0c829a17fdca815cc0c654b22d3
7
- data.tar.gz: 60222777aefffe318d7b5f7a5cf2bcb17ef910f56967e9e55ed6a02c8b6ab5be8a977ce8a83d606e7370dcb5c82b3e0fb72505946f11e85d5cfc110a03e56ea0
6
+ metadata.gz: bc14492375b89b7714f9470380ac1d6def4189426f7007cbd129abac0811ecd392ce1913cc0a4da467d4d520a7f8da74adc3d8f2d68d1059dcca7277f9a8eb8d
7
+ data.tar.gz: 5aa4b52611d7b7c266e16d1cb1be567d10c56f6269bc86e4343eb52319e9ba40d25bf6a946b3c21a8a3ae943e6445a1b63e28c61026ed8f2da1354ef7c2e41ee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-notebooks_v1
2
2
 
3
+ ### v0.29.0 (2022-06-30)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+
7
+ ### v0.28.0 (2022-06-19)
8
+
9
+ * Regenerated using generator version 0.7.0
10
+
11
+ ### v0.27.0 (2022-05-22)
12
+
13
+ * Regenerated from discovery document revision 20220517
14
+
3
15
  ### v0.26.0 (2022-04-16)
4
16
 
5
17
  * Regenerated from discovery document revision 20220415
@@ -2208,6 +2208,11 @@ module Google
2208
2208
  # @return [String]
2209
2209
  attr_accessor :post_startup_script
2210
2210
 
2211
+ # Behavior for the post startup script.
2212
+ # Corresponds to the JSON property `postStartupScriptBehavior`
2213
+ # @return [String]
2214
+ attr_accessor :post_startup_script_behavior
2215
+
2211
2216
  # Output only. Bool indicating whether an newer image is available in an image
2212
2217
  # family.
2213
2218
  # Corresponds to the JSON property `upgradeable`
@@ -2229,6 +2234,7 @@ module Google
2229
2234
  @kernels = args[:kernels] if args.key?(:kernels)
2230
2235
  @notebook_upgrade_schedule = args[:notebook_upgrade_schedule] if args.key?(:notebook_upgrade_schedule)
2231
2236
  @post_startup_script = args[:post_startup_script] if args.key?(:post_startup_script)
2237
+ @post_startup_script_behavior = args[:post_startup_script_behavior] if args.key?(:post_startup_script_behavior)
2232
2238
  @upgradeable = args[:upgradeable] if args.key?(:upgradeable)
2233
2239
  end
2234
2240
  end
@@ -3132,7 +3138,7 @@ module Google
3132
3138
  attr_accessor :image_name
3133
3139
 
3134
3140
  # Required. The name of the Google Cloud project that this VM image belongs to.
3135
- # Format: `projects/`project_id``
3141
+ # Format: ``project_id``
3136
3142
  # Corresponds to the JSON property `project`
3137
3143
  # @return [String]
3138
3144
  attr_accessor :project
@@ -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.26.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220415"
25
+ REVISION = "20220517"
26
26
  end
27
27
  end
28
28
  end
@@ -990,6 +990,7 @@ module Google
990
990
 
991
991
  property :notebook_upgrade_schedule, as: 'notebookUpgradeSchedule'
992
992
  property :post_startup_script, as: 'postStartupScript'
993
+ property :post_startup_script_behavior, as: 'postStartupScriptBehavior'
993
994
  property :upgradeable, as: 'upgradeable'
994
995
  end
995
996
  end
@@ -503,8 +503,9 @@ module Google
503
503
  # Gets the access control policy for a resource. Returns an empty policy if the
504
504
  # resource exists and does not have a policy set.
505
505
  # @param [String] resource
506
- # REQUIRED: The resource for which the policy is being requested. See the
507
- # operation documentation for the appropriate value for this field.
506
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
507
+ # names](https://cloud.google.com/apis/design/resource_names) for the
508
+ # appropriate value for this field.
508
509
  # @param [Fixnum] options_requested_policy_version
509
510
  # Optional. The maximum policy version that will be used to format the policy.
510
511
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -825,8 +826,9 @@ module Google
825
826
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
826
827
  # PERMISSION_DENIED` errors.
827
828
  # @param [String] resource
828
- # REQUIRED: The resource for which the policy is being specified. See the
829
- # operation documentation for the appropriate value for this field.
829
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
830
+ # names](https://cloud.google.com/apis/design/resource_names) for the
831
+ # appropriate value for this field.
830
832
  # @param [Google::Apis::NotebooksV1::SetIamPolicyRequest] set_iam_policy_request_object
831
833
  # @param [String] fields
832
834
  # Selector specifying which fields to include in a partial response.
@@ -999,8 +1001,9 @@ module Google
999
1001
  # permission-aware UIs and command-line tools, not for authorization checking.
1000
1002
  # This operation may "fail open" without warning.
1001
1003
  # @param [String] resource
1002
- # REQUIRED: The resource for which the policy detail is being requested. See the
1003
- # operation documentation for the appropriate value for this field.
1004
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1005
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1006
+ # appropriate value for this field.
1004
1007
  # @param [Google::Apis::NotebooksV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1005
1008
  # @param [String] fields
1006
1009
  # Selector specifying which fields to include in a partial response.
@@ -1460,8 +1463,9 @@ module Google
1460
1463
  # Gets the access control policy for a resource. Returns an empty policy if the
1461
1464
  # resource exists and does not have a policy set.
1462
1465
  # @param [String] resource
1463
- # REQUIRED: The resource for which the policy is being requested. See the
1464
- # operation documentation for the appropriate value for this field.
1466
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1467
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1468
+ # appropriate value for this field.
1465
1469
  # @param [Fixnum] options_requested_policy_version
1466
1470
  # Optional. The maximum policy version that will be used to format the policy.
1467
1471
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1538,6 +1542,54 @@ module Google
1538
1542
  execute_or_queue_command(command, &block)
1539
1543
  end
1540
1544
 
1545
+ # Update Notebook Runtime configuration.
1546
+ # @param [String] name
1547
+ # Output only. The resource name of the runtime. Format: `projects/`project`/
1548
+ # locations/`location`/runtimes/`runtimeId``
1549
+ # @param [Google::Apis::NotebooksV1::Runtime] runtime_object
1550
+ # @param [String] request_id
1551
+ # Idempotent request UUID.
1552
+ # @param [String] update_mask
1553
+ # Required. Specifies the path, relative to `Runtime`, of the field to update.
1554
+ # For example, to change the software configuration kernels, the `update_mask`
1555
+ # parameter would be specified as `software_config.kernels`, and the `PATCH`
1556
+ # request body would specify the new value, as follows: ` "software_config":` "
1557
+ # kernels": [` 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu',
1558
+ # 'tag': 'latest' `], ` ` Currently, only the following fields can be updated: -
1559
+ # software_config.kernels - software_config.post_startup_script -
1560
+ # software_config.custom_gpu_driver_path - software_config.idle_shutdown -
1561
+ # software_config.idle_shutdown_timeout
1562
+ # @param [String] fields
1563
+ # Selector specifying which fields to include in a partial response.
1564
+ # @param [String] quota_user
1565
+ # Available to use for quota purposes for server-side applications. Can be any
1566
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1567
+ # @param [Google::Apis::RequestOptions] options
1568
+ # Request-specific options
1569
+ #
1570
+ # @yield [result, err] Result & error if block supplied
1571
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1572
+ # @yieldparam err [StandardError] error object if request failed
1573
+ #
1574
+ # @return [Google::Apis::NotebooksV1::Operation]
1575
+ #
1576
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1577
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1578
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1579
+ def patch_project_location_runtime(name, runtime_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1580
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1581
+ command.request_representation = Google::Apis::NotebooksV1::Runtime::Representation
1582
+ command.request_object = runtime_object
1583
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1584
+ command.response_class = Google::Apis::NotebooksV1::Operation
1585
+ command.params['name'] = name unless name.nil?
1586
+ command.query['requestId'] = request_id unless request_id.nil?
1587
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1588
+ command.query['fields'] = fields unless fields.nil?
1589
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1590
+ execute_or_queue_command(command, &block)
1591
+ end
1592
+
1541
1593
  # Gets an access token for the consumer service account that the customer
1542
1594
  # attached to the runtime. Only accessible from the tenant instance.
1543
1595
  # @param [String] name
@@ -1645,8 +1697,9 @@ module Google
1645
1697
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1646
1698
  # PERMISSION_DENIED` errors.
1647
1699
  # @param [String] resource
1648
- # REQUIRED: The resource for which the policy is being specified. See the
1649
- # operation documentation for the appropriate value for this field.
1700
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1701
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1702
+ # appropriate value for this field.
1650
1703
  # @param [Google::Apis::NotebooksV1::SetIamPolicyRequest] set_iam_policy_request_object
1651
1704
  # @param [String] fields
1652
1705
  # Selector specifying which fields to include in a partial response.
@@ -1791,8 +1844,9 @@ module Google
1791
1844
  # permission-aware UIs and command-line tools, not for authorization checking.
1792
1845
  # This operation may "fail open" without warning.
1793
1846
  # @param [String] resource
1794
- # REQUIRED: The resource for which the policy detail is being requested. See the
1795
- # operation documentation for the appropriate value for this field.
1847
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1848
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1849
+ # appropriate value for this field.
1796
1850
  # @param [Google::Apis::NotebooksV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1797
1851
  # @param [String] fields
1798
1852
  # Selector specifying which fields to include in a partial response.
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.26.0
4
+ version: 0.29.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: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.29.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.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Notebooks API V1