Show / Hide Table of Contents

Class DeveloperRegistrationServiceClientImpl

DeveloperRegistrationService client wrapper implementation, for convenient use.

Inheritance
object
DeveloperRegistrationServiceClient
DeveloperRegistrationServiceClientImpl
Inherited Members
DeveloperRegistrationServiceClient.DefaultEndpoint
DeveloperRegistrationServiceClient.DefaultScopes
DeveloperRegistrationServiceClient.ServiceMetadata
DeveloperRegistrationServiceClient.CreateAsync(CancellationToken)
DeveloperRegistrationServiceClient.Create()
DeveloperRegistrationServiceClient.ShutdownDefaultChannelsAsync()
DeveloperRegistrationServiceClient.RegisterGcpAsync(RegisterGcpRequest, CancellationToken)
DeveloperRegistrationServiceClient.GetDeveloperRegistrationAsync(GetDeveloperRegistrationRequest, CancellationToken)
DeveloperRegistrationServiceClient.GetDeveloperRegistration(string, CallSettings)
DeveloperRegistrationServiceClient.GetDeveloperRegistrationAsync(string, CallSettings)
DeveloperRegistrationServiceClient.GetDeveloperRegistrationAsync(string, CancellationToken)
DeveloperRegistrationServiceClient.GetDeveloperRegistration(DeveloperRegistrationName, CallSettings)
DeveloperRegistrationServiceClient.GetDeveloperRegistrationAsync(DeveloperRegistrationName, CallSettings)
DeveloperRegistrationServiceClient.GetDeveloperRegistrationAsync(DeveloperRegistrationName, CancellationToken)
DeveloperRegistrationServiceClient.UnregisterGcpAsync(UnregisterGcpRequest, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class DeveloperRegistrationServiceClientImpl : DeveloperRegistrationServiceClient
Remarks

Service to access Developer Registration.

Constructors

DeveloperRegistrationServiceClientImpl(DeveloperRegistrationServiceClient, DeveloperRegistrationServiceSettings, ILogger)

Constructs a client wrapper for the DeveloperRegistrationService service, with the specified gRPC client and settings.

Declaration
public DeveloperRegistrationServiceClientImpl(DeveloperRegistrationService.DeveloperRegistrationServiceClient grpcClient, DeveloperRegistrationServiceSettings settings, ILogger logger)
Parameters
Type Name Description
DeveloperRegistrationService.DeveloperRegistrationServiceClient grpcClient

The underlying gRPC client.

DeveloperRegistrationServiceSettings settings

The base DeveloperRegistrationServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC DeveloperRegistrationService client

Declaration
public override DeveloperRegistrationService.DeveloperRegistrationServiceClient GrpcClient { get; }
Property Value
Type Description
DeveloperRegistrationService.DeveloperRegistrationServiceClient
Overrides
DeveloperRegistrationServiceClient.GrpcClient

Methods

GetDeveloperRegistration(GetDeveloperRegistrationRequest, CallSettings)

Retrieves a developer registration for a merchant.

Declaration
public override DeveloperRegistration GetDeveloperRegistration(GetDeveloperRegistrationRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetDeveloperRegistrationRequest 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
DeveloperRegistration

The RPC response.

Overrides
DeveloperRegistrationServiceClient.GetDeveloperRegistration(GetDeveloperRegistrationRequest, CallSettings)

GetDeveloperRegistrationAsync(GetDeveloperRegistrationRequest, CallSettings)

Retrieves a developer registration for a merchant.

Declaration
public override Task<DeveloperRegistration> GetDeveloperRegistrationAsync(GetDeveloperRegistrationRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetDeveloperRegistrationRequest 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<DeveloperRegistration>

A Task containing the RPC response.

Overrides
DeveloperRegistrationServiceClient.GetDeveloperRegistrationAsync(GetDeveloperRegistrationRequest, CallSettings)

RegisterGcp(RegisterGcpRequest, CallSettings)

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 override DeveloperRegistration RegisterGcp(RegisterGcpRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RegisterGcpRequest 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
DeveloperRegistration

The RPC response.

Overrides
DeveloperRegistrationServiceClient.RegisterGcp(RegisterGcpRequest, CallSettings)

RegisterGcpAsync(RegisterGcpRequest, CallSettings)

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 override Task<DeveloperRegistration> RegisterGcpAsync(RegisterGcpRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RegisterGcpRequest 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<DeveloperRegistration>

A Task containing the RPC response.

Overrides
DeveloperRegistrationServiceClient.RegisterGcpAsync(RegisterGcpRequest, CallSettings)

UnregisterGcp(UnregisterGcpRequest, CallSettings)

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 override void UnregisterGcp(UnregisterGcpRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UnregisterGcpRequest 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
DeveloperRegistrationServiceClient.UnregisterGcp(UnregisterGcpRequest, CallSettings)

UnregisterGcpAsync(UnregisterGcpRequest, CallSettings)

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 override Task UnregisterGcpAsync(UnregisterGcpRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UnregisterGcpRequest 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
DeveloperRegistrationServiceClient.UnregisterGcpAsync(UnregisterGcpRequest, CallSettings)
In this article
Back to top Generated by DocFX