Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class WorkSummary.
Summary of work in the given state.
Generated from protobuf message google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary
Namespace
Google \ Cloud \ BigQuery \ Migration \ V2 \ LineageOutput \ ProgressReportMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
Output only. The state of the work this summary describes. |
↳ size |
int|string
Output only. Size of the work in the given State. Size counts "units of work". Units represent arbitrary division of work; there's no expectation each unit takes similar time to process. |
↳ comment |
string
Output only. Human-readable comment. |
getState
Output only. The state of the work this summary describes.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. The state of the work this summary describes.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSize
Output only. Size of the work in the given State.
Size counts "units of work". Units represent arbitrary division of work; there's no expectation each unit takes similar time to process.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setSize
Output only. Size of the work in the given State.
Size counts "units of work". Units represent arbitrary division of work; there's no expectation each unit takes similar time to process.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getComment
Output only. Human-readable comment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setComment
Output only. Human-readable comment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|