Class AutofeedSettingsService.AutofeedSettingsServiceClient
Client for AutofeedSettingsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public class AutofeedSettingsService.AutofeedSettingsServiceClient : ClientBase<AutofeedSettingsService.AutofeedSettingsServiceClient>
Constructors
AutofeedSettingsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected AutofeedSettingsServiceClient()
AutofeedSettingsServiceClient(CallInvoker)
Creates a new client for AutofeedSettingsService that uses a custom CallInvoker
.
Declaration
public AutofeedSettingsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
AutofeedSettingsServiceClient(ChannelBase)
Creates a new client for AutofeedSettingsService
Declaration
public AutofeedSettingsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
AutofeedSettingsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected AutofeedSettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetAutofeedSettings(GetAutofeedSettingsRequest, CallOptions)
Retrieves the autofeed settings of an account.
Declaration
public virtual AutofeedSettings GetAutofeedSettings(GetAutofeedSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetAutofeedSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AutofeedSettings | The response received from the server. |
GetAutofeedSettings(GetAutofeedSettingsRequest, Metadata, DateTime?, CancellationToken)
Retrieves the autofeed settings of an account.
Declaration
public virtual AutofeedSettings GetAutofeedSettings(GetAutofeedSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetAutofeedSettingsRequest | 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 |
---|---|
AutofeedSettings | The response received from the server. |
GetAutofeedSettingsAsync(GetAutofeedSettingsRequest, CallOptions)
Retrieves the autofeed settings of an account.
Declaration
public virtual AsyncUnaryCall<AutofeedSettings> GetAutofeedSettingsAsync(GetAutofeedSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetAutofeedSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<AutofeedSettings> | The call object. |
GetAutofeedSettingsAsync(GetAutofeedSettingsRequest, Metadata, DateTime?, CancellationToken)
Retrieves the autofeed settings of an account.
Declaration
public virtual AsyncUnaryCall<AutofeedSettings> GetAutofeedSettingsAsync(GetAutofeedSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetAutofeedSettingsRequest | 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<AutofeedSettings> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override AutofeedSettingsService.AutofeedSettingsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
AutofeedSettingsService.AutofeedSettingsServiceClient |
Overrides
UpdateAutofeedSettings(UpdateAutofeedSettingsRequest, CallOptions)
Updates the autofeed settings of an account.
Declaration
public virtual AutofeedSettings UpdateAutofeedSettings(UpdateAutofeedSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutofeedSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AutofeedSettings | The response received from the server. |
UpdateAutofeedSettings(UpdateAutofeedSettingsRequest, Metadata, DateTime?, CancellationToken)
Updates the autofeed settings of an account.
Declaration
public virtual AutofeedSettings UpdateAutofeedSettings(UpdateAutofeedSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutofeedSettingsRequest | 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 |
---|---|
AutofeedSettings | The response received from the server. |
UpdateAutofeedSettingsAsync(UpdateAutofeedSettingsRequest, CallOptions)
Updates the autofeed settings of an account.
Declaration
public virtual AsyncUnaryCall<AutofeedSettings> UpdateAutofeedSettingsAsync(UpdateAutofeedSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutofeedSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<AutofeedSettings> | The call object. |
UpdateAutofeedSettingsAsync(UpdateAutofeedSettingsRequest, Metadata, DateTime?, CancellationToken)
Updates the autofeed settings of an account.
Declaration
public virtual AsyncUnaryCall<AutofeedSettings> UpdateAutofeedSettingsAsync(UpdateAutofeedSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutofeedSettingsRequest | 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<AutofeedSettings> | The call object. |