public final Asset getAsset(String name) {
    GetAssetRequest request = GetAssetRequest.newBuilder().setName(name).build();
    return getAsset(request);
  }
Returns the specified asset.

<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 (LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.create()) {
  String name = AssetName.of("[PROJECT]", "[LOCATION]", "[ASSET]").toString();
  Asset response = livestreamServiceClient.getAsset(name);
}
}</pre>

@param name Required. Name of the resource, in the following form:
    `projects/{project}/locations/{location}/assets/{asset}`.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java