Send feedback
Google Cloud Storage v1 API - Class StorageClientBuilder (4.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.6.0 keyboard_arrow_down
public sealed class StorageClientBuilder : ClientBuilderBase<StorageClient>
Reference documentation and code samples for the Google Cloud Storage v1 API class StorageClientBuilder.
A builder for StorageClient , allowing simple client customization.
Namespace
Google.Cloud.Storage.V1
Assembly
Google.Cloud.Storage.V1.dll
Constructors
StorageClientBuilder()
public StorageClientBuilder()
Creates a new builder with default settings.
Properties
EncryptionKey
public EncryptionKey EncryptionKey { get; set; }
The customer-supplied encryption key used by default for all relevant object-based operations.
UnauthenticatedAccess
public bool UnauthenticatedAccess { get; set; }
If set to true, no credentials are created when the client is built.
Property Value Type Description bool
Methods
Build()
public override StorageClient Build()
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.Storage.V1.StorageClient>.Build()
BuildAsync(CancellationToken)
public override Task<StorageClient> BuildAsync(CancellationToken cancellationToken = default)
Overrides
CreateServiceInitializer()
protected override BaseClientService.Initializer CreateServiceInitializer()
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.Storage.V1.StorageClient>.CreateServiceInitializer()
CreateServiceInitializerAsync(CancellationToken)
protected override Task<BaseClientService.Initializer> CreateServiceInitializerAsync(CancellationToken cancellationToken)
Overrides
GetDefaultApplicationName()
protected override string GetDefaultApplicationName()
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.Storage.V1.StorageClient>.GetDefaultApplicationName()
GetHttpClientInitializer()
protected override IConfigurableHttpClientInitializer GetHttpClientInitializer()
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.Storage.V1.StorageClient>.GetHttpClientInitializer()
GetHttpClientInitializerAsync(CancellationToken)
protected override Task<IConfigurableHttpClientInitializer> GetHttpClientInitializerAsync(CancellationToken cancellationToken)
Overrides
GetScopedCredentialProvider()
protected override ScopedCredentialProvider GetScopedCredentialProvider()
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.Storage.V1.StorageClient>.GetScopedCredentialProvider()
Validate()
protected override void Validate()
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.Storage.V1.StorageClient>.Validate()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]