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

            // Initialize request argument(s)
            string resourceName = "keywordThemeConstants/[EXPRESS_CATEGORY_ID]~[EXPRESS_SUB_CATEGORY_ID]";
            // Make the request
            KeywordThemeConstant response = await keywordThemeConstantServiceClient.GetKeywordThemeConstantAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetKeywordThemeConstantAsync</summary>
        public async Task GetKeywordThemeConstantRequestObjectAsync()
        {
            // Snippet: GetKeywordThemeConstantAsync(GetKeywordThemeConstantRequest, CallSettings)
            // Additional: GetKeywordThemeConstantAsync(GetKeywordThemeConstantRequest, CancellationToken)
            // Create client
            KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = await KeywordThemeConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetKeywordThemeConstantRequest request = new GetKeywordThemeConstantRequest
            {
                ResourceNameAsKeywordThemeConstantName = KeywordThemeConstantName.FromExpressCategoryExpressSubCategory("[EXPRESS_CATEGORY_ID]", "[EXPRESS_SUB_CATEGORY_ID]"),
            };
            // Make the request
            KeywordThemeConstant response = await keywordThemeConstantServiceClient.GetKeywordThemeConstantAsync(request);

            // End snippet
        }
        /// <summary>Snippet for SuggestKeywordThemeConstantsAsync</summary>
        public async Task SuggestKeywordThemeConstantsRequestObjectAsync()
        {
            // Snippet: SuggestKeywordThemeConstantsAsync(SuggestKeywordThemeConstantsRequest, CallSettings)
            // Additional: SuggestKeywordThemeConstantsAsync(SuggestKeywordThemeConstantsRequest, CancellationToken)
            // Create client
            KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = await KeywordThemeConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            SuggestKeywordThemeConstantsRequest request = new SuggestKeywordThemeConstantsRequest
            {
                QueryText    = "",
                CountryCode  = "",
                LanguageCode = "",
            };
            // Make the request
            SuggestKeywordThemeConstantsResponse response = await keywordThemeConstantServiceClient.SuggestKeywordThemeConstantsAsync(request);

            // End snippet
        }
Example #4
0
        /// <summary>Snippet for GetKeywordThemeConstantAsync</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 GetKeywordThemeConstantAsync()
        {
            // Create client
            KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = await KeywordThemeConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "keywordThemeConstants/[EXPRESS_CATEGORY_ID]~[EXPRESS_SUB_CATEGORY_ID]";
            // Make the request
            KeywordThemeConstant response = await keywordThemeConstantServiceClient.GetKeywordThemeConstantAsync(resourceName);
        }
        /// <summary>Snippet for GetKeywordThemeConstantAsync</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 GetKeywordThemeConstantRequestObjectAsync()
        {
            // Create client
            KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = await KeywordThemeConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetKeywordThemeConstantRequest request = new GetKeywordThemeConstantRequest
            {
                ResourceNameAsKeywordThemeConstantName = KeywordThemeConstantName.FromExpressCategoryExpressSubCategory("[EXPRESS_CATEGORY_ID]", "[EXPRESS_SUB_CATEGORY_ID]"),
            };
            // Make the request
            KeywordThemeConstant response = await keywordThemeConstantServiceClient.GetKeywordThemeConstantAsync(request);
        }
        /// <summary>Snippet for SuggestKeywordThemeConstantsAsync</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 SuggestKeywordThemeConstantsRequestObjectAsync()
        {
            // Create client
            KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = await KeywordThemeConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            SuggestKeywordThemeConstantsRequest request = new SuggestKeywordThemeConstantsRequest
            {
                QueryText    = "",
                CountryCode  = "",
                LanguageCode = "",
            };
            // Make the request
            SuggestKeywordThemeConstantsResponse response = await keywordThemeConstantServiceClient.SuggestKeywordThemeConstantsAsync(request);
        }