/// <summary>Snippet for GetEntity</summary>
 public void GetEntity()
 {
     // Snippet: GetEntity(string, CallSettings)
     // Create client
     MetadataServiceClient metadataServiceClient = MetadataServiceClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/locations/[LOCATION]/lakes/[LAKE]/zones/[ZONE]/entities/[ENTITY]";
     // Make the request
     Entity response = metadataServiceClient.GetEntity(name);
     // End snippet
 }
 /// <summary>Snippet for GetEntity</summary>
 public void GetEntityResourceNames()
 {
     // Snippet: GetEntity(EntityName, CallSettings)
     // Create client
     MetadataServiceClient metadataServiceClient = MetadataServiceClient.Create();
     // Initialize request argument(s)
     EntityName name = EntityName.FromProjectLocationLakeZoneEntity("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ENTITY]");
     // Make the request
     Entity response = metadataServiceClient.GetEntity(name);
     // End snippet
 }
 /// <summary>Snippet for GetEntity</summary>
 public void GetEntityRequestObject()
 {
     // Snippet: GetEntity(GetEntityRequest, CallSettings)
     // Create client
     MetadataServiceClient metadataServiceClient = MetadataServiceClient.Create();
     // Initialize request argument(s)
     GetEntityRequest request = new GetEntityRequest
     {
         EntityName = EntityName.FromProjectLocationLakeZoneEntity("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ENTITY]"),
         View       = GetEntityRequest.Types.EntityView.Unspecified,
     };
     // Make the request
     Entity response = metadataServiceClient.GetEntity(request);
     // End snippet
 }