def sample_complete_trial():
    # Create a client
    client = aiplatform_v1.VizierServiceClient()

    # Initialize request argument(s)
    request = aiplatform_v1.CompleteTrialRequest(
        name="name_value",
    )

    # Make the request
    response = client.complete_trial(request=request)

    # Handle the response
    print(response)