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

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

Message for creating an AnnotationS.

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

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).

↳ annotation Google\Cloud\RapidMigrationAssessment\V1\Annotation

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

getAnnotation

Required. The resource being created.

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

hasAnnotation

clearAnnotation

setAnnotation

Required. The resource being created.

Parameter
NameDescription
var Google\Cloud\RapidMigrationAssessment\V1\Annotation
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.

annotation Google\Cloud\RapidMigrationAssessment\V1\Annotation

Required. The resource being created.

Returns
TypeDescription
Google\Cloud\RapidMigrationAssessment\V1\CreateAnnotationRequest