/// <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);
 }
 /// <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);
 }
예제 #3
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);
 }
예제 #4
0
        /// <summary>Snippet for GetLanguageConstantAsync</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 GetLanguageConstantResourceNamesAsync()
        {
            // Create client
            LanguageConstantServiceClient languageConstantServiceClient = await LanguageConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            LanguageConstantName resourceName = LanguageConstantName.FromCriterion("[CRITERION_ID]");
            // Make the request
            LanguageConstant response = await languageConstantServiceClient.GetLanguageConstantAsync(resourceName);
        }
        /// <summary>Snippet for GetLanguageConstantAsync</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 GetLanguageConstantResourceNamesAsync()
        {
            // Create client
            LanguageConstantServiceClient languageConstantServiceClient = await LanguageConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            LanguageConstantName resourceName = LanguageConstantName.FromLanguageConstant("[LANGUAGE_CONSTANT]");
            // Make the request
            LanguageConstant response = await languageConstantServiceClient.GetLanguageConstantAsync(resourceName);
        }
        /// <summary>Snippet for GetLanguageConstantAsync</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 GetLanguageConstantAsync()
        {
            // Create client
            LanguageConstantServiceClient languageConstantServiceClient = await LanguageConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "languageConstants/[LANGUAGE_CONSTANT]";
            // Make the request
            LanguageConstant response = await languageConstantServiceClient.GetLanguageConstantAsync(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
 }
예제 #8
0
        /// <summary>Snippet for GetLanguageConstantAsync</summary>
        public async Task GetLanguageConstantAsync()
        {
            // Snippet: GetLanguageConstantAsync(string, CallSettings)
            // Additional: GetLanguageConstantAsync(string, CancellationToken)
            // Create client
            LanguageConstantServiceClient languageConstantServiceClient = await LanguageConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "languageConstants/[CRITERION_ID]";
            // Make the request
            LanguageConstant response = await languageConstantServiceClient.GetLanguageConstantAsync(resourceName);

            // End snippet
        }
예제 #9
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
 }
예제 #10
0
        /// <summary>Snippet for GetLanguageConstantAsync</summary>
        public async Task GetLanguageConstantResourceNamesAsync()
        {
            // Snippet: GetLanguageConstantAsync(LanguageConstantName, CallSettings)
            // Additional: GetLanguageConstantAsync(LanguageConstantName, CancellationToken)
            // Create client
            LanguageConstantServiceClient languageConstantServiceClient = await LanguageConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            LanguageConstantName resourceName = LanguageConstantName.FromCriterion("[CRITERION_ID]");
            // Make the request
            LanguageConstant response = await languageConstantServiceClient.GetLanguageConstantAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetLanguageConstantAsync</summary>
        public async Task GetLanguageConstantRequestObjectAsync()
        {
            // Snippet: GetLanguageConstantAsync(GetLanguageConstantRequest, CallSettings)
            // Additional: GetLanguageConstantAsync(GetLanguageConstantRequest, CancellationToken)
            // Create client
            LanguageConstantServiceClient languageConstantServiceClient = await LanguageConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetLanguageConstantRequest request = new GetLanguageConstantRequest
            {
                ResourceNameAsLanguageConstantName = LanguageConstantName.FromLanguageConstant("[LANGUAGE_CONSTANT]"),
            };
            // Make the request
            LanguageConstant response = await languageConstantServiceClient.GetLanguageConstantAsync(request);

            // End snippet
        }