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

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

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCollectorId

Required. Id of the requesting object.

Returns
TypeDescription
string

setCollectorId

Required. Id of the requesting object.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCollector

Required. The resource being created.

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

hasCollector

clearCollector

setCollector

Required. The resource being created.

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

getRequestId

Optional. An optional request ID to identify requests.

Returns
TypeDescription
string

setRequestId

Optional. An optional request ID to identify requests.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

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

collector Google\Cloud\RapidMigrationAssessment\V1\Collector

Required. The resource being created.

collectorId string

Required. Id of the requesting object.

Returns
TypeDescription
Google\Cloud\RapidMigrationAssessment\V1\CreateCollectorRequest