Skip to content

Commit

Permalink
fix(cloudsearch): update the API
Browse files Browse the repository at this point in the history
#### cloudsearch:v1
The following keys were changed:
- schemas.DataSource.properties.disableModifications.description
- schemas.ItemContent.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent 09f308b commit ce9952f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 47 deletions.
6 changes: 3 additions & 3 deletions discovery/cloudsearch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,7 @@
}
}
},
"revision": "20200929",
"revision": "20201110",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"BooleanOperatorOptions": {
Expand Down Expand Up @@ -2011,7 +2011,7 @@
"id": "DataSource",
"properties": {
"disableModifications": {
"description": "If true, Indexing API rejects any modification calls to this datasource such as create, update, and delete. Disabling this does not imply halting process of previously accepted data.",
"description": "If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data.",
"type": "boolean"
},
"disableServing": {
Expand Down Expand Up @@ -2987,7 +2987,7 @@
"type": "object"
},
"ItemContent": {
"description": "Content of an item to be indexed and surfaced by Cloud Search.",
"description": "Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.",
"id": "ItemContent",
"properties": {
"contentDataRef": {
Expand Down
64 changes: 20 additions & 44 deletions src/apis/cloudsearch/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export namespace cloudsearch_v1 {
*/
export interface Schema$DataSource {
/**
* If true, Indexing API rejects any modification calls to this datasource such as create, update, and delete. Disabling this does not imply halting process of previously accepted data.
* If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data.
*/
disableModifications?: boolean | null;
/**
Expand Down Expand Up @@ -807,7 +807,7 @@ export namespace cloudsearch_v1 {
readers?: Schema$Principal[];
}
/**
* Content of an item to be indexed and surfaced by Cloud Search.
* Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.
*/
export interface Schema$ItemContent {
/**
Expand Down Expand Up @@ -2820,20 +2820,14 @@ export namespace cloudsearch_v1 {
options:
| MethodOptions
| BodyResponseCallback<Schema$ListItemNamesForUnmappedIdentityResponse>,
callback: BodyResponseCallback<
Schema$ListItemNamesForUnmappedIdentityResponse
>
callback: BodyResponseCallback<Schema$ListItemNamesForUnmappedIdentityResponse>
): void;
listForunmappedidentity(
params: Params$Resource$Debug$Identitysources$Items$Listforunmappedidentity,
callback: BodyResponseCallback<
Schema$ListItemNamesForUnmappedIdentityResponse
>
callback: BodyResponseCallback<Schema$ListItemNamesForUnmappedIdentityResponse>
): void;
listForunmappedidentity(
callback: BodyResponseCallback<
Schema$ListItemNamesForUnmappedIdentityResponse
>
callback: BodyResponseCallback<Schema$ListItemNamesForUnmappedIdentityResponse>
): void;
listForunmappedidentity(
paramsOrCallback?:
Expand Down Expand Up @@ -2889,9 +2883,9 @@ export namespace cloudsearch_v1 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$ListItemNamesForUnmappedIdentityResponse
>(parameters);
return createAPIRequest<Schema$ListItemNamesForUnmappedIdentityResponse>(
parameters
);
}
}
}
Expand Down Expand Up @@ -8788,20 +8782,14 @@ export namespace cloudsearch_v1 {
options:
| MethodOptions
| BodyResponseCallback<Schema$GetSearchApplicationQueryStatsResponse>,
callback: BodyResponseCallback<
Schema$GetSearchApplicationQueryStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationQueryStatsResponse>
): void;
get(
params: Params$Resource$Stats$Query$Searchapplications$Get,
callback: BodyResponseCallback<
Schema$GetSearchApplicationQueryStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationQueryStatsResponse>
): void;
get(
callback: BodyResponseCallback<
Schema$GetSearchApplicationQueryStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationQueryStatsResponse>
): void;
get(
paramsOrCallback?:
Expand Down Expand Up @@ -8998,20 +8986,14 @@ export namespace cloudsearch_v1 {
options:
| MethodOptions
| BodyResponseCallback<Schema$GetSearchApplicationSessionStatsResponse>,
callback: BodyResponseCallback<
Schema$GetSearchApplicationSessionStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationSessionStatsResponse>
): void;
get(
params: Params$Resource$Stats$Session$Searchapplications$Get,
callback: BodyResponseCallback<
Schema$GetSearchApplicationSessionStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationSessionStatsResponse>
): void;
get(
callback: BodyResponseCallback<
Schema$GetSearchApplicationSessionStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationSessionStatsResponse>
): void;
get(
paramsOrCallback?:
Expand Down Expand Up @@ -9068,9 +9050,9 @@ export namespace cloudsearch_v1 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$GetSearchApplicationSessionStatsResponse
>(parameters);
return createAPIRequest<Schema$GetSearchApplicationSessionStatsResponse>(
parameters
);
}
}
}
Expand Down Expand Up @@ -9208,20 +9190,14 @@ export namespace cloudsearch_v1 {
options:
| MethodOptions
| BodyResponseCallback<Schema$GetSearchApplicationUserStatsResponse>,
callback: BodyResponseCallback<
Schema$GetSearchApplicationUserStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationUserStatsResponse>
): void;
get(
params: Params$Resource$Stats$User$Searchapplications$Get,
callback: BodyResponseCallback<
Schema$GetSearchApplicationUserStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationUserStatsResponse>
): void;
get(
callback: BodyResponseCallback<
Schema$GetSearchApplicationUserStatsResponse
>
callback: BodyResponseCallback<Schema$GetSearchApplicationUserStatsResponse>
): void;
get(
paramsOrCallback?:
Expand Down

0 comments on commit ce9952f

Please sign in to comment.