Skip to content

Commit

Permalink
fix(firestore): update the API
Browse files Browse the repository at this point in the history
#### firestore:v1

The following keys were changed:
- resources.projects.resources.databases.methods.exportDocuments.description
- resources.projects.resources.locations.methods.list.parameters.filter.description
- resources.projects.resources.locations.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.methods.list.parameters.pageToken.description
  • Loading branch information
yoshi-automation authored and bcoe committed Mar 26, 2021
1 parent 3b5331a commit 5ead437
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions discovery/firestore-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"databases": {
"methods": {
"exportDocuments": {
"description": "Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.",
"description": "Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. For more details on export behavior and output format, refer to: https://cloud.google.com/firestore/docs/manage-data/export-import",
"flatPath": "v1/projects/{projectsId}/databases/{databasesId}:exportDocuments",
"httpMethod": "POST",
"id": "firestore.projects.databases.exportDocuments",
Expand Down Expand Up @@ -1123,7 +1123,7 @@
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"location": "query",
"type": "string"
},
Expand All @@ -1135,13 +1135,13 @@
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"description": "The maximum number of results to return. If not set, the service will select a default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
"location": "query",
"type": "string"
}
Expand All @@ -1160,7 +1160,7 @@
}
}
},
"revision": "20210220",
"revision": "20210317",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"ArrayValue": {
Expand Down
14 changes: 7 additions & 7 deletions src/apis/firestore/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ export namespace firestore_v1 {
}

/**
* Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.
* Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. For more details on export behavior and output format, refer to: https://cloud.google.com/firestore/docs/manage-data/export-import
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -6081,13 +6081,13 @@ export namespace firestore_v1 {
*
* // Do the magic
* const res = await firestore.projects.locations.list({
* // The standard list filter.
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The standard list page size.
* // The maximum number of results to return. If not set, the service will select a default.
* pageSize: 'placeholder-value',
* // The standard list page token.
* // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
* pageToken: 'placeholder-value',
* });
* console.log(res.data);
Expand Down Expand Up @@ -6206,19 +6206,19 @@ export namespace firestore_v1 {
export interface Params$Resource$Projects$Locations$List
extends StandardParameters {
/**
* The standard list filter.
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
*/
filter?: string;
/**
* The resource that owns the locations collection, if applicable.
*/
name?: string;
/**
* The standard list page size.
* The maximum number of results to return. If not set, the service will select a default.
*/
pageSize?: number;
/**
* The standard list page token.
* A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
*/
pageToken?: string;
}
Expand Down

0 comments on commit 5ead437

Please sign in to comment.