/// <summary> /// Creates or updates custom interests. Operation statuses are returned. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [CriterionError]() /// [CustomInterestError]() /// [HeaderError]() /// [InternalError]() /// [MutateError]() /// [PolicyViolationError]() /// [QuotaError]() /// [RequestError]() /// [StringLengthError]() /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public override stt::Task <MutateCustomInterestsResponse> MutateCustomInterestsAsync(MutateCustomInterestsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_MutateCustomInterestsRequest(ref request, ref callSettings); return(_callMutateCustomInterests.Async(request, callSettings)); }
/// <summary> /// Creates or updates custom interests. Operation statuses are returned. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [CriterionError]() /// [CustomInterestError]() /// [HeaderError]() /// [InternalError]() /// [MutateError]() /// [PolicyViolationError]() /// [QuotaError]() /// [RequestError]() /// [StringLengthError]() /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <MutateCustomInterestsResponse> MutateCustomInterestsAsync(MutateCustomInterestsRequest request, st::CancellationToken cancellationToken) => MutateCustomInterestsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
partial void Modify_MutateCustomInterestsRequest(ref MutateCustomInterestsRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Creates or updates custom interests. Operation statuses are returned. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [CriterionError]() /// [CustomInterestError]() /// [HeaderError]() /// [InternalError]() /// [MutateError]() /// [PolicyViolationError]() /// [QuotaError]() /// [RequestError]() /// [StringLengthError]() /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <MutateCustomInterestsResponse> MutateCustomInterestsAsync(MutateCustomInterestsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();