Class ChildPublisherService.ChildPublisherServiceClient
Client for ChildPublisherService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class ChildPublisherService.ChildPublisherServiceClient : ClientBase<ChildPublisherService.ChildPublisherServiceClient>
Constructors
ChildPublisherServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected ChildPublisherServiceClient()
ChildPublisherServiceClient(CallInvoker)
Creates a new client for ChildPublisherService that uses a custom CallInvoker.
Declaration
public ChildPublisherServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
ChildPublisherServiceClient(ChannelBase)
Creates a new client for ChildPublisherService
Declaration
public ChildPublisherServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
ChildPublisherServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected ChildPublisherServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchCreateChildPublishers(BatchCreateChildPublishersRequest, CallOptions)
Creates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual BatchCreateChildPublishersResponse BatchCreateChildPublishers(BatchCreateChildPublishersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateChildPublishersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateChildPublishersResponse | The response received from the server. |
BatchCreateChildPublishers(BatchCreateChildPublishersRequest, Metadata, DateTime?, CancellationToken)
Creates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual BatchCreateChildPublishersResponse BatchCreateChildPublishers(BatchCreateChildPublishersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateChildPublishersRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateChildPublishersResponse | The response received from the server. |
BatchCreateChildPublishersAsync(BatchCreateChildPublishersRequest, CallOptions)
Creates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateChildPublishersResponse> BatchCreateChildPublishersAsync(BatchCreateChildPublishersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateChildPublishersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateChildPublishersResponse> | The call object. |
BatchCreateChildPublishersAsync(BatchCreateChildPublishersRequest, Metadata, DateTime?, CancellationToken)
Creates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateChildPublishersResponse> BatchCreateChildPublishersAsync(BatchCreateChildPublishersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateChildPublishersRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateChildPublishersResponse> | The call object. |
BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest, CallOptions)
Batch updates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual BatchUpdateChildPublishersResponse BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateChildPublishersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateChildPublishersResponse | The response received from the server. |
BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest, Metadata, DateTime?, CancellationToken)
Batch updates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual BatchUpdateChildPublishersResponse BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateChildPublishersRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateChildPublishersResponse | The response received from the server. |
BatchUpdateChildPublishersAsync(BatchUpdateChildPublishersRequest, CallOptions)
Batch updates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateChildPublishersResponse> BatchUpdateChildPublishersAsync(BatchUpdateChildPublishersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateChildPublishersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateChildPublishersResponse> | The call object. |
BatchUpdateChildPublishersAsync(BatchUpdateChildPublishersRequest, Metadata, DateTime?, CancellationToken)
Batch updates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateChildPublishersResponse> BatchUpdateChildPublishersAsync(BatchUpdateChildPublishersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateChildPublishersRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateChildPublishersResponse> | The call object. |
CreateChildPublisher(CreateChildPublisherRequest, CallOptions)
Creates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual ChildPublisher CreateChildPublisher(CreateChildPublisherRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateChildPublisherRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The response received from the server. |
CreateChildPublisher(CreateChildPublisherRequest, Metadata, DateTime?, CancellationToken)
Creates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual ChildPublisher CreateChildPublisher(CreateChildPublisherRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateChildPublisherRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The response received from the server. |
CreateChildPublisherAsync(CreateChildPublisherRequest, CallOptions)
Creates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual AsyncUnaryCall<ChildPublisher> CreateChildPublisherAsync(CreateChildPublisherRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateChildPublisherRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ChildPublisher> | The call object. |
CreateChildPublisherAsync(CreateChildPublisherRequest, Metadata, DateTime?, CancellationToken)
Creates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual AsyncUnaryCall<ChildPublisher> CreateChildPublisherAsync(CreateChildPublisherRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateChildPublisherRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ChildPublisher> | The call object. |
GetChildPublisher(GetChildPublisherRequest, CallOptions)
Retrieves a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual ChildPublisher GetChildPublisher(GetChildPublisherRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChildPublisherRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The response received from the server. |
GetChildPublisher(GetChildPublisherRequest, Metadata, DateTime?, CancellationToken)
Retrieves a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual ChildPublisher GetChildPublisher(GetChildPublisherRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChildPublisherRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The response received from the server. |
GetChildPublisherAsync(GetChildPublisherRequest, CallOptions)
Retrieves a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual AsyncUnaryCall<ChildPublisher> GetChildPublisherAsync(GetChildPublisherRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChildPublisherRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ChildPublisher> | The call object. |
GetChildPublisherAsync(GetChildPublisherRequest, Metadata, DateTime?, CancellationToken)
Retrieves a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual AsyncUnaryCall<ChildPublisher> GetChildPublisherAsync(GetChildPublisherRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChildPublisherRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ChildPublisher> | The call object. |
ListChildPublishers(ListChildPublishersRequest, CallOptions)
Lists [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual ListChildPublishersResponse ListChildPublishers(ListChildPublishersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildPublishersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListChildPublishersResponse | The response received from the server. |
ListChildPublishers(ListChildPublishersRequest, Metadata, DateTime?, CancellationToken)
Lists [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual ListChildPublishersResponse ListChildPublishers(ListChildPublishersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildPublishersRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListChildPublishersResponse | The response received from the server. |
ListChildPublishersAsync(ListChildPublishersRequest, CallOptions)
Lists [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual AsyncUnaryCall<ListChildPublishersResponse> ListChildPublishersAsync(ListChildPublishersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildPublishersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListChildPublishersResponse> | The call object. |
ListChildPublishersAsync(ListChildPublishersRequest, Metadata, DateTime?, CancellationToken)
Lists [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual AsyncUnaryCall<ListChildPublishersResponse> ListChildPublishersAsync(ListChildPublishersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildPublishersRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListChildPublishersResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override ChildPublisherService.ChildPublisherServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| ChildPublisherService.ChildPublisherServiceClient |
Overrides
UpdateChildPublisher(UpdateChildPublisherRequest, CallOptions)
Updates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual ChildPublisher UpdateChildPublisher(UpdateChildPublisherRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateChildPublisherRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The response received from the server. |
UpdateChildPublisher(UpdateChildPublisherRequest, Metadata, DateTime?, CancellationToken)
Updates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual ChildPublisher UpdateChildPublisher(UpdateChildPublisherRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateChildPublisherRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The response received from the server. |
UpdateChildPublisherAsync(UpdateChildPublisherRequest, CallOptions)
Updates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual AsyncUnaryCall<ChildPublisher> UpdateChildPublisherAsync(UpdateChildPublisherRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateChildPublisherRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ChildPublisher> | The call object. |
UpdateChildPublisherAsync(UpdateChildPublisherRequest, Metadata, DateTime?, CancellationToken)
Updates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual AsyncUnaryCall<ChildPublisher> UpdateChildPublisherAsync(UpdateChildPublisherRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateChildPublisherRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ChildPublisher> | The call object. |