Class ApplicationServiceClientImpl
ApplicationService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ApplicationServiceClientImpl : ApplicationServiceClient
Remarks
Provides methods for handling Application objects.
Constructors
ApplicationServiceClientImpl(ApplicationServiceClient, ApplicationServiceSettings, ILogger)
Constructs a client wrapper for the ApplicationService service, with the specified gRPC client and settings.
Declaration
public ApplicationServiceClientImpl(ApplicationService.ApplicationServiceClient grpcClient, ApplicationServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ApplicationService.ApplicationServiceClient | grpcClient | The underlying gRPC client. |
| ApplicationServiceSettings | settings | The base ApplicationServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ApplicationService client
Declaration
public override ApplicationService.ApplicationServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ApplicationService.ApplicationServiceClient |
Overrides
Methods
GetApplication(GetApplicationRequest, CallSettings)
API to retrieve a Application object.
Declaration
public override Application GetApplication(GetApplicationRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApplicationRequest | 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 |
|---|---|
| Application | The RPC response. |
Overrides
GetApplicationAsync(GetApplicationRequest, CallSettings)
API to retrieve a Application object.
Declaration
public override Task<Application> GetApplicationAsync(GetApplicationRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApplicationRequest | 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<Application> | A Task containing the RPC response. |
Overrides
ListApplications(ListApplicationsRequest, CallSettings)
API to retrieve a list of Application objects.
Declaration
public override PagedEnumerable<ListApplicationsResponse, Application> ListApplications(ListApplicationsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListApplicationsRequest | 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 |
|---|---|
| PagedEnumerable<ListApplicationsResponse, Application> | A pageable sequence of Application resources. |
Overrides
ListApplicationsAsync(ListApplicationsRequest, CallSettings)
API to retrieve a list of Application objects.
Declaration
public override PagedAsyncEnumerable<ListApplicationsResponse, Application> ListApplicationsAsync(ListApplicationsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListApplicationsRequest | 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 |
|---|---|
| PagedAsyncEnumerable<ListApplicationsResponse, Application> | A pageable asynchronous sequence of Application resources. |