google-apis-notebooks_v1 0.25.0 → 0.28.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: 712329e355a093b1de23203663d62c558f84c835de4e27ffecd336955bce3a89
4
- data.tar.gz: d9a74c84a3fed224ceb6c113afdb2783b774f1c92634ea52cb12b0a71d54a2b9
3
+ metadata.gz: 816c611f287d348bc49d5064fa1b2559b6bdc5d2754ee9d11193d545998a9189
4
+ data.tar.gz: 5694688eeec71dc35d3a10c1ba66aff933d9337676699765a828b8ad7badb126
5
5
  SHA512:
6
- metadata.gz: 9e0329b4c661628bc61106dbb64a21919f4d30afcb67b2781d633a3f3f59d4456ad6fa997afc49ba7d552390abec5d64728677d0a7f04fd2fae944e3e3ef0db6
7
- data.tar.gz: b3e619b579bff10f799e8c16d14adba59671634dac28436a1d0b0cdfd1b2b766237930695a26a20ac2d844422b3886ab1f38c5b8c39afa9be3edddf060836d95
6
+ metadata.gz: ed5c7ee10fd66427f554883fb797d0a06709d3285d704515526e4c6fea6a72ab4352d8bf59104165b643b85ff6d2f6128568ad734e855e1fd827fe3c7488c8d2
7
+ data.tar.gz: 56c6b8c17d0a6ad2e71f1ffcd94f683de2c70cbe95a718e987cd3dd054d01f58d0955576a72c569b66ad078ebae633b0222c9a175d940ec95ff8716ce5cc728d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-notebooks_v1
2
2
 
3
+ ### v0.28.0 (2022-06-19)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.27.0 (2022-05-22)
8
+
9
+ * Regenerated from discovery document revision 20220517
10
+
11
+ ### v0.26.0 (2022-04-16)
12
+
13
+ * Regenerated from discovery document revision 20220415
14
+
3
15
  ### v0.25.0 (2022-03-26)
4
16
 
5
17
  * Regenerated from discovery document revision 20220319
@@ -72,7 +72,7 @@ module Google
72
72
  # @return [Google::Apis::NotebooksV1::Expr]
73
73
  attr_accessor :condition
74
74
 
75
- # Specifies the principals requesting access for a Cloud Platform resource. `
75
+ # Specifies the principals requesting access for a Google Cloud resource. `
76
76
  # members` can have the following values: * `allUsers`: A special identifier
77
77
  # that represents anyone who is on the internet; with or without a Google
78
78
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -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
@@ -2643,7 +2649,7 @@ module Google
2643
2649
  include Google::Apis::Core::Hashable
2644
2650
 
2645
2651
  # The set of permissions to check for the `resource`. Permissions with wildcards
2646
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
2652
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
2647
2653
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2648
2654
  # Corresponds to the JSON property `permissions`
2649
2655
  # @return [Array<String>]
@@ -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.25.0"
19
+ GEM_VERSION = "0.28.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.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
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
@@ -84,8 +84,8 @@ module Google
84
84
  # The resource that owns the locations collection, if applicable.
85
85
  # @param [String] filter
86
86
  # A filter to narrow down results to a preferred subset. The filtering language
87
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
- # AIP-160](https://google.aip.dev/160).
87
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
88
+ # in [AIP-160](https://google.aip.dev/160).
89
89
  # @param [Fixnum] page_size
90
90
  # The maximum number of results to return. If not set, the service selects a
91
91
  # default.
@@ -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.25.0
4
+ version: 0.28.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-06-20 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.6'
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.6'
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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.28.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