public final LiveSession createLiveSession(LocationName parent, LiveSession liveSession) {
    CreateLiveSessionRequest request =
        CreateLiveSessionRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .setLiveSession(liveSession)
            .build();
    return createLiveSession(request);
  }
Creates a new live session.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (VideoStitcherServiceClient videoStitcherServiceClient =
    VideoStitcherServiceClient.create()) {
  LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  LiveSession liveSession = LiveSession.newBuilder().build();
  LiveSession response = videoStitcherServiceClient.createLiveSession(parent, liveSession);
}
}</pre>

@param parent Required. The project and location in which the live session should be created,
    in the form of `projects/{project_number}/locations/{location}`.
@param liveSession Required. Parameters for creating a live session.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-video-stitcher/google-cloud-video-stitcher/src/main/java/com/google/cloud/video/stitcher/v1/VideoStitcherServiceClient.java