Show / Hide Table of Contents

Class ConversionSourcesService.ConversionSourcesServiceClient

Client for ConversionSourcesService

Inheritance
object
ClientBase
ClientBase<ConversionSourcesService.ConversionSourcesServiceClient>
ConversionSourcesService.ConversionSourcesServiceClient
Inherited Members
ClientBase<ConversionSourcesService.ConversionSourcesServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Conversions.V1Beta
Assembly: Google.Shopping.Merchant.Conversions.V1Beta.dll
Syntax
public class ConversionSourcesService.ConversionSourcesServiceClient : ClientBase<ConversionSourcesService.ConversionSourcesServiceClient>

Constructors

ConversionSourcesServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ConversionSourcesServiceClient()

ConversionSourcesServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

ConversionSourcesServiceClient(ChannelBase)

Creates a new client for ConversionSourcesService

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

The channel to use to make remote calls.

ConversionSourcesServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

CreateConversionSource(CreateConversionSourceRequest, CallOptions)

Creates a new conversion source.

Declaration
public virtual ConversionSource CreateConversionSource(CreateConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
CreateConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ConversionSource

The response received from the server.

CreateConversionSource(CreateConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Creates a new conversion source.

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

The response received from the server.

CreateConversionSourceAsync(CreateConversionSourceRequest, CallOptions)

Creates a new conversion source.

Declaration
public virtual AsyncUnaryCall<ConversionSource> CreateConversionSourceAsync(CreateConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
CreateConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ConversionSource>

The call object.

CreateConversionSourceAsync(CreateConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Creates a new conversion source.

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

The call object.

DeleteConversionSource(DeleteConversionSourceRequest, CallOptions)

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 virtual Empty DeleteConversionSource(DeleteConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
DeleteConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteConversionSource(DeleteConversionSourceRequest, Metadata, DateTime?, CancellationToken)

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 virtual Empty DeleteConversionSource(DeleteConversionSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteConversionSourceRequest 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
Empty

The response received from the server.

DeleteConversionSourceAsync(DeleteConversionSourceRequest, CallOptions)

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 virtual AsyncUnaryCall<Empty> DeleteConversionSourceAsync(DeleteConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
DeleteConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeleteConversionSourceAsync(DeleteConversionSourceRequest, Metadata, DateTime?, CancellationToken)

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 virtual AsyncUnaryCall<Empty> DeleteConversionSourceAsync(DeleteConversionSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteConversionSourceRequest 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<Empty>

The call object.

GetConversionSource(GetConversionSourceRequest, CallOptions)

Fetches a conversion source.

Declaration
public virtual ConversionSource GetConversionSource(GetConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
GetConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ConversionSource

The response received from the server.

GetConversionSource(GetConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Fetches a conversion source.

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

The response received from the server.

GetConversionSourceAsync(GetConversionSourceRequest, CallOptions)

Fetches a conversion source.

Declaration
public virtual AsyncUnaryCall<ConversionSource> GetConversionSourceAsync(GetConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
GetConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ConversionSource>

The call object.

GetConversionSourceAsync(GetConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Fetches a conversion source.

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

The call object.

ListConversionSources(ListConversionSourcesRequest, CallOptions)

Retrieves the list of conversion sources the caller has access to.

Declaration
public virtual ListConversionSourcesResponse ListConversionSources(ListConversionSourcesRequest request, CallOptions options)
Parameters
Type Name Description
ListConversionSourcesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListConversionSourcesResponse

The response received from the server.

ListConversionSources(ListConversionSourcesRequest, Metadata, DateTime?, CancellationToken)

Retrieves the list of conversion sources the caller has access to.

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

The response received from the server.

ListConversionSourcesAsync(ListConversionSourcesRequest, CallOptions)

Retrieves the list of conversion sources the caller has access to.

Declaration
public virtual AsyncUnaryCall<ListConversionSourcesResponse> ListConversionSourcesAsync(ListConversionSourcesRequest request, CallOptions options)
Parameters
Type Name Description
ListConversionSourcesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListConversionSourcesResponse>

The call object.

ListConversionSourcesAsync(ListConversionSourcesRequest, Metadata, DateTime?, CancellationToken)

Retrieves the list of conversion sources the caller has access to.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ConversionSourcesService.ConversionSourcesServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ConversionSourcesService.ConversionSourcesServiceClient
Overrides
ClientBase<ConversionSourcesService.ConversionSourcesServiceClient>.NewInstance(ClientBase.ClientBaseConfiguration)

UndeleteConversionSource(UndeleteConversionSourceRequest, CallOptions)

Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.

Declaration
public virtual ConversionSource UndeleteConversionSource(UndeleteConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
UndeleteConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ConversionSource

The response received from the server.

UndeleteConversionSource(UndeleteConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.

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

The response received from the server.

UndeleteConversionSourceAsync(UndeleteConversionSourceRequest, CallOptions)

Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.

Declaration
public virtual AsyncUnaryCall<ConversionSource> UndeleteConversionSourceAsync(UndeleteConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
UndeleteConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ConversionSource>

The call object.

UndeleteConversionSourceAsync(UndeleteConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.

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

The call object.

UpdateConversionSource(UpdateConversionSourceRequest, CallOptions)

Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.

Declaration
public virtual ConversionSource UpdateConversionSource(UpdateConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
UpdateConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ConversionSource

The response received from the server.

UpdateConversionSource(UpdateConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.

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

The response received from the server.

UpdateConversionSourceAsync(UpdateConversionSourceRequest, CallOptions)

Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.

Declaration
public virtual AsyncUnaryCall<ConversionSource> UpdateConversionSourceAsync(UpdateConversionSourceRequest request, CallOptions options)
Parameters
Type Name Description
UpdateConversionSourceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ConversionSource>

The call object.

UpdateConversionSourceAsync(UpdateConversionSourceRequest, Metadata, DateTime?, CancellationToken)

Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.

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

The call object.

In this article
Back to top Generated by DocFX