Skip to content

Commit d5d5494

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for organization-Python-2022-01-01-online-1302-2025_06_18_21_03_56
1 parent d3e36ff commit d5d5494

File tree

11 files changed

+905
-5
lines changed

11 files changed

+905
-5
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": "3.0.14",
3-
"meta_commit": "64d939687708ac4d90f6aeeab91c8c32179c176c"
2+
"lasted": "3.0.15",
3+
"meta_commit": "582d24cfb65a8a94c181b92cf03cdc1e443cff31"
44
}

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 = "3.0.14"
6+
VERSION = "3.0.15"
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
@@ -63,7 +63,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6363
self.default_headers[header_name] = header_value
6464
self.cookie = cookie
6565
# Set default User-Agent.
66-
self.user_agent = 'volcstack-python-sdk/3.0.14'
66+
self.user_agent = 'volcstack-python-sdk/3.0.15'
6767
self.client_side_validation = configuration.client_side_validation
6868

6969
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,5 +257,5 @@ def to_debug_report(self):
257257
"OS: {env}\n" \
258258
"Python Version: {pyversion}\n" \
259259
"Version of the API: 0.1.0\n" \
260-
"SDK Package Version: 3.0.14".\
260+
"SDK Package Version: 3.0.15".\
261261
format(env=sys.platform, pyversion=sys.version)

volcenginesdkorganization/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@
8989
from volcenginesdkorganization.models.list_policies_for_target_response import ListPoliciesForTargetResponse
9090
from volcenginesdkorganization.models.list_service_control_policies_request import ListServiceControlPoliciesRequest
9191
from volcenginesdkorganization.models.list_service_control_policies_response import ListServiceControlPoliciesResponse
92+
from volcenginesdkorganization.models.list_tag_resources_request import ListTagResourcesRequest
93+
from volcenginesdkorganization.models.list_tag_resources_response import ListTagResourcesResponse
9294
from volcenginesdkorganization.models.list_targets_for_policy_request import ListTargetsForPolicyRequest
9395
from volcenginesdkorganization.models.list_targets_for_policy_response import ListTargetsForPolicyResponse
9496
from volcenginesdkorganization.models.move_account_request import MoveAccountRequest
@@ -108,11 +110,13 @@
108110
from volcenginesdkorganization.models.reject_quit_application_response import RejectQuitApplicationResponse
109111
from volcenginesdkorganization.models.remove_account_request import RemoveAccountRequest
110112
from volcenginesdkorganization.models.remove_account_response import RemoveAccountResponse
113+
from volcenginesdkorganization.models.resource_tag_for_list_tag_resources_output import ResourceTagForListTagResourcesOutput
111114
from volcenginesdkorganization.models.retry_change_account_secure_contact_info_request import RetryChangeAccountSecureContactInfoRequest
112115
from volcenginesdkorganization.models.retry_change_account_secure_contact_info_response import RetryChangeAccountSecureContactInfoResponse
113116
from volcenginesdkorganization.models.service_control_policy_for_list_service_control_policies_output import ServiceControlPolicyForListServiceControlPoliciesOutput
114117
from volcenginesdkorganization.models.sub_unit_list_for_list_organizational_units_for_parent_output import SubUnitListForListOrganizationalUnitsForParentOutput
115118
from volcenginesdkorganization.models.sub_unit_list_for_list_organizational_units_output import SubUnitListForListOrganizationalUnitsOutput
119+
from volcenginesdkorganization.models.tag_filter_for_list_tag_resources_input import TagFilterForListTagResourcesInput
116120
from volcenginesdkorganization.models.tag_for_list_accounts_output import TagForListAccountsOutput
117121
from volcenginesdkorganization.models.tag_for_tag_resources_input import TagForTagResourcesInput
118122
from volcenginesdkorganization.models.tag_resources_request import TagResourcesRequest

volcenginesdkorganization/api/organization_api.py

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,6 +3234,103 @@ def list_service_control_policies_with_http_info(self, body, **kwargs): # noqa:
32343234
_request_timeout=params.get('_request_timeout'),
32353235
collection_formats=collection_formats)
32363236

3237+
def list_tag_resources(self, body, **kwargs): # noqa: E501
3238+
"""list_tag_resources # noqa: E501
3239+
3240+
This method makes a synchronous HTTP request by default. To make an
3241+
asynchronous HTTP request, please pass async_req=True
3242+
>>> thread = api.list_tag_resources(body, async_req=True)
3243+
>>> result = thread.get()
3244+
3245+
:param async_req bool
3246+
:param ListTagResourcesRequest body: (required)
3247+
:return: ListTagResourcesResponse
3248+
If the method is called asynchronously,
3249+
returns the request thread.
3250+
"""
3251+
kwargs['_return_http_data_only'] = True
3252+
if kwargs.get('async_req'):
3253+
return self.list_tag_resources_with_http_info(body, **kwargs) # noqa: E501
3254+
else:
3255+
(data) = self.list_tag_resources_with_http_info(body, **kwargs) # noqa: E501
3256+
return data
3257+
3258+
def list_tag_resources_with_http_info(self, body, **kwargs): # noqa: E501
3259+
"""list_tag_resources # noqa: E501
3260+
3261+
This method makes a synchronous HTTP request by default. To make an
3262+
asynchronous HTTP request, please pass async_req=True
3263+
>>> thread = api.list_tag_resources_with_http_info(body, async_req=True)
3264+
>>> result = thread.get()
3265+
3266+
:param async_req bool
3267+
:param ListTagResourcesRequest body: (required)
3268+
:return: ListTagResourcesResponse
3269+
If the method is called asynchronously,
3270+
returns the request thread.
3271+
"""
3272+
3273+
all_params = ['body'] # noqa: E501
3274+
all_params.append('async_req')
3275+
all_params.append('_return_http_data_only')
3276+
all_params.append('_preload_content')
3277+
all_params.append('_request_timeout')
3278+
3279+
params = locals()
3280+
for key, val in six.iteritems(params['kwargs']):
3281+
if key not in all_params:
3282+
raise TypeError(
3283+
"Got an unexpected keyword argument '%s'"
3284+
" to method list_tag_resources" % key
3285+
)
3286+
params[key] = val
3287+
del params['kwargs']
3288+
# verify the required parameter 'body' is set
3289+
if self.api_client.client_side_validation and ('body' not in params or
3290+
params['body'] is None): # noqa: E501
3291+
raise ValueError("Missing the required parameter `body` when calling `list_tag_resources`") # noqa: E501
3292+
3293+
collection_formats = {}
3294+
3295+
path_params = {}
3296+
3297+
query_params = []
3298+
3299+
header_params = {}
3300+
3301+
form_params = []
3302+
local_var_files = {}
3303+
3304+
body_params = None
3305+
if 'body' in params:
3306+
body_params = params['body']
3307+
# HTTP header `Accept`
3308+
header_params['Accept'] = self.api_client.select_header_accept(
3309+
['application/json']) # noqa: E501
3310+
3311+
# HTTP header `Content-Type`
3312+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3313+
['text/plain']) # noqa: E501
3314+
3315+
# Authentication setting
3316+
auth_settings = ['volcengineSign'] # noqa: E501
3317+
3318+
return self.api_client.call_api(
3319+
'/ListTagResources/2022-01-01/organization/get/text_plain/', 'GET',
3320+
path_params,
3321+
query_params,
3322+
header_params,
3323+
body=body_params,
3324+
post_params=form_params,
3325+
files=local_var_files,
3326+
response_type='ListTagResourcesResponse', # noqa: E501
3327+
auth_settings=auth_settings,
3328+
async_req=params.get('async_req'),
3329+
_return_http_data_only=params.get('_return_http_data_only'),
3330+
_preload_content=params.get('_preload_content', True),
3331+
_request_timeout=params.get('_request_timeout'),
3332+
collection_formats=collection_formats)
3333+
32373334
def list_targets_for_policy(self, body, **kwargs): # noqa: E501
32383335
"""list_targets_for_policy # noqa: E501
32393336

volcenginesdkorganization/models/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@
8585
from volcenginesdkorganization.models.list_policies_for_target_response import ListPoliciesForTargetResponse
8686
from volcenginesdkorganization.models.list_service_control_policies_request import ListServiceControlPoliciesRequest
8787
from volcenginesdkorganization.models.list_service_control_policies_response import ListServiceControlPoliciesResponse
88+
from volcenginesdkorganization.models.list_tag_resources_request import ListTagResourcesRequest
89+
from volcenginesdkorganization.models.list_tag_resources_response import ListTagResourcesResponse
8890
from volcenginesdkorganization.models.list_targets_for_policy_request import ListTargetsForPolicyRequest
8991
from volcenginesdkorganization.models.list_targets_for_policy_response import ListTargetsForPolicyResponse
9092
from volcenginesdkorganization.models.move_account_request import MoveAccountRequest
@@ -104,11 +106,13 @@
104106
from volcenginesdkorganization.models.reject_quit_application_response import RejectQuitApplicationResponse
105107
from volcenginesdkorganization.models.remove_account_request import RemoveAccountRequest
106108
from volcenginesdkorganization.models.remove_account_response import RemoveAccountResponse
109+
from volcenginesdkorganization.models.resource_tag_for_list_tag_resources_output import ResourceTagForListTagResourcesOutput
107110
from volcenginesdkorganization.models.retry_change_account_secure_contact_info_request import RetryChangeAccountSecureContactInfoRequest
108111
from volcenginesdkorganization.models.retry_change_account_secure_contact_info_response import RetryChangeAccountSecureContactInfoResponse
109112
from volcenginesdkorganization.models.service_control_policy_for_list_service_control_policies_output import ServiceControlPolicyForListServiceControlPoliciesOutput
110113
from volcenginesdkorganization.models.sub_unit_list_for_list_organizational_units_for_parent_output import SubUnitListForListOrganizationalUnitsForParentOutput
111114
from volcenginesdkorganization.models.sub_unit_list_for_list_organizational_units_output import SubUnitListForListOrganizationalUnitsOutput
115+
from volcenginesdkorganization.models.tag_filter_for_list_tag_resources_input import TagFilterForListTagResourcesInput
112116
from volcenginesdkorganization.models.tag_for_list_accounts_output import TagForListAccountsOutput
113117
from volcenginesdkorganization.models.tag_for_tag_resources_input import TagForTagResourcesInput
114118
from volcenginesdkorganization.models.tag_resources_request import TagResourcesRequest

0 commit comments

Comments
 (0)