Show / Hide Table of Contents

Class AccountLabelsServiceClientImpl

AccountLabelsService client wrapper implementation, for convenient use.

Inheritance
object
AccountLabelsServiceClient
AccountLabelsServiceClientImpl
Inherited Members
AccountLabelsServiceClient.DefaultEndpoint
AccountLabelsServiceClient.DefaultScopes
AccountLabelsServiceClient.ServiceMetadata
AccountLabelsServiceClient.CreateAsync(CancellationToken)
AccountLabelsServiceClient.Create()
AccountLabelsServiceClient.ShutdownDefaultChannelsAsync()
AccountLabelsServiceClient.ListAccountLabels(string, string, int?, CallSettings)
AccountLabelsServiceClient.ListAccountLabelsAsync(string, string, int?, CallSettings)
AccountLabelsServiceClient.ListAccountLabels(AccountName, string, int?, CallSettings)
AccountLabelsServiceClient.ListAccountLabelsAsync(AccountName, string, int?, CallSettings)
AccountLabelsServiceClient.CreateAccountLabelAsync(CreateAccountLabelRequest, CancellationToken)
AccountLabelsServiceClient.CreateAccountLabel(string, AccountLabel, CallSettings)
AccountLabelsServiceClient.CreateAccountLabelAsync(string, AccountLabel, CallSettings)
AccountLabelsServiceClient.CreateAccountLabelAsync(string, AccountLabel, CancellationToken)
AccountLabelsServiceClient.CreateAccountLabel(AccountName, AccountLabel, CallSettings)
AccountLabelsServiceClient.CreateAccountLabelAsync(AccountName, AccountLabel, CallSettings)
AccountLabelsServiceClient.CreateAccountLabelAsync(AccountName, AccountLabel, CancellationToken)
AccountLabelsServiceClient.UpdateAccountLabelAsync(UpdateAccountLabelRequest, CancellationToken)
AccountLabelsServiceClient.UpdateAccountLabel(AccountLabel, CallSettings)
AccountLabelsServiceClient.UpdateAccountLabelAsync(AccountLabel, CallSettings)
AccountLabelsServiceClient.UpdateAccountLabelAsync(AccountLabel, CancellationToken)
AccountLabelsServiceClient.DeleteAccountLabelAsync(DeleteAccountLabelRequest, CancellationToken)
AccountLabelsServiceClient.DeleteAccountLabel(string, CallSettings)
AccountLabelsServiceClient.DeleteAccountLabelAsync(string, CallSettings)
AccountLabelsServiceClient.DeleteAccountLabelAsync(string, CancellationToken)
AccountLabelsServiceClient.DeleteAccountLabel(AccountLabelName, CallSettings)
AccountLabelsServiceClient.DeleteAccountLabelAsync(AccountLabelName, CallSettings)
AccountLabelsServiceClient.DeleteAccountLabelAsync(AccountLabelName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class AccountLabelsServiceClientImpl : AccountLabelsServiceClient
Remarks

Manages Merchant Center and CSS accounts labels.

Constructors

AccountLabelsServiceClientImpl(AccountLabelsServiceClient, AccountLabelsServiceSettings, ILogger)

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

Declaration
public AccountLabelsServiceClientImpl(AccountLabelsService.AccountLabelsServiceClient grpcClient, AccountLabelsServiceSettings settings, ILogger logger)
Parameters
Type Name Description
AccountLabelsService.AccountLabelsServiceClient grpcClient

The underlying gRPC client.

AccountLabelsServiceSettings settings

The base AccountLabelsServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC AccountLabelsService client

Declaration
public override AccountLabelsService.AccountLabelsServiceClient GrpcClient { get; }
Property Value
Type Description
AccountLabelsService.AccountLabelsServiceClient
Overrides
AccountLabelsServiceClient.GrpcClient

Methods

CreateAccountLabel(CreateAccountLabelRequest, CallSettings)

Creates a new label, not assigned to any account.

Declaration
public override AccountLabel CreateAccountLabel(CreateAccountLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateAccountLabelRequest 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
AccountLabel

The RPC response.

Overrides
AccountLabelsServiceClient.CreateAccountLabel(CreateAccountLabelRequest, CallSettings)

CreateAccountLabelAsync(CreateAccountLabelRequest, CallSettings)

Creates a new label, not assigned to any account.

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

A Task containing the RPC response.

Overrides
AccountLabelsServiceClient.CreateAccountLabelAsync(CreateAccountLabelRequest, CallSettings)

DeleteAccountLabel(DeleteAccountLabelRequest, CallSettings)

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

Declaration
public override void DeleteAccountLabel(DeleteAccountLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteAccountLabelRequest 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
AccountLabelsServiceClient.DeleteAccountLabel(DeleteAccountLabelRequest, CallSettings)

DeleteAccountLabelAsync(DeleteAccountLabelRequest, CallSettings)

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

Declaration
public override Task DeleteAccountLabelAsync(DeleteAccountLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteAccountLabelRequest 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
AccountLabelsServiceClient.DeleteAccountLabelAsync(DeleteAccountLabelRequest, CallSettings)

ListAccountLabels(ListAccountLabelsRequest, CallSettings)

Lists the labels owned by an account.

Declaration
public override PagedEnumerable<ListAccountLabelsResponse, AccountLabel> ListAccountLabels(ListAccountLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAccountLabelsRequest 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
PagedEnumerable<ListAccountLabelsResponse, AccountLabel>

A pageable sequence of AccountLabel resources.

Overrides
AccountLabelsServiceClient.ListAccountLabels(ListAccountLabelsRequest, CallSettings)

ListAccountLabelsAsync(ListAccountLabelsRequest, CallSettings)

Lists the labels owned by an account.

Declaration
public override PagedAsyncEnumerable<ListAccountLabelsResponse, AccountLabel> ListAccountLabelsAsync(ListAccountLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAccountLabelsRequest 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
PagedAsyncEnumerable<ListAccountLabelsResponse, AccountLabel>

A pageable asynchronous sequence of AccountLabel resources.

Overrides
AccountLabelsServiceClient.ListAccountLabelsAsync(ListAccountLabelsRequest, CallSettings)

UpdateAccountLabel(UpdateAccountLabelRequest, CallSettings)

Updates a label.

Declaration
public override AccountLabel UpdateAccountLabel(UpdateAccountLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAccountLabelRequest 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
AccountLabel

The RPC response.

Overrides
AccountLabelsServiceClient.UpdateAccountLabel(UpdateAccountLabelRequest, CallSettings)

UpdateAccountLabelAsync(UpdateAccountLabelRequest, CallSettings)

Updates a label.

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

A Task containing the RPC response.

Overrides
AccountLabelsServiceClient.UpdateAccountLabelAsync(UpdateAccountLabelRequest, CallSettings)
In this article
Back to top Generated by DocFX