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

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getAnnotation

Required. The resource being created.

Returns
Type Description
Google\Cloud\RapidMigrationAssessment\V1\Annotation|null

hasAnnotation

clearAnnotation

setAnnotation

Required. The resource being created.

Parameter
Name Description
var Google\Cloud\RapidMigrationAssessment\V1\Annotation
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 Google\Cloud\RapidMigrationAssessment\V1\RapidMigrationAssessmentClient::locationName() for help formatting this field.

annotation Google\Cloud\RapidMigrationAssessment\V1\Annotation

Required. The resource being created.

Returns
Type Description
Google\Cloud\RapidMigrationAssessment\V1\CreateAnnotationRequest