Google Cloud Support v2beta API - Class CaseAttachmentServiceClientImpl (1.0.0-beta02)

public sealed class CaseAttachmentServiceClientImpl : CaseAttachmentServiceClient

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

CaseAttachmentService client wrapper implementation, for convenient use.

Inheritance

object > CaseAttachmentServiceClient > CaseAttachmentServiceClientImpl

Namespace

Google.Cloud.Support.V2Beta

Assembly

Google.Cloud.Support.V2Beta.dll

Remarks

A service to manage file attachments 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

GetAttachment(GetAttachmentRequest, CallSettings)

public override Attachment GetAttachment(GetAttachmentRequest request, CallSettings callSettings = null)

Retrieve an attachment.

Parameters
Name Description
request GetAttachmentRequest

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
Attachment

The RPC response.

Overrides

GetAttachmentAsync(GetAttachmentRequest, CallSettings)

public override Task<Attachment> GetAttachmentAsync(GetAttachmentRequest request, CallSettings callSettings = null)

Retrieve an attachment.

Parameters
Name Description
request GetAttachmentRequest

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
TaskAttachment

A Task containing the RPC response.

Overrides

ListAttachments(ListAttachmentsRequest, CallSettings)

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

List all the 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)

List all the 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