Class CaseAttachmentServiceGrpc.CaseAttachmentServiceBlockingV2Stub (0.64.0)

public static final class CaseAttachmentServiceGrpc.CaseAttachmentServiceBlockingV2Stub extends AbstractBlockingStub<CaseAttachmentServiceGrpc.CaseAttachmentServiceBlockingV2Stub>

A stub to allow clients to do synchronous rpc calls to service CaseAttachmentService.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CaseAttachmentServiceGrpc.CaseAttachmentServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected CaseAttachmentServiceGrpc.CaseAttachmentServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
CaseAttachmentServiceGrpc.CaseAttachmentServiceBlockingV2Stub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getAttachment(GetAttachmentRequest request)

public Attachment getAttachment(GetAttachmentRequest request)

Retrieve an attachment.

Parameter
Name Description
request GetAttachmentRequest
Returns
Type Description
Attachment
Exceptions
Type Description
io.grpc.StatusException

listAttachments(ListAttachmentsRequest request)

public ListAttachmentsResponse listAttachments(ListAttachmentsRequest request)

List all the attachments associated with a support case.

Parameter
Name Description
request ListAttachmentsRequest
Returns
Type Description
ListAttachmentsResponse
Exceptions
Type Description
io.grpc.StatusException