public final VmwareEngineNetwork getVmwareEngineNetwork(String name) {
    GetVmwareEngineNetworkRequest request =
        GetVmwareEngineNetworkRequest.newBuilder().setName(name).build();
    return getVmwareEngineNetwork(request);
  }
Retrieves a `VmwareEngineNetwork` resource by its resource name. The resource contains details
of the VMware Engine network, such as its VMware Engine network type, peered networks in a
service project, and state (for example, `CREATING`, `ACTIVE`, `DELETING`).

<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 (VmwareEngineClient vmwareEngineClient = VmwareEngineClient.create()) {
  String name =
      VmwareEngineNetworkName.of("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]")
          .toString();
  VmwareEngineNetwork response = vmwareEngineClient.getVmwareEngineNetwork(name);
}
}</pre>

@param name Required. The resource name of the VMware Engine network to retrieve. Resource
    names are schemeless URIs that follow the conventions in
    https://cloud.google.com/apis/design/resource_names. For example:
    `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineClient.java