def sample_list_annotations():
    # Create a client
    client = aiplatform_v1.DatasetServiceClient()

    # Initialize request argument(s)
    request = aiplatform_v1.ListAnnotationsRequest(
        parent="parent_value",
    )

    # Make the request
    page_result = client.list_annotations(request=request)

    # Handle the response
    for response in page_result:
        print(response)