/// <summary>Creates a new instance of <see cref="GoogleCloudStorageClient" /></summary> /// <param name="credentials">The credentials to use</param> /// <param name="region">The region you wish to use</param> /// <param name="proxy">A web proxy (optional)</param> public GoogleCloudStorageClient(IAccessKey credentials, GoogleCloudStorageRegion region, IWebProxy? proxy = null) : this(new GoogleCloudStorageConfig(credentials, region), proxy) { }
public GoogleCloudStorageConfig(IAccessKey credentials, GoogleCloudStorageRegion region) : this() { Credentials = credentials; Region = region; }
/// <summary>Creates a new instance of <see cref="GoogleCloudStorageClient" /></summary> /// <param name="keyId">The key id</param> /// <param name="accessKey">The secret access key</param> /// <param name="region">The region you wish to use</param> /// <param name="proxy">A web proxy (optional)</param> public GoogleCloudStorageClient(string keyId, string accessKey, GoogleCloudStorageRegion region, IWebProxy? proxy = null) : this(new GoogleCloudStorageConfig(new StringAccessKey(keyId, accessKey), region), proxy) { }
public GoogleCloudStorageConfig(string keyId, string secretKey, GoogleCloudStorageRegion region) : this(new StringAccessKey(keyId, secretKey), region) { }