|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# Copyright 2023 Google LLC |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | +# |
| 16 | +from google.cloud.notebooks_v2 import gapic_version as package_version |
| 17 | + |
| 18 | +__version__ = package_version.__version__ |
| 19 | + |
| 20 | + |
| 21 | +from .services.notebook_service import NotebookServiceAsyncClient, NotebookServiceClient |
| 22 | +from .types.diagnostic_config import DiagnosticConfig |
| 23 | +from .types.event import Event |
| 24 | +from .types.gce_setup import ( |
| 25 | + AcceleratorConfig, |
| 26 | + BootDisk, |
| 27 | + ContainerImage, |
| 28 | + DataDisk, |
| 29 | + DiskEncryption, |
| 30 | + DiskType, |
| 31 | + GceSetup, |
| 32 | + GPUDriverConfig, |
| 33 | + NetworkInterface, |
| 34 | + ServiceAccount, |
| 35 | + ShieldedInstanceConfig, |
| 36 | + VmImage, |
| 37 | +) |
| 38 | +from .types.instance import HealthState, Instance, State, UpgradeHistoryEntry |
| 39 | +from .types.service import ( |
| 40 | + CheckInstanceUpgradabilityRequest, |
| 41 | + CheckInstanceUpgradabilityResponse, |
| 42 | + CreateInstanceRequest, |
| 43 | + DeleteInstanceRequest, |
| 44 | + DiagnoseInstanceRequest, |
| 45 | + GetInstanceRequest, |
| 46 | + ListInstancesRequest, |
| 47 | + ListInstancesResponse, |
| 48 | + OperationMetadata, |
| 49 | + ResetInstanceRequest, |
| 50 | + RollbackInstanceRequest, |
| 51 | + StartInstanceRequest, |
| 52 | + StopInstanceRequest, |
| 53 | + UpdateInstanceRequest, |
| 54 | + UpgradeInstanceRequest, |
| 55 | +) |
| 56 | + |
| 57 | +__all__ = ( |
| 58 | + "NotebookServiceAsyncClient", |
| 59 | + "AcceleratorConfig", |
| 60 | + "BootDisk", |
| 61 | + "CheckInstanceUpgradabilityRequest", |
| 62 | + "CheckInstanceUpgradabilityResponse", |
| 63 | + "ContainerImage", |
| 64 | + "CreateInstanceRequest", |
| 65 | + "DataDisk", |
| 66 | + "DeleteInstanceRequest", |
| 67 | + "DiagnoseInstanceRequest", |
| 68 | + "DiagnosticConfig", |
| 69 | + "DiskEncryption", |
| 70 | + "DiskType", |
| 71 | + "Event", |
| 72 | + "GPUDriverConfig", |
| 73 | + "GceSetup", |
| 74 | + "GetInstanceRequest", |
| 75 | + "HealthState", |
| 76 | + "Instance", |
| 77 | + "ListInstancesRequest", |
| 78 | + "ListInstancesResponse", |
| 79 | + "NetworkInterface", |
| 80 | + "NotebookServiceClient", |
| 81 | + "OperationMetadata", |
| 82 | + "ResetInstanceRequest", |
| 83 | + "RollbackInstanceRequest", |
| 84 | + "ServiceAccount", |
| 85 | + "ShieldedInstanceConfig", |
| 86 | + "StartInstanceRequest", |
| 87 | + "State", |
| 88 | + "StopInstanceRequest", |
| 89 | + "UpdateInstanceRequest", |
| 90 | + "UpgradeHistoryEntry", |
| 91 | + "UpgradeInstanceRequest", |
| 92 | + "VmImage", |
| 93 | +) |
0 commit comments