Example #1
0
 /// <summary>Snippet for GetKeywordThemeConstant</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetKeywordThemeConstant()
 {
     // Create client
     KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = KeywordThemeConstantServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "keywordThemeConstants/[EXPRESS_CATEGORY_ID]~[EXPRESS_SUB_CATEGORY_ID]";
     // Make the request
     KeywordThemeConstant response = keywordThemeConstantServiceClient.GetKeywordThemeConstant(resourceName);
 }
Example #2
0
 /// <summary>Snippet for GetKeywordThemeConstant</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetKeywordThemeConstantResourceNames()
 {
     // Create client
     KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = KeywordThemeConstantServiceClient.Create();
     // Initialize request argument(s)
     KeywordThemeConstantName resourceName = KeywordThemeConstantName.FromExpressCategoryExpressSubCategory("[EXPRESS_CATEGORY_ID]", "[EXPRESS_SUB_CATEGORY_ID]");
     // Make the request
     KeywordThemeConstant response = keywordThemeConstantServiceClient.GetKeywordThemeConstant(resourceName);
 }
 /// <summary>Snippet for GetKeywordThemeConstant</summary>
 public void GetKeywordThemeConstantRequestObject()
 {
     // Snippet: GetKeywordThemeConstant(GetKeywordThemeConstantRequest, CallSettings)
     // Create client
     KeywordThemeConstantServiceClient keywordThemeConstantServiceClient = KeywordThemeConstantServiceClient.Create();
     // Initialize request argument(s)
     GetKeywordThemeConstantRequest request = new GetKeywordThemeConstantRequest
     {
         ResourceNameAsKeywordThemeConstantName = KeywordThemeConstantName.FromExpressCategoryExpressSubCategory("[EXPRESS_CATEGORY_ID]", "[EXPRESS_SUB_CATEGORY_ID]"),
     };
     // Make the request
     KeywordThemeConstant response = keywordThemeConstantServiceClient.GetKeywordThemeConstant(request);
     // End snippet
 }