Class ConversionSourcesServiceClientImpl
ConversionSourcesService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Conversions.V1Beta
Assembly: Google.Shopping.Merchant.Conversions.V1Beta.dll
Syntax
public sealed class ConversionSourcesServiceClientImpl : ConversionSourcesServiceClient
Remarks
Service for managing conversion sources for a merchant account.
Constructors
ConversionSourcesServiceClientImpl(ConversionSourcesServiceClient, ConversionSourcesServiceSettings, ILogger)
Constructs a client wrapper for the ConversionSourcesService service, with the specified gRPC client and settings.
Declaration
public ConversionSourcesServiceClientImpl(ConversionSourcesService.ConversionSourcesServiceClient grpcClient, ConversionSourcesServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ConversionSourcesService.ConversionSourcesServiceClient | grpcClient | The underlying gRPC client. |
ConversionSourcesServiceSettings | settings | The base ConversionSourcesServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ConversionSourcesService client
Declaration
public override ConversionSourcesService.ConversionSourcesServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
ConversionSourcesService.ConversionSourcesServiceClient |
Overrides
Methods
CreateConversionSource(CreateConversionSourceRequest, CallSettings)
Creates a new conversion source.
Declaration
public override ConversionSource CreateConversionSource(CreateConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateConversionSourceRequest | 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 |
---|---|
ConversionSource | The RPC response. |
Overrides
CreateConversionSourceAsync(CreateConversionSourceRequest, CallSettings)
Creates a new conversion source.
Declaration
public override Task<ConversionSource> CreateConversionSourceAsync(CreateConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateConversionSourceRequest | 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<ConversionSource> | A Task containing the RPC response. |
Overrides
DeleteConversionSource(DeleteConversionSourceRequest, CallSettings)
Archives an existing conversion source. If the conversion source is a Merchant Center Destination, it will be recoverable for 30 days. If the conversion source is a Google Analytics Link, it will be deleted immediately and can be restored by creating a new one.
Declaration
public override void DeleteConversionSource(DeleteConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteConversionSourceRequest | 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
DeleteConversionSourceAsync(DeleteConversionSourceRequest, CallSettings)
Archives an existing conversion source. If the conversion source is a Merchant Center Destination, it will be recoverable for 30 days. If the conversion source is a Google Analytics Link, it will be deleted immediately and can be restored by creating a new one.
Declaration
public override Task DeleteConversionSourceAsync(DeleteConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteConversionSourceRequest | 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
GetConversionSource(GetConversionSourceRequest, CallSettings)
Fetches a conversion source.
Declaration
public override ConversionSource GetConversionSource(GetConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetConversionSourceRequest | 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 |
---|---|
ConversionSource | The RPC response. |
Overrides
GetConversionSourceAsync(GetConversionSourceRequest, CallSettings)
Fetches a conversion source.
Declaration
public override Task<ConversionSource> GetConversionSourceAsync(GetConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetConversionSourceRequest | 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<ConversionSource> | A Task containing the RPC response. |
Overrides
ListConversionSources(ListConversionSourcesRequest, CallSettings)
Retrieves the list of conversion sources the caller has access to.
Declaration
public override PagedEnumerable<ListConversionSourcesResponse, ConversionSource> ListConversionSources(ListConversionSourcesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListConversionSourcesRequest | 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<ListConversionSourcesResponse, ConversionSource> | A pageable sequence of ConversionSource resources. |
Overrides
ListConversionSourcesAsync(ListConversionSourcesRequest, CallSettings)
Retrieves the list of conversion sources the caller has access to.
Declaration
public override PagedAsyncEnumerable<ListConversionSourcesResponse, ConversionSource> ListConversionSourcesAsync(ListConversionSourcesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListConversionSourcesRequest | 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<ListConversionSourcesResponse, ConversionSource> | A pageable asynchronous sequence of ConversionSource resources. |
Overrides
UndeleteConversionSource(UndeleteConversionSourceRequest, CallSettings)
Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.
Declaration
public override ConversionSource UndeleteConversionSource(UndeleteConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UndeleteConversionSourceRequest | 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 |
---|---|
ConversionSource | The RPC response. |
Overrides
UndeleteConversionSourceAsync(UndeleteConversionSourceRequest, CallSettings)
Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.
Declaration
public override Task<ConversionSource> UndeleteConversionSourceAsync(UndeleteConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UndeleteConversionSourceRequest | 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<ConversionSource> | A Task containing the RPC response. |
Overrides
UpdateConversionSource(UpdateConversionSourceRequest, CallSettings)
Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.
Declaration
public override ConversionSource UpdateConversionSource(UpdateConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateConversionSourceRequest | 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 |
---|---|
ConversionSource | The RPC response. |
Overrides
UpdateConversionSourceAsync(UpdateConversionSourceRequest, CallSettings)
Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.
Declaration
public override Task<ConversionSource> UpdateConversionSourceAsync(UpdateConversionSourceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateConversionSourceRequest | 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<ConversionSource> | A Task containing the RPC response. |