/// <summary> /// Uploads the given user data. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [CollectionSizeError]() /// [FieldError]() /// [HeaderError]() /// [InternalError]() /// [MutateError]() /// [OfflineUserDataJobError]() /// [QuotaError]() /// [RequestError]() /// [UserDataError]() /// </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 <UploadUserDataResponse> UploadUserDataAsync(UploadUserDataRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_UploadUserDataRequest(ref request, ref callSettings); return(_callUploadUserData.Async(request, callSettings)); }
/// <summary> /// Uploads the given user data. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [CollectionSizeError]() /// [FieldError]() /// [HeaderError]() /// [InternalError]() /// [MutateError]() /// [OfflineUserDataJobError]() /// [QuotaError]() /// [RequestError]() /// [UserDataError]() /// </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>The RPC response.</returns> public override UploadUserDataResponse UploadUserData(UploadUserDataRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_UploadUserDataRequest(ref request, ref callSettings); return(_callUploadUserData.Sync(request, callSettings)); }
/// <summary> /// Uploads the given user data. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [CollectionSizeError]() /// [FieldError]() /// [HeaderError]() /// [InternalError]() /// [MutateError]() /// [OfflineUserDataJobError]() /// [QuotaError]() /// [RequestError]() /// [UserDataError]() /// </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 <UploadUserDataResponse> UploadUserDataAsync(UploadUserDataRequest request, st::CancellationToken cancellationToken) => UploadUserDataAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
partial void Modify_UploadUserDataRequest(ref UploadUserDataRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Uploads the given user data. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [CollectionSizeError]() /// [FieldError]() /// [HeaderError]() /// [InternalError]() /// [MutateError]() /// [OfflineUserDataJobError]() /// [QuotaError]() /// [RequestError]() /// [UserDataError]() /// </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 <UploadUserDataResponse> UploadUserDataAsync(UploadUserDataRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();