Skip to content

Commit

Permalink
Correct data type for Notebook Instance Owners field, add some enums (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gogasca authored Aug 27, 2020
1 parent bd77597 commit b2de046
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions products/notebooks/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,15 @@ objects:
description: |
The proxy endpoint that is used to access the Jupyter notebook.
output: true
- !ruby/object:Api::Type::String
- !ruby/object:Api::Type::Array
name: 'instanceOwners'
description: |
The owner of this instance after creation.
The list of owners of this instance after creation.
Format: [email protected].
Currently supports one owner only.
If not specified, all of the service account users of
your VM instance's service account can use the instance.
item_type: Api::Type::String
- !ruby/object:Api::Type::String
name: 'serviceAccount'
description: |
Expand Down Expand Up @@ -237,16 +238,8 @@ objects:
required: true
description: |
Count of cores of this accelerator.
- !ruby/object:Api::Type::Enum
- !ruby/object:Api::Type::String
name: 'state'
values:
- STATE_UNSPECIFIED
- STARTING
- PROVISIONING
- ACTIVE
- STOPPING
- STOPPED
- DELETED
description: |
The state of this instance.
output: true
Expand All @@ -267,6 +260,7 @@ objects:
- DISK_TYPE_UNSPECIFIED
- PD_STANDARD
- PD_SSD
- PD_BALANCED
description: |
Possible disk types for notebook instances.
- !ruby/object:Api::Type::Integer
Expand All @@ -281,6 +275,7 @@ objects:
- DISK_TYPE_UNSPECIFIED
- PD_STANDARD
- PD_SSD
- PD_BALANCED
description: |
Possible disk types for notebook instances.
- !ruby/object:Api::Type::Integer
Expand Down Expand Up @@ -397,4 +392,4 @@ objects:
properties:
- !ruby/object:Api::Type::String
name: 'name'
description: 'Name of the Location resource.'
description: 'Name of the Location resource.'

0 comments on commit b2de046

Please sign in to comment.