Class PartnerServiceClientImpl
PartnerService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class PartnerServiceClientImpl : PartnerServiceClient
Remarks
Provides methods for handling [Partner][google.ads.admanager.v1.Partner] objects.
Constructors
PartnerServiceClientImpl(PartnerServiceClient, PartnerServiceSettings, ILogger)
Constructs a client wrapper for the PartnerService service, with the specified gRPC client and settings.
Declaration
public PartnerServiceClientImpl(PartnerService.PartnerServiceClient grpcClient, PartnerServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| PartnerService.PartnerServiceClient | grpcClient | The underlying gRPC client. |
| PartnerServiceSettings | settings | The base PartnerServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC PartnerService client
Declaration
public override PartnerService.PartnerServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| PartnerService.PartnerServiceClient |
Overrides
Methods
BatchUpdatePartners(BatchUpdatePartnersRequest, CallSettings)
Batch updates [Partner][google.ads.admanager.v1.Partner] objects.
Declaration
public override BatchUpdatePartnersResponse BatchUpdatePartners(BatchUpdatePartnersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdatePartnersRequest | 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 |
|---|---|
| BatchUpdatePartnersResponse | The RPC response. |
Overrides
BatchUpdatePartnersAsync(BatchUpdatePartnersRequest, CallSettings)
Batch updates [Partner][google.ads.admanager.v1.Partner] objects.
Declaration
public override Task<BatchUpdatePartnersResponse> BatchUpdatePartnersAsync(BatchUpdatePartnersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdatePartnersRequest | 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<BatchUpdatePartnersResponse> | A Task containing the RPC response. |
Overrides
GetPartner(GetPartnerRequest, CallSettings)
Retrieves a [Partner][google.ads.admanager.v1.Partner] object.
Declaration
public override Partner GetPartner(GetPartnerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPartnerRequest | 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 |
|---|---|
| Partner | The RPC response. |
Overrides
GetPartnerAsync(GetPartnerRequest, CallSettings)
Retrieves a [Partner][google.ads.admanager.v1.Partner] object.
Declaration
public override Task<Partner> GetPartnerAsync(GetPartnerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPartnerRequest | 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<Partner> | A Task containing the RPC response. |
Overrides
ListPartners(ListPartnersRequest, CallSettings)
Lists [Partner][google.ads.admanager.v1.Partner] objects.
Declaration
public override PagedEnumerable<ListPartnersResponse, Partner> ListPartners(ListPartnersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPartnersRequest | 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<ListPartnersResponse, Partner> | A pageable sequence of Partner resources. |
Overrides
ListPartnersAsync(ListPartnersRequest, CallSettings)
Lists [Partner][google.ads.admanager.v1.Partner] objects.
Declaration
public override PagedAsyncEnumerable<ListPartnersResponse, Partner> ListPartnersAsync(ListPartnersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPartnersRequest | 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<ListPartnersResponse, Partner> | A pageable asynchronous sequence of Partner resources. |
Overrides
UpdatePartner(UpdatePartnerRequest, CallSettings)
Updates a [Partner][google.ads.admanager.v1.Partner] object.
Declaration
public override Partner UpdatePartner(UpdatePartnerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePartnerRequest | 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 |
|---|---|
| Partner | The RPC response. |
Overrides
UpdatePartnerAsync(UpdatePartnerRequest, CallSettings)
Updates a [Partner][google.ads.admanager.v1.Partner] object.
Declaration
public override Task<Partner> UpdatePartnerAsync(UpdatePartnerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePartnerRequest | 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<Partner> | A Task containing the RPC response. |