Class FileUploadsServiceClientImpl
FileUploadsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.DataSources.V1Beta
Assembly: Google.Shopping.Merchant.DataSources.V1Beta.dll
Syntax
public sealed class FileUploadsServiceClientImpl : FileUploadsServiceClient
Remarks
Service to manage data source file uploads.
Constructors
FileUploadsServiceClientImpl(FileUploadsServiceClient, FileUploadsServiceSettings, ILogger)
Constructs a client wrapper for the FileUploadsService service, with the specified gRPC client and settings.
Declaration
public FileUploadsServiceClientImpl(FileUploadsService.FileUploadsServiceClient grpcClient, FileUploadsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
FileUploadsService.FileUploadsServiceClient | grpcClient | The underlying gRPC client. |
FileUploadsServiceSettings | settings | The base FileUploadsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC FileUploadsService client
Declaration
public override FileUploadsService.FileUploadsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
FileUploadsService.FileUploadsServiceClient |
Overrides
Methods
GetFileUpload(GetFileUploadRequest, CallSettings)
Gets the latest data source file upload. Only the latest
alias is
accepted for a file upload.
Declaration
public override FileUpload GetFileUpload(GetFileUploadRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetFileUploadRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
FileUpload | The RPC response. |
Overrides
GetFileUploadAsync(GetFileUploadRequest, CallSettings)
Gets the latest data source file upload. Only the latest
alias is
accepted for a file upload.
Declaration
public override Task<FileUpload> GetFileUploadAsync(GetFileUploadRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetFileUploadRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<FileUpload> | A Task containing the RPC response. |