Show / Hide Table of Contents

Class DeveloperRegistrationService.DeveloperRegistrationServiceClient

Client for DeveloperRegistrationService

Inheritance
object
ClientBase
ClientBase<DeveloperRegistrationService.DeveloperRegistrationServiceClient>
DeveloperRegistrationService.DeveloperRegistrationServiceClient
Inherited Members
ClientBase<DeveloperRegistrationService.DeveloperRegistrationServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public class DeveloperRegistrationService.DeveloperRegistrationServiceClient : ClientBase<DeveloperRegistrationService.DeveloperRegistrationServiceClient>

Constructors

DeveloperRegistrationServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected DeveloperRegistrationServiceClient()

DeveloperRegistrationServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

DeveloperRegistrationServiceClient(ChannelBase)

Creates a new client for DeveloperRegistrationService

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

The channel to use to make remote calls.

DeveloperRegistrationServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetDeveloperRegistration(GetDeveloperRegistrationRequest, CallOptions)

Retrieves a developer registration for a merchant.

Declaration
public virtual DeveloperRegistration GetDeveloperRegistration(GetDeveloperRegistrationRequest request, CallOptions options)
Parameters
Type Name Description
GetDeveloperRegistrationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
DeveloperRegistration

The response received from the server.

GetDeveloperRegistration(GetDeveloperRegistrationRequest, Metadata, DateTime?, CancellationToken)

Retrieves a developer registration for a merchant.

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

The response received from the server.

GetDeveloperRegistrationAsync(GetDeveloperRegistrationRequest, CallOptions)

Retrieves a developer registration for a merchant.

Declaration
public virtual AsyncUnaryCall<DeveloperRegistration> GetDeveloperRegistrationAsync(GetDeveloperRegistrationRequest request, CallOptions options)
Parameters
Type Name Description
GetDeveloperRegistrationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<DeveloperRegistration>

The call object.

GetDeveloperRegistrationAsync(GetDeveloperRegistrationRequest, Metadata, DateTime?, CancellationToken)

Retrieves a developer registration for a merchant.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override DeveloperRegistrationService.DeveloperRegistrationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
DeveloperRegistrationService.DeveloperRegistrationServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.Accounts.V1.DeveloperRegistrationService.DeveloperRegistrationServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

RegisterGcp(RegisterGcpRequest, CallOptions)

Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.

Declaration
public virtual DeveloperRegistration RegisterGcp(RegisterGcpRequest request, CallOptions options)
Parameters
Type Name Description
RegisterGcpRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
DeveloperRegistration

The response received from the server.

RegisterGcp(RegisterGcpRequest, Metadata, DateTime?, CancellationToken)

Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.

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

The response received from the server.

RegisterGcpAsync(RegisterGcpRequest, CallOptions)

Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.

Declaration
public virtual AsyncUnaryCall<DeveloperRegistration> RegisterGcpAsync(RegisterGcpRequest request, CallOptions options)
Parameters
Type Name Description
RegisterGcpRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<DeveloperRegistration>

The call object.

RegisterGcpAsync(RegisterGcpRequest, Metadata, DateTime?, CancellationToken)

Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.

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

The call object.

UnregisterGcp(UnregisterGcpRequest, CallOptions)

Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.

Declaration
public virtual Empty UnregisterGcp(UnregisterGcpRequest request, CallOptions options)
Parameters
Type Name Description
UnregisterGcpRequest 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.

UnregisterGcp(UnregisterGcpRequest, Metadata, DateTime?, CancellationToken)

Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.

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

UnregisterGcpAsync(UnregisterGcpRequest, CallOptions)

Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.

Declaration
public virtual AsyncUnaryCall<Empty> UnregisterGcpAsync(UnregisterGcpRequest request, CallOptions options)
Parameters
Type Name Description
UnregisterGcpRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

UnregisterGcpAsync(UnregisterGcpRequest, Metadata, DateTime?, CancellationToken)

Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.

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

In this article
Back to top Generated by DocFX