Show / Hide Table of Contents

Class AssetServiceClientBuilder

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

Inheritance
System.Object
ClientBuilderBase<AssetServiceClient>
AssetServiceClientBuilder
Inherited Members
ClientBuilderBase<AssetServiceClient>.CopyCommonSettings<TOther>(ClientBuilderBase<TOther>)
ClientBuilderBase<AssetServiceClient>.Validate()
ClientBuilderBase<AssetServiceClient>.ValidateAtMostOneNotNull(String, Object[])
ClientBuilderBase<AssetServiceClient>.ValidateOptionExcludesOthers(String, Object, Object[])
ClientBuilderBase<AssetServiceClient>.CreateCallInvoker()
ClientBuilderBase<AssetServiceClient>.CreateCallInvokerAsync(CancellationToken)
ClientBuilderBase<AssetServiceClient>.GetChannelCredentials()
ClientBuilderBase<AssetServiceClient>.GetChannelCredentialsAsync(CancellationToken)
ClientBuilderBase<AssetServiceClient>.GetChannelOptions()
ClientBuilderBase<AssetServiceClient>.Endpoint
ClientBuilderBase<AssetServiceClient>.Scopes
ClientBuilderBase<AssetServiceClient>.ChannelCredentials
ClientBuilderBase<AssetServiceClient>.CredentialsPath
ClientBuilderBase<AssetServiceClient>.JsonCredentials
ClientBuilderBase<AssetServiceClient>.TokenAccessMethod
ClientBuilderBase<AssetServiceClient>.CallInvoker
ClientBuilderBase<AssetServiceClient>.UserAgent
ClientBuilderBase<AssetServiceClient>.CanUseChannelPool
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Asset.V1Beta1
Assembly: Google.Cloud.Asset.V1Beta1.dll
Syntax
public sealed class AssetServiceClientBuilder : ClientBuilderBase<AssetServiceClient>

Properties

Settings

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

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

Methods

Build()

Declaration
public override AssetServiceClient Build()
Returns
Type Description
AssetServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Asset.V1Beta1.AssetServiceClient>.Build()

BuildAsync(CancellationToken)

Declaration
public override Task<AssetServiceClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<AssetServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Asset.V1Beta1.AssetServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

Declaration
protected override ChannelPool GetChannelPool()
Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Asset.V1Beta1.AssetServiceClient>.GetChannelPool()

GetDefaultEndpoint()

Declaration
protected override ServiceEndpoint GetDefaultEndpoint()
Returns
Type Description
ServiceEndpoint
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Asset.V1Beta1.AssetServiceClient>.GetDefaultEndpoint()

GetDefaultScopes()

Declaration
protected override IReadOnlyList<string> GetDefaultScopes()
Returns
Type Description
System.Collections.Generic.IReadOnlyList<System.String>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Asset.V1Beta1.AssetServiceClient>.GetDefaultScopes()
Back to top