Google Cloud Support v2 API - Class CaseAttachmentService.CaseAttachmentServiceClient (1.0.0)

public class CaseAttachmentService.CaseAttachmentServiceClient : ClientBase<CaseAttachmentService.CaseAttachmentServiceClient>

Reference documentation and code samples for the Google Cloud Support v2 API class CaseAttachmentService.CaseAttachmentServiceClient.

Client for CaseAttachmentService

Inheritance

object > ClientBase > ClientBaseCaseAttachmentServiceCaseAttachmentServiceClient > CaseAttachmentService.CaseAttachmentServiceClient

Namespace

Google.Cloud.Support.V2

Assembly

Google.Cloud.Support.V2.dll

Constructors

CaseAttachmentServiceClient()

protected CaseAttachmentServiceClient()

Protected parameterless constructor to allow creation of test doubles.

CaseAttachmentServiceClient(CallInvoker)

public CaseAttachmentServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

CaseAttachmentServiceClient(ChannelBase)

public CaseAttachmentServiceClient(ChannelBase channel)

Creates a new client for CaseAttachmentService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

CaseAttachmentServiceClient(ClientBaseConfiguration)

protected CaseAttachmentServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

ListAttachments(ListAttachmentsRequest, CallOptions)

public virtual ListAttachmentsResponse ListAttachments(ListAttachmentsRequest request, CallOptions options)

Retrieve all attachments associated with a support case.

Parameters
NameDescription
requestListAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAttachmentsResponse

The response received from the server.

ListAttachments(ListAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAttachmentsResponse ListAttachments(ListAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve all attachments associated with a support case.

Parameters
NameDescription
requestListAttachmentsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListAttachmentsResponse

The response received from the server.

ListAttachmentsAsync(ListAttachmentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAttachmentsResponse> ListAttachmentsAsync(ListAttachmentsRequest request, CallOptions options)

Retrieve all attachments associated with a support case.

Parameters
NameDescription
requestListAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListAttachmentsResponse

The call object.

ListAttachmentsAsync(ListAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAttachmentsResponse> ListAttachmentsAsync(ListAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve all attachments associated with a support case.

Parameters
NameDescription
requestListAttachmentsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListAttachmentsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override CaseAttachmentService.CaseAttachmentServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
CaseAttachmentServiceCaseAttachmentServiceClient
Overrides