Show / Hide Table of Contents

Class AdRuleServiceClientImpl

AdRuleService client wrapper implementation, for convenient use.

Inheritance
object
AdRuleServiceClient
AdRuleServiceClientImpl
Inherited Members
AdRuleServiceClient.DefaultEndpoint
AdRuleServiceClient.DefaultScopes
AdRuleServiceClient.ServiceMetadata
AdRuleServiceClient.CreateAsync(CancellationToken)
AdRuleServiceClient.Create()
AdRuleServiceClient.ShutdownDefaultChannelsAsync()
AdRuleServiceClient.GetAdRuleAsync(GetAdRuleRequest, CancellationToken)
AdRuleServiceClient.GetAdRule(string, CallSettings)
AdRuleServiceClient.GetAdRuleAsync(string, CallSettings)
AdRuleServiceClient.GetAdRuleAsync(string, CancellationToken)
AdRuleServiceClient.GetAdRule(AdRuleName, CallSettings)
AdRuleServiceClient.GetAdRuleAsync(AdRuleName, CallSettings)
AdRuleServiceClient.GetAdRuleAsync(AdRuleName, CancellationToken)
AdRuleServiceClient.ListAdRules(string, string, int?, CallSettings)
AdRuleServiceClient.ListAdRulesAsync(string, string, int?, CallSettings)
AdRuleServiceClient.ListAdRules(NetworkName, string, int?, CallSettings)
AdRuleServiceClient.ListAdRulesAsync(NetworkName, string, int?, CallSettings)
AdRuleServiceClient.CreateAdRuleAsync(CreateAdRuleRequest, CancellationToken)
AdRuleServiceClient.CreateAdRule(string, AdRule, CallSettings)
AdRuleServiceClient.CreateAdRuleAsync(string, AdRule, CallSettings)
AdRuleServiceClient.CreateAdRuleAsync(string, AdRule, CancellationToken)
AdRuleServiceClient.CreateAdRule(NetworkName, AdRule, CallSettings)
AdRuleServiceClient.CreateAdRuleAsync(NetworkName, AdRule, CallSettings)
AdRuleServiceClient.CreateAdRuleAsync(NetworkName, AdRule, CancellationToken)
AdRuleServiceClient.BatchCreateAdRulesAsync(BatchCreateAdRulesRequest, CancellationToken)
AdRuleServiceClient.BatchCreateAdRules(string, IEnumerable<CreateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchCreateAdRulesAsync(string, IEnumerable<CreateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchCreateAdRulesAsync(string, IEnumerable<CreateAdRuleRequest>, CancellationToken)
AdRuleServiceClient.BatchCreateAdRules(NetworkName, IEnumerable<CreateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchCreateAdRulesAsync(NetworkName, IEnumerable<CreateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchCreateAdRulesAsync(NetworkName, IEnumerable<CreateAdRuleRequest>, CancellationToken)
AdRuleServiceClient.UpdateAdRuleAsync(UpdateAdRuleRequest, CancellationToken)
AdRuleServiceClient.UpdateAdRule(AdRule, FieldMask, CallSettings)
AdRuleServiceClient.UpdateAdRuleAsync(AdRule, FieldMask, CallSettings)
AdRuleServiceClient.UpdateAdRuleAsync(AdRule, FieldMask, CancellationToken)
AdRuleServiceClient.BatchUpdateAdRulesAsync(BatchUpdateAdRulesRequest, CancellationToken)
AdRuleServiceClient.BatchUpdateAdRules(string, IEnumerable<UpdateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchUpdateAdRulesAsync(string, IEnumerable<UpdateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchUpdateAdRulesAsync(string, IEnumerable<UpdateAdRuleRequest>, CancellationToken)
AdRuleServiceClient.BatchUpdateAdRules(NetworkName, IEnumerable<UpdateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchUpdateAdRulesAsync(NetworkName, IEnumerable<UpdateAdRuleRequest>, CallSettings)
AdRuleServiceClient.BatchUpdateAdRulesAsync(NetworkName, IEnumerable<UpdateAdRuleRequest>, CancellationToken)
AdRuleServiceClient.BatchActivateAdRulesAsync(BatchActivateAdRulesRequest, CancellationToken)
AdRuleServiceClient.BatchActivateAdRules(string, IEnumerable<string>, CallSettings)
AdRuleServiceClient.BatchActivateAdRulesAsync(string, IEnumerable<string>, CallSettings)
AdRuleServiceClient.BatchActivateAdRulesAsync(string, IEnumerable<string>, CancellationToken)
AdRuleServiceClient.BatchActivateAdRules(NetworkName, IEnumerable<AdRuleName>, CallSettings)
AdRuleServiceClient.BatchActivateAdRulesAsync(NetworkName, IEnumerable<AdRuleName>, CallSettings)
AdRuleServiceClient.BatchActivateAdRulesAsync(NetworkName, IEnumerable<AdRuleName>, CancellationToken)
AdRuleServiceClient.BatchDeactivateAdRulesAsync(BatchDeactivateAdRulesRequest, CancellationToken)
AdRuleServiceClient.BatchDeactivateAdRules(string, IEnumerable<string>, CallSettings)
AdRuleServiceClient.BatchDeactivateAdRulesAsync(string, IEnumerable<string>, CallSettings)
AdRuleServiceClient.BatchDeactivateAdRulesAsync(string, IEnumerable<string>, CancellationToken)
AdRuleServiceClient.BatchDeactivateAdRules(NetworkName, IEnumerable<AdRuleName>, CallSettings)
AdRuleServiceClient.BatchDeactivateAdRulesAsync(NetworkName, IEnumerable<AdRuleName>, CallSettings)
AdRuleServiceClient.BatchDeactivateAdRulesAsync(NetworkName, IEnumerable<AdRuleName>, CancellationToken)
AdRuleServiceClient.BatchDeleteAdRulesAsync(BatchDeleteAdRulesRequest, CancellationToken)
AdRuleServiceClient.BatchDeleteAdRules(string, IEnumerable<string>, CallSettings)
AdRuleServiceClient.BatchDeleteAdRulesAsync(string, IEnumerable<string>, CallSettings)
AdRuleServiceClient.BatchDeleteAdRulesAsync(string, IEnumerable<string>, CancellationToken)
AdRuleServiceClient.BatchDeleteAdRules(NetworkName, IEnumerable<AdRuleName>, CallSettings)
AdRuleServiceClient.BatchDeleteAdRulesAsync(NetworkName, IEnumerable<AdRuleName>, CallSettings)
AdRuleServiceClient.BatchDeleteAdRulesAsync(NetworkName, IEnumerable<AdRuleName>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AdRuleServiceClientImpl : AdRuleServiceClient
Remarks

Provides methods for handling AdRule objects.

Constructors

AdRuleServiceClientImpl(AdRuleServiceClient, AdRuleServiceSettings, ILogger)

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

Declaration
public AdRuleServiceClientImpl(AdRuleService.AdRuleServiceClient grpcClient, AdRuleServiceSettings settings, ILogger logger)
Parameters
Type Name Description
AdRuleService.AdRuleServiceClient grpcClient

The underlying gRPC client.

AdRuleServiceSettings settings

The base AdRuleServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC AdRuleService client

Declaration
public override AdRuleService.AdRuleServiceClient GrpcClient { get; }
Property Value
Type Description
AdRuleService.AdRuleServiceClient
Overrides
AdRuleServiceClient.GrpcClient

Methods

BatchActivateAdRules(BatchActivateAdRulesRequest, CallSettings)

Activates a list of AdRule objects.

Declaration
public override BatchActivateAdRulesResponse BatchActivateAdRules(BatchActivateAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchActivateAdRulesRequest 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
BatchActivateAdRulesResponse

The RPC response.

Overrides
AdRuleServiceClient.BatchActivateAdRules(BatchActivateAdRulesRequest, CallSettings)

BatchActivateAdRulesAsync(BatchActivateAdRulesRequest, CallSettings)

Activates a list of AdRule objects.

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

A Task containing the RPC response.

Overrides
AdRuleServiceClient.BatchActivateAdRulesAsync(BatchActivateAdRulesRequest, CallSettings)

BatchCreateAdRules(BatchCreateAdRulesRequest, CallSettings)

Batch creates AdRule objects.

Declaration
public override BatchCreateAdRulesResponse BatchCreateAdRules(BatchCreateAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateAdRulesRequest 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
BatchCreateAdRulesResponse

The RPC response.

Overrides
AdRuleServiceClient.BatchCreateAdRules(BatchCreateAdRulesRequest, CallSettings)

BatchCreateAdRulesAsync(BatchCreateAdRulesRequest, CallSettings)

Batch creates AdRule objects.

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

A Task containing the RPC response.

Overrides
AdRuleServiceClient.BatchCreateAdRulesAsync(BatchCreateAdRulesRequest, CallSettings)

BatchDeactivateAdRules(BatchDeactivateAdRulesRequest, CallSettings)

Deactivates a list of AdRule objects.

Declaration
public override BatchDeactivateAdRulesResponse BatchDeactivateAdRules(BatchDeactivateAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeactivateAdRulesRequest 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
BatchDeactivateAdRulesResponse

The RPC response.

Overrides
AdRuleServiceClient.BatchDeactivateAdRules(BatchDeactivateAdRulesRequest, CallSettings)

BatchDeactivateAdRulesAsync(BatchDeactivateAdRulesRequest, CallSettings)

Deactivates a list of AdRule objects.

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

A Task containing the RPC response.

Overrides
AdRuleServiceClient.BatchDeactivateAdRulesAsync(BatchDeactivateAdRulesRequest, CallSettings)

BatchDeleteAdRules(BatchDeleteAdRulesRequest, CallSettings)

Deletes a list of AdRule objects.

Declaration
public override void BatchDeleteAdRules(BatchDeleteAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeleteAdRulesRequest 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
AdRuleServiceClient.BatchDeleteAdRules(BatchDeleteAdRulesRequest, CallSettings)

BatchDeleteAdRulesAsync(BatchDeleteAdRulesRequest, CallSettings)

Deletes a list of AdRule objects.

Declaration
public override Task BatchDeleteAdRulesAsync(BatchDeleteAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeleteAdRulesRequest 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
AdRuleServiceClient.BatchDeleteAdRulesAsync(BatchDeleteAdRulesRequest, CallSettings)

BatchUpdateAdRules(BatchUpdateAdRulesRequest, CallSettings)

Batch updates AdRule objects.

Declaration
public override BatchUpdateAdRulesResponse BatchUpdateAdRules(BatchUpdateAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateAdRulesRequest 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
BatchUpdateAdRulesResponse

The RPC response.

Overrides
AdRuleServiceClient.BatchUpdateAdRules(BatchUpdateAdRulesRequest, CallSettings)

BatchUpdateAdRulesAsync(BatchUpdateAdRulesRequest, CallSettings)

Batch updates AdRule objects.

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

A Task containing the RPC response.

Overrides
AdRuleServiceClient.BatchUpdateAdRulesAsync(BatchUpdateAdRulesRequest, CallSettings)

CreateAdRule(CreateAdRuleRequest, CallSettings)

Creates a AdRule object.

Declaration
public override AdRule CreateAdRule(CreateAdRuleRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateAdRuleRequest 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
AdRule

The RPC response.

Overrides
AdRuleServiceClient.CreateAdRule(CreateAdRuleRequest, CallSettings)

CreateAdRuleAsync(CreateAdRuleRequest, CallSettings)

Creates a AdRule object.

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

A Task containing the RPC response.

Overrides
AdRuleServiceClient.CreateAdRuleAsync(CreateAdRuleRequest, CallSettings)

GetAdRule(GetAdRuleRequest, CallSettings)

Retrieves an AdRule object.

Declaration
public override AdRule GetAdRule(GetAdRuleRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetAdRuleRequest 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
AdRule

The RPC response.

Overrides
AdRuleServiceClient.GetAdRule(GetAdRuleRequest, CallSettings)

GetAdRuleAsync(GetAdRuleRequest, CallSettings)

Retrieves an AdRule object.

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

A Task containing the RPC response.

Overrides
AdRuleServiceClient.GetAdRuleAsync(GetAdRuleRequest, CallSettings)

ListAdRules(ListAdRulesRequest, CallSettings)

Lists AdRule objects.

Declaration
public override PagedEnumerable<ListAdRulesResponse, AdRule> ListAdRules(ListAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAdRulesRequest 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<ListAdRulesResponse, AdRule>

A pageable sequence of AdRule resources.

Overrides
AdRuleServiceClient.ListAdRules(ListAdRulesRequest, CallSettings)

ListAdRulesAsync(ListAdRulesRequest, CallSettings)

Lists AdRule objects.

Declaration
public override PagedAsyncEnumerable<ListAdRulesResponse, AdRule> ListAdRulesAsync(ListAdRulesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAdRulesRequest 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<ListAdRulesResponse, AdRule>

A pageable asynchronous sequence of AdRule resources.

Overrides
AdRuleServiceClient.ListAdRulesAsync(ListAdRulesRequest, CallSettings)

UpdateAdRule(UpdateAdRuleRequest, CallSettings)

Updates a AdRule object.

Declaration
public override AdRule UpdateAdRule(UpdateAdRuleRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAdRuleRequest 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
AdRule

The RPC response.

Overrides
AdRuleServiceClient.UpdateAdRule(UpdateAdRuleRequest, CallSettings)

UpdateAdRuleAsync(UpdateAdRuleRequest, CallSettings)

Updates a AdRule object.

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

A Task containing the RPC response.

Overrides
AdRuleServiceClient.UpdateAdRuleAsync(UpdateAdRuleRequest, CallSettings)
In this article
Back to top Generated by DocFX