Class DaiSessionServiceClientImpl
DaiSessionService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DaiSessionServiceClientImpl : DaiSessionServiceClient
Remarks
Provides methods for handling DaiSession objects.
Constructors
DaiSessionServiceClientImpl(DaiSessionServiceClient, DaiSessionServiceSettings, ILogger)
Constructs a client wrapper for the DaiSessionService service, with the specified gRPC client and settings.
Declaration
public DaiSessionServiceClientImpl(DaiSessionService.DaiSessionServiceClient grpcClient, DaiSessionServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| DaiSessionService.DaiSessionServiceClient | grpcClient | The underlying gRPC client. |
| DaiSessionServiceSettings | settings | The base DaiSessionServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC DaiSessionService client
Declaration
public override DaiSessionService.DaiSessionServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| DaiSessionService.DaiSessionServiceClient |
Overrides
Methods
GetDaiSession(GetDaiSessionRequest, CallSettings)
Retrieves a DaiSession object.
Declaration
public override DaiSession GetDaiSession(GetDaiSessionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDaiSessionRequest | request | 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 |
|---|---|
| DaiSession | The RPC response. |
Overrides
GetDaiSessionAsync(GetDaiSessionRequest, CallSettings)
Retrieves a DaiSession object.
Declaration
public override Task<DaiSession> GetDaiSessionAsync(GetDaiSessionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDaiSessionRequest | request | 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 |
|---|---|
| Task<DaiSession> | A Task containing the RPC response. |