/// <summary>Snippet for GetLanguageConstant</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetLanguageConstantResourceNames()
 {
     // Create client
     LanguageConstantServiceClient languageConstantServiceClient = LanguageConstantServiceClient.Create();
     // Initialize request argument(s)
     LanguageConstantName resourceName = LanguageConstantName.FromLanguageConstant("[LANGUAGE_CONSTANT]");
     // Make the request
     LanguageConstant response = languageConstantServiceClient.GetLanguageConstant(resourceName);
 }
예제 #2
0
 /// <summary>Snippet for GetLanguageConstant</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetLanguageConstantResourceNames()
 {
     // Create client
     LanguageConstantServiceClient languageConstantServiceClient = LanguageConstantServiceClient.Create();
     // Initialize request argument(s)
     LanguageConstantName resourceName = LanguageConstantName.FromCriterion("[CRITERION_ID]");
     // Make the request
     LanguageConstant response = languageConstantServiceClient.GetLanguageConstant(resourceName);
 }
 /// <summary>Snippet for GetLanguageConstant</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetLanguageConstant()
 {
     // Create client
     LanguageConstantServiceClient languageConstantServiceClient = LanguageConstantServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "languageConstants/[CRITERION_ID]";
     // Make the request
     LanguageConstant response = languageConstantServiceClient.GetLanguageConstant(resourceName);
 }
 /// <summary>Snippet for GetLanguageConstant</summary>
 public void GetLanguageConstant()
 {
     // Snippet: GetLanguageConstant(string, CallSettings)
     // Create client
     LanguageConstantServiceClient languageConstantServiceClient = LanguageConstantServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "languageConstants/[LANGUAGE_CONSTANT]";
     // Make the request
     LanguageConstant response = languageConstantServiceClient.GetLanguageConstant(resourceName);
     // End snippet
 }
예제 #5
0
 /// <summary>Snippet for GetLanguageConstant</summary>
 public void GetLanguageConstantRequestObject()
 {
     // Snippet: GetLanguageConstant(GetLanguageConstantRequest, CallSettings)
     // Create client
     LanguageConstantServiceClient languageConstantServiceClient = LanguageConstantServiceClient.Create();
     // Initialize request argument(s)
     GetLanguageConstantRequest request = new GetLanguageConstantRequest
     {
         ResourceNameAsLanguageConstantName = LanguageConstantName.FromCriterion("[CRITERION_ID]"),
     };
     // Make the request
     LanguageConstant response = languageConstantServiceClient.GetLanguageConstant(request);
     // End snippet
 }