Skip to content

Commit ecdea0c

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for organization-Python-2022-01-01-online-1744-2025_10_24_17_51_58
1 parent 4c665ef commit ecdea0c

14 files changed

+1253
-6
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "4.0.27",
3-
"meta_commit": "175ff7c62da1cff59d863f66a5d1aa09ab2abadc"
2+
"lasted": "4.0.28",
3+
"meta_commit": "d4564117dde1b7549fcadd70df094d42909eb673"
44
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "volcengine-python-sdk"
3-
version = "4.0.27"
3+
version = "4.0.28"
44
authors = [
55
{name = "volc-engine", email = "[email protected]"},
66
]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "4.0.27"
6+
VERSION = "4.0.28"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6464
self.default_headers[header_name] = header_value
6565
self.cookie = cookie
6666
# Set default User-Agent.
67-
self.user_agent = 'volcstack-python-sdk/4.0.27'
67+
self.user_agent = 'volcstack-python-sdk/4.0.28'
6868
self.client_side_validation = configuration.client_side_validation
6969

7070
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def to_debug_report(self):
272272
"OS: {env}\n" \
273273
"Python Version: {pyversion}\n" \
274274
"Version of the API: 0.1.0\n" \
275-
"SDK Package Version: 4.0.27".\
275+
"SDK Package Version: 4.0.28".\
276276
format(env=sys.platform, pyversion=sys.version)
277277

278278
@property

volcenginesdkorganization/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
from volcenginesdkorganization.models.enable_console_login_response import EnableConsoleLoginResponse
6868
from volcenginesdkorganization.models.enable_service_control_policy_request import EnableServiceControlPolicyRequest
6969
from volcenginesdkorganization.models.enable_service_control_policy_response import EnableServiceControlPolicyResponse
70+
from volcenginesdkorganization.models.filter_for_list_tags_keys_input import FilterForListTagsKeysInput
71+
from volcenginesdkorganization.models.filter_for_list_tags_values_input import FilterForListTagsValuesInput
7072
from volcenginesdkorganization.models.get_account_secure_contact_info_request import GetAccountSecureContactInfoRequest
7173
from volcenginesdkorganization.models.get_account_secure_contact_info_response import GetAccountSecureContactInfoResponse
7274
from volcenginesdkorganization.models.get_service_control_policy_enablement_request import GetServiceControlPolicyEnablementRequest
@@ -91,6 +93,10 @@
9193
from volcenginesdkorganization.models.list_service_control_policies_response import ListServiceControlPoliciesResponse
9294
from volcenginesdkorganization.models.list_tag_resources_request import ListTagResourcesRequest
9395
from volcenginesdkorganization.models.list_tag_resources_response import ListTagResourcesResponse
96+
from volcenginesdkorganization.models.list_tags_keys_request import ListTagsKeysRequest
97+
from volcenginesdkorganization.models.list_tags_keys_response import ListTagsKeysResponse
98+
from volcenginesdkorganization.models.list_tags_values_request import ListTagsValuesRequest
99+
from volcenginesdkorganization.models.list_tags_values_response import ListTagsValuesResponse
94100
from volcenginesdkorganization.models.list_targets_for_policy_request import ListTargetsForPolicyRequest
95101
from volcenginesdkorganization.models.list_targets_for_policy_response import ListTargetsForPolicyResponse
96102
from volcenginesdkorganization.models.move_account_request import MoveAccountRequest

volcenginesdkorganization/api/organization_api.py

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3331,6 +3331,200 @@ def list_tag_resources_with_http_info(self, body, **kwargs): # noqa: E501
33313331
_request_timeout=params.get('_request_timeout'),
33323332
collection_formats=collection_formats)
33333333

3334+
def list_tags_keys(self, body, **kwargs): # noqa: E501
3335+
"""list_tags_keys # noqa: E501
3336+
3337+
This method makes a synchronous HTTP request by default. To make an
3338+
asynchronous HTTP request, please pass async_req=True
3339+
>>> thread = api.list_tags_keys(body, async_req=True)
3340+
>>> result = thread.get()
3341+
3342+
:param async_req bool
3343+
:param ListTagsKeysRequest body: (required)
3344+
:return: ListTagsKeysResponse
3345+
If the method is called asynchronously,
3346+
returns the request thread.
3347+
"""
3348+
kwargs['_return_http_data_only'] = True
3349+
if kwargs.get('async_req'):
3350+
return self.list_tags_keys_with_http_info(body, **kwargs) # noqa: E501
3351+
else:
3352+
(data) = self.list_tags_keys_with_http_info(body, **kwargs) # noqa: E501
3353+
return data
3354+
3355+
def list_tags_keys_with_http_info(self, body, **kwargs): # noqa: E501
3356+
"""list_tags_keys # noqa: E501
3357+
3358+
This method makes a synchronous HTTP request by default. To make an
3359+
asynchronous HTTP request, please pass async_req=True
3360+
>>> thread = api.list_tags_keys_with_http_info(body, async_req=True)
3361+
>>> result = thread.get()
3362+
3363+
:param async_req bool
3364+
:param ListTagsKeysRequest body: (required)
3365+
:return: ListTagsKeysResponse
3366+
If the method is called asynchronously,
3367+
returns the request thread.
3368+
"""
3369+
3370+
all_params = ['body'] # noqa: E501
3371+
all_params.append('async_req')
3372+
all_params.append('_return_http_data_only')
3373+
all_params.append('_preload_content')
3374+
all_params.append('_request_timeout')
3375+
3376+
params = locals()
3377+
for key, val in six.iteritems(params['kwargs']):
3378+
if key not in all_params:
3379+
raise TypeError(
3380+
"Got an unexpected keyword argument '%s'"
3381+
" to method list_tags_keys" % key
3382+
)
3383+
params[key] = val
3384+
del params['kwargs']
3385+
# verify the required parameter 'body' is set
3386+
if self.api_client.client_side_validation and ('body' not in params or
3387+
params['body'] is None): # noqa: E501
3388+
raise ValueError("Missing the required parameter `body` when calling `list_tags_keys`") # noqa: E501
3389+
3390+
collection_formats = {}
3391+
3392+
path_params = {}
3393+
3394+
query_params = []
3395+
3396+
header_params = {}
3397+
3398+
form_params = []
3399+
local_var_files = {}
3400+
3401+
body_params = None
3402+
if 'body' in params:
3403+
body_params = params['body']
3404+
# HTTP header `Accept`
3405+
header_params['Accept'] = self.api_client.select_header_accept(
3406+
['application/json']) # noqa: E501
3407+
3408+
# HTTP header `Content-Type`
3409+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3410+
['application/json']) # noqa: E501
3411+
3412+
# Authentication setting
3413+
auth_settings = ['volcengineSign'] # noqa: E501
3414+
3415+
return self.api_client.call_api(
3416+
'/ListTagsKeys/2022-01-01/organization/post/application_json/', 'POST',
3417+
path_params,
3418+
query_params,
3419+
header_params,
3420+
body=body_params,
3421+
post_params=form_params,
3422+
files=local_var_files,
3423+
response_type='ListTagsKeysResponse', # noqa: E501
3424+
auth_settings=auth_settings,
3425+
async_req=params.get('async_req'),
3426+
_return_http_data_only=params.get('_return_http_data_only'),
3427+
_preload_content=params.get('_preload_content', True),
3428+
_request_timeout=params.get('_request_timeout'),
3429+
collection_formats=collection_formats)
3430+
3431+
def list_tags_values(self, body, **kwargs): # noqa: E501
3432+
"""list_tags_values # noqa: E501
3433+
3434+
This method makes a synchronous HTTP request by default. To make an
3435+
asynchronous HTTP request, please pass async_req=True
3436+
>>> thread = api.list_tags_values(body, async_req=True)
3437+
>>> result = thread.get()
3438+
3439+
:param async_req bool
3440+
:param ListTagsValuesRequest body: (required)
3441+
:return: ListTagsValuesResponse
3442+
If the method is called asynchronously,
3443+
returns the request thread.
3444+
"""
3445+
kwargs['_return_http_data_only'] = True
3446+
if kwargs.get('async_req'):
3447+
return self.list_tags_values_with_http_info(body, **kwargs) # noqa: E501
3448+
else:
3449+
(data) = self.list_tags_values_with_http_info(body, **kwargs) # noqa: E501
3450+
return data
3451+
3452+
def list_tags_values_with_http_info(self, body, **kwargs): # noqa: E501
3453+
"""list_tags_values # noqa: E501
3454+
3455+
This method makes a synchronous HTTP request by default. To make an
3456+
asynchronous HTTP request, please pass async_req=True
3457+
>>> thread = api.list_tags_values_with_http_info(body, async_req=True)
3458+
>>> result = thread.get()
3459+
3460+
:param async_req bool
3461+
:param ListTagsValuesRequest body: (required)
3462+
:return: ListTagsValuesResponse
3463+
If the method is called asynchronously,
3464+
returns the request thread.
3465+
"""
3466+
3467+
all_params = ['body'] # noqa: E501
3468+
all_params.append('async_req')
3469+
all_params.append('_return_http_data_only')
3470+
all_params.append('_preload_content')
3471+
all_params.append('_request_timeout')
3472+
3473+
params = locals()
3474+
for key, val in six.iteritems(params['kwargs']):
3475+
if key not in all_params:
3476+
raise TypeError(
3477+
"Got an unexpected keyword argument '%s'"
3478+
" to method list_tags_values" % key
3479+
)
3480+
params[key] = val
3481+
del params['kwargs']
3482+
# verify the required parameter 'body' is set
3483+
if self.api_client.client_side_validation and ('body' not in params or
3484+
params['body'] is None): # noqa: E501
3485+
raise ValueError("Missing the required parameter `body` when calling `list_tags_values`") # noqa: E501
3486+
3487+
collection_formats = {}
3488+
3489+
path_params = {}
3490+
3491+
query_params = []
3492+
3493+
header_params = {}
3494+
3495+
form_params = []
3496+
local_var_files = {}
3497+
3498+
body_params = None
3499+
if 'body' in params:
3500+
body_params = params['body']
3501+
# HTTP header `Accept`
3502+
header_params['Accept'] = self.api_client.select_header_accept(
3503+
['application/json']) # noqa: E501
3504+
3505+
# HTTP header `Content-Type`
3506+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3507+
['application/json']) # noqa: E501
3508+
3509+
# Authentication setting
3510+
auth_settings = ['volcengineSign'] # noqa: E501
3511+
3512+
return self.api_client.call_api(
3513+
'/ListTagsValues/2022-01-01/organization/post/application_json/', 'POST',
3514+
path_params,
3515+
query_params,
3516+
header_params,
3517+
body=body_params,
3518+
post_params=form_params,
3519+
files=local_var_files,
3520+
response_type='ListTagsValuesResponse', # noqa: E501
3521+
auth_settings=auth_settings,
3522+
async_req=params.get('async_req'),
3523+
_return_http_data_only=params.get('_return_http_data_only'),
3524+
_preload_content=params.get('_preload_content', True),
3525+
_request_timeout=params.get('_request_timeout'),
3526+
collection_formats=collection_formats)
3527+
33343528
def list_targets_for_policy(self, body, **kwargs): # noqa: E501
33353529
"""list_targets_for_policy # noqa: E501
33363530

volcenginesdkorganization/models/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
from volcenginesdkorganization.models.enable_console_login_response import EnableConsoleLoginResponse
6464
from volcenginesdkorganization.models.enable_service_control_policy_request import EnableServiceControlPolicyRequest
6565
from volcenginesdkorganization.models.enable_service_control_policy_response import EnableServiceControlPolicyResponse
66+
from volcenginesdkorganization.models.filter_for_list_tags_keys_input import FilterForListTagsKeysInput
67+
from volcenginesdkorganization.models.filter_for_list_tags_values_input import FilterForListTagsValuesInput
6668
from volcenginesdkorganization.models.get_account_secure_contact_info_request import GetAccountSecureContactInfoRequest
6769
from volcenginesdkorganization.models.get_account_secure_contact_info_response import GetAccountSecureContactInfoResponse
6870
from volcenginesdkorganization.models.get_service_control_policy_enablement_request import GetServiceControlPolicyEnablementRequest
@@ -87,6 +89,10 @@
8789
from volcenginesdkorganization.models.list_service_control_policies_response import ListServiceControlPoliciesResponse
8890
from volcenginesdkorganization.models.list_tag_resources_request import ListTagResourcesRequest
8991
from volcenginesdkorganization.models.list_tag_resources_response import ListTagResourcesResponse
92+
from volcenginesdkorganization.models.list_tags_keys_request import ListTagsKeysRequest
93+
from volcenginesdkorganization.models.list_tags_keys_response import ListTagsKeysResponse
94+
from volcenginesdkorganization.models.list_tags_values_request import ListTagsValuesRequest
95+
from volcenginesdkorganization.models.list_tags_values_response import ListTagsValuesResponse
9096
from volcenginesdkorganization.models.list_targets_for_policy_request import ListTargetsForPolicyRequest
9197
from volcenginesdkorganization.models.list_targets_for_policy_response import ListTargetsForPolicyResponse
9298
from volcenginesdkorganization.models.move_account_request import MoveAccountRequest

0 commit comments

Comments
 (0)