class ProjectsLocationsAnnotations extends Resource (View source)

The "annotations" collection of methods.

Typical usage is:

 $rapidmigrationassessmentService = new Google\Service\RapidMigrationAssessment(...);
 $annotations = $rapidmigrationassessmentService->projects_locations_annotations;

Methods

create(string $parent, Annotation $postBody, array $optParams = [])

Creates an Annotation (annotations.create)

get(string $name, array $optParams = [])

Gets details of a single Annotation. (annotations.get)

Details

Operation create(string $parent, Annotation $postBody, array $optParams = [])

Creates an Annotation (annotations.create)

Parameters

string $parent

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

Annotation $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Annotation get(string $name, array $optParams = [])

Gets details of a single Annotation. (annotations.get)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

Annotation

Exceptions

Exception