public class ChangelogsClient : ClientBase<Changelogs.ChangelogsClient>
Client for Changelogs
Inheritance
Object > ClientBase > ClientBase<Changelogs.ChangelogsClient> > Changelogs.ChangelogsClientNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ChangelogsClient()
protected ChangelogsClient()
Protected parameterless constructor to allow creation of test doubles.
ChangelogsClient(CallInvoker)
public ChangelogsClient(CallInvoker callInvoker)
Creates a new client for Changelogs that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ChangelogsClient(ChannelBase)
public ChangelogsClient(ChannelBase channel)
Creates a new client for Changelogs
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ChangelogsClient(ClientBase.ClientBaseConfiguration)
protected ChangelogsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Locations.LocationsClient | A new Locations.LocationsClient for the same target as this client. |
GetChangelog(GetChangelogRequest, CallOptions)
public virtual Changelog GetChangelog(GetChangelogRequest request, CallOptions options)
Retrieves the specified Changelog.
Parameters | |
---|---|
Name | Description |
request | GetChangelogRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Changelog | The response received from the server. |
GetChangelog(GetChangelogRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Changelog GetChangelog(GetChangelogRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified Changelog.
Parameters | |
---|---|
Name | Description |
request | GetChangelogRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
Changelog | The response received from the server. |
GetChangelogAsync(GetChangelogRequest, CallOptions)
public virtual AsyncUnaryCall<Changelog> GetChangelogAsync(GetChangelogRequest request, CallOptions options)
Retrieves the specified Changelog.
Parameters | |
---|---|
Name | Description |
request | GetChangelogRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Changelog> | The call object. |
GetChangelogAsync(GetChangelogRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Changelog> GetChangelogAsync(GetChangelogRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified Changelog.
Parameters | |
---|---|
Name | Description |
request | GetChangelogRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
AsyncUnaryCall<Changelog> | The call object. |
ListChangelogs(ListChangelogsRequest, CallOptions)
public virtual ListChangelogsResponse ListChangelogs(ListChangelogsRequest request, CallOptions options)
Returns the list of Changelogs.
Parameters | |
---|---|
Name | Description |
request | ListChangelogsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListChangelogsResponse | The response received from the server. |
ListChangelogs(ListChangelogsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListChangelogsResponse ListChangelogs(ListChangelogsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the list of Changelogs.
Parameters | |
---|---|
Name | Description |
request | ListChangelogsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
ListChangelogsResponse | The response received from the server. |
ListChangelogsAsync(ListChangelogsRequest, CallOptions)
public virtual AsyncUnaryCall<ListChangelogsResponse> ListChangelogsAsync(ListChangelogsRequest request, CallOptions options)
Returns the list of Changelogs.
Parameters | |
---|---|
Name | Description |
request | ListChangelogsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListChangelogsResponse> | The call object. |
ListChangelogsAsync(ListChangelogsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListChangelogsResponse> ListChangelogsAsync(ListChangelogsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the list of Changelogs.
Parameters | |
---|---|
Name | Description |
request | ListChangelogsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
AsyncUnaryCall<ListChangelogsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Changelogs.ChangelogsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
Changelogs.ChangelogsClient |