ucloud-sdk-python3 0.11.152__py3-none-any.whl → 0.11.154__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ucloud/client.py CHANGED
@@ -502,6 +502,16 @@ class Client(client.Client):
502
502
  self.logger,
503
503
  )
504
504
 
505
+ def upgsql(self):
506
+ from ucloud.services.upgsql.client import UPgSQLClient
507
+
508
+ return UPgSQLClient(
509
+ self._auto_config("upgsql"),
510
+ self.transport,
511
+ self.middleware,
512
+ self.logger,
513
+ )
514
+
505
515
  def uphone(self):
506
516
  from ucloud.services.uphone.client import UPhoneClient
507
517
 
@@ -597,13 +607,3 @@ class Client(client.Client):
597
607
  package, self._config.get("user_agent") or ""
598
608
  )
599
609
  return dict(user_agent=user_agent.rstrip(), **self._config)
600
-
601
- def upgsql(self):
602
- from ucloud.services.upgsql.client import UPgSQLClient
603
-
604
- return UPgSQLClient(
605
- self._auto_config("upgsql"),
606
- self.transport,
607
- self.middleware,
608
- self.logger,
609
- )
@@ -486,6 +486,7 @@ class UFileClient(Client):
486
486
 
487
487
 
488
488
  **UFileBucketSet**
489
+ - **AcStorage** (int) - 归档存储量,单位Byte
489
490
  - **Biz** (str) - Bucket所属业务, general或vod或udb general: 普通业务; vod: 视频云业务; udb: 云数据库业务
490
491
  - **BucketId** (str) - Bucket的ID
491
492
  - **BucketName** (str) - Bucket名称
@@ -493,8 +494,10 @@ class UFileClient(Client):
493
494
  - **CreateTime** (int) - Bucket的创建时间
494
495
  - **Domain** (dict) - 见 **UFileDomainSet** 模型定义
495
496
  - **HasUserDomain** (int) - 是否存在自定义域名。0不存在,1存在,2错误
497
+ - **IaStorage** (int) - 低频存储量,单位Byte
496
498
  - **ModifyTime** (int) - Bucket的修改时间
497
499
  - **Region** (str) - Bucket所属地域
500
+ - **Storage** (int) - 标准存储量,单位Byte
498
501
  - **StorageClass** (str) - 默认存储类型
499
502
  - **Tag** (str) - 所属业务组
500
503
  - **Type** (str) - Bucket访问类型
@@ -36,6 +36,7 @@ class UFileBucketSetSchema(schema.ResponseSchema):
36
36
  """UFileBucketSet - DescribeBucket"""
37
37
 
38
38
  fields = {
39
+ "AcStorage": fields.Int(required=False, load_from="AcStorage"),
39
40
  "Biz": fields.Str(required=False, load_from="Biz"),
40
41
  "BucketId": fields.Str(required=False, load_from="BucketId"),
41
42
  "BucketName": fields.Str(required=False, load_from="BucketName"),
@@ -43,8 +44,10 @@ class UFileBucketSetSchema(schema.ResponseSchema):
43
44
  "CreateTime": fields.Int(required=False, load_from="CreateTime"),
44
45
  "Domain": UFileDomainSetSchema(),
45
46
  "HasUserDomain": fields.Int(required=False, load_from="HasUserDomain"),
47
+ "IaStorage": fields.Int(required=False, load_from="IaStorage"),
46
48
  "ModifyTime": fields.Int(required=False, load_from="ModifyTime"),
47
49
  "Region": fields.Str(required=False, load_from="Region"),
50
+ "Storage": fields.Int(required=False, load_from="Storage"),
48
51
  "StorageClass": fields.Str(required=False, load_from="StorageClass"),
49
52
  "Tag": fields.Str(required=False, load_from="Tag"),
50
53
  "Type": fields.Str(required=False, load_from="Type"),