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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Name of the parent (project+location). |
↳ annotation |
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 |
Annotation|null |
hasAnnotation
clearAnnotation
setAnnotation
Required. The resource being created.
Parameter | |
---|---|
Name | Description |
var |
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 RapidMigrationAssessmentClient::locationName() for help formatting this field. |
annotation |
Annotation
Required. The resource being created. |
Returns | |
---|---|
Type | Description |
CreateAnnotationRequest |