Show / Hide Table of Contents

Class NativeStyleService.NativeStyleServiceClient

Client for NativeStyleService

Inheritance
object
ClientBase
ClientBase<NativeStyleService.NativeStyleServiceClient>
NativeStyleService.NativeStyleServiceClient
Inherited Members
ClientBase<NativeStyleService.NativeStyleServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class NativeStyleService.NativeStyleServiceClient : ClientBase<NativeStyleService.NativeStyleServiceClient>

Constructors

NativeStyleServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected NativeStyleServiceClient()

NativeStyleServiceClient(CallInvoker)

Creates a new client for NativeStyleService that uses a custom CallInvoker.

Declaration
public NativeStyleServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

NativeStyleServiceClient(ChannelBase)

Creates a new client for NativeStyleService

Declaration
public NativeStyleServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

NativeStyleServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected NativeStyleServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

BatchActivateNativeStyles(BatchActivateNativeStylesRequest, CallOptions)

Beginning of non-CRUD Activates a list of NativeStyle objects.

Declaration
public virtual BatchActivateNativeStylesResponse BatchActivateNativeStyles(BatchActivateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchActivateNativeStylesResponse

The response received from the server.

BatchActivateNativeStyles(BatchActivateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Beginning of non-CRUD Activates a list of NativeStyle objects.

Declaration
public virtual BatchActivateNativeStylesResponse BatchActivateNativeStyles(BatchActivateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateNativeStylesRequest 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
BatchActivateNativeStylesResponse

The response received from the server.

BatchActivateNativeStylesAsync(BatchActivateNativeStylesRequest, CallOptions)

Beginning of non-CRUD Activates a list of NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateNativeStylesResponse> BatchActivateNativeStylesAsync(BatchActivateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateNativeStylesResponse>

The call object.

BatchActivateNativeStylesAsync(BatchActivateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Beginning of non-CRUD Activates a list of NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateNativeStylesResponse> BatchActivateNativeStylesAsync(BatchActivateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateNativeStylesRequest 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<BatchActivateNativeStylesResponse>

The call object.

BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest, CallOptions)

Archives a list of NativeStyle objects.

Declaration
public virtual BatchArchiveNativeStylesResponse BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchArchiveNativeStylesResponse

The response received from the server.

BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Archives a list of NativeStyle objects.

Declaration
public virtual BatchArchiveNativeStylesResponse BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveNativeStylesRequest 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
BatchArchiveNativeStylesResponse

The response received from the server.

BatchArchiveNativeStylesAsync(BatchArchiveNativeStylesRequest, CallOptions)

Archives a list of NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveNativeStylesResponse> BatchArchiveNativeStylesAsync(BatchArchiveNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchArchiveNativeStylesResponse>

The call object.

BatchArchiveNativeStylesAsync(BatchArchiveNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Archives a list of NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveNativeStylesResponse> BatchArchiveNativeStylesAsync(BatchArchiveNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveNativeStylesRequest 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<BatchArchiveNativeStylesResponse>

The call object.

BatchCreateNativeStyles(BatchCreateNativeStylesRequest, CallOptions)

Creates NativeStyle objects.

Declaration
public virtual BatchCreateNativeStylesResponse BatchCreateNativeStyles(BatchCreateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateNativeStylesResponse

The response received from the server.

BatchCreateNativeStyles(BatchCreateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Creates NativeStyle objects.

Declaration
public virtual BatchCreateNativeStylesResponse BatchCreateNativeStyles(BatchCreateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateNativeStylesRequest 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
BatchCreateNativeStylesResponse

The response received from the server.

BatchCreateNativeStylesAsync(BatchCreateNativeStylesRequest, CallOptions)

Creates NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateNativeStylesResponse> BatchCreateNativeStylesAsync(BatchCreateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateNativeStylesResponse>

The call object.

BatchCreateNativeStylesAsync(BatchCreateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Creates NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateNativeStylesResponse> BatchCreateNativeStylesAsync(BatchCreateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateNativeStylesRequest 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<BatchCreateNativeStylesResponse>

The call object.

BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest, CallOptions)

Deactivates a list of NativeStyle objects.

Declaration
public virtual BatchDeactivateNativeStylesResponse BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchDeactivateNativeStylesResponse

The response received from the server.

BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Deactivates a list of NativeStyle objects.

Declaration
public virtual BatchDeactivateNativeStylesResponse BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateNativeStylesRequest 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
BatchDeactivateNativeStylesResponse

The response received from the server.

BatchDeactivateNativeStylesAsync(BatchDeactivateNativeStylesRequest, CallOptions)

Deactivates a list of NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateNativeStylesResponse> BatchDeactivateNativeStylesAsync(BatchDeactivateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchDeactivateNativeStylesResponse>

The call object.

BatchDeactivateNativeStylesAsync(BatchDeactivateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Deactivates a list of NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateNativeStylesResponse> BatchDeactivateNativeStylesAsync(BatchDeactivateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateNativeStylesRequest 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<BatchDeactivateNativeStylesResponse>

The call object.

BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest, CallOptions)

Batch updates NativeStyle objects.

Declaration
public virtual BatchUpdateNativeStylesResponse BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateNativeStylesResponse

The response received from the server.

BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Batch updates NativeStyle objects.

Declaration
public virtual BatchUpdateNativeStylesResponse BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateNativeStylesRequest 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
BatchUpdateNativeStylesResponse

The response received from the server.

BatchUpdateNativeStylesAsync(BatchUpdateNativeStylesRequest, CallOptions)

Batch updates NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateNativeStylesResponse> BatchUpdateNativeStylesAsync(BatchUpdateNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateNativeStylesResponse>

The call object.

BatchUpdateNativeStylesAsync(BatchUpdateNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Batch updates NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateNativeStylesResponse> BatchUpdateNativeStylesAsync(BatchUpdateNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateNativeStylesRequest 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<BatchUpdateNativeStylesResponse>

The call object.

GetNativeStyle(GetNativeStyleRequest, CallOptions)

Retrieves a NativeStyle object.

Declaration
public virtual NativeStyle GetNativeStyle(GetNativeStyleRequest request, CallOptions options)
Parameters
Type Name Description
GetNativeStyleRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
NativeStyle

The response received from the server.

GetNativeStyle(GetNativeStyleRequest, Metadata, DateTime?, CancellationToken)

Retrieves a NativeStyle object.

Declaration
public virtual NativeStyle GetNativeStyle(GetNativeStyleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetNativeStyleRequest 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
NativeStyle

The response received from the server.

GetNativeStyleAsync(GetNativeStyleRequest, CallOptions)

Retrieves a NativeStyle object.

Declaration
public virtual AsyncUnaryCall<NativeStyle> GetNativeStyleAsync(GetNativeStyleRequest request, CallOptions options)
Parameters
Type Name Description
GetNativeStyleRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<NativeStyle>

The call object.

GetNativeStyleAsync(GetNativeStyleRequest, Metadata, DateTime?, CancellationToken)

Retrieves a NativeStyle object.

Declaration
public virtual AsyncUnaryCall<NativeStyle> GetNativeStyleAsync(GetNativeStyleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetNativeStyleRequest 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<NativeStyle>

The call object.

ListNativeStyles(ListNativeStylesRequest, CallOptions)

Lists NativeStyle objects.

Declaration
public virtual ListNativeStylesResponse ListNativeStyles(ListNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
ListNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListNativeStylesResponse

The response received from the server.

ListNativeStyles(ListNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Lists NativeStyle objects.

Declaration
public virtual ListNativeStylesResponse ListNativeStyles(ListNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListNativeStylesRequest 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
ListNativeStylesResponse

The response received from the server.

ListNativeStylesAsync(ListNativeStylesRequest, CallOptions)

Lists NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<ListNativeStylesResponse> ListNativeStylesAsync(ListNativeStylesRequest request, CallOptions options)
Parameters
Type Name Description
ListNativeStylesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListNativeStylesResponse>

The call object.

ListNativeStylesAsync(ListNativeStylesRequest, Metadata, DateTime?, CancellationToken)

Lists NativeStyle objects.

Declaration
public virtual AsyncUnaryCall<ListNativeStylesResponse> ListNativeStylesAsync(ListNativeStylesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListNativeStylesRequest 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<ListNativeStylesResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override NativeStyleService.NativeStyleServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
NativeStyleService.NativeStyleServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.NativeStyleService.NativeStyleServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX