public class InsightsConfigService.InsightsConfigServiceClient : ClientBase<InsightsConfigService.InsightsConfigServiceClient>
Reference documentation and code samples for the Developer Connect v1 API class InsightsConfigService.InsightsConfigServiceClient.
Client for InsightsConfigService
Inheritance
object > ClientBase > ClientBaseInsightsConfigServiceInsightsConfigServiceClient > InsightsConfigService.InsightsConfigServiceClientNamespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Constructors
InsightsConfigServiceClient()
protected InsightsConfigServiceClient()
Protected parameterless constructor to allow creation of test doubles.
InsightsConfigServiceClient(CallInvoker)
public InsightsConfigServiceClient(CallInvoker callInvoker)
Creates a new client for InsightsConfigService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
InsightsConfigServiceClient(ChannelBase)
public InsightsConfigServiceClient(ChannelBase channel)
Creates a new client for InsightsConfigService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
InsightsConfigServiceClient(ClientBaseConfiguration)
protected InsightsConfigServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateInsightsConfig(CreateInsightsConfigRequest, CallOptions)
public virtual Operation CreateInsightsConfig(CreateInsightsConfigRequest request, CallOptions options)
Creates a new InsightsConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateInsightsConfig(CreateInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateInsightsConfig(CreateInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new InsightsConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateInsightsConfigRequest 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 |
Operation |
The response received from the server. |
CreateInsightsConfigAsync(CreateInsightsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateInsightsConfigAsync(CreateInsightsConfigRequest request, CallOptions options)
Creates a new InsightsConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateInsightsConfigAsync(CreateInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateInsightsConfigAsync(CreateInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new InsightsConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateInsightsConfigRequest 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 |
AsyncUnaryCallOperation |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteInsightsConfig(DeleteInsightsConfigRequest, CallOptions)
public virtual Operation DeleteInsightsConfig(DeleteInsightsConfigRequest request, CallOptions options)
Delete a single Insight.
Parameters | |
---|---|
Name | Description |
request |
DeleteInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteInsightsConfig(DeleteInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteInsightsConfig(DeleteInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a single Insight.
Parameters | |
---|---|
Name | Description |
request |
DeleteInsightsConfigRequest 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 |
Operation |
The response received from the server. |
DeleteInsightsConfigAsync(DeleteInsightsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteInsightsConfigAsync(DeleteInsightsConfigRequest request, CallOptions options)
Delete a single Insight.
Parameters | |
---|---|
Name | Description |
request |
DeleteInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteInsightsConfigAsync(DeleteInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteInsightsConfigAsync(DeleteInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a single Insight.
Parameters | |
---|---|
Name | Description |
request |
DeleteInsightsConfigRequest 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 |
AsyncUnaryCallOperation |
The call object. |
GetInsightsConfig(GetInsightsConfigRequest, CallOptions)
public virtual InsightsConfig GetInsightsConfig(GetInsightsConfigRequest request, CallOptions options)
Gets details of a single Insight.
Parameters | |
---|---|
Name | Description |
request |
GetInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InsightsConfig |
The response received from the server. |
GetInsightsConfig(GetInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual InsightsConfig GetInsightsConfig(GetInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single Insight.
Parameters | |
---|---|
Name | Description |
request |
GetInsightsConfigRequest 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 |
InsightsConfig |
The response received from the server. |
GetInsightsConfigAsync(GetInsightsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<InsightsConfig> GetInsightsConfigAsync(GetInsightsConfigRequest request, CallOptions options)
Gets details of a single Insight.
Parameters | |
---|---|
Name | Description |
request |
GetInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallInsightsConfig |
The call object. |
GetInsightsConfigAsync(GetInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<InsightsConfig> GetInsightsConfigAsync(GetInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single Insight.
Parameters | |
---|---|
Name | Description |
request |
GetInsightsConfigRequest 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 |
AsyncUnaryCallInsightsConfig |
The call object. |
ListInsightsConfigs(ListInsightsConfigsRequest, CallOptions)
public virtual ListInsightsConfigsResponse ListInsightsConfigs(ListInsightsConfigsRequest request, CallOptions options)
Lists InsightsConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListInsightsConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListInsightsConfigsResponse |
The response received from the server. |
ListInsightsConfigs(ListInsightsConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListInsightsConfigsResponse ListInsightsConfigs(ListInsightsConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists InsightsConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListInsightsConfigsRequest 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 |
ListInsightsConfigsResponse |
The response received from the server. |
ListInsightsConfigsAsync(ListInsightsConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListInsightsConfigsResponse> ListInsightsConfigsAsync(ListInsightsConfigsRequest request, CallOptions options)
Lists InsightsConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListInsightsConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListInsightsConfigsResponse |
The call object. |
ListInsightsConfigsAsync(ListInsightsConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListInsightsConfigsResponse> ListInsightsConfigsAsync(ListInsightsConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists InsightsConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListInsightsConfigsRequest 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 |
AsyncUnaryCallListInsightsConfigsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override InsightsConfigService.InsightsConfigServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
InsightsConfigServiceInsightsConfigServiceClient |
UpdateInsightsConfig(UpdateInsightsConfigRequest, CallOptions)
public virtual Operation UpdateInsightsConfig(UpdateInsightsConfigRequest request, CallOptions options)
Updates the parameters of a single InsightsConfig.
Parameters | |
---|---|
Name | Description |
request |
UpdateInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateInsightsConfig(UpdateInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateInsightsConfig(UpdateInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single InsightsConfig.
Parameters | |
---|---|
Name | Description |
request |
UpdateInsightsConfigRequest 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 |
Operation |
The response received from the server. |
UpdateInsightsConfigAsync(UpdateInsightsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateInsightsConfigAsync(UpdateInsightsConfigRequest request, CallOptions options)
Updates the parameters of a single InsightsConfig.
Parameters | |
---|---|
Name | Description |
request |
UpdateInsightsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateInsightsConfigAsync(UpdateInsightsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateInsightsConfigAsync(UpdateInsightsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single InsightsConfig.
Parameters | |
---|---|
Name | Description |
request |
UpdateInsightsConfigRequest 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 |
AsyncUnaryCallOperation |
The call object. |