/// <summary>
        /// Constructs a client wrapper for the ConversionGoalCampaignConfigService service, with the specified gRPC
        /// client and settings.
        /// </summary>
        /// <param name="grpcClient">The underlying gRPC client.</param>
        /// <param name="settings">
        /// The base <see cref="ConversionGoalCampaignConfigServiceSettings"/> used within this client.
        /// </param>
        public ConversionGoalCampaignConfigServiceClientImpl(ConversionGoalCampaignConfigService.ConversionGoalCampaignConfigServiceClient grpcClient, ConversionGoalCampaignConfigServiceSettings settings)
        {
            GrpcClient = grpcClient;
            ConversionGoalCampaignConfigServiceSettings effectiveSettings = settings ?? ConversionGoalCampaignConfigServiceSettings.GetDefault();
            gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(effectiveSettings);

            _callMutateConversionGoalCampaignConfigs = clientHelper.BuildApiCall <MutateConversionGoalCampaignConfigsRequest, MutateConversionGoalCampaignConfigsResponse>(grpcClient.MutateConversionGoalCampaignConfigsAsync, grpcClient.MutateConversionGoalCampaignConfigs, effectiveSettings.MutateConversionGoalCampaignConfigsSettings).WithGoogleRequestParam("customer_id", request => request.CustomerId);
            Modify_ApiCall(ref _callMutateConversionGoalCampaignConfigs);
            Modify_MutateConversionGoalCampaignConfigsApiCall(ref _callMutateConversionGoalCampaignConfigs);
            OnConstruction(grpcClient, effectiveSettings, clientHelper);
        }
 partial void OnCopy(ConversionGoalCampaignConfigServiceSettings existing);
 private ConversionGoalCampaignConfigServiceSettings(ConversionGoalCampaignConfigServiceSettings existing) : base(existing)
 {
     gax::GaxPreconditions.CheckNotNull(existing, nameof(existing));
     MutateConversionGoalCampaignConfigsSettings = existing.MutateConversionGoalCampaignConfigsSettings;
     OnCopy(existing);
 }
 partial void OnConstruction(ConversionGoalCampaignConfigService.ConversionGoalCampaignConfigServiceClient grpcClient, ConversionGoalCampaignConfigServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);
        /// <summary>
        /// Creates a <see cref="ConversionGoalCampaignConfigServiceClient"/> which uses the specified call invoker for
        /// remote operations.
        /// </summary>
        /// <param name="callInvoker">
        /// The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.
        /// </param>
        /// <param name="settings">Optional <see cref="ConversionGoalCampaignConfigServiceSettings"/>.</param>
        /// <returns>The created <see cref="ConversionGoalCampaignConfigServiceClient"/>.</returns>
        internal static ConversionGoalCampaignConfigServiceClient Create(grpccore::CallInvoker callInvoker, ConversionGoalCampaignConfigServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            ConversionGoalCampaignConfigService.ConversionGoalCampaignConfigServiceClient grpcClient = new ConversionGoalCampaignConfigService.ConversionGoalCampaignConfigServiceClient(callInvoker);
            return(new ConversionGoalCampaignConfigServiceClientImpl(grpcClient, settings));
        }