Reference documentation and code samples for the Google Cloud Migration Center V1 Client class Source.
Source represents an object from which asset information is streamed to Migration Center.
Generated from protobuf message google.cloud.migrationcenter.v1.Source
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The full name of the source. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The timestamp when the source was created. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The timestamp when the source was last updated. |
↳ display_name |
string
User-friendly display name. |
↳ description |
string
Free-text description. |
↳ type |
int
Data source type. |
↳ priority |
int
The information confidence of the source. The higher the value, the higher the confidence. |
↳ managed |
bool
If |
↳ pending_frame_count |
int
Output only. Number of frames that are still being processed. |
↳ error_frame_count |
int
Output only. The number of frames that were reported by the source and contained errors. |
↳ state |
int
Output only. The state of the source. |
getName
Output only. The full name of the source.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The full name of the source.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. The timestamp when the source was created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the source was created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. The timestamp when the source was last updated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the source was last updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getDisplayName
User-friendly display name.
Returns | |
---|---|
Type | Description |
string |
setDisplayName
User-friendly display name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Free-text description.
Returns | |
---|---|
Type | Description |
string |
setDescription
Free-text description.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
Data source type.
Returns | |
---|---|
Type | Description |
int |
setType
Data source type.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPriority
The information confidence of the source.
The higher the value, the higher the confidence.
Returns | |
---|---|
Type | Description |
int |
setPriority
The information confidence of the source.
The higher the value, the higher the confidence.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getManaged
If true
, the source is managed by other service(s).
Returns | |
---|---|
Type | Description |
bool |
setManaged
If true
, the source is managed by other service(s).
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getPendingFrameCount
Output only. Number of frames that are still being processed.
Returns | |
---|---|
Type | Description |
int |
setPendingFrameCount
Output only. Number of frames that are still being processed.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getErrorFrameCount
Output only. The number of frames that were reported by the source and contained errors.
Returns | |
---|---|
Type | Description |
int |
setErrorFrameCount
Output only. The number of frames that were reported by the source and contained errors.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. The state of the source.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. The state of the source.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |