Class NativeStyleServiceClientImpl
NativeStyleService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class NativeStyleServiceClientImpl : NativeStyleServiceClient
Remarks
Provides methods for handling NativeStyle objects.
Constructors
NativeStyleServiceClientImpl(NativeStyleServiceClient, NativeStyleServiceSettings, ILogger)
Constructs a client wrapper for the NativeStyleService service, with the specified gRPC client and settings.
Declaration
public NativeStyleServiceClientImpl(NativeStyleService.NativeStyleServiceClient grpcClient, NativeStyleServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeStyleService.NativeStyleServiceClient | grpcClient | The underlying gRPC client. |
| NativeStyleServiceSettings | settings | The base NativeStyleServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC NativeStyleService client
Declaration
public override NativeStyleService.NativeStyleServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| NativeStyleService.NativeStyleServiceClient |
Overrides
Methods
BatchActivateNativeStyles(BatchActivateNativeStylesRequest, CallSettings)
Beginning of non-CRUD
Activates a list of NativeStyle objects.
Declaration
public override BatchActivateNativeStylesResponse BatchActivateNativeStyles(BatchActivateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateNativeStylesRequest | 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 |
|---|---|
| BatchActivateNativeStylesResponse | The RPC response. |
Overrides
BatchActivateNativeStylesAsync(BatchActivateNativeStylesRequest, CallSettings)
Beginning of non-CRUD
Activates a list of NativeStyle objects.
Declaration
public override Task<BatchActivateNativeStylesResponse> BatchActivateNativeStylesAsync(BatchActivateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateNativeStylesRequest | 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<BatchActivateNativeStylesResponse> | A Task containing the RPC response. |
Overrides
BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest, CallSettings)
Archives a list of NativeStyle objects.
Declaration
public override BatchArchiveNativeStylesResponse BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveNativeStylesRequest | 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 |
|---|---|
| BatchArchiveNativeStylesResponse | The RPC response. |
Overrides
BatchArchiveNativeStylesAsync(BatchArchiveNativeStylesRequest, CallSettings)
Archives a list of NativeStyle objects.
Declaration
public override Task<BatchArchiveNativeStylesResponse> BatchArchiveNativeStylesAsync(BatchArchiveNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveNativeStylesRequest | 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<BatchArchiveNativeStylesResponse> | A Task containing the RPC response. |
Overrides
BatchCreateNativeStyles(BatchCreateNativeStylesRequest, CallSettings)
Creates NativeStyle objects.
Declaration
public override BatchCreateNativeStylesResponse BatchCreateNativeStyles(BatchCreateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateNativeStylesRequest | 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 |
|---|---|
| BatchCreateNativeStylesResponse | The RPC response. |
Overrides
BatchCreateNativeStylesAsync(BatchCreateNativeStylesRequest, CallSettings)
Creates NativeStyle objects.
Declaration
public override Task<BatchCreateNativeStylesResponse> BatchCreateNativeStylesAsync(BatchCreateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateNativeStylesRequest | 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<BatchCreateNativeStylesResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest, CallSettings)
Deactivates a list of NativeStyle objects.
Declaration
public override BatchDeactivateNativeStylesResponse BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateNativeStylesRequest | 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 |
|---|---|
| BatchDeactivateNativeStylesResponse | The RPC response. |
Overrides
BatchDeactivateNativeStylesAsync(BatchDeactivateNativeStylesRequest, CallSettings)
Deactivates a list of NativeStyle objects.
Declaration
public override Task<BatchDeactivateNativeStylesResponse> BatchDeactivateNativeStylesAsync(BatchDeactivateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateNativeStylesRequest | 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<BatchDeactivateNativeStylesResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest, CallSettings)
Batch updates NativeStyle objects.
Declaration
public override BatchUpdateNativeStylesResponse BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateNativeStylesRequest | 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 |
|---|---|
| BatchUpdateNativeStylesResponse | The RPC response. |
Overrides
BatchUpdateNativeStylesAsync(BatchUpdateNativeStylesRequest, CallSettings)
Batch updates NativeStyle objects.
Declaration
public override Task<BatchUpdateNativeStylesResponse> BatchUpdateNativeStylesAsync(BatchUpdateNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateNativeStylesRequest | 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<BatchUpdateNativeStylesResponse> | A Task containing the RPC response. |
Overrides
GetNativeStyle(GetNativeStyleRequest, CallSettings)
Retrieves a NativeStyle object.
Declaration
public override NativeStyle GetNativeStyle(GetNativeStyleRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetNativeStyleRequest | 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 |
|---|---|
| NativeStyle | The RPC response. |
Overrides
GetNativeStyleAsync(GetNativeStyleRequest, CallSettings)
Retrieves a NativeStyle object.
Declaration
public override Task<NativeStyle> GetNativeStyleAsync(GetNativeStyleRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetNativeStyleRequest | 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<NativeStyle> | A Task containing the RPC response. |
Overrides
ListNativeStyles(ListNativeStylesRequest, CallSettings)
Lists NativeStyle objects.
Declaration
public override PagedEnumerable<ListNativeStylesResponse, NativeStyle> ListNativeStyles(ListNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListNativeStylesRequest | 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<ListNativeStylesResponse, NativeStyle> | A pageable sequence of NativeStyle resources. |
Overrides
ListNativeStylesAsync(ListNativeStylesRequest, CallSettings)
Lists NativeStyle objects.
Declaration
public override PagedAsyncEnumerable<ListNativeStylesResponse, NativeStyle> ListNativeStylesAsync(ListNativeStylesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListNativeStylesRequest | 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<ListNativeStylesResponse, NativeStyle> | A pageable asynchronous sequence of NativeStyle resources. |