Google Cloud Rapid Migration Assessment V1 Client - Class CreateCollectorRequest (1.0.2)

Reference documentation and code samples for the Google Cloud Rapid Migration Assessment V1 Client class CreateCollectorRequest.

Message for creating a Collector.

Generated from protobuf message google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest

Namespace

Google \ Cloud \ RapidMigrationAssessment \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of the parent (project+location).

↳ collector_id string

Required. Id of the requesting object.

↳ collector Collector

Required. The resource being created.

↳ request_id string

Optional. An optional request ID to identify requests.

getParent

Required. Name of the parent (project+location).

Returns
Type Description
string

setParent

Required. Name of the parent (project+location).

Parameter
Name Description
var string
Returns
Type Description
$this

getCollectorId

Required. Id of the requesting object.

Returns
Type Description
string

setCollectorId

Required. Id of the requesting object.

Parameter
Name Description
var string
Returns
Type Description
$this

getCollector

Required. The resource being created.

Returns
Type Description
Collector|null

hasCollector

clearCollector

setCollector

Required. The resource being created.

Parameter
Name Description
var Collector
Returns
Type Description
$this

getRequestId

Optional. An optional request ID to identify requests.

Returns
Type Description
string

setRequestId

Optional. An optional request ID to identify requests.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Name of the parent (project+location). Please see RapidMigrationAssessmentClient::locationName() for help formatting this field.

collector Collector

Required. The resource being created.

collectorId string

Required. Id of the requesting object.

Returns
Type Description
CreateCollectorRequest