예제 #1
0
        /// <summary>Snippet for GetCustomerUserAccessAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetCustomerUserAccessResourceNamesAsync()
        {
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            CustomerUserAccessName resourceName = CustomerUserAccessName.FromCustomerUser("[CUSTOMER_ID]", "[USER_ID]");
            // Make the request
            CustomerUserAccess response = await customerUserAccessServiceClient.GetCustomerUserAccessAsync(resourceName);
        }
예제 #2
0
        /// <summary>Snippet for GetCustomerUserAccessAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetCustomerUserAccessAsync()
        {
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/customerUserAccesses/[USER_ID]";
            // Make the request
            CustomerUserAccess response = await customerUserAccessServiceClient.GetCustomerUserAccessAsync(resourceName);
        }
        /// <summary>Snippet for GetCustomerUserAccessAsync</summary>
        public async Task GetCustomerUserAccessAsync()
        {
            // Snippet: GetCustomerUserAccessAsync(string, CallSettings)
            // Additional: GetCustomerUserAccessAsync(string, CancellationToken)
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/customerUserAccesses/[USER_ID]";
            // Make the request
            CustomerUserAccess response = await customerUserAccessServiceClient.GetCustomerUserAccessAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetCustomerUserAccessAsync</summary>
        public async Task GetCustomerUserAccessResourceNamesAsync()
        {
            // Snippet: GetCustomerUserAccessAsync(CustomerUserAccessName, CallSettings)
            // Additional: GetCustomerUserAccessAsync(CustomerUserAccessName, CancellationToken)
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            CustomerUserAccessName resourceName = CustomerUserAccessName.FromCustomerUser("[CUSTOMER_ID]", "[USER_ID]");
            // Make the request
            CustomerUserAccess response = await customerUserAccessServiceClient.GetCustomerUserAccessAsync(resourceName);

            // End snippet
        }