def sample_update_tensorboard_run():
    # Create a client
    client = aiplatform_v1.TensorboardServiceClient()

    # Initialize request argument(s)
    tensorboard_run = aiplatform_v1.TensorboardRun()
    tensorboard_run.display_name = "display_name_value"

    request = aiplatform_v1.UpdateTensorboardRunRequest(
        tensorboard_run=tensorboard_run, )

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

    # Handle the response
    print(response)
async def sample_create_tensorboard_run():
    # Create a client
    client = aiplatform_v1.TensorboardServiceAsyncClient()

    # Initialize request argument(s)
    tensorboard_run = aiplatform_v1.TensorboardRun()
    tensorboard_run.display_name = "display_name_value"

    request = aiplatform_v1.CreateTensorboardRunRequest(
        parent="parent_value",
        tensorboard_run=tensorboard_run,
        tensorboard_run_id="tensorboard_run_id_value",
    )

    # Make the request
    response = await client.create_tensorboard_run(request=request)

    # Handle the response
    print(response)