public void MutateCustomerConversionGoals()
        {
            moq::Mock <CustomerConversionGoalService.CustomerConversionGoalServiceClient> mockGrpcClient = new moq::Mock <CustomerConversionGoalService.CustomerConversionGoalServiceClient>(moq::MockBehavior.Strict);
            MutateCustomerConversionGoalsRequest request = new MutateCustomerConversionGoalsRequest
            {
                CustomerId = "customer_id3b3724cb",
                Operations =
                {
                    new CustomerConversionGoalOperation(),
                },
            };
            MutateCustomerConversionGoalsResponse expectedResponse = new MutateCustomerConversionGoalsResponse
            {
                Results =
                {
                    new MutateCustomerConversionGoalResult(),
                },
            };

            mockGrpcClient.Setup(x => x.MutateCustomerConversionGoals(request, moq::It.IsAny <grpccore::CallOptions>())).Returns(expectedResponse);
            CustomerConversionGoalServiceClient   client   = new CustomerConversionGoalServiceClientImpl(mockGrpcClient.Object, null);
            MutateCustomerConversionGoalsResponse response = client.MutateCustomerConversionGoals(request.CustomerId, request.Operations);

            Assert.AreEqual(expectedResponse, response);
            mockGrpcClient.VerifyAll();
        }
        public async stt::Task MutateCustomerConversionGoalsRequestObjectAsync()
        {
            moq::Mock <CustomerConversionGoalService.CustomerConversionGoalServiceClient> mockGrpcClient = new moq::Mock <CustomerConversionGoalService.CustomerConversionGoalServiceClient>(moq::MockBehavior.Strict);
            MutateCustomerConversionGoalsRequest request = new MutateCustomerConversionGoalsRequest
            {
                CustomerId = "customer_id3b3724cb",
                Operations =
                {
                    new CustomerConversionGoalOperation(),
                },
                ValidateOnly = true,
            };
            MutateCustomerConversionGoalsResponse expectedResponse = new MutateCustomerConversionGoalsResponse
            {
                Results =
                {
                    new MutateCustomerConversionGoalResult(),
                },
            };

            mockGrpcClient.Setup(x => x.MutateCustomerConversionGoalsAsync(request, moq::It.IsAny <grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall <MutateCustomerConversionGoalsResponse>(stt::Task.FromResult(expectedResponse), null, null, null, null));
            CustomerConversionGoalServiceClient   client = new CustomerConversionGoalServiceClientImpl(mockGrpcClient.Object, null);
            MutateCustomerConversionGoalsResponse responseCallSettings = await client.MutateCustomerConversionGoalsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None));

            Assert.AreEqual(expectedResponse, responseCallSettings);
            MutateCustomerConversionGoalsResponse responseCancellationToken = await client.MutateCustomerConversionGoalsAsync(request, st::CancellationToken.None);

            Assert.AreEqual(expectedResponse, responseCancellationToken);
            mockGrpcClient.VerifyAll();
        }