Skip to content

Commit

Permalink
feat(area120tables): update the API
Browse files Browse the repository at this point in the history
#### area120tables:v1alpha1
The following keys were added:
- resources.workspaces.methods.get.description
- resources.workspaces.methods.get.flatPath
- resources.workspaces.methods.get.httpMethod
- resources.workspaces.methods.get.id
- resources.workspaces.methods.get.parameterOrder
- resources.workspaces.methods.get.parameters.name.description
- resources.workspaces.methods.get.parameters.name.location
- resources.workspaces.methods.get.parameters.name.pattern
- resources.workspaces.methods.get.parameters.name.required
- resources.workspaces.methods.get.parameters.name.type
- resources.workspaces.methods.get.path
- resources.workspaces.methods.get.response.$ref
- resources.workspaces.methods.get.scopes
- resources.workspaces.methods.list.description
- resources.workspaces.methods.list.flatPath
- resources.workspaces.methods.list.httpMethod
- resources.workspaces.methods.list.id
- resources.workspaces.methods.list.parameterOrder
- resources.workspaces.methods.list.parameters.pageSize.description
- resources.workspaces.methods.list.parameters.pageSize.format
- resources.workspaces.methods.list.parameters.pageSize.location
- resources.workspaces.methods.list.parameters.pageSize.type
- resources.workspaces.methods.list.parameters.pageToken.description
- resources.workspaces.methods.list.parameters.pageToken.location
- resources.workspaces.methods.list.parameters.pageToken.type
- resources.workspaces.methods.list.path
- resources.workspaces.methods.list.response.$ref
- resources.workspaces.methods.list.scopes
- schemas.ListWorkspacesResponse.description
- schemas.ListWorkspacesResponse.id
- schemas.ListWorkspacesResponse.properties.nextPageToken.description
- schemas.ListWorkspacesResponse.properties.nextPageToken.type
- schemas.ListWorkspacesResponse.properties.workspaces.description
- schemas.ListWorkspacesResponse.properties.workspaces.items.$ref
- schemas.ListWorkspacesResponse.properties.workspaces.type
- schemas.ListWorkspacesResponse.type
- schemas.Workspace.description
- schemas.Workspace.id
- schemas.Workspace.properties.displayName.description
- schemas.Workspace.properties.displayName.type
- schemas.Workspace.properties.name.description
- schemas.Workspace.properties.name.type
- schemas.Workspace.properties.tables.description
- schemas.Workspace.properties.tables.items.$ref
- schemas.Workspace.properties.tables.type
- schemas.Workspace.type
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 6, 2020
1 parent cd6157e commit 236d533
Show file tree
Hide file tree
Showing 2 changed files with 430 additions and 1 deletion.
102 changes: 101 additions & 1 deletion discovery/area120tables-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,69 @@
}
}
}
},
"workspaces": {
"methods": {
"get": {
"description": "Gets a workspace. Returns NOT_FOUND if the workspace does not exist.",
"flatPath": "v1alpha1/workspaces/{workspacesId}",
"httpMethod": "GET",
"id": "area120tables.workspaces.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the workspace to retrieve. Format: workspaces/{workspace}",
"location": "path",
"pattern": "^workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha1/{+name}",
"response": {
"$ref": "Workspace"
},
"scopes": [
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/spreadsheets"
]
},
"list": {
"description": "Lists workspaces for the user.",
"flatPath": "v1alpha1/workspaces",
"httpMethod": "GET",
"id": "area120tables.workspaces.list",
"parameterOrder": [],
"parameters": {
"pageSize": {
"description": "The maximum number of workspaces to return. The service may return fewer than this value. If unspecified, at most 10 workspaces are returned. The maximum value is 25; values above 25 are coerced to 25.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces` must match the call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "v1alpha1/workspaces",
"response": {
"$ref": "ListWorkspacesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/spreadsheets"
]
}
}
}
},
"revision": "20201026",
"revision": "20201104",
"rootUrl": "https://area120tables.googleapis.com/",
"schemas": {
"BatchCreateRowsRequest": {
Expand Down Expand Up @@ -637,6 +697,24 @@
},
"type": "object"
},
"ListWorkspacesResponse": {
"description": "Response message for TablesService.ListWorkspaces.",
"id": "ListWorkspacesResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.",
"type": "string"
},
"workspaces": {
"description": "The list of workspaces.",
"items": {
"$ref": "Workspace"
},
"type": "array"
}
},
"type": "object"
},
"LookupDetails": {
"description": "Details about a lookup column whose value comes from the associated relationship.",
"id": "LookupDetails",
Expand Down Expand Up @@ -730,6 +808,28 @@
}
},
"type": "object"
},
"Workspace": {
"description": "A single workspace.",
"id": "Workspace",
"properties": {
"displayName": {
"description": "The human readable title of the workspace.",
"type": "string"
},
"name": {
"description": "The resource name of the workspace. Workspace names have the form `workspaces/{workspace}`.",
"type": "string"
},
"tables": {
"description": "The list of tables in the workspace.",
"items": {
"$ref": "Table"
},
"type": "array"
}
},
"type": "object"
}
},
"servicePath": "",
Expand Down

0 comments on commit 236d533

Please sign in to comment.