Skip to content

Commit

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

The following keys were added:
- resources.projects.resources.locations.resources.services.methods.restore.description
- resources.projects.resources.locations.resources.services.methods.restore.flatPath
- resources.projects.resources.locations.resources.services.methods.restore.httpMethod
- resources.projects.resources.locations.resources.services.methods.restore.id
- resources.projects.resources.locations.resources.services.methods.restore.parameterOrder
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.description
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.location
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.pattern
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.required
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.type
- resources.projects.resources.locations.resources.services.methods.restore.path
- resources.projects.resources.locations.resources.services.methods.restore.request.$ref
- resources.projects.resources.locations.resources.services.methods.restore.response.$ref
- resources.projects.resources.locations.resources.services.methods.restore.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.backupId.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.backupId.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.backupId.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.requestId.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.requestId.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.requestId.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.request.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.requestId.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.requestId.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.requestId.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.filter.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.filter.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.filter.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.orderBy.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.orderBy.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.orderBy.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.format
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageToken.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageToken.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.scopes
- schemas.Backup.description
- schemas.Backup.id
- schemas.Backup.properties.createTime.description
- schemas.Backup.properties.createTime.format
- schemas.Backup.properties.createTime.readOnly
- schemas.Backup.properties.createTime.type
- schemas.Backup.properties.description.description
- schemas.Backup.properties.description.type
- schemas.Backup.properties.endTime.description
- schemas.Backup.properties.endTime.format
- schemas.Backup.properties.endTime.readOnly
- schemas.Backup.properties.endTime.type
- schemas.Backup.properties.name.description
- schemas.Backup.properties.name.type
- schemas.Backup.properties.serviceRevision.$ref
- schemas.Backup.properties.serviceRevision.description
- schemas.Backup.properties.serviceRevision.readOnly
- schemas.Backup.properties.state.description
- schemas.Backup.properties.state.enum
- schemas.Backup.properties.state.enumDescriptions
- schemas.Backup.properties.state.readOnly
- schemas.Backup.properties.state.type
- schemas.Backup.type
- schemas.ListBackupsResponse.description
- schemas.ListBackupsResponse.id
- schemas.ListBackupsResponse.properties.backups.description
- schemas.ListBackupsResponse.properties.backups.items.$ref
- schemas.ListBackupsResponse.properties.backups.type
- schemas.ListBackupsResponse.properties.nextPageToken.description
- schemas.ListBackupsResponse.properties.nextPageToken.type
- schemas.ListBackupsResponse.properties.unreachable.description
- schemas.ListBackupsResponse.properties.unreachable.items.type
- schemas.ListBackupsResponse.properties.unreachable.type
- schemas.ListBackupsResponse.type
- schemas.OperationMetadata.description
- schemas.OperationMetadata.id
- schemas.OperationMetadata.properties.apiVersion.description
- schemas.OperationMetadata.properties.apiVersion.readOnly
- schemas.OperationMetadata.properties.apiVersion.type
- schemas.OperationMetadata.properties.createTime.description
- schemas.OperationMetadata.properties.createTime.format
- schemas.OperationMetadata.properties.createTime.readOnly
- schemas.OperationMetadata.properties.createTime.type
- schemas.OperationMetadata.properties.endTime.description
- schemas.OperationMetadata.properties.endTime.format
- schemas.OperationMetadata.properties.endTime.readOnly
- schemas.OperationMetadata.properties.endTime.type
- schemas.OperationMetadata.properties.requestedCancellation.description
- schemas.OperationMetadata.properties.requestedCancellation.readOnly
- schemas.OperationMetadata.properties.requestedCancellation.type
- schemas.OperationMetadata.properties.statusMessage.description
- schemas.OperationMetadata.properties.statusMessage.readOnly
- schemas.OperationMetadata.properties.statusMessage.type
- schemas.OperationMetadata.properties.target.description
- schemas.OperationMetadata.properties.target.readOnly
- schemas.OperationMetadata.properties.target.type
- schemas.OperationMetadata.properties.verb.description
- schemas.OperationMetadata.properties.verb.readOnly
- schemas.OperationMetadata.properties.verb.type
- schemas.OperationMetadata.type
- schemas.RestoreServiceRequest.description
- schemas.RestoreServiceRequest.id
- schemas.RestoreServiceRequest.properties.backup.description
- schemas.RestoreServiceRequest.properties.backup.type
- schemas.RestoreServiceRequest.properties.requestId.description
- schemas.RestoreServiceRequest.properties.requestId.type
- schemas.RestoreServiceRequest.properties.restoreType.description
- schemas.RestoreServiceRequest.properties.restoreType.enum
- schemas.RestoreServiceRequest.properties.restoreType.enumDescriptions
- schemas.RestoreServiceRequest.properties.restoreType.type
- schemas.RestoreServiceRequest.type

#### metastore:v1beta

The following keys were added:
- resources.projects.resources.locations.resources.services.methods.restore.description
- resources.projects.resources.locations.resources.services.methods.restore.flatPath
- resources.projects.resources.locations.resources.services.methods.restore.httpMethod
- resources.projects.resources.locations.resources.services.methods.restore.id
- resources.projects.resources.locations.resources.services.methods.restore.parameterOrder
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.description
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.location
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.pattern
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.required
- resources.projects.resources.locations.resources.services.methods.restore.parameters.service.type
- resources.projects.resources.locations.resources.services.methods.restore.path
- resources.projects.resources.locations.resources.services.methods.restore.request.$ref
- resources.projects.resources.locations.resources.services.methods.restore.response.$ref
- resources.projects.resources.locations.resources.services.methods.restore.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.backupId.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.backupId.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.backupId.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.parent.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.requestId.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.requestId.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.parameters.requestId.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.request.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.create.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.name.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.requestId.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.requestId.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.parameters.requestId.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.delete.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.parameters.name.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.get.scopes
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.flatPath
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.httpMethod
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.id
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameterOrder
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.filter.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.filter.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.filter.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.orderBy.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.orderBy.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.orderBy.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.format
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageSize.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageToken.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.pageToken.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.description
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.location
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.pattern
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.required
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.parameters.parent.type
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.path
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.response.$ref
- resources.projects.resources.locations.resources.services.resources.backups.methods.list.scopes
- schemas.Backup.description
- schemas.Backup.id
- schemas.Backup.properties.createTime.description
- schemas.Backup.properties.createTime.format
- schemas.Backup.properties.createTime.readOnly
- schemas.Backup.properties.createTime.type
- schemas.Backup.properties.description.description
- schemas.Backup.properties.description.type
- schemas.Backup.properties.endTime.description
- schemas.Backup.properties.endTime.format
- schemas.Backup.properties.endTime.readOnly
- schemas.Backup.properties.endTime.type
- schemas.Backup.properties.name.description
- schemas.Backup.properties.name.type
- schemas.Backup.properties.serviceRevision.$ref
- schemas.Backup.properties.serviceRevision.description
- schemas.Backup.properties.serviceRevision.readOnly
- schemas.Backup.properties.state.description
- schemas.Backup.properties.state.enum
- schemas.Backup.properties.state.enumDescriptions
- schemas.Backup.properties.state.readOnly
- schemas.Backup.properties.state.type
- schemas.Backup.type
- schemas.ListBackupsResponse.description
- schemas.ListBackupsResponse.id
- schemas.ListBackupsResponse.properties.backups.description
- schemas.ListBackupsResponse.properties.backups.items.$ref
- schemas.ListBackupsResponse.properties.backups.type
- schemas.ListBackupsResponse.properties.nextPageToken.description
- schemas.ListBackupsResponse.properties.nextPageToken.type
- schemas.ListBackupsResponse.properties.unreachable.description
- schemas.ListBackupsResponse.properties.unreachable.items.type
- schemas.ListBackupsResponse.properties.unreachable.type
- schemas.ListBackupsResponse.type
- schemas.OperationMetadata.description
- schemas.OperationMetadata.id
- schemas.OperationMetadata.properties.apiVersion.description
- schemas.OperationMetadata.properties.apiVersion.readOnly
- schemas.OperationMetadata.properties.apiVersion.type
- schemas.OperationMetadata.properties.createTime.description
- schemas.OperationMetadata.properties.createTime.format
- schemas.OperationMetadata.properties.createTime.readOnly
- schemas.OperationMetadata.properties.createTime.type
- schemas.OperationMetadata.properties.endTime.description
- schemas.OperationMetadata.properties.endTime.format
- schemas.OperationMetadata.properties.endTime.readOnly
- schemas.OperationMetadata.properties.endTime.type
- schemas.OperationMetadata.properties.requestedCancellation.description
- schemas.OperationMetadata.properties.requestedCancellation.readOnly
- schemas.OperationMetadata.properties.requestedCancellation.type
- schemas.OperationMetadata.properties.statusMessage.description
- schemas.OperationMetadata.properties.statusMessage.readOnly
- schemas.OperationMetadata.properties.statusMessage.type
- schemas.OperationMetadata.properties.target.description
- schemas.OperationMetadata.properties.target.readOnly
- schemas.OperationMetadata.properties.target.type
- schemas.OperationMetadata.properties.verb.description
- schemas.OperationMetadata.properties.verb.readOnly
- schemas.OperationMetadata.properties.verb.type
- schemas.OperationMetadata.type
- schemas.RestoreServiceRequest.description
- schemas.RestoreServiceRequest.id
- schemas.RestoreServiceRequest.properties.backup.description
- schemas.RestoreServiceRequest.properties.backup.type
- schemas.RestoreServiceRequest.properties.requestId.description
- schemas.RestoreServiceRequest.properties.requestId.type
- schemas.RestoreServiceRequest.properties.restoreType.description
- schemas.RestoreServiceRequest.properties.restoreType.enum
- schemas.RestoreServiceRequest.properties.restoreType.enumDescriptions
- schemas.RestoreServiceRequest.properties.restoreType.type
- schemas.RestoreServiceRequest.type
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent c5ec2a9 commit 689689d
Show file tree
Hide file tree
Showing 4 changed files with 2,404 additions and 2 deletions.
322 changes: 321 additions & 1 deletion discovery/metastore-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"restore": {
"description": "Restores a service from a backup.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:restore",
"httpMethod": "POST",
"id": "metastore.projects.locations.services.restore",
"parameterOrder": [
"service"
],
"parameters": {
"service": {
"description": "Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+service}:restore",
"request": {
"$ref": "RestoreServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:setIamPolicy",
Expand Down Expand Up @@ -569,6 +597,149 @@
}
},
"resources": {
"backups": {
"methods": {
"create": {
"description": "Creates a new Backup in a given project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups",
"httpMethod": "POST",
"id": "metastore.projects.locations.services.backups.create",
"parameterOrder": [
"parent"
],
"parameters": {
"backupId": {
"description": "Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$",
"required": true,
"type": "string"
},
"requestId": {
"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.",
"location": "query",
"type": "string"
}
},
"path": "v1alpha/{+parent}/backups",
"request": {
"$ref": "Backup"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a single backup.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}",
"httpMethod": "DELETE",
"id": "metastore.projects.locations.services.backups.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$",
"required": true,
"type": "string"
},
"requestId": {
"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.",
"location": "query",
"type": "string"
}
},
"path": "v1alpha/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets details of a single backup.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}",
"httpMethod": "GET",
"id": "metastore.projects.locations.services.backups.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The relative resource name of the backup to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+name}",
"response": {
"$ref": "Backup"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists backups in a service.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups",
"httpMethod": "GET",
"id": "metastore.projects.locations.services.backups.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. The filter to apply to list results.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of backups to return. The response may contain less than the maximum number. If unspecified, no more than 500 backups are returned. The maximum value is 1000; values above 1000 are changed to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. A page token, received from a previous DataprocMetastore.ListBackups call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListBackups must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/backups",
"response": {
"$ref": "ListBackupsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"metadataImports": {
"methods": {
"create": {
Expand Down Expand Up @@ -728,7 +899,7 @@
}
}
},
"revision": "20210318",
"revision": "20210325",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -779,6 +950,57 @@
},
"type": "object"
},
"Backup": {
"description": "The details of a backup resource.",
"id": "Backup",
"properties": {
"createTime": {
"description": "Output only. The time when the backup was started.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "The description of the backup.",
"type": "string"
},
"endTime": {
"description": "Output only. The time when the backup finished creating.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}",
"type": "string"
},
"serviceRevision": {
"$ref": "Service",
"description": "Output only. The revision of the service at the time of backup.",
"readOnly": true
},
"state": {
"description": "Output only. The current state of the backup.",
"enum": [
"STATE_UNSPECIFIED",
"CREATING",
"DELETING",
"ACTIVE",
"FAILED"
],
"enumDescriptions": [
"The state of the backup is unknown.",
"The backup is being created.",
"The backup is being deleted.",
"The backup is active and ready to use.",
"The backup failed."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Binding": {
"description": "Associates members with a role.",
"id": "Binding",
Expand Down Expand Up @@ -967,6 +1189,31 @@
},
"type": "object"
},
"ListBackupsResponse": {
"description": "Response message for DataprocMetastore.ListBackups.",
"id": "ListBackupsResponse",
"properties": {
"backups": {
"description": "The backups of the specified service.",
"items": {
"$ref": "Backup"
},
"type": "array"
},
"nextPageToken": {
"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"unreachable": {
"description": "Locations that could not be reached.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ListLocationsResponse": {
"description": "The response message for Locations.ListLocations.",
"id": "ListLocationsResponse",
Expand Down Expand Up @@ -1314,6 +1561,50 @@
},
"type": "object"
},
"OperationMetadata": {
"description": "Represents the metadata of a long-running operation.",
"id": "OperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
"readOnly": true,
"type": "boolean"
},
"statusMessage": {
"description": "Output only. Human-readable status of the operation, if any.",
"readOnly": true,
"type": "string"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Policy": {
"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).",
"id": "Policy",
Expand Down Expand Up @@ -1408,6 +1699,35 @@
},
"type": "object"
},
"RestoreServiceRequest": {
"description": "Request message for DataprocMetastore.Restore.",
"id": "RestoreServiceRequest",
"properties": {
"backup": {
"description": "Required. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.",
"type": "string"
},
"requestId": {
"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.",
"type": "string"
},
"restoreType": {
"description": "Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.",
"enum": [
"RESTORE_TYPE_UNSPECIFIED",
"FULL",
"METADATA_ONLY"
],
"enumDescriptions": [
"The restore type is unknown.",
"The service's metadata and configuration are restored.",
"Only the service's metadata is restored."
],
"type": "string"
}
},
"type": "object"
},
"Secret": {
"description": "A securely stored value.",
"id": "Secret",
Expand Down

0 comments on commit 689689d

Please sign in to comment.