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

            // Initialize request argument(s)
            PartitionName name = PartitionName.FromProjectLocationLakeZoneEntityPartition("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ENTITY]", "[PARTITION]");
            // Make the request
            Partition response = await metadataServiceClient.GetPartitionAsync(name);

            // End snippet
        }
        /// <summary>Snippet for GetPartitionAsync</summary>
        public async Task GetPartitionAsync()
        {
            // Snippet: GetPartitionAsync(string, CallSettings)
            // Additional: GetPartitionAsync(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]/partitions/[PARTITION]";
            // Make the request
            Partition response = await metadataServiceClient.GetPartitionAsync(name);

            // End snippet
        }