/// <summary>Snippet for GetProfileAsync</summary>
        public async Task GetProfileResourceNamesAsync()
        {
            // Snippet: GetProfileAsync(ProfileName, CallSettings)
            // Additional: GetProfileAsync(ProfileName, CancellationToken)
            // Create client
            ProfileServiceClient profileServiceClient = await ProfileServiceClient.CreateAsync();

            // Initialize request argument(s)
            ProfileName name = ProfileName.FromProjectTenantProfile("[PROJECT]", "[TENANT]", "[PROFILE]");
            // Make the request
            Profile response = await profileServiceClient.GetProfileAsync(name);

            // End snippet
        }
        /// <summary>Snippet for GetProfileAsync</summary>
        public async Task GetProfileAsync()
        {
            // Snippet: GetProfileAsync(string, CallSettings)
            // Additional: GetProfileAsync(string, CancellationToken)
            // Create client
            ProfileServiceClient profileServiceClient = await ProfileServiceClient.CreateAsync();

            // Initialize request argument(s)
            string name = "projects/[PROJECT]/tenants/[TENANT]/profiles/[PROFILE]";
            // Make the request
            Profile response = await profileServiceClient.GetProfileAsync(name);

            // End snippet
        }
        /// <summary>Snippet for GetProfileAsync</summary>
        public async Task GetProfileAsync()
        {
            // Snippet: GetProfileAsync(string,CallSettings)
            // Additional: GetProfileAsync(string,CancellationToken)
            // Create client
            ProfileServiceClient profileServiceClient = await ProfileServiceClient.CreateAsync();

            // Initialize request argument(s)
            string formattedName = new ProfileName("[PROJECT]", "[COMPANY]", "[PROFILE]").ToString();
            // Make the request
            Profile response = await profileServiceClient.GetProfileAsync(formattedName);

            // End snippet
        }
        /// <summary>Snippet for GetProfileAsync</summary>
        public async Task GetProfileAsync_RequestObject()
        {
            // Snippet: GetProfileAsync(GetProfileRequest,CallSettings)
            // Additional: GetProfileAsync(GetProfileRequest,CancellationToken)
            // Create client
            ProfileServiceClient profileServiceClient = await ProfileServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetProfileRequest request = new GetProfileRequest
            {
                ProfileName = new ProfileName("[PROJECT]", "[COMPANY]", "[PROFILE]"),
            };
            // Make the request
            Profile response = await profileServiceClient.GetProfileAsync(request);

            // End snippet
        }