UNPKG

@google-cloud/notebooks

Version:
1,166 lines 335 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "notebooks": { "nested": { "v1": { "options": { "go_package": "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb", "java_multiple_files": true, "java_outer_classname": "NotebooksProto", "java_package": "com.google.cloud.notebooks.v1", "csharp_namespace": "Google.Cloud.Notebooks.V1", "php_namespace": "Google\\Cloud\\Notebooks\\V1", "ruby_package": "Google::Cloud::Notebooks::V1", "(google.api.resource_definition).type": "aiplatform.googleapis.com/Tensorboard", "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/tensorboards/{tensorboard}" }, "nested": { "DiagnosticConfig": { "fields": { "gcsBucket": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "relativePath": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "repairFlagEnabled": { "type": "bool", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "packetCaptureFlagEnabled": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "copyHomeFilesFlagEnabled": { "type": "bool", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "Environment": { "options": { "(google.api.resource).type": "notebooks.googleapis.com/Environment", "(google.api.resource).pattern": "projects/{project}/environments/{environment}" }, "oneofs": { "imageType": { "oneof": [ "vmImage", "containerImage" ] } }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "displayName": { "type": "string", "id": 2 }, "description": { "type": "string", "id": 3 }, "vmImage": { "type": "VmImage", "id": 6 }, "containerImage": { "type": "ContainerImage", "id": 7 }, "postStartupScript": { "type": "string", "id": 8 }, "createTime": { "type": "google.protobuf.Timestamp", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "VmImage": { "oneofs": { "image": { "oneof": [ "imageName", "imageFamily" ] } }, "fields": { "project": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "imageName": { "type": "string", "id": 2 }, "imageFamily": { "type": "string", "id": 3 } } }, "ContainerImage": { "fields": { "repository": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "tag": { "type": "string", "id": 2 } } }, "Event": { "fields": { "reportTime": { "type": "google.protobuf.Timestamp", "id": 1 }, "type": { "type": "EventType", "id": 2 }, "details": { "keyType": "string", "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "EventType": { "values": { "EVENT_TYPE_UNSPECIFIED": 0, "IDLE": 1, "HEARTBEAT": 2, "HEALTH": 3, "MAINTENANCE": 4 } } } }, "ExecutionTemplate": { "oneofs": { "jobParameters": { "oneof": [ "dataprocParameters", "vertexAiParameters" ] } }, "fields": { "scaleTier": { "type": "ScaleTier", "id": 1, "options": { "deprecated": true, "(google.api.field_behavior)": "REQUIRED" } }, "masterType": { "type": "string", "id": 2 }, "acceleratorConfig": { "type": "SchedulerAcceleratorConfig", "id": 3 }, "labels": { "keyType": "string", "type": "string", "id": 4 }, "inputNotebookFile": { "type": "string", "id": 5 }, "containerImageUri": { "type": "string", "id": 6 }, "outputNotebookFolder": { "type": "string", "id": 7 }, "paramsYamlFile": { "type": "string", "id": 8 }, "parameters": { "type": "string", "id": 9 }, "serviceAccount": { "type": "string", "id": 10 }, "jobType": { "type": "JobType", "id": 11 }, "dataprocParameters": { "type": "DataprocParameters", "id": 12 }, "vertexAiParameters": { "type": "VertexAIParameters", "id": 13 }, "kernelSpec": { "type": "string", "id": 14 }, "tensorboard": { "type": "string", "id": 15, "options": { "(google.api.resource_reference).type": "aiplatform.googleapis.com/Tensorboard" } } }, "nested": { "ScaleTier": { "values": { "SCALE_TIER_UNSPECIFIED": 0, "BASIC": 1, "STANDARD_1": 2, "PREMIUM_1": 3, "BASIC_GPU": 4, "BASIC_TPU": 5, "CUSTOM": 6 } }, "SchedulerAcceleratorType": { "values": { "SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED": 0, "NVIDIA_TESLA_K80": 1, "NVIDIA_TESLA_P100": 2, "NVIDIA_TESLA_V100": 3, "NVIDIA_TESLA_P4": 4, "NVIDIA_TESLA_T4": 5, "NVIDIA_TESLA_A100": 10, "TPU_V2": 6, "TPU_V3": 7 } }, "SchedulerAcceleratorConfig": { "fields": { "type": { "type": "SchedulerAcceleratorType", "id": 1 }, "coreCount": { "type": "int64", "id": 2 } } }, "JobType": { "values": { "JOB_TYPE_UNSPECIFIED": 0, "VERTEX_AI": 1, "DATAPROC": 2 } }, "DataprocParameters": { "fields": { "cluster": { "type": "string", "id": 1 } } }, "VertexAIParameters": { "fields": { "network": { "type": "string", "id": 1 }, "env": { "keyType": "string", "type": "string", "id": 2 } } } } }, "Execution": { "options": { "(google.api.resource).type": "notebooks.googleapis.com/Execution", "(google.api.resource).pattern": "projects/{project}/location/{location}/executions/{execution}" }, "fields": { "executionTemplate": { "type": "ExecutionTemplate", "id": 1 }, "name": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "displayName": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "description": { "type": "string", "id": 4 }, "createTime": { "type": "google.protobuf.Timestamp", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "state": { "type": "State", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "outputNotebookFile": { "type": "string", "id": 8 }, "jobUri": { "type": "string", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "State": { "values": { "STATE_UNSPECIFIED": 0, "QUEUED": 1, "PREPARING": 2, "RUNNING": 3, "SUCCEEDED": 4, "FAILED": 5, "CANCELLING": 6, "CANCELLED": 7, "EXPIRED": 9, "INITIALIZING": 10 } } } }, "ReservationAffinity": { "fields": { "consumeReservationType": { "type": "Type", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "key": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "values": { "rule": "repeated", "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "Type": { "values": { "TYPE_UNSPECIFIED": 0, "NO_RESERVATION": 1, "ANY_RESERVATION": 2, "SPECIFIC_RESERVATION": 3 } } } }, "Instance": { "options": { "(google.api.resource).type": "notebooks.googleapis.com/Instance", "(google.api.resource).pattern": "projects/{project}/instances/{instance}" }, "oneofs": { "environment": { "oneof": [ "vmImage", "containerImage" ] } }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "vmImage": { "type": "VmImage", "id": 2 }, "containerImage": { "type": "ContainerImage", "id": 3 }, "postStartupScript": { "type": "string", "id": 4 }, "proxyUri": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "instanceOwners": { "rule": "repeated", "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "serviceAccount": { "type": "string", "id": 7 }, "serviceAccountScopes": { "rule": "repeated", "type": "string", "id": 31, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "machineType": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "acceleratorConfig": { "type": "AcceleratorConfig", "id": 9 }, "state": { "type": "State", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "installGpuDriver": { "type": "bool", "id": 11 }, "customGpuDriverPath": { "type": "string", "id": 12 }, "bootDiskType": { "type": "DiskType", "id": 13, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "bootDiskSizeGb": { "type": "int64", "id": 14, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "dataDiskType": { "type": "DiskType", "id": 25, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "dataDiskSizeGb": { "type": "int64", "id": 26, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "noRemoveDataDisk": { "type": "bool", "id": 27, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "diskEncryption": { "type": "DiskEncryption", "id": 15, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "kmsKey": { "type": "string", "id": 16, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "disks": { "rule": "repeated", "type": "Disk", "id": 28, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "shieldedInstanceConfig": { "type": "ShieldedInstanceConfig", "id": 30, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "noPublicIp": { "type": "bool", "id": 17 }, "noProxyAccess": { "type": "bool", "id": 18 }, "network": { "type": "string", "id": 19 }, "subnet": { "type": "string", "id": 20 }, "labels": { "keyType": "string", "type": "string", "id": 21 }, "metadata": { "keyType": "string", "type": "string", "id": 22 }, "tags": { "rule": "repeated", "type": "string", "id": 32, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "upgradeHistory": { "rule": "repeated", "type": "UpgradeHistoryEntry", "id": 29 }, "nicType": { "type": "NicType", "id": 33, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "reservationAffinity": { "type": "ReservationAffinity", "id": 34, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "creator": { "type": "string", "id": 36, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "canIpForward": { "type": "bool", "id": 39, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 23, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 24, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "AcceleratorType": { "values": { "ACCELERATOR_TYPE_UNSPECIFIED": 0, "NVIDIA_TESLA_K80": 1, "NVIDIA_TESLA_P100": 2, "NVIDIA_TESLA_V100": 3, "NVIDIA_TESLA_P4": 4, "NVIDIA_TESLA_T4": 5, "NVIDIA_TESLA_A100": 11, "NVIDIA_TESLA_T4_VWS": 8, "NVIDIA_TESLA_P100_VWS": 9, "NVIDIA_TESLA_P4_VWS": 10, "TPU_V2": 6, "TPU_V3": 7 } }, "AcceleratorConfig": { "fields": { "type": { "type": "AcceleratorType", "id": 1 }, "coreCount": { "type": "int64", "id": 2 } } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "STARTING": 1, "PROVISIONING": 2, "ACTIVE": 3, "STOPPING": 4, "STOPPED": 5, "DELETED": 6, "UPGRADING": 7, "INITIALIZING": 8, "REGISTERING": 9, "SUSPENDING": 10, "SUSPENDED": 11 } }, "DiskType": { "values": { "DISK_TYPE_UNSPECIFIED": 0, "PD_STANDARD": 1, "PD_SSD": 2, "PD_BALANCED": 3, "PD_EXTREME": 4 } }, "DiskEncryption": { "values": { "DISK_ENCRYPTION_UNSPECIFIED": 0, "GMEK": 1, "CMEK": 2 } }, "Disk": { "fields": { "autoDelete": { "type": "bool", "id": 1 }, "boot": { "type": "bool", "id": 2 }, "deviceName": { "type": "string", "id": 3 }, "diskSizeGb": { "type": "int64", "id": 4 }, "guestOsFeatures": { "rule": "repeated", "type": "GuestOsFeature", "id": 5 }, "index": { "type": "int64", "id": 6 }, "interface": { "type": "string", "id": 7 }, "kind": { "type": "string", "id": 8 }, "licenses": { "rule": "repeated", "type": "string", "id": 9 }, "mode": { "type": "string", "id": 10 }, "source": { "type": "string", "id": 11 }, "type": { "type": "string", "id": 12 } }, "nested": { "GuestOsFeature": { "fields": { "type": { "type": "string", "id": 1 } } } } }, "ShieldedInstanceConfig": { "fields": { "enableSecureBoot": { "type": "bool", "id": 1 }, "enableVtpm": { "type": "bool", "id": 2 }, "enableIntegrityMonitoring": { "type": "bool", "id": 3 } } }, "UpgradeHistoryEntry": { "fields": { "snapshot": { "type": "string", "id": 1 }, "vmImage": { "type": "string", "id": 2 }, "containerImage": { "type": "string", "id": 3 }, "framework": { "type": "string", "id": 4 }, "version": { "type": "string", "id": 5 }, "state": { "type": "State", "id": 6 }, "createTime": { "type": "google.protobuf.Timestamp", "id": 7 }, "targetImage": { "type": "string", "id": 8, "options": { "deprecated": true } }, "action": { "type": "Action", "id": 9 }, "targetVersion": { "type": "string", "id": 10 } }, "nested": { "State": { "values": { "STATE_UNSPECIFIED": 0, "STARTED": 1, "SUCCEEDED": 2, "FAILED": 3 } }, "Action": { "values": { "ACTION_UNSPECIFIED": 0, "UPGRADE": 1, "ROLLBACK": 2 } } } }, "NicType": { "values": { "UNSPECIFIED_NIC_TYPE": 0, "VIRTIO_NET": 1, "GVNIC": 2 } } } }, "InstanceConfig": { "fields": { "notebookUpgradeSchedule": { "type": "string", "id": 1 }, "enableHealthMonitoring": { "type": "bool", "id": 2 } } }, "ManagedNotebookService": { "options": { "(google.api.default_host)": "notebooks.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ListRuntimes": { "requestType": "ListRuntimesRequest", "responseType": "ListRuntimesResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/runtimes", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/runtimes" } }, { "(google.api.method_signature)": "parent" } ] }, "GetRuntime": { "requestType": "GetRuntimeRequest", "responseType": "Runtime", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/runtimes/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/runtimes/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateRuntime": { "requestType": "CreateRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/runtimes", "(google.api.http).body": "runtime", "(google.api.method_signature)": "parent,runtime_id,runtime", "(google.longrunning.operation_info).response_type": "Runtime", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/runtimes", "body": "runtime" } }, { "(google.api.method_signature)": "parent,runtime_id,runtime" }, { "(google.longrunning.operation_info)": { "response_type": "Runtime", "metadata_type": "OperationMetadata" } } ] }, "UpdateRuntime": { "requestType": "UpdateRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).patch": "/v1/{runtime.name=projects/*/locations/*/runtimes/*}", "(google.api.http).body": "runtime", "(google.api.method_signature)": "runtime,update_mask", "(google.longrunning.operation_info).response_type": "Runtime", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{runtime.name=projects/*/locations/*/runtimes/*}", "body": "runtime" } }, { "(google.api.method_signature)": "runtime,update_mask" }, { "(google.longrunning.operation_info)": { "response_type": "Runtime", "metadata_type": "OperationMetadata" } } ] }, "DeleteRuntime": { "requestType": "DeleteRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/runtimes/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/runtimes/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] }, "StartRuntime": { "requestType": "StartRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/runtimes/*}:start", "(google.api.http).body": "*", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "Runtime", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/runtimes/*}:start", "body": "*" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "Runtime", "metadata_type": "OperationMetadata" } } ] }, "StopRuntime": { "requestType": "StopRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/runtimes/*}:stop", "(google.api.http).body": "*", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "Runtime", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/runtimes/*}:stop", "body": "*" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "Runtime", "metadata_type": "OperationMetadata" } } ] }, "SwitchRuntime": { "requestType": "SwitchRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/runtimes/*}:switch", "(google.api.http).body": "*", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "Runtime", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/runtimes/*}:switch", "body": "*" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "Runtime", "metadata_type": "OperationMetadata" } } ] }, "ResetRuntime": { "requestType": "ResetRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/runtimes/*}:reset", "(google.api.http).body": "*", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "Runtime", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/runtimes/*}:reset", "body": "*" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "Runtime", "metadata_type": "OperationMetadata" } } ] }, "UpgradeRuntime": { "requestType": "UpgradeRuntimeRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/runtimes/*}:upgrade", "(google.api.http).body": "*", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "Runtime", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/runtimes/*}:upgrade", "body": "*" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "Runtime", "metadata_type": "OperationMetadata" } } ] }, "ReportR