Skip to content

Commit

Permalink
feat(file): update the API
Browse files Browse the repository at this point in the history
#### file:v1beta1

The following keys were added:
- schemas.Backup.properties.satisfiesPzs.description
- schemas.Backup.properties.satisfiesPzs.readOnly
- schemas.Backup.properties.satisfiesPzs.type
- schemas.Instance.properties.satisfiesPzs.description
- schemas.Instance.properties.satisfiesPzs.readOnly
- schemas.Instance.properties.satisfiesPzs.type

The following keys were changed:
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.name.description

#### file:v1

The following keys were added:
- schemas.Backup.properties.satisfiesPzs.description
- schemas.Backup.properties.satisfiesPzs.readOnly
- schemas.Backup.properties.satisfiesPzs.type

The following keys were changed:
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.name.description
  • Loading branch information
yoshi-automation authored and bcoe committed May 3, 2021
1 parent 449c679 commit 7548f6d
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 6 deletions.
9 changes: 7 additions & 2 deletions discovery/file-v1.json
Expand Up @@ -672,7 +672,7 @@
}
}
},
"revision": "20210409",
"revision": "20210422",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"Backup": {
Expand Down Expand Up @@ -713,6 +713,11 @@
"readOnly": true,
"type": "string"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"sourceFileShare": {
"description": "Name of the file share in the source Cloud Filestore instance that the backup is created from.",
"type": "string"
Expand Down Expand Up @@ -905,7 +910,7 @@
"description": "Optional. The MaintenanceSettings associated with instance."
},
"name": {
"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 and be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)",
"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
14 changes: 12 additions & 2 deletions discovery/file-v1beta1.json
Expand Up @@ -672,7 +672,7 @@
}
}
},
"revision": "20210407",
"revision": "20210422",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"Backup": {
Expand Down Expand Up @@ -713,6 +713,11 @@
"readOnly": true,
"type": "string"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"sourceFileShare": {
"description": "Name of the file share in the source Cloud Filestore instance that the backup is created from.",
"type": "string"
Expand Down Expand Up @@ -905,7 +910,7 @@
"description": "Optional. The MaintenanceSettings associated with instance."
},
"name": {
"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 and be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)",
"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 Expand Up @@ -1197,6 +1202,11 @@
},
"type": "array"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. The instance state.",
"enum": [
Expand Down
9 changes: 8 additions & 1 deletion src/apis/file/v1.ts
Expand Up @@ -153,6 +153,10 @@ export namespace file_v1 {
* Output only. The resource name of the backup, in the format projects/{project_number\}/locations/{location_id\}/backups/{backup_id\}.
*/
name?: string | null;
/**
* Output only. Reserved for future use.
*/
satisfiesPzs?: boolean | null;
/**
* Name of the file share in the source Cloud Filestore instance that the backup is created from.
*/
Expand Down Expand Up @@ -280,7 +284,7 @@ export namespace file_v1 {
*/
maintenanceSettings?: Schema$GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings;
/**
* 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 and be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)
* 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 @@ -1215,6 +1219,7 @@ export namespace file_v1 {
* // "downloadBytes": "my_downloadBytes",
* // "labels": {},
* // "name": "my_name",
* // "satisfiesPzs": false,
* // "sourceFileShare": "my_sourceFileShare",
* // "sourceInstance": "my_sourceInstance",
* // "sourceInstanceTier": "my_sourceInstanceTier",
Expand Down Expand Up @@ -1496,6 +1501,7 @@ export namespace file_v1 {
* // "downloadBytes": "my_downloadBytes",
* // "labels": {},
* // "name": "my_name",
* // "satisfiesPzs": false,
* // "sourceFileShare": "my_sourceFileShare",
* // "sourceInstance": "my_sourceInstance",
* // "sourceInstanceTier": "my_sourceInstanceTier",
Expand Down Expand Up @@ -1776,6 +1782,7 @@ export namespace file_v1 {
* // "downloadBytes": "my_downloadBytes",
* // "labels": {},
* // "name": "my_name",
* // "satisfiesPzs": false,
* // "sourceFileShare": "my_sourceFileShare",
* // "sourceInstance": "my_sourceInstance",
* // "sourceInstanceTier": "my_sourceInstanceTier",
Expand Down
16 changes: 15 additions & 1 deletion src/apis/file/v1beta1.ts
Expand Up @@ -153,6 +153,10 @@ export namespace file_v1beta1 {
* Output only. The resource name of the backup, in the format projects/{project_id\}/locations/{location_id\}/backups/{backup_id\}.
*/
name?: string | null;
/**
* Output only. Reserved for future use.
*/
satisfiesPzs?: boolean | null;
/**
* Name of the file share in the source Cloud Filestore instance that the backup is created from.
*/
Expand Down Expand Up @@ -280,7 +284,7 @@ export namespace file_v1beta1 {
*/
maintenanceSettings?: Schema$GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings;
/**
* 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 and be used, but keep it consistent with other APIs (e.g. RescheduleUpdate)
* 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 @@ -492,6 +496,10 @@ export namespace file_v1beta1 {
* VPC networks to which the instance is connected. For this version, only a single network is supported.
*/
networks?: Schema$NetworkConfig[];
/**
* Output only. Reserved for future use.
*/
satisfiesPzs?: boolean | null;
/**
* Output only. The instance state.
*/
Expand Down Expand Up @@ -1215,6 +1223,7 @@ export namespace file_v1beta1 {
* // "downloadBytes": "my_downloadBytes",
* // "labels": {},
* // "name": "my_name",
* // "satisfiesPzs": false,
* // "sourceFileShare": "my_sourceFileShare",
* // "sourceInstance": "my_sourceInstance",
* // "sourceInstanceTier": "my_sourceInstanceTier",
Expand Down Expand Up @@ -1496,6 +1505,7 @@ export namespace file_v1beta1 {
* // "downloadBytes": "my_downloadBytes",
* // "labels": {},
* // "name": "my_name",
* // "satisfiesPzs": false,
* // "sourceFileShare": "my_sourceFileShare",
* // "sourceInstance": "my_sourceInstance",
* // "sourceInstanceTier": "my_sourceInstanceTier",
Expand Down Expand Up @@ -1776,6 +1786,7 @@ export namespace file_v1beta1 {
* // "downloadBytes": "my_downloadBytes",
* // "labels": {},
* // "name": "my_name",
* // "satisfiesPzs": false,
* // "sourceFileShare": "my_sourceFileShare",
* // "sourceInstance": "my_sourceInstance",
* // "sourceInstanceTier": "my_sourceInstanceTier",
Expand Down Expand Up @@ -2004,6 +2015,7 @@ export namespace file_v1beta1 {
* // "labels": {},
* // "name": "my_name",
* // "networks": [],
* // "satisfiesPzs": false,
* // "state": "my_state",
* // "statusMessage": "my_statusMessage",
* // "tier": "my_tier"
Expand Down Expand Up @@ -2284,6 +2296,7 @@ export namespace file_v1beta1 {
* // "labels": {},
* // "name": "my_name",
* // "networks": [],
* // "satisfiesPzs": false,
* // "state": "my_state",
* // "statusMessage": "my_statusMessage",
* // "tier": "my_tier"
Expand Down Expand Up @@ -2565,6 +2578,7 @@ export namespace file_v1beta1 {
* // "labels": {},
* // "name": "my_name",
* // "networks": [],
* // "satisfiesPzs": false,
* // "state": "my_state",
* // "statusMessage": "my_statusMessage",
* // "tier": "my_tier"
Expand Down

0 comments on commit 7548f6d

Please sign in to comment.