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.tables.methods.list.parameters.orderBy.description
- resources.tables.methods.list.parameters.orderBy.location
- resources.tables.methods.list.parameters.orderBy.type
- resources.tables.resources.rows.methods.list.parameters.orderBy.description
- resources.tables.resources.rows.methods.list.parameters.orderBy.location
- resources.tables.resources.rows.methods.list.parameters.orderBy.type
- schemas.ColumnDescription.properties.multipleValuesDisallowed.description
- schemas.ColumnDescription.properties.multipleValuesDisallowed.type
- schemas.SavedView.description
- schemas.SavedView.id
- schemas.SavedView.properties.id.description
- schemas.SavedView.properties.id.type
- schemas.SavedView.properties.name.description
- schemas.SavedView.properties.name.type
- schemas.SavedView.type
- schemas.Table.properties.savedViews.description
- schemas.Table.properties.savedViews.items.$ref
- schemas.Table.properties.savedViews.type

The following keys were changed:
- schemas.Table.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 20, 2021
1 parent 575e92c commit 075e1fc
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 3 deletions.
40 changes: 38 additions & 2 deletions discovery/area120tables-v1alpha1.json
Expand Up @@ -159,6 +159,11 @@
"id": "area120tables.tables.list",
"parameterOrder": [],
"parameters": {
"orderBy": {
"description": "Optional. Sorting order for the list of tables on createTime/updateTime.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 20 tables are returned. The maximum value is 100; values above 100 are coerced to 100.",
"format": "int32",
Expand Down Expand Up @@ -410,6 +415,11 @@
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Sorting order for the list of rows on createTime/updateTime.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The maximum value is 1,000; values above 1,000 are coerced to 1,000.",
"format": "int32",
Expand Down Expand Up @@ -576,7 +586,7 @@
}
}
},
"revision": "20210322",
"revision": "20210415",
"rootUrl": "https://area120tables.googleapis.com/",
"schemas": {
"BatchCreateRowsRequest": {
Expand Down Expand Up @@ -672,6 +682,10 @@
"$ref": "LookupDetails",
"description": "Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column."
},
"multipleValuesDisallowed": {
"description": "Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible.",
"type": "boolean"
},
"name": {
"description": "column name",
"type": "string"
Expand Down Expand Up @@ -839,8 +853,23 @@
},
"type": "object"
},
"SavedView": {
"description": "A saved view of a table. NextId: 3",
"id": "SavedView",
"properties": {
"id": {
"description": "Internal id associated with the saved view.",
"type": "string"
},
"name": {
"description": "Display name of the saved view.",
"type": "string"
}
},
"type": "object"
},
"Table": {
"description": "A single table.",
"description": "A single table. NextId: 7",
"id": "Table",
"properties": {
"columns": {
Expand All @@ -863,6 +892,13 @@
"description": "The resource name of the table. Table names have the form `tables/{table}`.",
"type": "string"
},
"savedViews": {
"description": "Saved views for this table.",
"items": {
"$ref": "SavedView"
},
"type": "array"
},
"updateTime": {
"description": "Time when the table was last updated excluding updates to individual rows",
"format": "google-datetime",
Expand Down
36 changes: 35 additions & 1 deletion src/apis/area120tables/v1alpha1.ts
Expand Up @@ -192,6 +192,10 @@ export namespace area120tables_v1alpha1 {
* Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.
*/
lookupDetails?: Schema$LookupDetails;
/**
* Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible.
*/
multipleValuesDisallowed?: boolean | null;
/**
* column name
*/
Expand Down Expand Up @@ -318,7 +322,20 @@ export namespace area120tables_v1alpha1 {
values?: {[key: string]: any} | null;
}
/**
* A single table.
* A saved view of a table. NextId: 3
*/
export interface Schema$SavedView {
/**
* Internal id associated with the saved view.
*/
id?: string | null;
/**
* Display name of the saved view.
*/
name?: string | null;
}
/**
* A single table. NextId: 7
*/
export interface Schema$Table {
/**
Expand All @@ -337,6 +354,10 @@ export namespace area120tables_v1alpha1 {
* The resource name of the table. Table names have the form `tables/{table\}`.
*/
name?: string | null;
/**
* Saved views for this table.
*/
savedViews?: Schema$SavedView[];
/**
* Time when the table was last updated excluding updates to individual rows
*/
Expand Down Expand Up @@ -438,6 +459,7 @@ export namespace area120tables_v1alpha1 {
* // "createTime": "my_createTime",
* // "displayName": "my_displayName",
* // "name": "my_name",
* // "savedViews": [],
* // "updateTime": "my_updateTime"
* // }
* }
Expand Down Expand Up @@ -564,6 +586,8 @@ export namespace area120tables_v1alpha1 {
*
* // Do the magic
* const res = await area120tables.tables.list({
* // Optional. Sorting order for the list of tables on createTime/updateTime.
* orderBy: 'placeholder-value',
* // The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 20 tables are returned. The maximum value is 100; values above 100 are coerced to 100.
* pageSize: 'placeholder-value',
* // A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTables` must match the call that provided the page token.
Expand Down Expand Up @@ -677,6 +701,10 @@ export namespace area120tables_v1alpha1 {
name?: string;
}
export interface Params$Resource$Tables$List extends StandardParameters {
/**
* Optional. Sorting order for the list of tables on createTime/updateTime.
*/
orderBy?: string;
/**
* The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 20 tables are returned. The maximum value is 100; values above 100 are coerced to 100.
*/
Expand Down Expand Up @@ -1589,6 +1617,8 @@ export namespace area120tables_v1alpha1 {
* const res = await area120tables.tables.rows.list({
* // Optional. Filter to only include resources matching the requirements. For more information, see [Filtering list results](https://support.google.com/area120-tables/answer/10503371).
* filter: 'placeholder-value',
* // Optional. Sorting order for the list of rows on createTime/updateTime.
* orderBy: 'placeholder-value',
* // The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The maximum value is 1,000; values above 1,000 are coerced to 1,000.
* pageSize: 'placeholder-value',
* // A page token, received from a previous `ListRows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRows` must match the call that provided the page token.
Expand Down Expand Up @@ -1923,6 +1953,10 @@ export namespace area120tables_v1alpha1 {
* Optional. Filter to only include resources matching the requirements. For more information, see [Filtering list results](https://support.google.com/area120-tables/answer/10503371).
*/
filter?: string;
/**
* Optional. Sorting order for the list of rows on createTime/updateTime.
*/
orderBy?: string;
/**
* The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The maximum value is 1,000; values above 1,000 are coerced to 1,000.
*/
Expand Down

0 comments on commit 075e1fc

Please sign in to comment.