Skip to content

Commit

Permalink
update Service (tencentyun#169)
Browse files Browse the repository at this point in the history
Co-authored-by: lewzylu <[email protected]>
  • Loading branch information
lewzylu and lewzylu authored Nov 16, 2020
1 parent 188737a commit f1f3eac
Showing 1 changed file with 89 additions and 1 deletion.
90 changes: 89 additions & 1 deletion src/Qcloud/Cos/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -2787,6 +2787,59 @@ public static function getService() {
),
),
),
// 存储桶(Bucket)开启智能分层
'PutBucketIntelligentTiering' => array(
'httpMethod' => 'PUT',
'uri' => '/{Bucket}?intelligenttiering',
'class' => 'Qcloud\\Cos\\Command',
'responseClass' => 'PutBucketIntelligentTieringOutput',
'responseType' => 'model',
'data' => array(
'xmlRoot' => array(
'name' => 'IntelligentTieringConfiguration',
),
),
'parameters' => array(
'Bucket' => array(
'required' => true,
'type' => 'string',
'location' => 'uri',
),
'Status' => array(
'type' => 'string',
'location' => 'xml',
),
'Transition' => array(
'location' => 'xml',
'type' => 'object',
'properties' => array(
'Days' => array(
'type' => 'integer',
'location' => 'xml',
),
'RequestFrequent' => array(
'type' => 'integer',
'location' => 'xml',
),
)
),
),
),
// 查询存储桶(Bucket)智能分层
'GetBucketIntelligentTiering' => array(
'httpMethod' => 'GET',
'uri' => '/{Bucket}?intelligenttiering',
'class' => 'Qcloud\\Cos\\Command',
'responseClass' => 'GetBucketIntelligentTieringOutput',
'responseType' => 'model',
'parameters' => array(
'Bucket' => array(
'required' => true,
'type' => 'string',
'location' => 'uri',
),
),
),
),
'models' => array(
'AbortMultipartUploadOutput' => array(
Expand Down Expand Up @@ -4825,7 +4878,6 @@ public static function getService() {
),
),
),

'SelectObjectContentOutput' => array(
'type' => 'object',
'additionalProperties' => true,
Expand All @@ -4837,6 +4889,42 @@ public static function getService() {
),
),
),
'GetBucketIntelligentTieringOutput' => array(
'type' => 'object',
'additionalProperties' => true,
'properties' => array(
'Status' => array(
'type' => 'string',
'location' => 'xml',
),
'Transition' => array(
'type' => 'object',
'location' => 'xml',
'properties' => array(
'Days' => array(
'type' => 'string',
),
'RequestFrequent' => array(
'type' => 'string',
),
)
),
'RequestId' => array(
'location' => 'header',
'sentAs' => 'x-cos-request-id',
),
),
),
'PutBucketIntelligentTieringOutput' => array(
'type' => 'object',
'additionalProperties' => true,
'properties' => array(
'RequestId' => array(
'location' => 'header',
'sentAs' => 'x-cos-request-id',
),
),
),
)
);
}
Expand Down

0 comments on commit f1f3eac

Please sign in to comment.