Show / Hide Table of Contents

Class AccountLabelsService.AccountLabelsServiceBase

Base class for server-side implementations of AccountLabelsService

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

Methods

CreateAccountLabel(CreateAccountLabelRequest, ServerCallContext)

Creates a new label, not assigned to any account.

Declaration
public virtual Task<AccountLabel> CreateAccountLabel(CreateAccountLabelRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateAccountLabelRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<AccountLabel>

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

DeleteAccountLabel(DeleteAccountLabelRequest, ServerCallContext)

Deletes a label and removes it from all accounts to which it was assigned.

Declaration
public virtual Task<Empty> DeleteAccountLabel(DeleteAccountLabelRequest request, ServerCallContext context)
Parameters
Type Name Description
DeleteAccountLabelRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<Empty>

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

ListAccountLabels(ListAccountLabelsRequest, ServerCallContext)

Lists the labels owned by an account.

Declaration
public virtual Task<ListAccountLabelsResponse> ListAccountLabels(ListAccountLabelsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListAccountLabelsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<ListAccountLabelsResponse>

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

UpdateAccountLabel(UpdateAccountLabelRequest, ServerCallContext)

Updates a label.

Declaration
public virtual Task<AccountLabel> UpdateAccountLabel(UpdateAccountLabelRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateAccountLabelRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<AccountLabel>

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

In this article
Back to top Generated by DocFX