/// <summary> /// Constructs a client wrapper for the KeywordThemeConstantService service, with the specified gRPC client and /// settings. /// </summary> /// <param name="grpcClient">The underlying gRPC client.</param> /// <param name="settings"> /// The base <see cref="KeywordThemeConstantServiceSettings"/> used within this client. /// </param> public KeywordThemeConstantServiceClientImpl(KeywordThemeConstantService.KeywordThemeConstantServiceClient grpcClient, KeywordThemeConstantServiceSettings settings) { GrpcClient = grpcClient; KeywordThemeConstantServiceSettings effectiveSettings = settings ?? KeywordThemeConstantServiceSettings.GetDefault(); gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(effectiveSettings); _callGetKeywordThemeConstant = clientHelper.BuildApiCall <GetKeywordThemeConstantRequest, gagvr::KeywordThemeConstant>(grpcClient.GetKeywordThemeConstantAsync, grpcClient.GetKeywordThemeConstant, effectiveSettings.GetKeywordThemeConstantSettings).WithGoogleRequestParam("resource_name", request => request.ResourceName); Modify_ApiCall(ref _callGetKeywordThemeConstant); Modify_GetKeywordThemeConstantApiCall(ref _callGetKeywordThemeConstant); _callSuggestKeywordThemeConstants = clientHelper.BuildApiCall <SuggestKeywordThemeConstantsRequest, SuggestKeywordThemeConstantsResponse>(grpcClient.SuggestKeywordThemeConstantsAsync, grpcClient.SuggestKeywordThemeConstants, effectiveSettings.SuggestKeywordThemeConstantsSettings); Modify_ApiCall(ref _callSuggestKeywordThemeConstants); Modify_SuggestKeywordThemeConstantsApiCall(ref _callSuggestKeywordThemeConstants); OnConstruction(grpcClient, effectiveSettings, clientHelper); }