- Resource: TransferResource
- Methods
Resource: TransferResource
Resource (table/partition) that is being transferred.
| JSON representation |
|---|
{ "name": string, "type": enum ( |
| Fields | |
|---|---|
name |
Identifier. Resource name. |
type |
Optional. Resource type. |
destination |
Optional. Resource destination. |
latestRun |
Optional. Run details for the latest run. |
latestStatusDetail |
Optional. Status details for the latest run. |
lastSuccessfulRun |
Output only. Run details for the last successful run. |
hierarchyDetail |
Optional. Details about the hierarchy. |
updateTime |
Output only. Time when the resource was last updated. |
ResourceType
Type of resource being transferred.
| Enums | |
|---|---|
RESOURCE_TYPE_UNSPECIFIED |
Default value. |
RESOURCE_TYPE_TABLE |
Table resource type. |
RESOURCE_TYPE_PARTITION |
Partition resource type. |
ResourceDestination
The destination for a transferred resource.
| Enums | |
|---|---|
RESOURCE_DESTINATION_UNSPECIFIED |
Default value. |
RESOURCE_DESTINATION_BIGQUERY |
BigQuery. |
RESOURCE_DESTINATION_DATAPROC_METASTORE |
Dataproc Metastore. |
RESOURCE_DESTINATION_BIGLAKE_METASTORE |
BigLake Metastore. |
RESOURCE_DESTINATION_BIGLAKE_REST_CATALOG |
BigLake REST Catalog. |
RESOURCE_DESTINATION_BIGLAKE_HIVE_CATALOG |
BigLake Hive Catalog. |
TransferRunBrief
Basic information about a transfer run.
| JSON representation |
|---|
{ "run": string, "startTime": string } |
| Fields | |
|---|---|
run |
Optional. Run URI. The format must be: |
startTime |
Optional. Start time of the transfer run. |
TransferResourceStatusDetail
Status details of the resource being transferred.
| JSON representation |
|---|
{ "state": enum ( |
| Fields | |
|---|---|
state |
Optional. Transfer state of the resource. |
summary |
Optional. Transfer status summary of the resource. |
error |
Optional. Transfer error details for the resource. |
completedPercentage |
Output only. Percentage of the transfer completed. Valid values: 0-100. |
ResourceTransferState
The transfer state of an individual resource (e.g., a table or partition). This may differ from the overall transfer run's state. For instance, a resource can be transferred successfully even if the run as a whole fails.
| Enums | |
|---|---|
RESOURCE_TRANSFER_STATE_UNSPECIFIED |
Default value. |
RESOURCE_TRANSFER_PENDING |
Resource is waiting to be transferred. |
RESOURCE_TRANSFER_RUNNING |
Resource transfer is running. |
RESOURCE_TRANSFER_SUCCEEDED |
Resource transfer is a success. |
RESOURCE_TRANSFER_FAILED |
Resource transfer failed. |
RESOURCE_TRANSFER_CANCELLED |
Resource transfer was cancelled. |
TransferStatusSummary
Status summary of the resource being transferred.
| JSON representation |
|---|
{ "metrics": [ { object ( |
| Fields | |
|---|---|
metrics[] |
Optional. List of transfer status metrics. |
progressUnit |
Input only. Unit based on which transfer status progress should be calculated. |
TransferStatusMetric
Metrics for tracking the transfer status.
| JSON representation |
|---|
{
"completed": string,
"pending": string,
"failed": string,
"total": string,
"unit": enum ( |
| Fields | |
|---|---|
completed |
Optional. Number of units transferred successfully. |
pending |
Optional. Number of units pending transfer. |
failed |
Optional. Number of units that failed to transfer. |
total |
Optional. Total number of units for the transfer. |
unit |
Optional. Unit for measuring progress (e.g., BYTES). |
TransferStatusUnit
Unit of the transfer status.
| Enums | |
|---|---|
TRANSFER_STATUS_UNIT_UNSPECIFIED |
Default value. |
TRANSFER_STATUS_UNIT_BYTES |
Bytes. |
TRANSFER_STATUS_UNIT_OBJECTS |
Objects. |
HierarchyDetail
Details about the hierarchy.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field detail. Details about the hierarchy can be one of table/partition. detail can be only one of the following: |
|
tableDetail |
Optional. Table details related to hierarchy. |
partitionDetail |
Optional. Partition details related to hierarchy. |
TableDetail
Table details related to hierarchy.
| JSON representation |
|---|
{ "partitionCount": string } |
| Fields | |
|---|---|
partitionCount |
Optional. Total number of partitions being tracked within the table. |
PartitionDetail
Partition details related to hierarchy.
| JSON representation |
|---|
{ "table": string } |
| Fields | |
|---|---|
table |
Optional. Name of the table which has the partitions. |
Methods |
|
|---|---|
|
Returns a transfer resource. |
|
Returns information about transfer resources. |