Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

feat: add Notebooks v1 #76

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/index.rst
Expand Up @@ -2,6 +2,17 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of the Notebooks
API. By default, you will get ``v1``, the latest version.

API Reference
-------------
.. toctree::
:maxdepth: 2

notebooks_v1/services
notebooks_v1/types

API Reference
-------------
.. toctree::
Expand Down
10 changes: 10 additions & 0 deletions docs/notebooks_v1/managed_notebook_service.rst
@@ -0,0 +1,10 @@
ManagedNotebookService
----------------------------------------

.. automodule:: google.cloud.notebooks_v1.services.managed_notebook_service
:members:
:inherited-members:

.. automodule:: google.cloud.notebooks_v1.services.managed_notebook_service.pagers
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/notebooks_v1/notebook_service.rst
@@ -0,0 +1,10 @@
NotebookService
---------------------------------

.. automodule:: google.cloud.notebooks_v1.services.notebook_service
:members:
:inherited-members:

.. automodule:: google.cloud.notebooks_v1.services.notebook_service.pagers
:members:
:inherited-members:
7 changes: 7 additions & 0 deletions docs/notebooks_v1/services.rst
@@ -0,0 +1,7 @@
Services for Google Cloud Notebooks v1 API
==========================================
.. toctree::
:maxdepth: 2

managed_notebook_service
notebook_service
7 changes: 7 additions & 0 deletions docs/notebooks_v1/types.rst
@@ -0,0 +1,7 @@
Types for Google Cloud Notebooks v1 API
=======================================

.. automodule:: google.cloud.notebooks_v1.types
:members:
:undoc-members:
:show-inheritance:
152 changes: 123 additions & 29 deletions google/cloud/notebooks/__init__.py
Expand Up @@ -14,69 +14,163 @@
# limitations under the License.
#

from google.cloud.notebooks_v1beta1.services.notebook_service.client import (
from google.cloud.notebooks_v1.services.managed_notebook_service.client import (
ManagedNotebookServiceClient,
)
from google.cloud.notebooks_v1.services.managed_notebook_service.async_client import (
ManagedNotebookServiceAsyncClient,
)
from google.cloud.notebooks_v1.services.notebook_service.client import (
NotebookServiceClient,
)
from google.cloud.notebooks_v1beta1.services.notebook_service.async_client import (
from google.cloud.notebooks_v1.services.notebook_service.async_client import (
NotebookServiceAsyncClient,
)

from google.cloud.notebooks_v1beta1.types.environment import ContainerImage
from google.cloud.notebooks_v1beta1.types.environment import Environment
from google.cloud.notebooks_v1beta1.types.environment import VmImage
from google.cloud.notebooks_v1beta1.types.instance import Instance
from google.cloud.notebooks_v1beta1.types.service import CreateEnvironmentRequest
from google.cloud.notebooks_v1beta1.types.service import CreateInstanceRequest
from google.cloud.notebooks_v1beta1.types.service import DeleteEnvironmentRequest
from google.cloud.notebooks_v1beta1.types.service import DeleteInstanceRequest
from google.cloud.notebooks_v1beta1.types.service import GetEnvironmentRequest
from google.cloud.notebooks_v1beta1.types.service import GetInstanceRequest
from google.cloud.notebooks_v1beta1.types.service import IsInstanceUpgradeableRequest
from google.cloud.notebooks_v1beta1.types.service import IsInstanceUpgradeableResponse
from google.cloud.notebooks_v1beta1.types.service import ListEnvironmentsRequest
from google.cloud.notebooks_v1beta1.types.service import ListEnvironmentsResponse
from google.cloud.notebooks_v1beta1.types.service import ListInstancesRequest
from google.cloud.notebooks_v1beta1.types.service import ListInstancesResponse
from google.cloud.notebooks_v1beta1.types.service import OperationMetadata
from google.cloud.notebooks_v1beta1.types.service import RegisterInstanceRequest
from google.cloud.notebooks_v1beta1.types.service import ReportInstanceInfoRequest
from google.cloud.notebooks_v1beta1.types.service import ResetInstanceRequest
from google.cloud.notebooks_v1beta1.types.service import SetInstanceAcceleratorRequest
from google.cloud.notebooks_v1beta1.types.service import SetInstanceLabelsRequest
from google.cloud.notebooks_v1beta1.types.service import SetInstanceMachineTypeRequest
from google.cloud.notebooks_v1beta1.types.service import StartInstanceRequest
from google.cloud.notebooks_v1beta1.types.service import StopInstanceRequest
from google.cloud.notebooks_v1beta1.types.service import UpgradeInstanceInternalRequest
from google.cloud.notebooks_v1beta1.types.service import UpgradeInstanceRequest
from google.cloud.notebooks_v1.types.environment import ContainerImage
from google.cloud.notebooks_v1.types.environment import Environment
from google.cloud.notebooks_v1.types.environment import VmImage
from google.cloud.notebooks_v1.types.event import Event
from google.cloud.notebooks_v1.types.execution import Execution
from google.cloud.notebooks_v1.types.execution import ExecutionTemplate
from google.cloud.notebooks_v1.types.instance import Instance
from google.cloud.notebooks_v1.types.instance import ReservationAffinity
from google.cloud.notebooks_v1.types.instance_config import InstanceConfig
from google.cloud.notebooks_v1.types.managed_service import CreateRuntimeRequest
from google.cloud.notebooks_v1.types.managed_service import DeleteRuntimeRequest
from google.cloud.notebooks_v1.types.managed_service import GetRuntimeRequest
from google.cloud.notebooks_v1.types.managed_service import ListRuntimesRequest
from google.cloud.notebooks_v1.types.managed_service import ListRuntimesResponse
from google.cloud.notebooks_v1.types.managed_service import ReportRuntimeEventRequest
from google.cloud.notebooks_v1.types.managed_service import ResetRuntimeRequest
from google.cloud.notebooks_v1.types.managed_service import StartRuntimeRequest
from google.cloud.notebooks_v1.types.managed_service import StopRuntimeRequest
from google.cloud.notebooks_v1.types.managed_service import SwitchRuntimeRequest
from google.cloud.notebooks_v1.types.runtime import EncryptionConfig
from google.cloud.notebooks_v1.types.runtime import LocalDisk
from google.cloud.notebooks_v1.types.runtime import LocalDiskInitializeParams
from google.cloud.notebooks_v1.types.runtime import Runtime
from google.cloud.notebooks_v1.types.runtime import RuntimeAcceleratorConfig
from google.cloud.notebooks_v1.types.runtime import RuntimeAccessConfig
from google.cloud.notebooks_v1.types.runtime import RuntimeMetrics
from google.cloud.notebooks_v1.types.runtime import RuntimeShieldedInstanceConfig
from google.cloud.notebooks_v1.types.runtime import RuntimeSoftwareConfig
from google.cloud.notebooks_v1.types.runtime import VirtualMachine
from google.cloud.notebooks_v1.types.runtime import VirtualMachineConfig
from google.cloud.notebooks_v1.types.schedule import Schedule
from google.cloud.notebooks_v1.types.service import CreateEnvironmentRequest
from google.cloud.notebooks_v1.types.service import CreateExecutionRequest
from google.cloud.notebooks_v1.types.service import CreateInstanceRequest
from google.cloud.notebooks_v1.types.service import CreateScheduleRequest
from google.cloud.notebooks_v1.types.service import DeleteEnvironmentRequest
from google.cloud.notebooks_v1.types.service import DeleteExecutionRequest
from google.cloud.notebooks_v1.types.service import DeleteInstanceRequest
from google.cloud.notebooks_v1.types.service import DeleteScheduleRequest
from google.cloud.notebooks_v1.types.service import GetEnvironmentRequest
from google.cloud.notebooks_v1.types.service import GetExecutionRequest
from google.cloud.notebooks_v1.types.service import GetInstanceHealthRequest
from google.cloud.notebooks_v1.types.service import GetInstanceHealthResponse
from google.cloud.notebooks_v1.types.service import GetInstanceRequest
from google.cloud.notebooks_v1.types.service import GetScheduleRequest
from google.cloud.notebooks_v1.types.service import IsInstanceUpgradeableRequest
from google.cloud.notebooks_v1.types.service import IsInstanceUpgradeableResponse
from google.cloud.notebooks_v1.types.service import ListEnvironmentsRequest
from google.cloud.notebooks_v1.types.service import ListEnvironmentsResponse
from google.cloud.notebooks_v1.types.service import ListExecutionsRequest
from google.cloud.notebooks_v1.types.service import ListExecutionsResponse
from google.cloud.notebooks_v1.types.service import ListInstancesRequest
from google.cloud.notebooks_v1.types.service import ListInstancesResponse
from google.cloud.notebooks_v1.types.service import ListSchedulesRequest
from google.cloud.notebooks_v1.types.service import ListSchedulesResponse
from google.cloud.notebooks_v1.types.service import OperationMetadata
from google.cloud.notebooks_v1.types.service import RegisterInstanceRequest
from google.cloud.notebooks_v1.types.service import ReportInstanceInfoRequest
from google.cloud.notebooks_v1.types.service import ResetInstanceRequest
from google.cloud.notebooks_v1.types.service import RollbackInstanceRequest
from google.cloud.notebooks_v1.types.service import SetInstanceAcceleratorRequest
from google.cloud.notebooks_v1.types.service import SetInstanceLabelsRequest
from google.cloud.notebooks_v1.types.service import SetInstanceMachineTypeRequest
from google.cloud.notebooks_v1.types.service import StartInstanceRequest
from google.cloud.notebooks_v1.types.service import StopInstanceRequest
from google.cloud.notebooks_v1.types.service import TriggerScheduleRequest
from google.cloud.notebooks_v1.types.service import UpdateInstanceConfigRequest
from google.cloud.notebooks_v1.types.service import UpdateShieldedInstanceConfigRequest
from google.cloud.notebooks_v1.types.service import UpgradeInstanceInternalRequest
from google.cloud.notebooks_v1.types.service import UpgradeInstanceRequest

__all__ = (
"ManagedNotebookServiceClient",
"ManagedNotebookServiceAsyncClient",
"NotebookServiceClient",
"NotebookServiceAsyncClient",
"ContainerImage",
"Environment",
"VmImage",
"Event",
"Execution",
"ExecutionTemplate",
"Instance",
"ReservationAffinity",
"InstanceConfig",
"CreateRuntimeRequest",
"DeleteRuntimeRequest",
"GetRuntimeRequest",
"ListRuntimesRequest",
"ListRuntimesResponse",
"ReportRuntimeEventRequest",
"ResetRuntimeRequest",
"StartRuntimeRequest",
"StopRuntimeRequest",
"SwitchRuntimeRequest",
"EncryptionConfig",
"LocalDisk",
"LocalDiskInitializeParams",
"Runtime",
"RuntimeAcceleratorConfig",
"RuntimeAccessConfig",
"RuntimeMetrics",
"RuntimeShieldedInstanceConfig",
"RuntimeSoftwareConfig",
"VirtualMachine",
"VirtualMachineConfig",
"Schedule",
"CreateEnvironmentRequest",
"CreateExecutionRequest",
"CreateInstanceRequest",
"CreateScheduleRequest",
"DeleteEnvironmentRequest",
"DeleteExecutionRequest",
"DeleteInstanceRequest",
"DeleteScheduleRequest",
"GetEnvironmentRequest",
"GetExecutionRequest",
"GetInstanceHealthRequest",
"GetInstanceHealthResponse",
"GetInstanceRequest",
"GetScheduleRequest",
"IsInstanceUpgradeableRequest",
"IsInstanceUpgradeableResponse",
"ListEnvironmentsRequest",
"ListEnvironmentsResponse",
"ListExecutionsRequest",
"ListExecutionsResponse",
"ListInstancesRequest",
"ListInstancesResponse",
"ListSchedulesRequest",
"ListSchedulesResponse",
"OperationMetadata",
"RegisterInstanceRequest",
"ReportInstanceInfoRequest",
"ResetInstanceRequest",
"RollbackInstanceRequest",
"SetInstanceAcceleratorRequest",
"SetInstanceLabelsRequest",
"SetInstanceMachineTypeRequest",
"StartInstanceRequest",
"StopInstanceRequest",
"TriggerScheduleRequest",
"UpdateInstanceConfigRequest",
"UpdateShieldedInstanceConfigRequest",
"UpgradeInstanceInternalRequest",
"UpgradeInstanceRequest",
)