Show / Hide Table of Contents

Class PartnerLinkServiceClientImpl

PartnerLinkService client wrapper implementation, for convenient use.

Inheritance
object
PartnerLinkServiceClient
PartnerLinkServiceClientImpl
Inherited Members
PartnerLinkServiceClient.DefaultEndpoint
PartnerLinkServiceClient.DefaultScopes
PartnerLinkServiceClient.ServiceMetadata
PartnerLinkServiceClient.CreateAsync(CancellationToken)
PartnerLinkServiceClient.Create()
PartnerLinkServiceClient.ShutdownDefaultChannelsAsync()
PartnerLinkServiceClient.CreatePartnerLinkAsync(CreatePartnerLinkRequest, CancellationToken)
PartnerLinkServiceClient.CreatePartnerLink(string, PartnerLink, CallSettings)
PartnerLinkServiceClient.CreatePartnerLinkAsync(string, PartnerLink, CallSettings)
PartnerLinkServiceClient.CreatePartnerLinkAsync(string, PartnerLink, CancellationToken)
PartnerLinkServiceClient.CreatePartnerLink(AccountName, PartnerLink, CallSettings)
PartnerLinkServiceClient.CreatePartnerLinkAsync(AccountName, PartnerLink, CallSettings)
PartnerLinkServiceClient.CreatePartnerLinkAsync(AccountName, PartnerLink, CancellationToken)
PartnerLinkServiceClient.DeletePartnerLinkAsync(DeletePartnerLinkRequest, CancellationToken)
PartnerLinkServiceClient.DeletePartnerLink(string, CallSettings)
PartnerLinkServiceClient.DeletePartnerLinkAsync(string, CallSettings)
PartnerLinkServiceClient.DeletePartnerLinkAsync(string, CancellationToken)
PartnerLinkServiceClient.DeletePartnerLink(PartnerLinkName, CallSettings)
PartnerLinkServiceClient.DeletePartnerLinkAsync(PartnerLinkName, CallSettings)
PartnerLinkServiceClient.DeletePartnerLinkAsync(PartnerLinkName, CancellationToken)
PartnerLinkServiceClient.SearchPartnerLinks(string, string, int?, CallSettings)
PartnerLinkServiceClient.SearchPartnerLinksAsync(string, string, int?, CallSettings)
PartnerLinkServiceClient.SearchPartnerLinks(AccountName, string, int?, CallSettings)
PartnerLinkServiceClient.SearchPartnerLinksAsync(AccountName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class PartnerLinkServiceClientImpl : PartnerLinkServiceClient
Remarks

Service for managing partner links.

Constructors

PartnerLinkServiceClientImpl(PartnerLinkServiceClient, PartnerLinkServiceSettings, ILogger)

Constructs a client wrapper for the PartnerLinkService service, with the specified gRPC client and settings.

Declaration
public PartnerLinkServiceClientImpl(PartnerLinkService.PartnerLinkServiceClient grpcClient, PartnerLinkServiceSettings settings, ILogger logger)
Parameters
Type Name Description
PartnerLinkService.PartnerLinkServiceClient grpcClient

The underlying gRPC client.

PartnerLinkServiceSettings settings

The base PartnerLinkServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC PartnerLinkService client

Declaration
public override PartnerLinkService.PartnerLinkServiceClient GrpcClient { get; }
Property Value
Type Description
PartnerLinkService.PartnerLinkServiceClient
Overrides
PartnerLinkServiceClient.GrpcClient

Methods

CreatePartnerLink(CreatePartnerLinkRequest, CallSettings)

Creates a partner link for the given account.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public override PartnerLink CreatePartnerLink(CreatePartnerLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreatePartnerLinkRequest 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
PartnerLink

The RPC response.

Overrides
PartnerLinkServiceClient.CreatePartnerLink(CreatePartnerLinkRequest, CallSettings)

CreatePartnerLinkAsync(CreatePartnerLinkRequest, CallSettings)

Creates a partner link for the given account.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public override Task<PartnerLink> CreatePartnerLinkAsync(CreatePartnerLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreatePartnerLinkRequest 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<PartnerLink>

A Task containing the RPC response.

Overrides
PartnerLinkServiceClient.CreatePartnerLinkAsync(CreatePartnerLinkRequest, CallSettings)

DeletePartnerLink(DeletePartnerLinkRequest, CallSettings)

Deletes a partner link for the given account.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public override void DeletePartnerLink(DeletePartnerLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeletePartnerLinkRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Overrides
PartnerLinkServiceClient.DeletePartnerLink(DeletePartnerLinkRequest, CallSettings)

DeletePartnerLinkAsync(DeletePartnerLinkRequest, CallSettings)

Deletes a partner link for the given account.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public override Task DeletePartnerLinkAsync(DeletePartnerLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeletePartnerLinkRequest 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

A Task containing the RPC response.

Overrides
PartnerLinkServiceClient.DeletePartnerLinkAsync(DeletePartnerLinkRequest, CallSettings)

SearchPartnerLinks(SearchPartnerLinksRequest, CallSettings)

Searches for all partner links to and from a given account.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public override PagedEnumerable<SearchPartnerLinksResponse, PartnerLink> SearchPartnerLinks(SearchPartnerLinksRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
SearchPartnerLinksRequest 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<SearchPartnerLinksResponse, PartnerLink>

A pageable sequence of PartnerLink resources.

Overrides
PartnerLinkServiceClient.SearchPartnerLinks(SearchPartnerLinksRequest, CallSettings)

SearchPartnerLinksAsync(SearchPartnerLinksRequest, CallSettings)

Searches for all partner links to and from a given account.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public override PagedAsyncEnumerable<SearchPartnerLinksResponse, PartnerLink> SearchPartnerLinksAsync(SearchPartnerLinksRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
SearchPartnerLinksRequest 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<SearchPartnerLinksResponse, PartnerLink>

A pageable asynchronous sequence of PartnerLink resources.

Overrides
PartnerLinkServiceClient.SearchPartnerLinksAsync(SearchPartnerLinksRequest, CallSettings)
In this article
Back to top Generated by DocFX