Show / Hide Table of Contents

Class ContactServiceClientImpl

ContactService client wrapper implementation, for convenient use.

Inheritance
object
ContactServiceClient
ContactServiceClientImpl
Inherited Members
ContactServiceClient.DefaultEndpoint
ContactServiceClient.DefaultScopes
ContactServiceClient.ServiceMetadata
ContactServiceClient.CreateAsync(CancellationToken)
ContactServiceClient.Create()
ContactServiceClient.ShutdownDefaultChannelsAsync()
ContactServiceClient.GetContactAsync(GetContactRequest, CancellationToken)
ContactServiceClient.GetContact(string, CallSettings)
ContactServiceClient.GetContactAsync(string, CallSettings)
ContactServiceClient.GetContactAsync(string, CancellationToken)
ContactServiceClient.GetContact(ContactName, CallSettings)
ContactServiceClient.GetContactAsync(ContactName, CallSettings)
ContactServiceClient.GetContactAsync(ContactName, CancellationToken)
ContactServiceClient.ListContacts(string, string, int?, CallSettings)
ContactServiceClient.ListContactsAsync(string, string, int?, CallSettings)
ContactServiceClient.ListContacts(NetworkName, string, int?, CallSettings)
ContactServiceClient.ListContactsAsync(NetworkName, string, int?, CallSettings)
ContactServiceClient.CreateContactAsync(CreateContactRequest, CancellationToken)
ContactServiceClient.CreateContact(string, Contact, CallSettings)
ContactServiceClient.CreateContactAsync(string, Contact, CallSettings)
ContactServiceClient.CreateContactAsync(string, Contact, CancellationToken)
ContactServiceClient.CreateContact(NetworkName, Contact, CallSettings)
ContactServiceClient.CreateContactAsync(NetworkName, Contact, CallSettings)
ContactServiceClient.CreateContactAsync(NetworkName, Contact, CancellationToken)
ContactServiceClient.BatchCreateContactsAsync(BatchCreateContactsRequest, CancellationToken)
ContactServiceClient.BatchCreateContacts(string, IEnumerable<CreateContactRequest>, CallSettings)
ContactServiceClient.BatchCreateContactsAsync(string, IEnumerable<CreateContactRequest>, CallSettings)
ContactServiceClient.BatchCreateContactsAsync(string, IEnumerable<CreateContactRequest>, CancellationToken)
ContactServiceClient.BatchCreateContacts(NetworkName, IEnumerable<CreateContactRequest>, CallSettings)
ContactServiceClient.BatchCreateContactsAsync(NetworkName, IEnumerable<CreateContactRequest>, CallSettings)
ContactServiceClient.BatchCreateContactsAsync(NetworkName, IEnumerable<CreateContactRequest>, CancellationToken)
ContactServiceClient.UpdateContactAsync(UpdateContactRequest, CancellationToken)
ContactServiceClient.UpdateContact(Contact, FieldMask, CallSettings)
ContactServiceClient.UpdateContactAsync(Contact, FieldMask, CallSettings)
ContactServiceClient.UpdateContactAsync(Contact, FieldMask, CancellationToken)
ContactServiceClient.BatchUpdateContactsAsync(BatchUpdateContactsRequest, CancellationToken)
ContactServiceClient.BatchUpdateContacts(string, IEnumerable<UpdateContactRequest>, CallSettings)
ContactServiceClient.BatchUpdateContactsAsync(string, IEnumerable<UpdateContactRequest>, CallSettings)
ContactServiceClient.BatchUpdateContactsAsync(string, IEnumerable<UpdateContactRequest>, CancellationToken)
ContactServiceClient.BatchUpdateContacts(NetworkName, IEnumerable<UpdateContactRequest>, CallSettings)
ContactServiceClient.BatchUpdateContactsAsync(NetworkName, IEnumerable<UpdateContactRequest>, CallSettings)
ContactServiceClient.BatchUpdateContactsAsync(NetworkName, IEnumerable<UpdateContactRequest>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ContactServiceClientImpl : ContactServiceClient
Remarks

Provides methods for handling Contact objects.

Constructors

ContactServiceClientImpl(ContactServiceClient, ContactServiceSettings, ILogger)

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

Declaration
public ContactServiceClientImpl(ContactService.ContactServiceClient grpcClient, ContactServiceSettings settings, ILogger logger)
Parameters
Type Name Description
ContactService.ContactServiceClient grpcClient

The underlying gRPC client.

ContactServiceSettings settings

The base ContactServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC ContactService client

Declaration
public override ContactService.ContactServiceClient GrpcClient { get; }
Property Value
Type Description
ContactService.ContactServiceClient
Overrides
ContactServiceClient.GrpcClient

Methods

BatchCreateContacts(BatchCreateContactsRequest, CallSettings)

API to batch create Contact objects.

Declaration
public override BatchCreateContactsResponse BatchCreateContacts(BatchCreateContactsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateContactsRequest 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
BatchCreateContactsResponse

The RPC response.

Overrides
ContactServiceClient.BatchCreateContacts(BatchCreateContactsRequest, CallSettings)

BatchCreateContactsAsync(BatchCreateContactsRequest, CallSettings)

API to batch create Contact objects.

Declaration
public override Task<BatchCreateContactsResponse> BatchCreateContactsAsync(BatchCreateContactsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateContactsRequest 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<BatchCreateContactsResponse>

A Task containing the RPC response.

Overrides
ContactServiceClient.BatchCreateContactsAsync(BatchCreateContactsRequest, CallSettings)

BatchUpdateContacts(BatchUpdateContactsRequest, CallSettings)

API to batch update Contact objects.

Declaration
public override BatchUpdateContactsResponse BatchUpdateContacts(BatchUpdateContactsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateContactsRequest 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
BatchUpdateContactsResponse

The RPC response.

Overrides
ContactServiceClient.BatchUpdateContacts(BatchUpdateContactsRequest, CallSettings)

BatchUpdateContactsAsync(BatchUpdateContactsRequest, CallSettings)

API to batch update Contact objects.

Declaration
public override Task<BatchUpdateContactsResponse> BatchUpdateContactsAsync(BatchUpdateContactsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateContactsRequest 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<BatchUpdateContactsResponse>

A Task containing the RPC response.

Overrides
ContactServiceClient.BatchUpdateContactsAsync(BatchUpdateContactsRequest, CallSettings)

CreateContact(CreateContactRequest, CallSettings)

API to create a Contact object.

Declaration
public override Contact CreateContact(CreateContactRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateContactRequest 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
Contact

The RPC response.

Overrides
ContactServiceClient.CreateContact(CreateContactRequest, CallSettings)

CreateContactAsync(CreateContactRequest, CallSettings)

API to create a Contact object.

Declaration
public override Task<Contact> CreateContactAsync(CreateContactRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateContactRequest 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<Contact>

A Task containing the RPC response.

Overrides
ContactServiceClient.CreateContactAsync(CreateContactRequest, CallSettings)

GetContact(GetContactRequest, CallSettings)

API to retrieve a Contact object.

Declaration
public override Contact GetContact(GetContactRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetContactRequest 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
Contact

The RPC response.

Overrides
ContactServiceClient.GetContact(GetContactRequest, CallSettings)

GetContactAsync(GetContactRequest, CallSettings)

API to retrieve a Contact object.

Declaration
public override Task<Contact> GetContactAsync(GetContactRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetContactRequest 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<Contact>

A Task containing the RPC response.

Overrides
ContactServiceClient.GetContactAsync(GetContactRequest, CallSettings)

ListContacts(ListContactsRequest, CallSettings)

API to retrieve a list of Contact objects.

Declaration
public override PagedEnumerable<ListContactsResponse, Contact> ListContacts(ListContactsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListContactsRequest 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<ListContactsResponse, Contact>

A pageable sequence of Contact resources.

Overrides
ContactServiceClient.ListContacts(ListContactsRequest, CallSettings)

ListContactsAsync(ListContactsRequest, CallSettings)

API to retrieve a list of Contact objects.

Declaration
public override PagedAsyncEnumerable<ListContactsResponse, Contact> ListContactsAsync(ListContactsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListContactsRequest 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<ListContactsResponse, Contact>

A pageable asynchronous sequence of Contact resources.

Overrides
ContactServiceClient.ListContactsAsync(ListContactsRequest, CallSettings)

UpdateContact(UpdateContactRequest, CallSettings)

API to update a Contact object.

Declaration
public override Contact UpdateContact(UpdateContactRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateContactRequest 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
Contact

The RPC response.

Overrides
ContactServiceClient.UpdateContact(UpdateContactRequest, CallSettings)

UpdateContactAsync(UpdateContactRequest, CallSettings)

API to update a Contact object.

Declaration
public override Task<Contact> UpdateContactAsync(UpdateContactRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateContactRequest 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<Contact>

A Task containing the RPC response.

Overrides
ContactServiceClient.UpdateContactAsync(UpdateContactRequest, CallSettings)
In this article
Back to top Generated by DocFX