Show / Hide Table of Contents

Class FileUploadsService.FileUploadsServiceClient

Client for FileUploadsService

Inheritance
object
ClientBase
ClientBase<FileUploadsService.FileUploadsServiceClient>
FileUploadsService.FileUploadsServiceClient
Inherited Members
ClientBase<FileUploadsService.FileUploadsServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.DataSources.V1
Assembly: Google.Shopping.Merchant.DataSources.V1.dll
Syntax
public class FileUploadsService.FileUploadsServiceClient : ClientBase<FileUploadsService.FileUploadsServiceClient>

Constructors

FileUploadsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected FileUploadsServiceClient()

FileUploadsServiceClient(CallInvoker)

Creates a new client for FileUploadsService that uses a custom CallInvoker.

Declaration
public FileUploadsServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

FileUploadsServiceClient(ChannelBase)

Creates a new client for FileUploadsService

Declaration
public FileUploadsServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

FileUploadsServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected FileUploadsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

GetFileUpload(GetFileUploadRequest, CallOptions)

Gets the latest data source file upload. Only the latest alias is accepted for a file upload.

Declaration
public virtual FileUpload GetFileUpload(GetFileUploadRequest request, CallOptions options)
Parameters
Type Name Description
GetFileUploadRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
FileUpload

The response received from the server.

GetFileUpload(GetFileUploadRequest, Metadata, DateTime?, CancellationToken)

Gets the latest data source file upload. Only the latest alias is accepted for a file upload.

Declaration
public virtual FileUpload GetFileUpload(GetFileUploadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetFileUploadRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
FileUpload

The response received from the server.

GetFileUploadAsync(GetFileUploadRequest, CallOptions)

Gets the latest data source file upload. Only the latest alias is accepted for a file upload.

Declaration
public virtual AsyncUnaryCall<FileUpload> GetFileUploadAsync(GetFileUploadRequest request, CallOptions options)
Parameters
Type Name Description
GetFileUploadRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<FileUpload>

The call object.

GetFileUploadAsync(GetFileUploadRequest, Metadata, DateTime?, CancellationToken)

Gets the latest data source file upload. Only the latest alias is accepted for a file upload.

Declaration
public virtual AsyncUnaryCall<FileUpload> GetFileUploadAsync(GetFileUploadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetFileUploadRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<FileUpload>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override FileUploadsService.FileUploadsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
FileUploadsService.FileUploadsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.DataSources.V1.FileUploadsService.FileUploadsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX