/// <summary>Snippet for GetEntityAsync</summary>
        public async Task GetEntityAsync()
        {
            // Snippet: GetEntityAsync(string, CallSettings)
            // Additional: GetEntityAsync(string, CancellationToken)
            // Create client
            MetadataServiceClient metadataServiceClient = await MetadataServiceClient.CreateAsync();

            // Initialize request argument(s)
            string name = "projects/[PROJECT]/locations/[LOCATION]/lakes/[LAKE]/zones/[ZONE]/entities/[ENTITY]";
            // Make the request
            Entity response = await metadataServiceClient.GetEntityAsync(name);

            // End snippet
        }
        /// <summary>Snippet for GetEntityAsync</summary>
        public async Task GetEntityResourceNamesAsync()
        {
            // Snippet: GetEntityAsync(EntityName, CallSettings)
            // Additional: GetEntityAsync(EntityName, CancellationToken)
            // Create client
            MetadataServiceClient metadataServiceClient = await MetadataServiceClient.CreateAsync();

            // Initialize request argument(s)
            EntityName name = EntityName.FromProjectLocationLakeZoneEntity("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ENTITY]");
            // Make the request
            Entity response = await metadataServiceClient.GetEntityAsync(name);

            // End snippet
        }
        /// <summary>Snippet for GetEntityAsync</summary>
        public async Task GetEntityRequestObjectAsync()
        {
            // Snippet: GetEntityAsync(GetEntityRequest, CallSettings)
            // Additional: GetEntityAsync(GetEntityRequest, CancellationToken)
            // Create client
            MetadataServiceClient metadataServiceClient = await MetadataServiceClient.CreateAsync();

            // 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 = await metadataServiceClient.GetEntityAsync(request);

            // End snippet
        }