예제 #1
0
 /// <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)
 {
 }
예제 #2
0
 public GoogleCloudStorageConfig(IAccessKey credentials, GoogleCloudStorageRegion region) : this()
 {
     Credentials = credentials;
     Region      = region;
 }
예제 #3
0
 /// <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)
 {
 }
예제 #4
0
 public GoogleCloudStorageConfig(string keyId, string secretKey, GoogleCloudStorageRegion region) : this(new StringAccessKey(keyId, secretKey), region)
 {
 }