Show / Hide Table of Contents

Class HomepageServiceClientBuilder

Builder class for HomepageServiceClient to provide simple configuration of credentials, endpoint etc.

Inheritance
object
ClientBuilderBase<HomepageServiceClient>
HomepageServiceClientBuilder
Inherited Members
ClientBuilderBase<HomepageServiceClient>.Build(IServiceProvider)
ClientBuilderBase<HomepageServiceClient>.BuildAsync(IServiceProvider, CancellationToken)
ClientBuilderBase<HomepageServiceClient>.UniverseDomain
ClientBuilderBase<HomepageServiceClient>.Endpoint
ClientBuilderBase<HomepageServiceClient>.Logger
ClientBuilderBase<HomepageServiceClient>.Scopes
ClientBuilderBase<HomepageServiceClient>.ChannelCredentials
ClientBuilderBase<HomepageServiceClient>.CredentialsPath
ClientBuilderBase<HomepageServiceClient>.JsonCredentials
ClientBuilderBase<HomepageServiceClient>.GoogleCredential
ClientBuilderBase<HomepageServiceClient>.Credential
ClientBuilderBase<HomepageServiceClient>.TokenAccessMethod
ClientBuilderBase<HomepageServiceClient>.CallInvoker
ClientBuilderBase<HomepageServiceClient>.UserAgent
ClientBuilderBase<HomepageServiceClient>.GrpcAdapter
ClientBuilderBase<HomepageServiceClient>.ApiKey
ClientBuilderBase<HomepageServiceClient>.QuotaProject
ClientBuilderBase<HomepageServiceClient>.GrpcChannelOptions
ClientBuilderBase<HomepageServiceClient>.LastCreatedChannel
ClientBuilderBase<HomepageServiceClient>.UseJwtAccessWithScopes
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class HomepageServiceClientBuilder : ClientBuilderBase<HomepageServiceClient>

Constructors

HomepageServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public HomepageServiceClientBuilder()

Properties

Settings

The settings to use for RPCs, or null for the default settings.

Declaration
public HomepageServiceSettings Settings { get; set; }
Property Value
Type Description
HomepageServiceSettings

Methods

Build()

Builds the resulting client.

Declaration
public override HomepageServiceClient Build()
Returns
Type Description
HomepageServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Shopping.Merchant.Accounts.V1.HomepageServiceClient>.Build()

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

Declaration
public override Task<HomepageServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<HomepageServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Shopping.Merchant.Accounts.V1.HomepageServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

Returns the channel pool to use when no other options are specified.

Declaration
protected override ChannelPool GetChannelPool()
Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Shopping.Merchant.Accounts.V1.HomepageServiceClient>.GetChannelPool()
In this article
Back to top Generated by DocFX