Skip to content

Commit

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

The following keys were changed:
- resources.projects.resources.locations.methods.list.parameters.pageSize.description
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.name.description

#### memcache:v1

The following keys were changed:
- resources.projects.resources.locations.methods.list.parameters.pageSize.description
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.name.description
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent 1afb77f commit f7c7feb
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
6 changes: 3 additions & 3 deletions discovery/memcache-v1.json
Expand Up @@ -156,7 +156,7 @@
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service will select a default.",
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -528,7 +528,7 @@
}
}
},
"revision": "20210413",
"revision": "20210517",
"rootUrl": "https://memcache.googleapis.com/",
"schemas": {
"ApplyParametersRequest": {
Expand Down Expand Up @@ -721,7 +721,7 @@
"description": "Optional. The MaintenanceSettings associated with instance."
},
"name": {
"description": "Unique name of the resource. It uses the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}`",
"description": "Unique name of the resource. It uses the form: `projects/{project_id|project_number}/locations/{location_id}/instances/{instance_id}` Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)",
"type": "string"
},
"producerMetadata": {
Expand Down
6 changes: 3 additions & 3 deletions discovery/memcache-v1beta2.json
Expand Up @@ -156,7 +156,7 @@
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service will select a default.",
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -556,7 +556,7 @@
}
}
},
"revision": "20210413",
"revision": "20210517",
"rootUrl": "https://memcache.googleapis.com/",
"schemas": {
"ApplyParametersRequest": {
Expand Down Expand Up @@ -767,7 +767,7 @@
"description": "Optional. The MaintenanceSettings associated with instance."
},
"name": {
"description": "Unique name of the resource. It uses the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}`",
"description": "Unique name of the resource. It uses the form: `projects/{project_id|project_number}/locations/{location_id}/instances/{instance_id}` Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)",
"type": "string"
},
"producerMetadata": {
Expand Down
12 changes: 7 additions & 5 deletions src/apis/memcache/v1.ts
Expand Up @@ -268,7 +268,7 @@ export namespace memcache_v1 {
*/
maintenanceSettings?: Schema$GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings;
/**
* Unique name of the resource. It uses the form: `projects/{project_id\}/locations/{location_id\}/instances/{instance_id\}`
* Unique name of the resource. It uses the form: `projects/{project_id|project_number\}/locations/{location_id\}/instances/{instance_id\}` Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)
*/
name?: string | null;
/**
Expand Down Expand Up @@ -1038,7 +1038,7 @@ export namespace memcache_v1 {
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The maximum number of results to return. If not set, the service will select a default.
* // The maximum number of results to return. If not set, the service selects a default.
* pageSize: 'placeholder-value',
* // 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',
Expand Down Expand Up @@ -1167,7 +1167,7 @@ export namespace memcache_v1 {
*/
name?: string;
/**
* The maximum number of results to return. If not set, the service will select a default.
* The maximum number of results to return. If not set, the service selects a default.
*/
pageSize?: number;
/**
Expand Down Expand Up @@ -1288,7 +1288,8 @@ export namespace memcache_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Locations$Instances$Applyparameters;
params =
{} as Params$Resource$Projects$Locations$Instances$Applyparameters;
options = {};
}

Expand Down Expand Up @@ -2158,7 +2159,8 @@ export namespace memcache_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Locations$Instances$Updateparameters;
params =
{} as Params$Resource$Projects$Locations$Instances$Updateparameters;
options = {};
}

Expand Down
15 changes: 9 additions & 6 deletions src/apis/memcache/v1beta2.ts
Expand Up @@ -281,7 +281,7 @@ export namespace memcache_v1beta2 {
*/
maintenanceSettings?: Schema$GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings;
/**
* Unique name of the resource. It uses the form: `projects/{project_id\}/locations/{location_id\}/instances/{instance_id\}`
* Unique name of the resource. It uses the form: `projects/{project_id|project_number\}/locations/{location_id\}/instances/{instance_id\}` Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)
*/
name?: string | null;
/**
Expand Down Expand Up @@ -1059,7 +1059,7 @@ export namespace memcache_v1beta2 {
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The maximum number of results to return. If not set, the service will select a default.
* // The maximum number of results to return. If not set, the service selects a default.
* pageSize: 'placeholder-value',
* // 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',
Expand Down Expand Up @@ -1188,7 +1188,7 @@ export namespace memcache_v1beta2 {
*/
name?: string;
/**
* The maximum number of results to return. If not set, the service will select a default.
* The maximum number of results to return. If not set, the service selects a default.
*/
pageSize?: number;
/**
Expand Down Expand Up @@ -1309,7 +1309,8 @@ export namespace memcache_v1beta2 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Locations$Instances$Applyparameters;
params =
{} as Params$Resource$Projects$Locations$Instances$Applyparameters;
options = {};
}

Expand Down Expand Up @@ -1451,7 +1452,8 @@ export namespace memcache_v1beta2 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Locations$Instances$Applysoftwareupdate;
params =
{} as Params$Resource$Projects$Locations$Instances$Applysoftwareupdate;
options = {};
}

Expand Down Expand Up @@ -2324,7 +2326,8 @@ export namespace memcache_v1beta2 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Locations$Instances$Updateparameters;
params =
{} as Params$Resource$Projects$Locations$Instances$Updateparameters;
options = {};
}

Expand Down

0 comments on commit f7c7feb

Please sign in to comment.