google-apis-notebooks_v1 0.26.0 → 0.27.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:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 50f7ac82edf6badfca333046ff90388459283b481e46622f590f6c8accf69a43
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 9b3cd9a28645d22487547bb98268332551af1ab766c58f15b2c791219be9d9a9
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 79f482efeb24c8dd860be095ec202811b30e9878ec6a91924501824781cb5160adfd65d66bd41326793d01ff1de5a5a0816e1711dd8e0d4b85a0559272491386
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: ac2abc7346dbf18885c692a5ba9a41c6f52902db8748fda1c53bd98a12e6debba183a7507b11d360f974df2a6d3fb459fe65e8a4f0d0b6f800e2b693cf92780d
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -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:  
     | 
| 
      
 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. 
     | 
| 
      
 19 
     | 
    
         
            +
                  GEM_VERSION = "0.27.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.4.1"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 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  
     | 
| 
       507 
     | 
    
         
            -
                    #    
     | 
| 
      
 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  
     | 
| 
       829 
     | 
    
         
            -
                    #    
     | 
| 
      
 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  
     | 
| 
       1003 
     | 
    
         
            -
                    #    
     | 
| 
      
 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  
     | 
| 
       1464 
     | 
    
         
            -
                    #    
     | 
| 
      
 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  
     | 
| 
       1649 
     | 
    
         
            -
                    #    
     | 
| 
      
 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  
     | 
| 
       1795 
     | 
    
         
            -
                    #    
     | 
| 
      
 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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.27.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- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-05-23 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. 
     | 
| 
      
 61 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.27.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: []
         
     |