Google Cloud Support v2 API - Class CaseAttachmentServiceClientImpl (1.1.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
NameDescription
grpcClientCaseAttachmentServiceCaseAttachmentServiceClient

The underlying gRPC client.

settingsCaseAttachmentServiceSettings

The base CaseAttachmentServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override CaseAttachmentService.CaseAttachmentServiceClient GrpcClient { get; }

The underlying gRPC CaseAttachmentService client

Property Value
TypeDescription
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
NameDescription
requestListAttachmentsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListAttachmentsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAttachmentsResponseAttachment

A pageable asynchronous sequence of Attachment resources.

Overrides