Show / Hide Table of Contents

Class PartnerServiceClientImpl

PartnerService client wrapper implementation, for convenient use.

Inheritance
object
PartnerServiceClient
PartnerServiceClientImpl
Inherited Members
PartnerServiceClient.DefaultEndpoint
PartnerServiceClient.DefaultScopes
PartnerServiceClient.ServiceMetadata
PartnerServiceClient.CreateAsync(CancellationToken)
PartnerServiceClient.Create()
PartnerServiceClient.ShutdownDefaultChannelsAsync()
PartnerServiceClient.GetPartnerAsync(GetPartnerRequest, CancellationToken)
PartnerServiceClient.GetPartner(string, CallSettings)
PartnerServiceClient.GetPartnerAsync(string, CallSettings)
PartnerServiceClient.GetPartnerAsync(string, CancellationToken)
PartnerServiceClient.GetPartner(PartnerName, CallSettings)
PartnerServiceClient.GetPartnerAsync(PartnerName, CallSettings)
PartnerServiceClient.GetPartnerAsync(PartnerName, CancellationToken)
PartnerServiceClient.ListPartners(string, string, int?, CallSettings)
PartnerServiceClient.ListPartnersAsync(string, string, int?, CallSettings)
PartnerServiceClient.ListPartners(NetworkName, string, int?, CallSettings)
PartnerServiceClient.ListPartnersAsync(NetworkName, string, int?, CallSettings)
PartnerServiceClient.UpdatePartnerAsync(UpdatePartnerRequest, CancellationToken)
PartnerServiceClient.UpdatePartner(Partner, FieldMask, CallSettings)
PartnerServiceClient.UpdatePartnerAsync(Partner, FieldMask, CallSettings)
PartnerServiceClient.UpdatePartnerAsync(Partner, FieldMask, CancellationToken)
PartnerServiceClient.BatchUpdatePartnersAsync(BatchUpdatePartnersRequest, CancellationToken)
PartnerServiceClient.BatchUpdatePartners(string, IEnumerable<UpdatePartnerRequest>, CallSettings)
PartnerServiceClient.BatchUpdatePartnersAsync(string, IEnumerable<UpdatePartnerRequest>, CallSettings)
PartnerServiceClient.BatchUpdatePartnersAsync(string, IEnumerable<UpdatePartnerRequest>, CancellationToken)
PartnerServiceClient.BatchUpdatePartners(NetworkName, IEnumerable<UpdatePartnerRequest>, CallSettings)
PartnerServiceClient.BatchUpdatePartnersAsync(NetworkName, IEnumerable<UpdatePartnerRequest>, CallSettings)
PartnerServiceClient.BatchUpdatePartnersAsync(NetworkName, IEnumerable<UpdatePartnerRequest>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
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
PartnerServiceClient.GrpcClient

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
PartnerServiceClient.BatchUpdatePartners(BatchUpdatePartnersRequest, CallSettings)

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
PartnerServiceClient.BatchUpdatePartnersAsync(BatchUpdatePartnersRequest, CallSettings)

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
PartnerServiceClient.GetPartner(GetPartnerRequest, CallSettings)

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
PartnerServiceClient.GetPartnerAsync(GetPartnerRequest, CallSettings)

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
PartnerServiceClient.ListPartners(ListPartnersRequest, CallSettings)

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
PartnerServiceClient.ListPartnersAsync(ListPartnersRequest, CallSettings)

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
PartnerServiceClient.UpdatePartner(UpdatePartnerRequest, CallSettings)

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.

Overrides
PartnerServiceClient.UpdatePartnerAsync(UpdatePartnerRequest, CallSettings)
In this article
Back to top Generated by DocFX