public class FeedService.FeedServiceClient : ClientBase<FeedService.FeedServiceClient>
Reference documentation and code samples for the Google Cloud Support v2beta API class FeedService.FeedServiceClient.
Client for FeedService
Inheritance
object > ClientBase > ClientBaseFeedServiceFeedServiceClient > FeedService.FeedServiceClientNamespace
Google.Cloud.Support.V2BetaAssembly
Google.Cloud.Support.V2Beta.dll
Constructors
FeedServiceClient()
protected FeedServiceClient()
Protected parameterless constructor to allow creation of test doubles.
FeedServiceClient(CallInvoker)
public FeedServiceClient(CallInvoker callInvoker)
Creates a new client for FeedService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
FeedServiceClient(ChannelBase)
public FeedServiceClient(ChannelBase channel)
Creates a new client for FeedService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
FeedServiceClient(ClientBaseConfiguration)
protected FeedServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
NewInstance(ClientBaseConfiguration)
protected override FeedService.FeedServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
FeedServiceFeedServiceClient |
ShowFeed(ShowFeedRequest, CallOptions)
public virtual ShowFeedResponse ShowFeed(ShowFeedRequest request, CallOptions options)
Show items in the feed of this case, including case emails, attachments, and comments.
Parameters | |
---|---|
Name | Description |
request |
ShowFeedRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ShowFeedResponse |
The response received from the server. |
ShowFeed(ShowFeedRequest, Metadata, DateTime?, CancellationToken)
public virtual ShowFeedResponse ShowFeed(ShowFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Show items in the feed of this case, including case emails, attachments, and comments.
Parameters | |
---|---|
Name | Description |
request |
ShowFeedRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ShowFeedResponse |
The response received from the server. |
ShowFeedAsync(ShowFeedRequest, CallOptions)
public virtual AsyncUnaryCall<ShowFeedResponse> ShowFeedAsync(ShowFeedRequest request, CallOptions options)
Show items in the feed of this case, including case emails, attachments, and comments.
Parameters | |
---|---|
Name | Description |
request |
ShowFeedRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallShowFeedResponse |
The call object. |
ShowFeedAsync(ShowFeedRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ShowFeedResponse> ShowFeedAsync(ShowFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Show items in the feed of this case, including case emails, attachments, and comments.
Parameters | |
---|---|
Name | Description |
request |
ShowFeedRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallShowFeedResponse |
The call object. |