Skip to content

Commit 877dc34

Browse files
lewzylulewzylu
andauthored
update to 2.1.2 (#174)
* update to 2.1.2 * update service Co-authored-by: lewzylu <[email protected]>
1 parent 3b71ec4 commit 877dc34

File tree

3 files changed

+96
-1
lines changed

3 files changed

+96
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
cos-php-sdk-v5 Upgrade Guide
22
====================
3+
2.1.1 to 2.1.2
4+
----------
5+
- The interface supports custom parameters
6+
- Fix `ListBucketInventoryConfigurations`
37

48
2.1.0 to 2.1.1
59
----------

src/Qcloud/Cos/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
* @method object SelectObjectContent (array $arg)
7676
*/
7777
class Client extends GuzzleClient {
78-
const VERSION = '2.1.1';
78+
const VERSION = '2.1.2';
7979

8080
public $httpClient;
8181

src/Qcloud/Cos/Service.php

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4744,6 +4744,97 @@ public static function getService() {
47444744
),
47454745
),
47464746
),
4747+
'ListBucketInventoryConfigurationsOutput' => array(
4748+
'type' => 'object',
4749+
'additionalProperties' => true,
4750+
'properties' => array(
4751+
'InventoryConfiguration' => array(
4752+
'type' => 'array',
4753+
'location' => 'xml',
4754+
'sentAs' => 'InventoryConfiguration',
4755+
'items' => array(
4756+
'type' => 'object',
4757+
'properties' => array(
4758+
'Destination' => array(
4759+
'type' => 'object',
4760+
'location' => 'xml',
4761+
'properties' => array(
4762+
'COSBucketDestination' => array(
4763+
'type' => 'object',
4764+
'properties' => array(
4765+
'Format' => array(
4766+
'type' => 'string',
4767+
),
4768+
'AccountId' => array(
4769+
'type' => 'string',
4770+
),
4771+
'Bucket' => array(
4772+
'type' => 'string',
4773+
),
4774+
'Prefix' => array(
4775+
'type' => 'string',
4776+
),
4777+
'Encryption' => array(
4778+
'type' => 'object',
4779+
'properties' => array(
4780+
'SSE-COS' => array(
4781+
'type' => 'string',
4782+
)
4783+
)
4784+
),
4785+
4786+
),
4787+
),
4788+
),
4789+
),
4790+
'Schedule' => array(
4791+
'type' => 'object',
4792+
'location' => 'xml',
4793+
'properties' => array(
4794+
'Frequency' => array(
4795+
'type' => 'string',
4796+
),
4797+
),
4798+
),
4799+
'OptionalFields' => array(
4800+
'type' => 'array',
4801+
'location' => 'xml',
4802+
'properties' => array(
4803+
'Key' => array(
4804+
'type' => 'string',
4805+
),
4806+
),
4807+
),
4808+
'OptionalFields' => array(
4809+
'type' => 'array',
4810+
'location' => 'xml',
4811+
'items' => array(
4812+
'name' => 'Field',
4813+
'type' => 'string',
4814+
'sentAs' => 'Field',
4815+
),
4816+
),
4817+
'IsEnabled' => array(
4818+
'type' => 'string',
4819+
'location' => 'xml',
4820+
),
4821+
'Id' => array(
4822+
'type' => 'string',
4823+
'location' => 'xml',
4824+
),
4825+
'IncludedObjectVersions' => array(
4826+
'type' => 'string',
4827+
'location' => 'xml',
4828+
),
4829+
'RequestId' => array(
4830+
'location' => 'header',
4831+
'sentAs' => 'x-cos-request-id',
4832+
),
4833+
),
4834+
),
4835+
),
4836+
),
4837+
),
47474838
'HeadObjectOutput' => array(
47484839
'type' => 'object',
47494840
'additionalProperties' => true,

0 commit comments

Comments
 (0)