Google Cloud Rapid Migration Assessment V1 Client - Class Collector (0.1.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\RapidMigrationAssessment\V1\GuestOsScan

Output only. Reference to MC Source Guest Os Scan.

↳ vsphere_scan Google\Cloud\RapidMigrationAssessment\V1\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
TypeDescription
string

setName

name of resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Create time stamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time stamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. Update time stamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time stamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

Labels as key value pairs.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getDisplayName

User specified name of the Collector.

Returns
TypeDescription
string

setDisplayName

User specified name of the Collector.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

User specified description of the Collector.

Returns
TypeDescription
string

setDescription

User specified description of the Collector.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAccount

Service Account email used to ingest data to this Collector.

Returns
TypeDescription
string

setServiceAccount

Service Account email used to ingest data to this Collector.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBucket

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

Returns
TypeDescription
string

setBucket

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpectedAssetCount

User specified expected asset count.

Returns
TypeDescription
int|string

setExpectedAssetCount

User specified expected asset count.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getState

Output only. State of the Collector.

Returns
TypeDescription
int

setState

Output only. State of the Collector.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getClientVersion

Output only. Client version.

Returns
TypeDescription
string

setClientVersion

Output only. Client version.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGuestOsScan

Output only. Reference to MC Source Guest Os Scan.

Returns
TypeDescription
Google\Cloud\RapidMigrationAssessment\V1\GuestOsScan|null

hasGuestOsScan

clearGuestOsScan

setGuestOsScan

Output only. Reference to MC Source Guest Os Scan.

Parameter
NameDescription
var Google\Cloud\RapidMigrationAssessment\V1\GuestOsScan
Returns
TypeDescription
$this

getVsphereScan

Output only. Reference to MC Source vsphere_scan.

Returns
TypeDescription
Google\Cloud\RapidMigrationAssessment\V1\VSphereScan|null

hasVsphereScan

clearVsphereScan

setVsphereScan

Output only. Reference to MC Source vsphere_scan.

Parameter
NameDescription
var Google\Cloud\RapidMigrationAssessment\V1\VSphereScan
Returns
TypeDescription
$this

getCollectionDays

How many days to collect data.

Returns
TypeDescription
int

setCollectionDays

How many days to collect data.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEulaUri

Uri for EULA (End User License Agreement) from customer.

Returns
TypeDescription
string

setEulaUri

Uri for EULA (End User License Agreement) from customer.

Parameter
NameDescription
var string
Returns
TypeDescription
$this