Reference documentation and code samples for the Google Cloud Rapid Migration Assessment V1 Client class Collector.
Message describing Collector object.
Generated from protobuf message google.cloud.rapidmigrationassessment.v1.Collector
Namespace
Google \ Cloud \ RapidMigrationAssessment \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
name of resource. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Create time stamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Update time stamp. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Labels as key value pairs. |
↳ display_name |
string
User specified name of the Collector. |
↳ description |
string
User specified description of the Collector. |
↳ service_account |
string
Service Account email used to ingest data to this Collector. |
↳ bucket |
string
Output only. Store cloud storage bucket name (which is a guid) created with this Collector. |
↳ expected_asset_count |
int|string
User specified expected asset count. |
↳ state |
int
Output only. State of the Collector. |
↳ client_version |
string
Output only. Client version. |
↳ guest_os_scan |
GuestOsScan
Output only. Reference to MC Source Guest Os Scan. |
↳ vsphere_scan |
VSphereScan
Output only. Reference to MC Source vsphere_scan. |
↳ collection_days |
int
How many days to collect data. |
↳ eula_uri |
string
Uri for EULA (End User License Agreement) from customer. |
getName
name of resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
name of resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. Create time stamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time stamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. Update time stamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update time stamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Labels as key value pairs.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Labels as key value pairs.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
User specified name of the Collector.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
User specified name of the Collector.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
User specified description of the Collector.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
User specified description of the Collector.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServiceAccount
Service Account email used to ingest data to this Collector.
| Returns | |
|---|---|
| Type | Description |
string |
|
setServiceAccount
Service Account email used to ingest data to this Collector.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBucket
Output only. Store cloud storage bucket name (which is a guid) created with this Collector.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBucket
Output only. Store cloud storage bucket name (which is a guid) created with this Collector.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExpectedAssetCount
User specified expected asset count.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setExpectedAssetCount
User specified expected asset count.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. State of the Collector.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. State of the Collector.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClientVersion
Output only. Client version.
| Returns | |
|---|---|
| Type | Description |
string |
|
setClientVersion
Output only. Client version.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGuestOsScan
Output only. Reference to MC Source Guest Os Scan.
| Returns | |
|---|---|
| Type | Description |
GuestOsScan|null |
|
hasGuestOsScan
clearGuestOsScan
setGuestOsScan
Output only. Reference to MC Source Guest Os Scan.
| Parameter | |
|---|---|
| Name | Description |
var |
GuestOsScan
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVsphereScan
Output only. Reference to MC Source vsphere_scan.
| Returns | |
|---|---|
| Type | Description |
VSphereScan|null |
|
hasVsphereScan
clearVsphereScan
setVsphereScan
Output only. Reference to MC Source vsphere_scan.
| Parameter | |
|---|---|
| Name | Description |
var |
VSphereScan
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCollectionDays
How many days to collect data.
| Returns | |
|---|---|
| Type | Description |
int |
|
setCollectionDays
How many days to collect data.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEulaUri
Uri for EULA (End User License Agreement) from customer.
| Returns | |
|---|---|
| Type | Description |
string |
|
setEulaUri
Uri for EULA (End User License Agreement) from customer.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|