Esempio n. 1
0
 /// <summary>Snippet for GetKeywordView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetKeywordViewResourceNames()
 {
     // Create client
     KeywordViewServiceClient keywordViewServiceClient = KeywordViewServiceClient.Create();
     // Initialize request argument(s)
     KeywordViewName resourceName = KeywordViewName.FromCustomerKeywordView("[CUSTOMER]", "[KEYWORD_VIEW]");
     // Make the request
     KeywordView response = keywordViewServiceClient.GetKeywordView(resourceName);
 }
Esempio n. 2
0
        /// <summary>Snippet for GetKeywordViewAsync</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 GetKeywordViewResourceNamesAsync()
        {
            // Create client
            KeywordViewServiceClient keywordViewServiceClient = await KeywordViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            KeywordViewName resourceName = KeywordViewName.FromCustomerKeywordView("[CUSTOMER]", "[KEYWORD_VIEW]");
            // Make the request
            KeywordView response = await keywordViewServiceClient.GetKeywordViewAsync(resourceName);
        }
Esempio n. 3
0
 /// <summary>Snippet for GetKeywordView</summary>
 public void GetKeywordViewRequestObject()
 {
     // Snippet: GetKeywordView(GetKeywordViewRequest, CallSettings)
     // Create client
     KeywordViewServiceClient keywordViewServiceClient = KeywordViewServiceClient.Create();
     // Initialize request argument(s)
     GetKeywordViewRequest request = new GetKeywordViewRequest
     {
         ResourceNameAsKeywordViewName = KeywordViewName.FromCustomerKeywordView("[CUSTOMER]", "[KEYWORD_VIEW]"),
     };
     // Make the request
     KeywordView response = keywordViewServiceClient.GetKeywordView(request);
     // End snippet
 }
Esempio n. 4
0
        /// <summary>Snippet for GetKeywordViewAsync</summary>
        public async Task GetKeywordViewResourceNamesAsync()
        {
            // Snippet: GetKeywordViewAsync(KeywordViewName, CallSettings)
            // Additional: GetKeywordViewAsync(KeywordViewName, CancellationToken)
            // Create client
            KeywordViewServiceClient keywordViewServiceClient = await KeywordViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            KeywordViewName resourceName = KeywordViewName.FromCustomerKeywordView("[CUSTOMER]", "[KEYWORD_VIEW]");
            // Make the request
            KeywordView response = await keywordViewServiceClient.GetKeywordViewAsync(resourceName);

            // End snippet
        }