/// <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 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 }
/// <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 }