Show / Hide Table of Contents

Class ProgramsService.ProgramsServiceBase

Base class for server-side implementations of ProgramsService

Inheritance
object
ProgramsService.ProgramsServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
[BindServiceMethod(typeof(ProgramsService), "BindService")]
public abstract class ProgramsService.ProgramsServiceBase

Methods

DisableProgram(DisableProgramRequest, ServerCallContext)

Disable participation in the specified program for the account.

Declaration
public virtual Task<Program> DisableProgram(DisableProgramRequest request, ServerCallContext context)
Parameters
Type Name Description
DisableProgramRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Program>

The response to send back to the client (wrapped by a task).

EnableProgram(EnableProgramRequest, ServerCallContext)

Enable participation in the specified program for the account.

Declaration
public virtual Task<Program> EnableProgram(EnableProgramRequest request, ServerCallContext context)
Parameters
Type Name Description
EnableProgramRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Program>

The response to send back to the client (wrapped by a task).

GetProgram(GetProgramRequest, ServerCallContext)

Retrieves the specified program for the account.

Declaration
public virtual Task<Program> GetProgram(GetProgramRequest request, ServerCallContext context)
Parameters
Type Name Description
GetProgramRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Program>

The response to send back to the client (wrapped by a task).

ListPrograms(ListProgramsRequest, ServerCallContext)

Retrieves all programs for the account.

Declaration
public virtual Task<ListProgramsResponse> ListPrograms(ListProgramsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListProgramsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ListProgramsResponse>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX