Google Cloud Support v2 API - Class CaseAttachmentServiceClientImpl (1.3.0)

public sealed class CaseAttachmentServiceClientImpl : CaseAttachmentServiceClient

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

CaseAttachmentService client wrapper implementation, for convenient use.

Inheritance

object > CaseAttachmentServiceClient > CaseAttachmentServiceClientImpl

Namespace

Google.Cloud.Support.V2

Assembly

Google.Cloud.Support.V2.dll

Remarks

A service to manage file attachment for Google Cloud support cases.

Constructors

CaseAttachmentServiceClientImpl(CaseAttachmentServiceClient, CaseAttachmentServiceSettings, ILogger)

public CaseAttachmentServiceClientImpl(CaseAttachmentService.CaseAttachmentServiceClient grpcClient, CaseAttachmentServiceSettings settings, ILogger logger)

Constructs a client wrapper for the CaseAttachmentService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient CaseAttachmentServiceCaseAttachmentServiceClient

The underlying gRPC client.

settings CaseAttachmentServiceSettings

The base CaseAttachmentServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override CaseAttachmentService.CaseAttachmentServiceClient GrpcClient { get; }

The underlying gRPC CaseAttachmentService client

Property Value
Type Description
CaseAttachmentServiceCaseAttachmentServiceClient
Overrides

Methods

ListAttachments(ListAttachmentsRequest, CallSettings)

public override PagedEnumerable<ListAttachmentsResponse, Attachment> ListAttachments(ListAttachmentsRequest request, CallSettings callSettings = null)

Retrieve all attachments associated with a support case.

Parameters
Name Description
request ListAttachmentsRequest

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
PagedEnumerableListAttachmentsResponseAttachment

A pageable sequence of Attachment resources.

Overrides

ListAttachmentsAsync(ListAttachmentsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAttachmentsResponse, Attachment> ListAttachmentsAsync(ListAttachmentsRequest request, CallSettings callSettings = null)

Retrieve all attachments associated with a support case.

Parameters
Name Description
request ListAttachmentsRequest

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
PagedAsyncEnumerableListAttachmentsResponseAttachment

A pageable asynchronous sequence of Attachment resources.

Overrides