From f4630acd9c38241f5c487d3c9c9a868826e3ba68 Mon Sep 17 00:00:00 2001 From: Huaweicloud-SDK Date: Thu, 18 Apr 2024 16:24:12 +0800 Subject: [PATCH] release 3.1.92 source code --- CHANGELOG.md | 451 ++++++++++++++ CHANGELOG_CN.md | 451 ++++++++++++++ VERSION | 2 +- huaweicloud-sdk-aad/requirements.txt | 2 +- huaweicloud-sdk-aad/setup.py | 4 +- huaweicloud-sdk-all/requirements.txt | 325 +++++----- huaweicloud-sdk-all/setup.py | 327 +++++----- huaweicloud-sdk-antiddos/requirements.txt | 2 +- huaweicloud-sdk-antiddos/setup.py | 4 +- .../huaweicloudsdkaom/v2/aom_async_client.py | 2 + .../huaweicloudsdkaom/v2/aom_client.py | 2 + .../v2/model/count_events_response.py | 35 +- .../v2/model/list_events_request.py | 31 +- huaweicloud-sdk-aom/requirements.txt | 2 +- huaweicloud-sdk-aom/setup.py | 4 +- huaweicloud-sdk-aos/requirements.txt | 2 +- huaweicloud-sdk-aos/setup.py | 4 +- huaweicloud-sdk-apig/requirements.txt | 2 +- huaweicloud-sdk-apig/setup.py | 4 +- huaweicloud-sdk-apm/requirements.txt | 2 +- huaweicloud-sdk-apm/setup.py | 4 +- .../huaweicloudsdkas/v1/region/as_region.py | 3 + huaweicloud-sdk-as/requirements.txt | 2 +- huaweicloud-sdk-as/setup.py | 4 +- huaweicloud-sdk-asm/requirements.txt | 2 +- huaweicloud-sdk-asm/setup.py | 4 +- huaweicloud-sdk-bcs/requirements.txt | 2 +- huaweicloud-sdk-bcs/setup.py | 4 +- huaweicloud-sdk-bms/requirements.txt | 2 +- huaweicloud-sdk-bms/setup.py | 4 +- huaweicloud-sdk-bss/requirements.txt | 2 +- huaweicloud-sdk-bss/setup.py | 4 +- huaweicloud-sdk-bssintl/requirements.txt | 2 +- huaweicloud-sdk-bssintl/setup.py | 4 +- huaweicloud-sdk-cae/requirements.txt | 2 +- huaweicloud-sdk-cae/setup.py | 4 +- huaweicloud-sdk-campusgo/requirements.txt | 2 +- huaweicloud-sdk-campusgo/setup.py | 4 +- huaweicloud-sdk-cbh/requirements.txt | 2 +- huaweicloud-sdk-cbh/setup.py | 4 +- huaweicloud-sdk-cbr/requirements.txt | 2 +- huaweicloud-sdk-cbr/setup.py | 4 +- huaweicloud-sdk-cbs/requirements.txt | 2 +- huaweicloud-sdk-cbs/setup.py | 4 +- huaweicloud-sdk-cc/requirements.txt | 2 +- huaweicloud-sdk-cc/setup.py | 4 +- .../huaweicloudsdkcce/v3/region/cce_region.py | 3 + huaweicloud-sdk-cce/requirements.txt | 2 +- huaweicloud-sdk-cce/setup.py | 4 +- huaweicloud-sdk-ccm/requirements.txt | 2 +- huaweicloud-sdk-ccm/setup.py | 4 +- huaweicloud-sdk-cdm/requirements.txt | 2 +- huaweicloud-sdk-cdm/setup.py | 4 +- huaweicloud-sdk-cdn/requirements.txt | 2 +- huaweicloud-sdk-cdn/setup.py | 4 +- huaweicloud-sdk-ces/requirements.txt | 2 +- huaweicloud-sdk-ces/setup.py | 4 +- huaweicloud-sdk-cfw/requirements.txt | 2 +- huaweicloud-sdk-cfw/setup.py | 4 +- huaweicloud-sdk-cgs/requirements.txt | 2 +- huaweicloud-sdk-cgs/setup.py | 4 +- huaweicloud-sdk-classroom/requirements.txt | 2 +- huaweicloud-sdk-classroom/setup.py | 4 +- huaweicloud-sdk-cloudide/requirements.txt | 2 +- huaweicloud-sdk-cloudide/setup.py | 4 +- huaweicloud-sdk-cloudpond/requirements.txt | 2 +- huaweicloud-sdk-cloudpond/setup.py | 4 +- huaweicloud-sdk-cloudrtc/requirements.txt | 2 +- huaweicloud-sdk-cloudrtc/setup.py | 4 +- huaweicloud-sdk-cloudtable/requirements.txt | 2 +- huaweicloud-sdk-cloudtable/setup.py | 4 +- huaweicloud-sdk-cloudtest/requirements.txt | 2 +- huaweicloud-sdk-cloudtest/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsartifact/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsbuild/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartscheck/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsdeploy/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsinspector/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartspipeline/setup.py | 4 +- huaweicloud-sdk-codecraft/requirements.txt | 2 +- huaweicloud-sdk-codecraft/setup.py | 4 +- huaweicloud-sdk-codehub/requirements.txt | 2 +- huaweicloud-sdk-codehub/setup.py | 4 +- .../huaweicloudsdkconfig/v1/__init__.py | 6 + .../v1/config_async_client.py | 136 +++++ .../huaweicloudsdkconfig/v1/config_client.py | 136 +++++ .../huaweicloudsdkconfig/v1/model/__init__.py | 6 + .../v1/model/conformance_pack.py | 89 ++- .../model/create_conformance_pack_response.py | 89 ++- .../model/show_conformance_pack_response.py | 89 ++- ...formance_pack_detailed_statuses_request.py | 3 +- ..._organization_conformance_pack_response.py | 64 +- ...licy_assignment_detailed_status_request.py | 3 +- .../v1/model/show_tracker_config_response.py | 31 +- .../v1/model/tracker_config_body.py | 31 +- .../model/update_conformance_pack_request.py | 139 +++++ .../update_conformance_pack_request_body.py | 143 +++++ .../model/update_conformance_pack_response.py | 493 +++++++++++++++ ...pdate_org_conformance_pack_request_body.py | 172 ++++++ ...e_organization_conformance_pack_request.py | 167 +++++ ..._organization_conformance_pack_response.py | 319 ++++++++++ huaweicloud-sdk-config/requirements.txt | 2 +- huaweicloud-sdk-config/setup.py | 4 +- huaweicloud-sdk-core/setup.py | 2 +- huaweicloud-sdk-cph/requirements.txt | 2 +- huaweicloud-sdk-cph/setup.py | 4 +- huaweicloud-sdk-cpts/requirements.txt | 2 +- huaweicloud-sdk-cpts/setup.py | 4 +- .../huaweicloudsdkcse/v1/__init__.py | 1 + .../huaweicloudsdkcse/v1/model/__init__.py | 1 + .../huaweicloudsdkcse/v1/model/engine_spec.py | 173 ++++++ .../v1/model/flavor_brief.py | 31 +- huaweicloud-sdk-cse/requirements.txt | 2 +- huaweicloud-sdk-cse/setup.py | 4 +- huaweicloud-sdk-csms/requirements.txt | 2 +- huaweicloud-sdk-csms/setup.py | 4 +- .../huaweicloudsdkcss/v1/region/css_region.py | 6 + .../huaweicloudsdkcss/v2/region/css_region.py | 6 + huaweicloud-sdk-css/requirements.txt | 2 +- huaweicloud-sdk-css/setup.py | 4 +- huaweicloud-sdk-cts/requirements.txt | 2 +- huaweicloud-sdk-cts/setup.py | 4 +- huaweicloud-sdk-das/requirements.txt | 2 +- huaweicloud-sdk-das/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-dataartsstudio/setup.py | 4 +- huaweicloud-sdk-dbss/requirements.txt | 2 +- huaweicloud-sdk-dbss/setup.py | 4 +- huaweicloud-sdk-dc/requirements.txt | 2 +- huaweicloud-sdk-dc/setup.py | 4 +- .../v2/model/details_body.py | 576 +++++++++++++++++- .../v2/model/migration_task_list.py | 384 +++++++++++- .../v2/model/show_migration_task_response.py | 267 +++++++- .../v2/model/stop_migration_task_response.py | 267 +++++++- huaweicloud-sdk-dcs/requirements.txt | 2 +- huaweicloud-sdk-dcs/setup.py | 4 +- huaweicloud-sdk-ddm/requirements.txt | 2 +- huaweicloud-sdk-ddm/setup.py | 4 +- huaweicloud-sdk-dds/requirements.txt | 2 +- huaweicloud-sdk-dds/setup.py | 4 +- huaweicloud-sdk-deh/requirements.txt | 2 +- huaweicloud-sdk-deh/setup.py | 4 +- huaweicloud-sdk-devsecurity/requirements.txt | 2 +- huaweicloud-sdk-devsecurity/setup.py | 4 +- huaweicloud-sdk-devstar/requirements.txt | 2 +- huaweicloud-sdk-devstar/setup.py | 4 +- huaweicloud-sdk-dgc/requirements.txt | 2 +- huaweicloud-sdk-dgc/setup.py | 4 +- huaweicloud-sdk-dis/requirements.txt | 2 +- huaweicloud-sdk-dis/setup.py | 4 +- huaweicloud-sdk-dlf/requirements.txt | 2 +- huaweicloud-sdk-dlf/setup.py | 4 +- huaweicloud-sdk-dli/requirements.txt | 2 +- huaweicloud-sdk-dli/setup.py | 4 +- huaweicloud-sdk-dns/requirements.txt | 2 +- huaweicloud-sdk-dns/setup.py | 4 +- huaweicloud-sdk-dris/requirements.txt | 2 +- huaweicloud-sdk-dris/setup.py | 4 +- huaweicloud-sdk-drs/requirements.txt | 2 +- huaweicloud-sdk-drs/setup.py | 4 +- huaweicloud-sdk-dsc/requirements.txt | 2 +- huaweicloud-sdk-dsc/setup.py | 4 +- huaweicloud-sdk-dwr/requirements.txt | 2 +- huaweicloud-sdk-dwr/setup.py | 4 +- huaweicloud-sdk-dws/requirements.txt | 2 +- huaweicloud-sdk-dws/setup.py | 4 +- huaweicloud-sdk-ec/requirements.txt | 2 +- huaweicloud-sdk-ec/setup.py | 4 +- huaweicloud-sdk-ecs/requirements.txt | 2 +- huaweicloud-sdk-ecs/setup.py | 4 +- huaweicloud-sdk-edgesec/requirements.txt | 2 +- huaweicloud-sdk-edgesec/setup.py | 4 +- huaweicloud-sdk-eg/requirements.txt | 2 +- huaweicloud-sdk-eg/setup.py | 4 +- huaweicloud-sdk-eihealth/requirements.txt | 2 +- huaweicloud-sdk-eihealth/setup.py | 4 +- .../huaweicloudsdkeip/v2/region/eip_region.py | 3 + .../huaweicloudsdkeip/v3/region/eip_region.py | 3 + huaweicloud-sdk-eip/requirements.txt | 2 +- huaweicloud-sdk-eip/setup.py | 4 +- huaweicloud-sdk-elb/requirements.txt | 2 +- huaweicloud-sdk-elb/setup.py | 4 +- huaweicloud-sdk-eps/requirements.txt | 2 +- huaweicloud-sdk-eps/setup.py | 4 +- huaweicloud-sdk-er/requirements.txt | 2 +- huaweicloud-sdk-er/setup.py | 4 +- huaweicloud-sdk-evs/requirements.txt | 2 +- huaweicloud-sdk-evs/setup.py | 4 +- huaweicloud-sdk-frs/requirements.txt | 2 +- huaweicloud-sdk-frs/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-functiongraph/setup.py | 4 +- huaweicloud-sdk-ga/requirements.txt | 2 +- huaweicloud-sdk-ga/setup.py | 4 +- .../v3/model/mysql_proxy_node_v3.py | 6 +- .../model/proxy_transaction_split_request.py | 6 +- huaweicloud-sdk-gaussdb/requirements.txt | 2 +- huaweicloud-sdk-gaussdb/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbfornosql/setup.py | 4 +- .../v3/__init__.py | 13 +- .../v3/gaussdbforopengauss_async_client.py | 351 +++++++++-- .../v3/gaussdbforopengauss_client.py | 351 +++++++++-- .../v3/model/__init__.py | 13 +- .../v3/model/delete_instance_tag_request.py | 171 ++++++ .../v3/model/delete_instance_tag_response.py | 174 ++++++ .../v3/model/instance_log_file.py | 260 ++++++++ .../model/list_instance_error_logs_request.py | 257 ++++++++ .../list_instance_error_logs_response.py | 89 +-- .../v3/model/list_top_io_traffics_request.py | 257 ++++++++ .../v3/model/list_top_io_traffics_response.py | 116 ++++ .../v3/model/open_gauss_upgrade_request.py | 69 +-- .../v3/model/show_backup_policy.py | 8 +- ...> show_error_log_switch_status_request.py} | 83 +-- ... show_error_log_switch_status_response.py} | 49 +- .../show_instances_statistics_response.py | 145 ----- .../v3/model/top_io_info.py | 405 ++++++++++++ .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbforopengauss/setup.py | 4 +- huaweicloud-sdk-geip/requirements.txt | 2 +- huaweicloud-sdk-geip/setup.py | 4 +- huaweicloud-sdk-ges/requirements.txt | 2 +- huaweicloud-sdk-ges/setup.py | 4 +- huaweicloud-sdk-gsl/requirements.txt | 2 +- huaweicloud-sdk-gsl/setup.py | 4 +- huaweicloud-sdk-hilens/requirements.txt | 2 +- huaweicloud-sdk-hilens/setup.py | 4 +- .../v5/model/event_process_response_info.py | 93 ++- .../list_swr_image_repository_request.py | 6 +- ...how_productdata_offering_infos_response.py | 6 +- .../huaweicloudsdkhss/v5/region/hss_region.py | 3 + huaweicloud-sdk-hss/requirements.txt | 2 +- huaweicloud-sdk-hss/setup.py | 4 +- huaweicloud-sdk-iam/requirements.txt | 2 +- huaweicloud-sdk-iam/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-iamaccessanalyzer/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-identitycenter/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-identitycenterstore/setup.py | 4 +- huaweicloud-sdk-idme/requirements.txt | 2 +- huaweicloud-sdk-idme/setup.py | 4 +- .../v1/idmeclassicapi_async_client.py | 2 +- .../v1/idmeclassicapi_client.py | 2 +- ...anaged_model_update_lifecycle_state_dto.py | 6 +- ...ulti_view_model_version_view_create_dto.py | 6 +- .../v1/model/object_reference_param_dto.py | 6 +- .../requirements.txt | 2 +- huaweicloud-sdk-idmeclassicapi/setup.py | 4 +- huaweicloud-sdk-iec/requirements.txt | 2 +- huaweicloud-sdk-iec/setup.py | 4 +- huaweicloud-sdk-ief/requirements.txt | 2 +- huaweicloud-sdk-ief/setup.py | 4 +- huaweicloud-sdk-image/requirements.txt | 2 +- huaweicloud-sdk-image/setup.py | 4 +- huaweicloud-sdk-imagesearch/requirements.txt | 2 +- huaweicloud-sdk-imagesearch/setup.py | 4 +- huaweicloud-sdk-ims/requirements.txt | 2 +- huaweicloud-sdk-ims/setup.py | 4 +- huaweicloud-sdk-iotanalytics/requirements.txt | 2 +- huaweicloud-sdk-iotanalytics/setup.py | 4 +- huaweicloud-sdk-iotda/requirements.txt | 2 +- huaweicloud-sdk-iotda/setup.py | 4 +- huaweicloud-sdk-iotedge/requirements.txt | 2 +- huaweicloud-sdk-iotedge/setup.py | 4 +- huaweicloud-sdk-ivs/requirements.txt | 2 +- huaweicloud-sdk-ivs/setup.py | 4 +- huaweicloud-sdk-kafka/requirements.txt | 2 +- huaweicloud-sdk-kafka/setup.py | 4 +- huaweicloud-sdk-kms/requirements.txt | 2 +- huaweicloud-sdk-kms/setup.py | 4 +- huaweicloud-sdk-koomessage/requirements.txt | 2 +- huaweicloud-sdk-koomessage/setup.py | 4 +- huaweicloud-sdk-kps/requirements.txt | 2 +- huaweicloud-sdk-kps/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-lakeformation/setup.py | 4 +- huaweicloud-sdk-live/requirements.txt | 2 +- huaweicloud-sdk-live/setup.py | 4 +- huaweicloud-sdk-lts/requirements.txt | 2 +- huaweicloud-sdk-lts/setup.py | 4 +- huaweicloud-sdk-mapds/requirements.txt | 2 +- huaweicloud-sdk-mapds/setup.py | 4 +- huaweicloud-sdk-mas/requirements.txt | 2 +- huaweicloud-sdk-mas/setup.py | 4 +- huaweicloud-sdk-meeting/requirements.txt | 2 +- huaweicloud-sdk-meeting/setup.py | 4 +- .../huaweicloudsdkmetastudio/v1/__init__.py | 7 +- .../v1/metastudio_async_client.py | 44 +- .../v1/metastudio_client.py | 44 +- .../v1/model/__init__.py | 7 +- .../v1/model/asset_extra_meta.py | 81 ++- .../v1/model/audio_asset_meta.py | 256 ++++++++ .../v1/model/background_config_info.py | 154 ++--- .../cancel2_d_digital_human_video_request.py | 6 +- ...ancel_photo_digital_human_video_request.py | 6 +- .../v1/model/check_text_language_response.py | 6 +- .../commit_voice_training_job_request.py | 6 +- .../v1/model/confirm_file_upload_request.py | 6 +- .../v1/model/control_smart_live_req.py | 6 +- .../v1/model/copy_video_scripts_request.py | 6 +- .../create2_d_digital_human_video_request.py | 6 +- .../model/create2d_model_training_job_req.py | 35 +- .../create2d_model_training_job_request.py | 6 +- .../v1/model/create_active_code_request.py | 6 +- ...create_assetby_replication_info_request.py | 6 +- .../v1/model/create_dialog_url_request.py | 6 +- .../v1/model/create_digital_asset_request.py | 6 +- .../create_digital_asset_request_body.py | 35 +- ...ate_digital_human_business_card_request.py | 6 +- .../v1/model/create_file_request.py | 6 +- .../v1/model/create_file_response.py | 6 +- .../create_interaction_rule_group_request.py | 6 +- .../v1/model/create_once_code_request.py | 6 +- .../model/create_photo_detection_request.py | 6 +- ...reate_photo_digital_human_video_request.py | 6 +- ...ate_picture_modeling_by_url_job_request.py | 6 +- .../create_picture_modeling_job_request.py | 6 +- .../v1/model/create_robot_req.py | 41 +- .../v1/model/create_robot_request.py | 6 +- .../v1/model/create_smart_chat_room_req.py | 3 +- .../model/create_smart_chat_room_request.py | 6 +- .../model/create_smart_live_room_request.py | 6 +- .../create_training_advance_job_request.py | 6 +- .../create_training_advance_job_response.py | 6 +- .../create_training_basic_job_request.py | 6 +- .../create_training_basic_job_response.py | 6 +- ..._training_job_rsp_segment_uploading_url.py | 12 +- .../create_training_middle_job_request.py | 6 +- .../create_training_middle_job_response.py | 6 +- .../v1/model/create_tts_audition_request.py | 6 +- .../v1/model/create_ttsa_request.py | 6 +- ...create_video_motion_capture_job_request.py | 6 +- .../v1/model/create_video_scripts_request.py | 6 +- .../delete2d_model_training_job_request.py | 6 +- .../v1/model/delete_active_code_request.py | 6 +- .../v1/model/delete_asset_request.py | 6 +- ...ete_digital_human_business_card_request.py | 6 +- .../v1/model/delete_file_request.py | 6 +- .../delete_interaction_rule_group_request.py | 6 +- .../v1/model/delete_robot_request.py | 6 +- .../model/delete_smart_chat_room_request.py | 12 +- .../model/delete_smart_live_room_request.py | 6 +- .../v1/model/delete_video_script_request.py | 6 +- .../delete_voice_training_job_request.py | 6 +- ...te2d_model_training_command_by_user_req.py | 6 +- ..._model_training_command_by_user_request.py | 6 +- .../execute_smart_live_command_request.py | 6 +- .../execute_smart_live_command_response.py | 6 +- ...te_video_motion_capture_command_request.py | 6 +- .../v1/model/external_voice_asset_meta.py | 6 +- .../v1/model/human_position2_d.py | 173 ------ .../v1/model/image_asset_meta.py | 256 ++++++++ .../inference_eye_correction_mark_info.py | 144 +++++ .../list2d_model_training_job_request.py | 128 ++-- .../v1/model/list_active_code_request.py | 6 +- .../v1/model/list_assets_request.py | 49 +- ...ist_digital_human_business_card_request.py | 6 +- .../model/list_digital_human_video_request.py | 6 +- .../list_interaction_rule_groups_request.py | 6 +- .../list_picture_modeling_jobs_request.py | 6 +- .../v1/model/list_robot_request.py | 41 +- .../v1/model/list_smart_chat_rooms_request.py | 6 +- .../v1/model/list_smart_live_jobs_request.py | 6 +- .../v1/model/list_smart_live_request.py | 6 +- .../v1/model/list_smart_live_rooms_request.py | 6 +- .../v1/model/list_styles_request.py | 6 +- .../v1/model/list_ttsa_jobs_request.py | 6 +- .../list_video_motion_capture_jobs_request.py | 6 +- .../v1/model/list_video_scripts_request.py | 6 +- .../model/list_voice_training_job_request.py | 6 +- .../v1/model/live_event.py | 12 +- .../v1/model/live_event_call_back_config.py | 12 +- .../v1/model/live_event_report_request.py | 6 +- .../v1/model/operation_log_info.py | 6 +- .../v1/model/output_info.py | 35 +- .../v1/model/play_policy.py | 35 +- .../v1/model/reset_active_code_request.py | 6 +- .../v1/model/restore_asset_request.py | 6 +- .../v1/model/robot_info.py | 60 +- .../show2_d_digital_human_video_request.py | 6 +- .../show2d_model_training_job_request.py | 6 +- .../show2d_model_training_job_response.py | 137 ++++- .../v1/model/show_active_code_request.py | 6 +- .../show_asset_replication_info_request.py | 6 +- .../v1/model/show_asset_request.py | 6 +- ...how_digital_human_business_card_request.py | 6 +- .../v1/model/show_photo_detection_request.py | 6 +- .../show_photo_digital_human_video_request.py | 6 +- .../show_picture_modeling_job_request.py | 6 +- .../v1/model/show_robot_request.py | 6 +- .../v1/model/show_robot_response.py | 60 +- .../v1/model/show_smart_chat_job_request.py | 6 +- .../v1/model/show_smart_chat_room_request.py | 12 +- .../v1/model/show_smart_chat_room_response.py | 3 +- .../v1/model/show_smart_live_request.py | 6 +- .../v1/model/show_smart_live_response.py | 6 +- .../v1/model/show_smart_live_room_request.py | 6 +- .../model/show_tts_audition_file_request.py | 6 +- .../show_video_motion_capture_job_request.py | 6 +- .../v1/model/show_video_script_request.py | 6 +- .../model/show_voice_training_job_request.py | 6 +- .../v1/model/smart_live_job.py | 6 +- .../v1/model/smart_live_room_base_info.py | 6 +- .../v1/model/start_smart_chat_job_request.py | 6 +- .../v1/model/start_smart_live_request.py | 6 +- .../v1/model/stop_smart_chat_job_request.py | 6 +- .../v1/model/stop_smart_live_request.py | 6 +- .../stop_video_motion_capture_job_request.py | 6 +- .../v1/model/subtitle_config.py | 12 +- .../v1/model/training_job_basic_info.py | 76 ++- .../model/update2d_model_training_job_req.py | 289 +++++++++ .../update2d_model_training_job_request.py | 14 +- .../v1/model/update_active_code_request.py | 6 +- .../v1/model/update_digital_asset_request.py | 6 +- ...ate_digital_human_business_card_request.py | 6 +- .../update_interaction_rule_group_request.py | 6 +- .../v1/model/update_robot_req.py | 42 +- .../v1/model/update_robot_request.py | 6 +- .../model/update_smart_chat_room_request.py | 12 +- .../model/update_smart_chat_room_response.py | 3 +- .../model/update_smart_live_room_request.py | 6 +- .../v1/model/update_video_script_request.py | 6 +- .../v1/model/video_asset_meta.py | 430 +++++++++++++ huaweicloud-sdk-metastudio/requirements.txt | 2 +- huaweicloud-sdk-metastudio/setup.py | 4 +- huaweicloud-sdk-moderation/requirements.txt | 2 +- huaweicloud-sdk-moderation/setup.py | 4 +- huaweicloud-sdk-mpc/requirements.txt | 2 +- huaweicloud-sdk-mpc/setup.py | 4 +- huaweicloud-sdk-mrs/requirements.txt | 2 +- huaweicloud-sdk-mrs/setup.py | 4 +- huaweicloud-sdk-msgsms/requirements.txt | 2 +- huaweicloud-sdk-msgsms/setup.py | 4 +- huaweicloud-sdk-mssi/requirements.txt | 2 +- huaweicloud-sdk-mssi/setup.py | 4 +- huaweicloud-sdk-nat/requirements.txt | 2 +- huaweicloud-sdk-nat/setup.py | 4 +- huaweicloud-sdk-nlp/requirements.txt | 2 +- huaweicloud-sdk-nlp/setup.py | 4 +- huaweicloud-sdk-obs/requirements.txt | 2 +- huaweicloud-sdk-obs/setup.py | 4 +- .../model/cambodian_id_card_request_body.py | 6 +- .../v1/model/colombia_id_card_request_body.py | 6 +- .../model/exit_entry_permit_request_body.py | 6 +- .../v1/model/general_table_request_body.py | 12 +- .../v1/model/general_text_request_body.py | 12 +- .../v1/model/hk_id_card_request_body.py | 6 +- .../v1/model/macao_id_card_request_body.py | 6 +- .../mainland_travel_permit_request_body.py | 6 +- .../v1/model/passport_request_body.py | 12 +- .../recognize_colombia_id_card_request.py | 6 +- .../model/recognize_general_table_request.py | 6 +- .../model/recognize_general_text_request.py | 6 +- .../v1/model/recognize_passport_request.py | 6 +- .../recognize_thailand_idcard_request.py | 6 +- ...ecognize_thailand_license_plate_request.py | 6 +- .../v1/model/recognize_web_image_request.py | 6 +- .../v1/model/thailand_idcard_request_body.py | 6 +- .../thailand_license_plate_request_body.py | 6 +- .../v1/model/vietnam_id_card_request_body.py | 6 +- .../v1/model/web_image_request_body.py | 12 +- huaweicloud-sdk-ocr/requirements.txt | 2 +- huaweicloud-sdk-ocr/setup.py | 4 +- huaweicloud-sdk-octopus/requirements.txt | 2 +- huaweicloud-sdk-octopus/setup.py | 4 +- huaweicloud-sdk-oms/requirements.txt | 2 +- huaweicloud-sdk-oms/setup.py | 4 +- huaweicloud-sdk-optverse/requirements.txt | 2 +- huaweicloud-sdk-optverse/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-organizations/setup.py | 4 +- huaweicloud-sdk-orgid/requirements.txt | 2 +- huaweicloud-sdk-orgid/setup.py | 4 +- huaweicloud-sdk-oroas/requirements.txt | 2 +- huaweicloud-sdk-oroas/setup.py | 4 +- huaweicloud-sdk-osm/requirements.txt | 2 +- huaweicloud-sdk-osm/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-pangulargemodels/setup.py | 4 +- huaweicloud-sdk-projectman/requirements.txt | 2 +- huaweicloud-sdk-projectman/setup.py | 4 +- huaweicloud-sdk-rabbitmq/requirements.txt | 2 +- huaweicloud-sdk-rabbitmq/setup.py | 4 +- huaweicloud-sdk-ram/requirements.txt | 2 +- huaweicloud-sdk-ram/setup.py | 4 +- .../huaweicloudsdkrds/v3/region/rds_region.py | 3 + huaweicloud-sdk-rds/requirements.txt | 2 +- huaweicloud-sdk-rds/setup.py | 4 +- huaweicloud-sdk-res/requirements.txt | 2 +- huaweicloud-sdk-res/setup.py | 4 +- huaweicloud-sdk-rgc/requirements.txt | 2 +- huaweicloud-sdk-rgc/setup.py | 4 +- huaweicloud-sdk-rms/requirements.txt | 2 +- huaweicloud-sdk-rms/setup.py | 4 +- huaweicloud-sdk-rocketmq/requirements.txt | 2 +- huaweicloud-sdk-rocketmq/setup.py | 4 +- huaweicloud-sdk-roma/requirements.txt | 2 +- huaweicloud-sdk-roma/setup.py | 4 +- huaweicloud-sdk-sa/requirements.txt | 2 +- huaweicloud-sdk-sa/setup.py | 4 +- huaweicloud-sdk-scm/requirements.txt | 2 +- huaweicloud-sdk-scm/setup.py | 4 +- huaweicloud-sdk-sdrs/requirements.txt | 2 +- huaweicloud-sdk-sdrs/setup.py | 4 +- huaweicloud-sdk-secmaster/requirements.txt | 2 +- huaweicloud-sdk-secmaster/setup.py | 4 +- huaweicloud-sdk-servicestage/requirements.txt | 2 +- huaweicloud-sdk-servicestage/setup.py | 4 +- huaweicloud-sdk-sfsturbo/requirements.txt | 2 +- huaweicloud-sdk-sfsturbo/setup.py | 4 +- huaweicloud-sdk-sis/requirements.txt | 2 +- huaweicloud-sdk-sis/setup.py | 4 +- huaweicloud-sdk-smn/requirements.txt | 2 +- huaweicloud-sdk-smn/setup.py | 4 +- huaweicloud-sdk-sms/requirements.txt | 2 +- huaweicloud-sdk-sms/setup.py | 4 +- huaweicloud-sdk-sts/LICENSE | 13 + huaweicloud-sdk-sts/README_PYPI.md | 1 + .../huaweicloudsdksts/__init__.py | 0 .../huaweicloudsdksts/v1/__init__.py | 13 + .../huaweicloudsdksts/v1/model/__init__.py | 10 + .../model/decode_authorization_message_req.py | 114 ++++ .../decode_authorization_message_request.py | 141 +++++ .../decode_authorization_message_response.py | 116 ++++ .../v1/model/get_caller_identity_request.py | 116 ++++ .../v1/model/get_caller_identity_response.py | 174 ++++++ .../huaweicloudsdksts/v1/region/__init__.py | 0 .../huaweicloudsdksts/v1/region/sts_region.py | 70 +++ .../huaweicloudsdksts/v1/sts_async_client.py | 214 +++++++ .../huaweicloudsdksts/v1/sts_client.py | 211 +++++++ huaweicloud-sdk-sts/requirements.txt | 1 + huaweicloud-sdk-sts/setup.py | 55 ++ huaweicloud-sdk-swr/requirements.txt | 2 +- huaweicloud-sdk-swr/setup.py | 4 +- huaweicloud-sdk-tics/requirements.txt | 2 +- huaweicloud-sdk-tics/setup.py | 4 +- .../v1/model/delete_tag_request.py | 35 +- huaweicloud-sdk-tms/requirements.txt | 2 +- huaweicloud-sdk-tms/setup.py | 4 +- huaweicloud-sdk-ugo/requirements.txt | 2 +- huaweicloud-sdk-ugo/setup.py | 4 +- huaweicloud-sdk-vas/requirements.txt | 2 +- huaweicloud-sdk-vas/setup.py | 4 +- huaweicloud-sdk-vcm/requirements.txt | 2 +- huaweicloud-sdk-vcm/setup.py | 4 +- huaweicloud-sdk-vod/requirements.txt | 2 +- huaweicloud-sdk-vod/setup.py | 4 +- huaweicloud-sdk-vpc/requirements.txt | 2 +- huaweicloud-sdk-vpc/setup.py | 4 +- huaweicloud-sdk-vpcep/requirements.txt | 2 +- huaweicloud-sdk-vpcep/setup.py | 4 +- huaweicloud-sdk-vpn/requirements.txt | 2 +- huaweicloud-sdk-vpn/setup.py | 4 +- huaweicloud-sdk-waf/requirements.txt | 2 +- huaweicloud-sdk-waf/setup.py | 4 +- .../v2/region/workspace_region.py | 3 + huaweicloud-sdk-workspace/requirements.txt | 2 +- huaweicloud-sdk-workspace/setup.py | 4 +- huaweicloud-sdk-workspaceapp/requirements.txt | 2 +- huaweicloud-sdk-workspaceapp/setup.py | 4 +- 568 files changed, 11853 insertions(+), 2340 deletions(-) create mode 100644 huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request.py create mode 100644 huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request_body.py create mode 100644 huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_response.py create mode 100644 huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_org_conformance_pack_request_body.py create mode 100644 huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_request.py create mode 100644 huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_response.py create mode 100644 huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/engine_spec.py create mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py create mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_response.py create mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py create mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py rename huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_size2_d.py => huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_response.py (52%) create mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py create mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py rename huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/{instances_statistics_response_body_instances_statistics.py => show_error_log_switch_status_request.py} (56%) rename huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/{show_instances_statistics_request.py => show_error_log_switch_status_response.py} (68%) delete mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_response.py create mode 100644 huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_asset_meta.py delete mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_position2_d.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_asset_meta.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/inference_eye_correction_mark_info.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_asset_meta.py create mode 100644 huaweicloud-sdk-sts/LICENSE create mode 100644 huaweicloud-sdk-sts/README_PYPI.md create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/__init__.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/__init__.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/__init__.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_req.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_request.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_response.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_request.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_response.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/__init__.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_async_client.py create mode 100644 huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_client.py create mode 100644 huaweicloud-sdk-sts/requirements.txt create mode 100644 huaweicloud-sdk-sts/setup.py diff --git a/CHANGELOG.md b/CHANGELOG.md index e4a036bacb..f8b0b2cfd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,454 @@ +# 3.1.92 2024-04-18 + +### HuaweiCloud SDK AOM + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListEvents** + - changes of request param + - `+ Enterprise-Project-Id` + - **CountEvents** + - changes of response param + - `+ summary` + - **UpdateAlarmRule** + - changes of request param + - `+ period: enum value [3600000]` + - `- period: enum value [36000000]` + - **AddAlarmRule** + - changes of request param + - `+ period: enum value [3600000]` + - `- period: enum value [36000000]` + +### HuaweiCloud SDK Config + +- _Features_ + - Support the APIs `UpdateConformancePack`, `UpdateOrganizationConformancePack` +- _Bug Fix_ + - None +- _Change_ + - **ShowOrganizationPolicyAssignmentDetailedStatus** + - changes of request param + - `* organization_policy_assignment_name: required -> optional` + - **ShowConformancePack** + - changes of response param + - `+ template_key` + - `+ agency_name` + - `+ template_uri` + - `+ status: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + - **ShowOrganizationConformancePack** + - changes of response param + - `+ template_key` + - `+ template_uri` + - **ShowOrganizationConformancePackDetailedStatuses** + - changes of request param + - `* conformance_pack_name: required -> optional` + - `+ state: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + - **ShowTrackerConfig** + - changes of response param + - `+ retention_period_in_days` + - **CreateTrackerConfig** + - changes of request param + - `+ retention_period_in_days` + - **CreateConformancePack** + - changes of response param + - `+ template_key` + - `+ agency_name` + - `+ template_uri` + - `+ status: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + - **ListConformancePacks** + - changes of response param + - `+ template_key` + - `+ agency_name` + - `+ template_uri` + - `+ value.template_key` + - `+ value.template_uri` + - `+ value.agency_name` + - `+ value.status: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + +### HuaweiCloud SDK CSE + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListFlavors** + - changes of response param + - `+ data.spec` + +### HuaweiCloud SDK DCS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListMigrationTask** + - changes of response param + - `+ migration_tasks.description` + - `+ migration_tasks.source_instance_status` + - `+ migration_tasks.target_instance_status` + - `+ migration_tasks.source_instance_subnet_id` + - `+ migration_tasks.target_instance_subnet_id` + - `+ migration_tasks.source_instance_spec_code` + - `+ migration_tasks.target_instance_spec_code` + - `+ migration_tasks.error_message` + - `+ migration_tasks.released_at` + - `+ migration_tasks.version` + - `+ migration_tasks.resume_mode` + - `+ migration_tasks.supported_features` + - **ShowMigrationTask** + - changes of response param + - `+ task_status` + - `+ tenant_security_group_id` + - `+ tenant_vpc_id` + - `+ released_at` + - `+ version` + - `+ resume_mode` + - `+ supported_features` + - `+ bandwidth_limit_mb` + - `+ tenant_subnet_id` + - **StopMigrationTask** + - changes of response param + - `+ task_status` + - `+ tenant_security_group_id` + - `+ tenant_vpc_id` + - `+ released_at` + - `+ version` + - `+ resume_mode` + - `+ supported_features` + - `+ bandwidth_limit_mb` + - `+ tenant_subnet_id` + - **ListBackgroundTask** + - changes of response param + - `+ tasks.details.old_resource_spec_code` + - `+ tasks.details.new_resource_spec_code` + - `+ tasks.details.old_replica_num` + - `+ tasks.details.new_replica_num` + - `+ tasks.details.old_cache_type` + - `+ tasks.details.new_cache_type` + - `+ tasks.details.replica_ip` + - `+ tasks.details.replica_az` + - `+ tasks.details.group_name` + - `+ tasks.details.old_port` + - `+ tasks.details.new_port` + - `+ tasks.details.is_only_adjust_charging` + - `+ tasks.details.account_name` + - `+ tasks.details.source_ip` + - `+ tasks.details.target_ip` + - `+ tasks.details.node_name` + - `+ tasks.details.rename_commands` + - `+ tasks.details.updated_config_length` + - **ListCenterTask** + - changes of response param + - `+ tasks.details.old_resource_spec_code` + - `+ tasks.details.new_resource_spec_code` + - `+ tasks.details.old_replica_num` + - `+ tasks.details.new_replica_num` + - `+ tasks.details.old_cache_type` + - `+ tasks.details.new_cache_type` + - `+ tasks.details.replica_ip` + - `+ tasks.details.replica_az` + - `+ tasks.details.group_name` + - `+ tasks.details.old_port` + - `+ tasks.details.new_port` + - `+ tasks.details.is_only_adjust_charging` + - `+ tasks.details.account_name` + - `+ tasks.details.source_ip` + - `+ tasks.details.target_ip` + - `+ tasks.details.node_name` + - `+ tasks.details.rename_commands` + - `+ tasks.details.updated_config_length` + +### HuaweiCloud SDK GaussDBforopenGauss + +- _Features_ + - Support the APIs `ListTopIoTraffics`, `ShowErrorLogSwitchStatus`, `ListInstanceErrorLogs`, `DeleteInstanceTag` +- _Bug Fix_ + - None +- _Change_ + - Remove the API `ShowInstancesStatistics` + - **UpgradeInstanceVersion** + - changes of request param + - `+ upgrade_action` + - `- upgrde_action` + - `- is_parallel_upgrade` + - **ShowBackupPolicy** + - changes of response param + - `* backup_policy.differential_period: string -> int32` + +### HuaweiCloud SDK HSS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListSecurityEvents** + - changes of response param + - `+ data_list.process_info_list.process_file_hash` + - `+ data_list.process_info_list.parent_process_file_hash` + - `+ data_list.process_info_list.block` + +### HuaweiCloud SDK iDMEClassicAPI + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **BatchCreateView** + - changes of request param + - `- params.workCopyType: enum value [BOTH,SOURCE,TARGET,NONE,CUSTOM]` + - **CreateView** + - changes of request param + - `- params.workCopyType: enum value [BOTH,SOURCE,TARGET,NONE,CUSTOM]` + +### HuaweiCloud SDK MetaStudio + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **Create2dModelTrainingJob** + - changes of request param + - `+ model_version` + - **List2dModelTrainingJob** + - changes of request param + - `+ query_project_id` + - `+ model_resolution` + - changes of response param + - `+ jobs.model_resolution` + - `+ jobs.app_user_id` + - `+ jobs.model_version: enum value [V3.2]` + - **ShowRobot** + - changes of response param + - `+ room_id` + - `- concurrency` + - **UpdateRobot** + - changes of request param + - `+ room_id` + - `- concurrency` + - **ExecuteSmartLiveCommand** + - changes of request param + - `+ command: enum value [REFRESH_OUTPUT_URL]` + - changes of response param + - `+ command: enum value [REFRESH_OUTPUT_URL]` + - **Update2dModelTrainingJob** + - changes of request param + - `* body: object -> object` + - **Show2dModelTrainingJob** + - changes of response param + - `+ inference_data_process_eye_correction_mark_info` + - `+ worker_type` + - `+ app_user_id` + - `+ model_version: enum value [V3.2]` + - `+ operation_logs.log_type: enum value [SYSTEM_COMPILE_FAILED,SYSTEM_COMPILE_SUCCESS]` + - **CreateRobot** + - changes of request param + - `+ room_id` + - `- concurrency` + - **ListRobot** + - changes of request param + - `+ room_id` + - changes of response param + - `+ room_id` + - `- concurrency` + - `+ data.room_id` + - `- data.concurrency` + - **CreateSmartChatRoom** + - changes of request param + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - **ShowSmartChatRoom** + - changes of response param + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - **UpdateSmartChatRoom** + - changes of request param + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - changes of response param + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - **ShowSmartLive** + - changes of response param + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **ShowVideoMotionCaptureJob** + - changes of response param + - `+ output_info.output_data_version` + - **StartSmartLive** + - changes of request param + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - changes of response param + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **ListSmartLive** + - changes of response param + - `+ smart_live_jobs.live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **ListSmartLiveJobs** + - changes of response param + - `+ smart_live_jobs.live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **CreateVideoMotionCaptureJob** + - changes of request param + - `+ output_info.output_data_version` + - **ListVideoMotionCaptureJobs** + - changes of response param + - `+ video_motion_capture_jobs.output_info.output_data_version` + - **ShowAsset** + - changes of response param + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - **UpdateDigitalAsset** + - changes of request param + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - changes of response param + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - **Create2DDigitalHumanVideo** + - changes of request param + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **Show2DDigitalHumanVideo** + - changes of response param + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **CreatePhotoDigitalHumanVideo** + - changes of request param + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **ShowPhotoDigitalHumanVideo** + - changes of response param + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **CreateSmartLiveRoom** + - changes of request param + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - **ShowSmartLiveRoom** + - changes of response param + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - **UpdateSmartLiveRoom** + - changes of request param + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - changes of response param + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - **CreateVideoScripts** + - changes of request param + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **ShowVideoScript** + - changes of response param + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **UpdateVideoScript** + - changes of request param + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **CreateDigitalAsset** + - changes of request param + - `+ is_need_generate_cover` + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - **ListAssets** + - changes of request param + - `- X-REAL-IP` + - changes of response param + - `+ assets.asset_extra_meta.image_meta` + - `+ assets.asset_extra_meta.video_meta` + - `+ assets.asset_extra_meta.audio_meta` + +### HuaweiCloud SDK TMS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **DeleteResourceTag** + - changes of request param + - `+ tags.value` + # 3.1.91 2024-04-11 ### HuaweiCloud SDK AOS diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md index 03eba3d4fc..e8714577af 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -1,3 +1,454 @@ +# 3.1.92 2024-04-18 + +### HuaweiCloud SDK AOM + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListEvents** + - 请求参数变更 + - `+ Enterprise-Project-Id` + - **CountEvents** + - 响应参数变更 + - `+ summary` + - **UpdateAlarmRule** + - 请求参数变更 + - `+ period: enum value [3600000]` + - `- period: enum value [36000000]` + - **AddAlarmRule** + - 请求参数变更 + - `+ period: enum value [3600000]` + - `- period: enum value [36000000]` + +### HuaweiCloud SDK Config + +- _新增特性_ + - 支持接口`UpdateConformancePack`、`UpdateOrganizationConformancePack` +- _解决问题_ + - 无 +- _特性变更_ + - **ShowOrganizationPolicyAssignmentDetailedStatus** + - 请求参数变更 + - `* organization_policy_assignment_name: required -> optional` + - **ShowConformancePack** + - 响应参数变更 + - `+ template_key` + - `+ agency_name` + - `+ template_uri` + - `+ status: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + - **ShowOrganizationConformancePack** + - 响应参数变更 + - `+ template_key` + - `+ template_uri` + - **ShowOrganizationConformancePackDetailedStatuses** + - 请求参数变更 + - `* conformance_pack_name: required -> optional` + - `+ state: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + - **ShowTrackerConfig** + - 响应参数变更 + - `+ retention_period_in_days` + - **CreateTrackerConfig** + - 请求参数变更 + - `+ retention_period_in_days` + - **CreateConformancePack** + - 响应参数变更 + - `+ template_key` + - `+ agency_name` + - `+ template_uri` + - `+ status: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + - **ListConformancePacks** + - 响应参数变更 + - `+ template_key` + - `+ agency_name` + - `+ template_uri` + - `+ value.template_key` + - `+ value.template_uri` + - `+ value.agency_name` + - `+ value.status: enum value [UPDATE_SUCCESSFUL,UPDATE_IN_PROGRESS,UPDATE_FAILED]` + +### HuaweiCloud SDK CSE + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListFlavors** + - 响应参数变更 + - `+ data.spec` + +### HuaweiCloud SDK DCS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListMigrationTask** + - 响应参数变更 + - `+ migration_tasks.description` + - `+ migration_tasks.source_instance_status` + - `+ migration_tasks.target_instance_status` + - `+ migration_tasks.source_instance_subnet_id` + - `+ migration_tasks.target_instance_subnet_id` + - `+ migration_tasks.source_instance_spec_code` + - `+ migration_tasks.target_instance_spec_code` + - `+ migration_tasks.error_message` + - `+ migration_tasks.released_at` + - `+ migration_tasks.version` + - `+ migration_tasks.resume_mode` + - `+ migration_tasks.supported_features` + - **ShowMigrationTask** + - 响应参数变更 + - `+ task_status` + - `+ tenant_security_group_id` + - `+ tenant_vpc_id` + - `+ released_at` + - `+ version` + - `+ resume_mode` + - `+ supported_features` + - `+ bandwidth_limit_mb` + - `+ tenant_subnet_id` + - **StopMigrationTask** + - 响应参数变更 + - `+ task_status` + - `+ tenant_security_group_id` + - `+ tenant_vpc_id` + - `+ released_at` + - `+ version` + - `+ resume_mode` + - `+ supported_features` + - `+ bandwidth_limit_mb` + - `+ tenant_subnet_id` + - **ListBackgroundTask** + - 响应参数变更 + - `+ tasks.details.old_resource_spec_code` + - `+ tasks.details.new_resource_spec_code` + - `+ tasks.details.old_replica_num` + - `+ tasks.details.new_replica_num` + - `+ tasks.details.old_cache_type` + - `+ tasks.details.new_cache_type` + - `+ tasks.details.replica_ip` + - `+ tasks.details.replica_az` + - `+ tasks.details.group_name` + - `+ tasks.details.old_port` + - `+ tasks.details.new_port` + - `+ tasks.details.is_only_adjust_charging` + - `+ tasks.details.account_name` + - `+ tasks.details.source_ip` + - `+ tasks.details.target_ip` + - `+ tasks.details.node_name` + - `+ tasks.details.rename_commands` + - `+ tasks.details.updated_config_length` + - **ListCenterTask** + - 响应参数变更 + - `+ tasks.details.old_resource_spec_code` + - `+ tasks.details.new_resource_spec_code` + - `+ tasks.details.old_replica_num` + - `+ tasks.details.new_replica_num` + - `+ tasks.details.old_cache_type` + - `+ tasks.details.new_cache_type` + - `+ tasks.details.replica_ip` + - `+ tasks.details.replica_az` + - `+ tasks.details.group_name` + - `+ tasks.details.old_port` + - `+ tasks.details.new_port` + - `+ tasks.details.is_only_adjust_charging` + - `+ tasks.details.account_name` + - `+ tasks.details.source_ip` + - `+ tasks.details.target_ip` + - `+ tasks.details.node_name` + - `+ tasks.details.rename_commands` + - `+ tasks.details.updated_config_length` + +### HuaweiCloud SDK GaussDBforopenGauss + +- _新增特性_ + - 支持接口`ListTopIoTraffics`、`ShowErrorLogSwitchStatus`、`ListInstanceErrorLogs`、`DeleteInstanceTag` +- _解决问题_ + - 无 +- _特性变更_ + - 移除接口`ShowInstancesStatistics` + - **UpgradeInstanceVersion** + - 请求参数变更 + - `+ upgrade_action` + - `- upgrde_action` + - `- is_parallel_upgrade` + - **ShowBackupPolicy** + - 响应参数变更 + - `* backup_policy.differential_period: string -> int32` + +### HuaweiCloud SDK HSS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListSecurityEvents** + - 响应参数变更 + - `+ data_list.process_info_list.process_file_hash` + - `+ data_list.process_info_list.parent_process_file_hash` + - `+ data_list.process_info_list.block` + +### HuaweiCloud SDK iDMEClassicAPI + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **BatchCreateView** + - 请求参数变更 + - `- params.workCopyType: enum value [BOTH,SOURCE,TARGET,NONE,CUSTOM]` + - **CreateView** + - 请求参数变更 + - `- params.workCopyType: enum value [BOTH,SOURCE,TARGET,NONE,CUSTOM]` + +### HuaweiCloud SDK MetaStudio + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **Create2dModelTrainingJob** + - 请求参数变更 + - `+ model_version` + - **List2dModelTrainingJob** + - 请求参数变更 + - `+ query_project_id` + - `+ model_resolution` + - 响应参数变更 + - `+ jobs.model_resolution` + - `+ jobs.app_user_id` + - `+ jobs.model_version: enum value [V3.2]` + - **ShowRobot** + - 响应参数变更 + - `+ room_id` + - `- concurrency` + - **UpdateRobot** + - 请求参数变更 + - `+ room_id` + - `- concurrency` + - **ExecuteSmartLiveCommand** + - 请求参数变更 + - `+ command: enum value [REFRESH_OUTPUT_URL]` + - 响应参数变更 + - `+ command: enum value [REFRESH_OUTPUT_URL]` + - **Update2dModelTrainingJob** + - 请求参数变更 + - `* body: object -> object` + - **Show2dModelTrainingJob** + - 响应参数变更 + - `+ inference_data_process_eye_correction_mark_info` + - `+ worker_type` + - `+ app_user_id` + - `+ model_version: enum value [V3.2]` + - `+ operation_logs.log_type: enum value [SYSTEM_COMPILE_FAILED,SYSTEM_COMPILE_SUCCESS]` + - **CreateRobot** + - 请求参数变更 + - `+ room_id` + - `- concurrency` + - **ListRobot** + - 请求参数变更 + - `+ room_id` + - 响应参数变更 + - `+ room_id` + - `- concurrency` + - `+ data.room_id` + - `- data.concurrency` + - **CreateSmartChatRoom** + - 请求参数变更 + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - **ShowSmartChatRoom** + - 响应参数变更 + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - **UpdateSmartChatRoom** + - 请求参数变更 + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - 响应参数变更 + - `+ background_config.background_color_config` + - `- background_config.background_title` + - `- background_config.human_position_2d` + - `- background_config.human_size_2d` + - `- background_config.background_cover_url` + - `+ background_config.background_type: enum value [COLOR]` + - **ShowSmartLive** + - 响应参数变更 + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **ShowVideoMotionCaptureJob** + - 响应参数变更 + - `+ output_info.output_data_version` + - **StartSmartLive** + - 请求参数变更 + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - 响应参数变更 + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **ListSmartLive** + - 响应参数变更 + - `+ smart_live_jobs.live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **ListSmartLiveJobs** + - 响应参数变更 + - `+ smart_live_jobs.live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - **CreateVideoMotionCaptureJob** + - 请求参数变更 + - `+ output_info.output_data_version` + - **ListVideoMotionCaptureJobs** + - 响应参数变更 + - `+ video_motion_capture_jobs.output_info.output_data_version` + - **ShowAsset** + - 响应参数变更 + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - **UpdateDigitalAsset** + - 请求参数变更 + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - 响应参数变更 + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - **Create2DDigitalHumanVideo** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **Show2DDigitalHumanVideo** + - 响应参数变更 + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **CreatePhotoDigitalHumanVideo** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **ShowPhotoDigitalHumanVideo** + - 响应参数变更 + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **CreateSmartLiveRoom** + - 请求参数变更 + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - **ShowSmartLiveRoom** + - 响应参数变更 + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - **UpdateSmartLiveRoom** + - 请求参数变更 + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - 响应参数变更 + - `+ play_policy.need_independent_capture_client` + - `+ live_event_callback_config.auth_type: enum value [RTMP_STREAM_STATE_CHANGE,MEITUAN_DEFAULT]` + - `+ scene_scripts.background_config.background_color_config` + - `- scene_scripts.background_config.background_title` + - `- scene_scripts.background_config.human_position_2d` + - `- scene_scripts.background_config.human_size_2d` + - `- scene_scripts.background_config.background_cover_url` + - `+ scene_scripts.background_config.background_type: enum value [COLOR]` + - **CreateVideoScripts** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **ShowVideoScript** + - 响应参数变更 + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **UpdateVideoScript** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.background_config.background_color_config` + - `- shoot_scripts.shoot_script.background_config.background_title` + - `- shoot_scripts.shoot_script.background_config.human_position_2d` + - `- shoot_scripts.shoot_script.background_config.human_size_2d` + - `- shoot_scripts.shoot_script.background_config.background_cover_url` + - `+ shoot_scripts.shoot_script.background_config.background_type: enum value [COLOR]` + - **CreateDigitalAsset** + - 请求参数变更 + - `+ is_need_generate_cover` + - `+ asset_extra_meta.image_meta` + - `+ asset_extra_meta.video_meta` + - `+ asset_extra_meta.audio_meta` + - **ListAssets** + - 请求参数变更 + - `- X-REAL-IP` + - 响应参数变更 + - `+ assets.asset_extra_meta.image_meta` + - `+ assets.asset_extra_meta.video_meta` + - `+ assets.asset_extra_meta.audio_meta` + +### HuaweiCloud SDK TMS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **DeleteResourceTag** + - 请求参数变更 + - `+ tags.value` + # 3.1.91 2024-04-11 ### HuaweiCloud SDK AOS diff --git a/VERSION b/VERSION index d1aca36ce2..5b9105c989 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.91 +3.1.92 diff --git a/huaweicloud-sdk-aad/requirements.txt b/huaweicloud-sdk-aad/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-aad/requirements.txt +++ b/huaweicloud-sdk-aad/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-aad/setup.py b/huaweicloud-sdk-aad/setup.py index f8ec0f8de8..d1924b987d 100644 --- a/huaweicloud-sdk-aad/setup.py +++ b/huaweicloud-sdk-aad/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkaad" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-all/requirements.txt b/huaweicloud-sdk-all/requirements.txt index 2f4f4f451a..977b8b80d1 100644 --- a/huaweicloud-sdk-all/requirements.txt +++ b/huaweicloud-sdk-all/requirements.txt @@ -1,162 +1,163 @@ -huaweicloudsdkcore == 3.1.91 -huaweicloudsdkaad == 3.1.91 -huaweicloudsdkantiddos == 3.1.91 -huaweicloudsdkaom == 3.1.91 -huaweicloudsdkaos == 3.1.91 -huaweicloudsdkapig == 3.1.91 -huaweicloudsdkapm == 3.1.91 -huaweicloudsdkas == 3.1.91 -huaweicloudsdkasm == 3.1.91 -huaweicloudsdkbcs == 3.1.91 -huaweicloudsdkbms == 3.1.91 -huaweicloudsdkbss == 3.1.91 -huaweicloudsdkbssintl == 3.1.91 -huaweicloudsdkcae == 3.1.91 -huaweicloudsdkcampusgo == 3.1.91 -huaweicloudsdkcbh == 3.1.91 -huaweicloudsdkcbr == 3.1.91 -huaweicloudsdkcbs == 3.1.91 -huaweicloudsdkcc == 3.1.91 -huaweicloudsdkcce == 3.1.91 -huaweicloudsdkccm == 3.1.91 -huaweicloudsdkcdm == 3.1.91 -huaweicloudsdkcdn == 3.1.91 -huaweicloudsdkces == 3.1.91 -huaweicloudsdkcfw == 3.1.91 -huaweicloudsdkcgs == 3.1.91 -huaweicloudsdkclassroom == 3.1.91 -huaweicloudsdkcloudide == 3.1.91 -huaweicloudsdkcloudpond == 3.1.91 -huaweicloudsdkcloudrtc == 3.1.91 -huaweicloudsdkcloudtable == 3.1.91 -huaweicloudsdkcloudtest == 3.1.91 -huaweicloudsdkcodeartsartifact == 3.1.91 -huaweicloudsdkcodeartsbuild == 3.1.91 -huaweicloudsdkcodeartscheck == 3.1.91 -huaweicloudsdkcodeartsdeploy == 3.1.91 -huaweicloudsdkcodeartsinspector == 3.1.91 -huaweicloudsdkcodeartspipeline == 3.1.91 -huaweicloudsdkcodecraft == 3.1.91 -huaweicloudsdkcodehub == 3.1.91 -huaweicloudsdkconfig == 3.1.91 -huaweicloudsdkcph == 3.1.91 -huaweicloudsdkcpts == 3.1.91 -huaweicloudsdkcse == 3.1.91 -huaweicloudsdkcsms == 3.1.91 -huaweicloudsdkcss == 3.1.91 -huaweicloudsdkcts == 3.1.91 -huaweicloudsdkdas == 3.1.91 -huaweicloudsdkdataartsstudio == 3.1.91 -huaweicloudsdkdbss == 3.1.91 -huaweicloudsdkdc == 3.1.91 -huaweicloudsdkdcs == 3.1.91 -huaweicloudsdkddm == 3.1.91 -huaweicloudsdkdds == 3.1.91 -huaweicloudsdkdeh == 3.1.91 -huaweicloudsdkdevsecurity == 3.1.91 -huaweicloudsdkdevstar == 3.1.91 -huaweicloudsdkdgc == 3.1.91 -huaweicloudsdkdis == 3.1.91 -huaweicloudsdkdlf == 3.1.91 -huaweicloudsdkdli == 3.1.91 -huaweicloudsdkdns == 3.1.91 -huaweicloudsdkdris == 3.1.91 -huaweicloudsdkdrs == 3.1.91 -huaweicloudsdkdsc == 3.1.91 -huaweicloudsdkdwr == 3.1.91 -huaweicloudsdkdws == 3.1.91 -huaweicloudsdkec == 3.1.91 -huaweicloudsdkecs == 3.1.91 -huaweicloudsdkedgesec == 3.1.91 -huaweicloudsdkeg == 3.1.91 -huaweicloudsdkeihealth == 3.1.91 -huaweicloudsdkeip == 3.1.91 -huaweicloudsdkelb == 3.1.91 -huaweicloudsdkeps == 3.1.91 -huaweicloudsdker == 3.1.91 -huaweicloudsdkevs == 3.1.91 -huaweicloudsdkfrs == 3.1.91 -huaweicloudsdkfunctiongraph == 3.1.91 -huaweicloudsdkga == 3.1.91 -huaweicloudsdkgaussdb == 3.1.91 -huaweicloudsdkgaussdbfornosql == 3.1.91 -huaweicloudsdkgaussdbforopengauss == 3.1.91 -huaweicloudsdkgeip == 3.1.91 -huaweicloudsdkges == 3.1.91 -huaweicloudsdkgsl == 3.1.91 -huaweicloudsdkhilens == 3.1.91 -huaweicloudsdkhss == 3.1.91 -huaweicloudsdkiam == 3.1.91 -huaweicloudsdkiamaccessanalyzer == 3.1.91 -huaweicloudsdkidentitycenter == 3.1.91 -huaweicloudsdkidentitycenterstore == 3.1.91 -huaweicloudsdkidme == 3.1.91 -huaweicloudsdkidmeclassicapi == 3.1.91 -huaweicloudsdkiec == 3.1.91 -huaweicloudsdkief == 3.1.91 -huaweicloudsdkimage == 3.1.91 -huaweicloudsdkimagesearch == 3.1.91 -huaweicloudsdkims == 3.1.91 -huaweicloudsdkiotanalytics == 3.1.91 -huaweicloudsdkiotda == 3.1.91 -huaweicloudsdkiotedge == 3.1.91 -huaweicloudsdkivs == 3.1.91 -huaweicloudsdkkafka == 3.1.91 -huaweicloudsdkkms == 3.1.91 -huaweicloudsdkkoomessage == 3.1.91 -huaweicloudsdkkps == 3.1.91 -huaweicloudsdklakeformation == 3.1.91 -huaweicloudsdklive == 3.1.91 -huaweicloudsdklts == 3.1.91 -huaweicloudsdkmapds == 3.1.91 -huaweicloudsdkmas == 3.1.91 -huaweicloudsdkmeeting == 3.1.91 -huaweicloudsdkmetastudio == 3.1.91 -huaweicloudsdkmoderation == 3.1.91 -huaweicloudsdkmpc == 3.1.91 -huaweicloudsdkmrs == 3.1.91 -huaweicloudsdkmsgsms == 3.1.91 -huaweicloudsdkmssi == 3.1.91 -huaweicloudsdknat == 3.1.91 -huaweicloudsdknlp == 3.1.91 -huaweicloudsdkobs == 3.1.91 -huaweicloudsdkocr == 3.1.91 -huaweicloudsdkoctopus == 3.1.91 -huaweicloudsdkoms == 3.1.91 -huaweicloudsdkoptverse == 3.1.91 -huaweicloudsdkorganizations == 3.1.91 -huaweicloudsdkorgid == 3.1.91 -huaweicloudsdkoroas == 3.1.91 -huaweicloudsdkosm == 3.1.91 -huaweicloudsdkpangulargemodels == 3.1.91 -huaweicloudsdkprojectman == 3.1.91 -huaweicloudsdkrabbitmq == 3.1.91 -huaweicloudsdkram == 3.1.91 -huaweicloudsdkrds == 3.1.91 -huaweicloudsdkres == 3.1.91 -huaweicloudsdkrgc == 3.1.91 -huaweicloudsdkrms == 3.1.91 -huaweicloudsdkrocketmq == 3.1.91 -huaweicloudsdkroma == 3.1.91 -huaweicloudsdksa == 3.1.91 -huaweicloudsdkscm == 3.1.91 -huaweicloudsdksdrs == 3.1.91 -huaweicloudsdksecmaster == 3.1.91 -huaweicloudsdkservicestage == 3.1.91 -huaweicloudsdksfsturbo == 3.1.91 -huaweicloudsdksis == 3.1.91 -huaweicloudsdksmn == 3.1.91 -huaweicloudsdksms == 3.1.91 -huaweicloudsdkswr == 3.1.91 -huaweicloudsdktics == 3.1.91 -huaweicloudsdktms == 3.1.91 -huaweicloudsdkugo == 3.1.91 -huaweicloudsdkvas == 3.1.91 -huaweicloudsdkvcm == 3.1.91 -huaweicloudsdkvod == 3.1.91 -huaweicloudsdkvpc == 3.1.91 -huaweicloudsdkvpcep == 3.1.91 -huaweicloudsdkvpn == 3.1.91 -huaweicloudsdkwaf == 3.1.91 -huaweicloudsdkworkspace == 3.1.91 -huaweicloudsdkworkspaceapp == 3.1.91 +huaweicloudsdkcore == 3.1.92 +huaweicloudsdkaad == 3.1.92 +huaweicloudsdkantiddos == 3.1.92 +huaweicloudsdkaom == 3.1.92 +huaweicloudsdkaos == 3.1.92 +huaweicloudsdkapig == 3.1.92 +huaweicloudsdkapm == 3.1.92 +huaweicloudsdkas == 3.1.92 +huaweicloudsdkasm == 3.1.92 +huaweicloudsdkbcs == 3.1.92 +huaweicloudsdkbms == 3.1.92 +huaweicloudsdkbss == 3.1.92 +huaweicloudsdkbssintl == 3.1.92 +huaweicloudsdkcae == 3.1.92 +huaweicloudsdkcampusgo == 3.1.92 +huaweicloudsdkcbh == 3.1.92 +huaweicloudsdkcbr == 3.1.92 +huaweicloudsdkcbs == 3.1.92 +huaweicloudsdkcc == 3.1.92 +huaweicloudsdkcce == 3.1.92 +huaweicloudsdkccm == 3.1.92 +huaweicloudsdkcdm == 3.1.92 +huaweicloudsdkcdn == 3.1.92 +huaweicloudsdkces == 3.1.92 +huaweicloudsdkcfw == 3.1.92 +huaweicloudsdkcgs == 3.1.92 +huaweicloudsdkclassroom == 3.1.92 +huaweicloudsdkcloudide == 3.1.92 +huaweicloudsdkcloudpond == 3.1.92 +huaweicloudsdkcloudrtc == 3.1.92 +huaweicloudsdkcloudtable == 3.1.92 +huaweicloudsdkcloudtest == 3.1.92 +huaweicloudsdkcodeartsartifact == 3.1.92 +huaweicloudsdkcodeartsbuild == 3.1.92 +huaweicloudsdkcodeartscheck == 3.1.92 +huaweicloudsdkcodeartsdeploy == 3.1.92 +huaweicloudsdkcodeartsinspector == 3.1.92 +huaweicloudsdkcodeartspipeline == 3.1.92 +huaweicloudsdkcodecraft == 3.1.92 +huaweicloudsdkcodehub == 3.1.92 +huaweicloudsdkconfig == 3.1.92 +huaweicloudsdkcph == 3.1.92 +huaweicloudsdkcpts == 3.1.92 +huaweicloudsdkcse == 3.1.92 +huaweicloudsdkcsms == 3.1.92 +huaweicloudsdkcss == 3.1.92 +huaweicloudsdkcts == 3.1.92 +huaweicloudsdkdas == 3.1.92 +huaweicloudsdkdataartsstudio == 3.1.92 +huaweicloudsdkdbss == 3.1.92 +huaweicloudsdkdc == 3.1.92 +huaweicloudsdkdcs == 3.1.92 +huaweicloudsdkddm == 3.1.92 +huaweicloudsdkdds == 3.1.92 +huaweicloudsdkdeh == 3.1.92 +huaweicloudsdkdevsecurity == 3.1.92 +huaweicloudsdkdevstar == 3.1.92 +huaweicloudsdkdgc == 3.1.92 +huaweicloudsdkdis == 3.1.92 +huaweicloudsdkdlf == 3.1.92 +huaweicloudsdkdli == 3.1.92 +huaweicloudsdkdns == 3.1.92 +huaweicloudsdkdris == 3.1.92 +huaweicloudsdkdrs == 3.1.92 +huaweicloudsdkdsc == 3.1.92 +huaweicloudsdkdwr == 3.1.92 +huaweicloudsdkdws == 3.1.92 +huaweicloudsdkec == 3.1.92 +huaweicloudsdkecs == 3.1.92 +huaweicloudsdkedgesec == 3.1.92 +huaweicloudsdkeg == 3.1.92 +huaweicloudsdkeihealth == 3.1.92 +huaweicloudsdkeip == 3.1.92 +huaweicloudsdkelb == 3.1.92 +huaweicloudsdkeps == 3.1.92 +huaweicloudsdker == 3.1.92 +huaweicloudsdkevs == 3.1.92 +huaweicloudsdkfrs == 3.1.92 +huaweicloudsdkfunctiongraph == 3.1.92 +huaweicloudsdkga == 3.1.92 +huaweicloudsdkgaussdb == 3.1.92 +huaweicloudsdkgaussdbfornosql == 3.1.92 +huaweicloudsdkgaussdbforopengauss == 3.1.92 +huaweicloudsdkgeip == 3.1.92 +huaweicloudsdkges == 3.1.92 +huaweicloudsdkgsl == 3.1.92 +huaweicloudsdkhilens == 3.1.92 +huaweicloudsdkhss == 3.1.92 +huaweicloudsdkiam == 3.1.92 +huaweicloudsdkiamaccessanalyzer == 3.1.92 +huaweicloudsdkidentitycenter == 3.1.92 +huaweicloudsdkidentitycenterstore == 3.1.92 +huaweicloudsdkidme == 3.1.92 +huaweicloudsdkidmeclassicapi == 3.1.92 +huaweicloudsdkiec == 3.1.92 +huaweicloudsdkief == 3.1.92 +huaweicloudsdkimage == 3.1.92 +huaweicloudsdkimagesearch == 3.1.92 +huaweicloudsdkims == 3.1.92 +huaweicloudsdkiotanalytics == 3.1.92 +huaweicloudsdkiotda == 3.1.92 +huaweicloudsdkiotedge == 3.1.92 +huaweicloudsdkivs == 3.1.92 +huaweicloudsdkkafka == 3.1.92 +huaweicloudsdkkms == 3.1.92 +huaweicloudsdkkoomessage == 3.1.92 +huaweicloudsdkkps == 3.1.92 +huaweicloudsdklakeformation == 3.1.92 +huaweicloudsdklive == 3.1.92 +huaweicloudsdklts == 3.1.92 +huaweicloudsdkmapds == 3.1.92 +huaweicloudsdkmas == 3.1.92 +huaweicloudsdkmeeting == 3.1.92 +huaweicloudsdkmetastudio == 3.1.92 +huaweicloudsdkmoderation == 3.1.92 +huaweicloudsdkmpc == 3.1.92 +huaweicloudsdkmrs == 3.1.92 +huaweicloudsdkmsgsms == 3.1.92 +huaweicloudsdkmssi == 3.1.92 +huaweicloudsdknat == 3.1.92 +huaweicloudsdknlp == 3.1.92 +huaweicloudsdkobs == 3.1.92 +huaweicloudsdkocr == 3.1.92 +huaweicloudsdkoctopus == 3.1.92 +huaweicloudsdkoms == 3.1.92 +huaweicloudsdkoptverse == 3.1.92 +huaweicloudsdkorganizations == 3.1.92 +huaweicloudsdkorgid == 3.1.92 +huaweicloudsdkoroas == 3.1.92 +huaweicloudsdkosm == 3.1.92 +huaweicloudsdkpangulargemodels == 3.1.92 +huaweicloudsdkprojectman == 3.1.92 +huaweicloudsdkrabbitmq == 3.1.92 +huaweicloudsdkram == 3.1.92 +huaweicloudsdkrds == 3.1.92 +huaweicloudsdkres == 3.1.92 +huaweicloudsdkrgc == 3.1.92 +huaweicloudsdkrms == 3.1.92 +huaweicloudsdkrocketmq == 3.1.92 +huaweicloudsdkroma == 3.1.92 +huaweicloudsdksa == 3.1.92 +huaweicloudsdkscm == 3.1.92 +huaweicloudsdksdrs == 3.1.92 +huaweicloudsdksecmaster == 3.1.92 +huaweicloudsdkservicestage == 3.1.92 +huaweicloudsdksfsturbo == 3.1.92 +huaweicloudsdksis == 3.1.92 +huaweicloudsdksmn == 3.1.92 +huaweicloudsdksms == 3.1.92 +huaweicloudsdksts == 3.1.92 +huaweicloudsdkswr == 3.1.92 +huaweicloudsdktics == 3.1.92 +huaweicloudsdktms == 3.1.92 +huaweicloudsdkugo == 3.1.92 +huaweicloudsdkvas == 3.1.92 +huaweicloudsdkvcm == 3.1.92 +huaweicloudsdkvod == 3.1.92 +huaweicloudsdkvpc == 3.1.92 +huaweicloudsdkvpcep == 3.1.92 +huaweicloudsdkvpn == 3.1.92 +huaweicloudsdkwaf == 3.1.92 +huaweicloudsdkworkspace == 3.1.92 +huaweicloudsdkworkspaceapp == 3.1.92 diff --git a/huaweicloud-sdk-all/setup.py b/huaweicloud-sdk-all/setup.py index 1124306df9..480d5e7f34 100644 --- a/huaweicloud-sdk-all/setup.py +++ b/huaweicloud-sdk-all/setup.py @@ -23,7 +23,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkall" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -34,168 +34,169 @@ LONG_DESCRIPTION = f.read() INSTALL_REQUIRES = [ - 'huaweicloudsdkcore==3.1.91', - 'huaweicloudsdkaad==3.1.91', - 'huaweicloudsdkantiddos==3.1.91', - 'huaweicloudsdkaom==3.1.91', - 'huaweicloudsdkaos==3.1.91', - 'huaweicloudsdkapig==3.1.91', - 'huaweicloudsdkapm==3.1.91', - 'huaweicloudsdkas==3.1.91', - 'huaweicloudsdkasm==3.1.91', - 'huaweicloudsdkbcs==3.1.91', - 'huaweicloudsdkbms==3.1.91', - 'huaweicloudsdkbss==3.1.91', - 'huaweicloudsdkbssintl==3.1.91', - 'huaweicloudsdkcae==3.1.91', - 'huaweicloudsdkcampusgo==3.1.91', - 'huaweicloudsdkcbh==3.1.91', - 'huaweicloudsdkcbr==3.1.91', - 'huaweicloudsdkcbs==3.1.91', - 'huaweicloudsdkcc==3.1.91', - 'huaweicloudsdkcce==3.1.91', - 'huaweicloudsdkccm==3.1.91', - 'huaweicloudsdkcdm==3.1.91', - 'huaweicloudsdkcdn==3.1.91', - 'huaweicloudsdkces==3.1.91', - 'huaweicloudsdkcfw==3.1.91', - 'huaweicloudsdkcgs==3.1.91', - 'huaweicloudsdkclassroom==3.1.91', - 'huaweicloudsdkcloudide==3.1.91', - 'huaweicloudsdkcloudpond==3.1.91', - 'huaweicloudsdkcloudrtc==3.1.91', - 'huaweicloudsdkcloudtable==3.1.91', - 'huaweicloudsdkcloudtest==3.1.91', - 'huaweicloudsdkcodeartsartifact==3.1.91', - 'huaweicloudsdkcodeartsbuild==3.1.91', - 'huaweicloudsdkcodeartscheck==3.1.91', - 'huaweicloudsdkcodeartsdeploy==3.1.91', - 'huaweicloudsdkcodeartsinspector==3.1.91', - 'huaweicloudsdkcodeartspipeline==3.1.91', - 'huaweicloudsdkcodecraft==3.1.91', - 'huaweicloudsdkcodehub==3.1.91', - 'huaweicloudsdkconfig==3.1.91', - 'huaweicloudsdkcph==3.1.91', - 'huaweicloudsdkcpts==3.1.91', - 'huaweicloudsdkcse==3.1.91', - 'huaweicloudsdkcsms==3.1.91', - 'huaweicloudsdkcss==3.1.91', - 'huaweicloudsdkcts==3.1.91', - 'huaweicloudsdkdas==3.1.91', - 'huaweicloudsdkdataartsstudio==3.1.91', - 'huaweicloudsdkdbss==3.1.91', - 'huaweicloudsdkdc==3.1.91', - 'huaweicloudsdkdcs==3.1.91', - 'huaweicloudsdkddm==3.1.91', - 'huaweicloudsdkdds==3.1.91', - 'huaweicloudsdkdeh==3.1.91', - 'huaweicloudsdkdevsecurity==3.1.91', - 'huaweicloudsdkdevstar==3.1.91', - 'huaweicloudsdkdgc==3.1.91', - 'huaweicloudsdkdis==3.1.91', - 'huaweicloudsdkdlf==3.1.91', - 'huaweicloudsdkdli==3.1.91', - 'huaweicloudsdkdns==3.1.91', - 'huaweicloudsdkdris==3.1.91', - 'huaweicloudsdkdrs==3.1.91', - 'huaweicloudsdkdsc==3.1.91', - 'huaweicloudsdkdwr==3.1.91', - 'huaweicloudsdkdws==3.1.91', - 'huaweicloudsdkec==3.1.91', - 'huaweicloudsdkecs==3.1.91', - 'huaweicloudsdkedgesec==3.1.91', - 'huaweicloudsdkeg==3.1.91', - 'huaweicloudsdkeihealth==3.1.91', - 'huaweicloudsdkeip==3.1.91', - 'huaweicloudsdkelb==3.1.91', - 'huaweicloudsdkeps==3.1.91', - 'huaweicloudsdker==3.1.91', - 'huaweicloudsdkevs==3.1.91', - 'huaweicloudsdkfrs==3.1.91', - 'huaweicloudsdkfunctiongraph==3.1.91', - 'huaweicloudsdkga==3.1.91', - 'huaweicloudsdkgaussdb==3.1.91', - 'huaweicloudsdkgaussdbfornosql==3.1.91', - 'huaweicloudsdkgaussdbforopengauss==3.1.91', - 'huaweicloudsdkgeip==3.1.91', - 'huaweicloudsdkges==3.1.91', - 'huaweicloudsdkgsl==3.1.91', - 'huaweicloudsdkhilens==3.1.91', - 'huaweicloudsdkhss==3.1.91', - 'huaweicloudsdkiam==3.1.91', - 'huaweicloudsdkiamaccessanalyzer==3.1.91', - 'huaweicloudsdkidentitycenter==3.1.91', - 'huaweicloudsdkidentitycenterstore==3.1.91', - 'huaweicloudsdkidme==3.1.91', - 'huaweicloudsdkidmeclassicapi==3.1.91', - 'huaweicloudsdkiec==3.1.91', - 'huaweicloudsdkief==3.1.91', - 'huaweicloudsdkimage==3.1.91', - 'huaweicloudsdkimagesearch==3.1.91', - 'huaweicloudsdkims==3.1.91', - 'huaweicloudsdkiotanalytics==3.1.91', - 'huaweicloudsdkiotda==3.1.91', - 'huaweicloudsdkiotedge==3.1.91', - 'huaweicloudsdkivs==3.1.91', - 'huaweicloudsdkkafka==3.1.91', - 'huaweicloudsdkkms==3.1.91', - 'huaweicloudsdkkoomessage==3.1.91', - 'huaweicloudsdkkps==3.1.91', - 'huaweicloudsdklakeformation==3.1.91', - 'huaweicloudsdklive==3.1.91', - 'huaweicloudsdklts==3.1.91', - 'huaweicloudsdkmapds==3.1.91', - 'huaweicloudsdkmas==3.1.91', - 'huaweicloudsdkmeeting==3.1.91', - 'huaweicloudsdkmetastudio==3.1.91', - 'huaweicloudsdkmoderation==3.1.91', - 'huaweicloudsdkmpc==3.1.91', - 'huaweicloudsdkmrs==3.1.91', - 'huaweicloudsdkmsgsms==3.1.91', - 'huaweicloudsdkmssi==3.1.91', - 'huaweicloudsdknat==3.1.91', - 'huaweicloudsdknlp==3.1.91', - 'huaweicloudsdkobs==3.1.91', - 'huaweicloudsdkocr==3.1.91', - 'huaweicloudsdkoctopus==3.1.91', - 'huaweicloudsdkoms==3.1.91', - 'huaweicloudsdkoptverse==3.1.91', - 'huaweicloudsdkorganizations==3.1.91', - 'huaweicloudsdkorgid==3.1.91', - 'huaweicloudsdkoroas==3.1.91', - 'huaweicloudsdkosm==3.1.91', - 'huaweicloudsdkpangulargemodels==3.1.91', - 'huaweicloudsdkprojectman==3.1.91', - 'huaweicloudsdkrabbitmq==3.1.91', - 'huaweicloudsdkram==3.1.91', - 'huaweicloudsdkrds==3.1.91', - 'huaweicloudsdkres==3.1.91', - 'huaweicloudsdkrgc==3.1.91', - 'huaweicloudsdkrms==3.1.91', - 'huaweicloudsdkrocketmq==3.1.91', - 'huaweicloudsdkroma==3.1.91', - 'huaweicloudsdksa==3.1.91', - 'huaweicloudsdkscm==3.1.91', - 'huaweicloudsdksdrs==3.1.91', - 'huaweicloudsdksecmaster==3.1.91', - 'huaweicloudsdkservicestage==3.1.91', - 'huaweicloudsdksfsturbo==3.1.91', - 'huaweicloudsdksis==3.1.91', - 'huaweicloudsdksmn==3.1.91', - 'huaweicloudsdksms==3.1.91', - 'huaweicloudsdkswr==3.1.91', - 'huaweicloudsdktics==3.1.91', - 'huaweicloudsdktms==3.1.91', - 'huaweicloudsdkugo==3.1.91', - 'huaweicloudsdkvas==3.1.91', - 'huaweicloudsdkvcm==3.1.91', - 'huaweicloudsdkvod==3.1.91', - 'huaweicloudsdkvpc==3.1.91', - 'huaweicloudsdkvpcep==3.1.91', - 'huaweicloudsdkvpn==3.1.91', - 'huaweicloudsdkwaf==3.1.91', - 'huaweicloudsdkworkspace==3.1.91', - 'huaweicloudsdkworkspaceapp==3.1.91', + 'huaweicloudsdkcore==3.1.92', + 'huaweicloudsdkaad==3.1.92', + 'huaweicloudsdkantiddos==3.1.92', + 'huaweicloudsdkaom==3.1.92', + 'huaweicloudsdkaos==3.1.92', + 'huaweicloudsdkapig==3.1.92', + 'huaweicloudsdkapm==3.1.92', + 'huaweicloudsdkas==3.1.92', + 'huaweicloudsdkasm==3.1.92', + 'huaweicloudsdkbcs==3.1.92', + 'huaweicloudsdkbms==3.1.92', + 'huaweicloudsdkbss==3.1.92', + 'huaweicloudsdkbssintl==3.1.92', + 'huaweicloudsdkcae==3.1.92', + 'huaweicloudsdkcampusgo==3.1.92', + 'huaweicloudsdkcbh==3.1.92', + 'huaweicloudsdkcbr==3.1.92', + 'huaweicloudsdkcbs==3.1.92', + 'huaweicloudsdkcc==3.1.92', + 'huaweicloudsdkcce==3.1.92', + 'huaweicloudsdkccm==3.1.92', + 'huaweicloudsdkcdm==3.1.92', + 'huaweicloudsdkcdn==3.1.92', + 'huaweicloudsdkces==3.1.92', + 'huaweicloudsdkcfw==3.1.92', + 'huaweicloudsdkcgs==3.1.92', + 'huaweicloudsdkclassroom==3.1.92', + 'huaweicloudsdkcloudide==3.1.92', + 'huaweicloudsdkcloudpond==3.1.92', + 'huaweicloudsdkcloudrtc==3.1.92', + 'huaweicloudsdkcloudtable==3.1.92', + 'huaweicloudsdkcloudtest==3.1.92', + 'huaweicloudsdkcodeartsartifact==3.1.92', + 'huaweicloudsdkcodeartsbuild==3.1.92', + 'huaweicloudsdkcodeartscheck==3.1.92', + 'huaweicloudsdkcodeartsdeploy==3.1.92', + 'huaweicloudsdkcodeartsinspector==3.1.92', + 'huaweicloudsdkcodeartspipeline==3.1.92', + 'huaweicloudsdkcodecraft==3.1.92', + 'huaweicloudsdkcodehub==3.1.92', + 'huaweicloudsdkconfig==3.1.92', + 'huaweicloudsdkcph==3.1.92', + 'huaweicloudsdkcpts==3.1.92', + 'huaweicloudsdkcse==3.1.92', + 'huaweicloudsdkcsms==3.1.92', + 'huaweicloudsdkcss==3.1.92', + 'huaweicloudsdkcts==3.1.92', + 'huaweicloudsdkdas==3.1.92', + 'huaweicloudsdkdataartsstudio==3.1.92', + 'huaweicloudsdkdbss==3.1.92', + 'huaweicloudsdkdc==3.1.92', + 'huaweicloudsdkdcs==3.1.92', + 'huaweicloudsdkddm==3.1.92', + 'huaweicloudsdkdds==3.1.92', + 'huaweicloudsdkdeh==3.1.92', + 'huaweicloudsdkdevsecurity==3.1.92', + 'huaweicloudsdkdevstar==3.1.92', + 'huaweicloudsdkdgc==3.1.92', + 'huaweicloudsdkdis==3.1.92', + 'huaweicloudsdkdlf==3.1.92', + 'huaweicloudsdkdli==3.1.92', + 'huaweicloudsdkdns==3.1.92', + 'huaweicloudsdkdris==3.1.92', + 'huaweicloudsdkdrs==3.1.92', + 'huaweicloudsdkdsc==3.1.92', + 'huaweicloudsdkdwr==3.1.92', + 'huaweicloudsdkdws==3.1.92', + 'huaweicloudsdkec==3.1.92', + 'huaweicloudsdkecs==3.1.92', + 'huaweicloudsdkedgesec==3.1.92', + 'huaweicloudsdkeg==3.1.92', + 'huaweicloudsdkeihealth==3.1.92', + 'huaweicloudsdkeip==3.1.92', + 'huaweicloudsdkelb==3.1.92', + 'huaweicloudsdkeps==3.1.92', + 'huaweicloudsdker==3.1.92', + 'huaweicloudsdkevs==3.1.92', + 'huaweicloudsdkfrs==3.1.92', + 'huaweicloudsdkfunctiongraph==3.1.92', + 'huaweicloudsdkga==3.1.92', + 'huaweicloudsdkgaussdb==3.1.92', + 'huaweicloudsdkgaussdbfornosql==3.1.92', + 'huaweicloudsdkgaussdbforopengauss==3.1.92', + 'huaweicloudsdkgeip==3.1.92', + 'huaweicloudsdkges==3.1.92', + 'huaweicloudsdkgsl==3.1.92', + 'huaweicloudsdkhilens==3.1.92', + 'huaweicloudsdkhss==3.1.92', + 'huaweicloudsdkiam==3.1.92', + 'huaweicloudsdkiamaccessanalyzer==3.1.92', + 'huaweicloudsdkidentitycenter==3.1.92', + 'huaweicloudsdkidentitycenterstore==3.1.92', + 'huaweicloudsdkidme==3.1.92', + 'huaweicloudsdkidmeclassicapi==3.1.92', + 'huaweicloudsdkiec==3.1.92', + 'huaweicloudsdkief==3.1.92', + 'huaweicloudsdkimage==3.1.92', + 'huaweicloudsdkimagesearch==3.1.92', + 'huaweicloudsdkims==3.1.92', + 'huaweicloudsdkiotanalytics==3.1.92', + 'huaweicloudsdkiotda==3.1.92', + 'huaweicloudsdkiotedge==3.1.92', + 'huaweicloudsdkivs==3.1.92', + 'huaweicloudsdkkafka==3.1.92', + 'huaweicloudsdkkms==3.1.92', + 'huaweicloudsdkkoomessage==3.1.92', + 'huaweicloudsdkkps==3.1.92', + 'huaweicloudsdklakeformation==3.1.92', + 'huaweicloudsdklive==3.1.92', + 'huaweicloudsdklts==3.1.92', + 'huaweicloudsdkmapds==3.1.92', + 'huaweicloudsdkmas==3.1.92', + 'huaweicloudsdkmeeting==3.1.92', + 'huaweicloudsdkmetastudio==3.1.92', + 'huaweicloudsdkmoderation==3.1.92', + 'huaweicloudsdkmpc==3.1.92', + 'huaweicloudsdkmrs==3.1.92', + 'huaweicloudsdkmsgsms==3.1.92', + 'huaweicloudsdkmssi==3.1.92', + 'huaweicloudsdknat==3.1.92', + 'huaweicloudsdknlp==3.1.92', + 'huaweicloudsdkobs==3.1.92', + 'huaweicloudsdkocr==3.1.92', + 'huaweicloudsdkoctopus==3.1.92', + 'huaweicloudsdkoms==3.1.92', + 'huaweicloudsdkoptverse==3.1.92', + 'huaweicloudsdkorganizations==3.1.92', + 'huaweicloudsdkorgid==3.1.92', + 'huaweicloudsdkoroas==3.1.92', + 'huaweicloudsdkosm==3.1.92', + 'huaweicloudsdkpangulargemodels==3.1.92', + 'huaweicloudsdkprojectman==3.1.92', + 'huaweicloudsdkrabbitmq==3.1.92', + 'huaweicloudsdkram==3.1.92', + 'huaweicloudsdkrds==3.1.92', + 'huaweicloudsdkres==3.1.92', + 'huaweicloudsdkrgc==3.1.92', + 'huaweicloudsdkrms==3.1.92', + 'huaweicloudsdkrocketmq==3.1.92', + 'huaweicloudsdkroma==3.1.92', + 'huaweicloudsdksa==3.1.92', + 'huaweicloudsdkscm==3.1.92', + 'huaweicloudsdksdrs==3.1.92', + 'huaweicloudsdksecmaster==3.1.92', + 'huaweicloudsdkservicestage==3.1.92', + 'huaweicloudsdksfsturbo==3.1.92', + 'huaweicloudsdksis==3.1.92', + 'huaweicloudsdksmn==3.1.92', + 'huaweicloudsdksms==3.1.92', + 'huaweicloudsdksts==3.1.92', + 'huaweicloudsdkswr==3.1.92', + 'huaweicloudsdktics==3.1.92', + 'huaweicloudsdktms==3.1.92', + 'huaweicloudsdkugo==3.1.92', + 'huaweicloudsdkvas==3.1.92', + 'huaweicloudsdkvcm==3.1.92', + 'huaweicloudsdkvod==3.1.92', + 'huaweicloudsdkvpc==3.1.92', + 'huaweicloudsdkvpcep==3.1.92', + 'huaweicloudsdkvpn==3.1.92', + 'huaweicloudsdkwaf==3.1.92', + 'huaweicloudsdkworkspace==3.1.92', + 'huaweicloudsdkworkspaceapp==3.1.92', ] OPTIONS = { diff --git a/huaweicloud-sdk-antiddos/requirements.txt b/huaweicloud-sdk-antiddos/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-antiddos/requirements.txt +++ b/huaweicloud-sdk-antiddos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-antiddos/setup.py b/huaweicloud-sdk-antiddos/setup.py index 600ddfa7b7..55e0b3e6ad 100644 --- a/huaweicloud-sdk-antiddos/setup.py +++ b/huaweicloud-sdk-antiddos/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkantiddos" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py index 717905977b..e049302c30 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py @@ -1180,6 +1180,8 @@ def _list_events_http_info(self, request): query_params.append(('type', local_var_params['type'])) header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] form_params = {} diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py index 22553615c1..a4f2c32f57 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py @@ -1180,6 +1180,8 @@ def _list_events_http_info(cls, request): query_params.append(('type', local_var_params['type'])) header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] form_params = {} diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/count_events_response.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/count_events_response.py index a7af275b10..0733300787 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/count_events_response.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/count_events_response.py @@ -20,16 +20,18 @@ class CountEventsResponse(SdkResponse): openapi_types = { 'step': 'int', 'timestamps': 'list[int]', - 'series': 'list[EventSeries]' + 'series': 'list[EventSeries]', + 'summary': 'dict(str, int)' } attribute_map = { 'step': 'step', 'timestamps': 'timestamps', - 'series': 'series' + 'series': 'series', + 'summary': 'summary' } - def __init__(self, step=None, timestamps=None, series=None): + def __init__(self, step=None, timestamps=None, series=None, summary=None): """CountEventsResponse The model defined in huaweicloud sdk @@ -40,6 +42,8 @@ def __init__(self, step=None, timestamps=None, series=None): :type timestamps: list[int] :param series: 事件或者告警不同级别相同时间序列对应的统计结果。 :type series: list[:class:`huaweicloudsdkaom.v2.EventSeries`] + :param summary: 各类告警信息的数量汇总 + :type summary: dict(str, int) """ super(CountEventsResponse, self).__init__() @@ -47,6 +51,7 @@ def __init__(self, step=None, timestamps=None, series=None): self._step = None self._timestamps = None self._series = None + self._summary = None self.discriminator = None if step is not None: @@ -55,6 +60,8 @@ def __init__(self, step=None, timestamps=None, series=None): self.timestamps = timestamps if series is not None: self.series = series + if summary is not None: + self.summary = summary @property def step(self): @@ -122,6 +129,28 @@ def series(self, series): """ self._series = series + @property + def summary(self): + """Gets the summary of this CountEventsResponse. + + 各类告警信息的数量汇总 + + :return: The summary of this CountEventsResponse. + :rtype: dict(str, int) + """ + return self._summary + + @summary.setter + def summary(self, summary): + """Sets the summary of this CountEventsResponse. + + 各类告警信息的数量汇总 + + :param summary: The summary of this CountEventsResponse. + :type summary: dict(str, int) + """ + self._summary = summary + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py index 995e759d79..d334f67378 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py @@ -18,21 +18,25 @@ class ListEventsRequest: openapi_types = { 'type': 'str', + 'enterprise_project_id': 'str', 'body': 'EventQueryParam2' } attribute_map = { 'type': 'type', + 'enterprise_project_id': 'Enterprise-Project-Id', 'body': 'body' } - def __init__(self, type=None, body=None): + def __init__(self, type=None, enterprise_project_id=None, body=None): """ListEventsRequest The model defined in huaweicloud sdk :param type: 查询类型。type=active_alert代表查询活动告警,type=history_alert代表查询历史告警。不传或者传其他值则返回指定查询条件的所有信息。 :type type: str + :param enterprise_project_id: 企业项目id。 - 查询单个企业项目下实例,填写企业项目id。 - 查询所有企业项目下实例,填写“all_granted_eps”。 + :type enterprise_project_id: str :param body: Body of the ListEventsRequest :type body: :class:`huaweicloudsdkaom.v2.EventQueryParam2` """ @@ -40,11 +44,14 @@ def __init__(self, type=None, body=None): self._type = None + self._enterprise_project_id = None self._body = None self.discriminator = None if type is not None: self.type = type + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id if body is not None: self.body = body @@ -70,6 +77,28 @@ def type(self, type): """ self._type = type + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this ListEventsRequest. + + 企业项目id。 - 查询单个企业项目下实例,填写企业项目id。 - 查询所有企业项目下实例,填写“all_granted_eps”。 + + :return: The enterprise_project_id of this ListEventsRequest. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this ListEventsRequest. + + 企业项目id。 - 查询单个企业项目下实例,填写企业项目id。 - 查询所有企业项目下实例,填写“all_granted_eps”。 + + :param enterprise_project_id: The enterprise_project_id of this ListEventsRequest. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + @property def body(self): """Gets the body of this ListEventsRequest. diff --git a/huaweicloud-sdk-aom/requirements.txt b/huaweicloud-sdk-aom/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-aom/requirements.txt +++ b/huaweicloud-sdk-aom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-aom/setup.py b/huaweicloud-sdk-aom/setup.py index 22cd51a3c3..495de228c7 100644 --- a/huaweicloud-sdk-aom/setup.py +++ b/huaweicloud-sdk-aom/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkaom" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aos/requirements.txt b/huaweicloud-sdk-aos/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-aos/requirements.txt +++ b/huaweicloud-sdk-aos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-aos/setup.py b/huaweicloud-sdk-aos/setup.py index 79231f36d7..0dce969c2a 100644 --- a/huaweicloud-sdk-aos/setup.py +++ b/huaweicloud-sdk-aos/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkaos" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apig/requirements.txt b/huaweicloud-sdk-apig/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-apig/requirements.txt +++ b/huaweicloud-sdk-apig/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-apig/setup.py b/huaweicloud-sdk-apig/setup.py index 0d6b90ede9..aa21dd0fd0 100644 --- a/huaweicloud-sdk-apig/setup.py +++ b/huaweicloud-sdk-apig/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkapig" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apm/requirements.txt b/huaweicloud-sdk-apm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-apm/requirements.txt +++ b/huaweicloud-sdk-apm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-apm/setup.py b/huaweicloud-sdk-apm/setup.py index e0d4037d8b..c6494331ee 100644 --- a/huaweicloud-sdk-apm/setup.py +++ b/huaweicloud-sdk-apm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkapm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-as/huaweicloudsdkas/v1/region/as_region.py b/huaweicloud-sdk-as/huaweicloudsdkas/v1/region/as_region.py index d63537db62..14076aebe9 100644 --- a/huaweicloud-sdk-as/huaweicloudsdkas/v1/region/as_region.py +++ b/huaweicloud-sdk-as/huaweicloudsdkas/v1/region/as_region.py @@ -52,6 +52,8 @@ class AsRegion: "https://as.eu-west-101.myhuaweicloud.com") MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", "https://as.my-kualalumpur-1.myhuaweicloud.com") + RU_MOSCOW_1 = Region("ru-moscow-1", + "https://as.ru-moscow-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -77,6 +79,7 @@ class AsRegion: "eu-west-0": EU_WEST_0, "eu-west-101": EU_WEST_101, "my-kualalumpur-1": MY_KUALALUMPUR_1, + "ru-moscow-1": RU_MOSCOW_1, } @classmethod diff --git a/huaweicloud-sdk-as/requirements.txt b/huaweicloud-sdk-as/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-as/requirements.txt +++ b/huaweicloud-sdk-as/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-as/setup.py b/huaweicloud-sdk-as/setup.py index f1ccd04f95..df13b27eb5 100644 --- a/huaweicloud-sdk-as/setup.py +++ b/huaweicloud-sdk-as/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkas" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-asm/requirements.txt b/huaweicloud-sdk-asm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-asm/requirements.txt +++ b/huaweicloud-sdk-asm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-asm/setup.py b/huaweicloud-sdk-asm/setup.py index b15060723d..bf944de82d 100644 --- a/huaweicloud-sdk-asm/setup.py +++ b/huaweicloud-sdk-asm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkasm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bcs/requirements.txt b/huaweicloud-sdk-bcs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-bcs/requirements.txt +++ b/huaweicloud-sdk-bcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-bcs/setup.py b/huaweicloud-sdk-bcs/setup.py index 4f59f5640b..b691c80f01 100644 --- a/huaweicloud-sdk-bcs/setup.py +++ b/huaweicloud-sdk-bcs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbcs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bms/requirements.txt b/huaweicloud-sdk-bms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-bms/requirements.txt +++ b/huaweicloud-sdk-bms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-bms/setup.py b/huaweicloud-sdk-bms/setup.py index 120862e1d2..13e187836c 100644 --- a/huaweicloud-sdk-bms/setup.py +++ b/huaweicloud-sdk-bms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bss/requirements.txt b/huaweicloud-sdk-bss/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-bss/requirements.txt +++ b/huaweicloud-sdk-bss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-bss/setup.py b/huaweicloud-sdk-bss/setup.py index 8494b3493b..a90e896e4f 100644 --- a/huaweicloud-sdk-bss/setup.py +++ b/huaweicloud-sdk-bss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbss" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bssintl/requirements.txt b/huaweicloud-sdk-bssintl/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-bssintl/requirements.txt +++ b/huaweicloud-sdk-bssintl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-bssintl/setup.py b/huaweicloud-sdk-bssintl/setup.py index bc92873ddf..14153dfdb0 100644 --- a/huaweicloud-sdk-bssintl/setup.py +++ b/huaweicloud-sdk-bssintl/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbssintl" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cae/requirements.txt b/huaweicloud-sdk-cae/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cae/requirements.txt +++ b/huaweicloud-sdk-cae/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cae/setup.py b/huaweicloud-sdk-cae/setup.py index 66cd89458d..7efe228a87 100644 --- a/huaweicloud-sdk-cae/setup.py +++ b/huaweicloud-sdk-cae/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcae" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-campusgo/requirements.txt b/huaweicloud-sdk-campusgo/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-campusgo/requirements.txt +++ b/huaweicloud-sdk-campusgo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-campusgo/setup.py b/huaweicloud-sdk-campusgo/setup.py index c97a5e3893..39c356ee7f 100644 --- a/huaweicloud-sdk-campusgo/setup.py +++ b/huaweicloud-sdk-campusgo/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcampusgo" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbh/requirements.txt b/huaweicloud-sdk-cbh/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cbh/requirements.txt +++ b/huaweicloud-sdk-cbh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cbh/setup.py b/huaweicloud-sdk-cbh/setup.py index ae7f1580e8..13b66b6301 100644 --- a/huaweicloud-sdk-cbh/setup.py +++ b/huaweicloud-sdk-cbh/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcbh" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbr/requirements.txt b/huaweicloud-sdk-cbr/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cbr/requirements.txt +++ b/huaweicloud-sdk-cbr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cbr/setup.py b/huaweicloud-sdk-cbr/setup.py index a17775d877..6af59f096f 100644 --- a/huaweicloud-sdk-cbr/setup.py +++ b/huaweicloud-sdk-cbr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcbr" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbs/requirements.txt b/huaweicloud-sdk-cbs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cbs/requirements.txt +++ b/huaweicloud-sdk-cbs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cbs/setup.py b/huaweicloud-sdk-cbs/setup.py index 0fd69e4fe4..6a8dd913fc 100644 --- a/huaweicloud-sdk-cbs/setup.py +++ b/huaweicloud-sdk-cbs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcbs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cc/requirements.txt b/huaweicloud-sdk-cc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cc/requirements.txt +++ b/huaweicloud-sdk-cc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cc/setup.py b/huaweicloud-sdk-cc/setup.py index f602c6c129..8c5e4b8e60 100644 --- a/huaweicloud-sdk-cc/setup.py +++ b/huaweicloud-sdk-cc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py index a5e62c7252..08aaf5f62c 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py @@ -58,6 +58,8 @@ class CceRegion: "https://cce.my-kualalumpur-1.myhuaweicloud.com") EU_WEST_0 = Region("eu-west-0", "https://cce.eu-west-0.myhuaweicloud.com") + RU_MOSCOW_1 = Region("ru-moscow-1", + "https://cce.ru-moscow-1.myhuaweicloud.com") static_fields = { "cn-north-1": CN_NORTH_1, @@ -86,6 +88,7 @@ class CceRegion: "cn-north-11": CN_NORTH_11, "my-kualalumpur-1": MY_KUALALUMPUR_1, "eu-west-0": EU_WEST_0, + "ru-moscow-1": RU_MOSCOW_1, } @classmethod diff --git a/huaweicloud-sdk-cce/requirements.txt b/huaweicloud-sdk-cce/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cce/requirements.txt +++ b/huaweicloud-sdk-cce/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cce/setup.py b/huaweicloud-sdk-cce/setup.py index fdc565a498..9a4316a188 100644 --- a/huaweicloud-sdk-cce/setup.py +++ b/huaweicloud-sdk-cce/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcce" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ccm/requirements.txt b/huaweicloud-sdk-ccm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ccm/requirements.txt +++ b/huaweicloud-sdk-ccm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ccm/setup.py b/huaweicloud-sdk-ccm/setup.py index 084d833110..dea4ae9736 100644 --- a/huaweicloud-sdk-ccm/setup.py +++ b/huaweicloud-sdk-ccm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkccm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdm/requirements.txt b/huaweicloud-sdk-cdm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cdm/requirements.txt +++ b/huaweicloud-sdk-cdm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cdm/setup.py b/huaweicloud-sdk-cdm/setup.py index aa7c518679..f69b18107a 100644 --- a/huaweicloud-sdk-cdm/setup.py +++ b/huaweicloud-sdk-cdm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcdm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdn/requirements.txt b/huaweicloud-sdk-cdn/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cdn/requirements.txt +++ b/huaweicloud-sdk-cdn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cdn/setup.py b/huaweicloud-sdk-cdn/setup.py index 1829051be2..2a37d04c79 100644 --- a/huaweicloud-sdk-cdn/setup.py +++ b/huaweicloud-sdk-cdn/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcdn" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ces/requirements.txt b/huaweicloud-sdk-ces/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ces/requirements.txt +++ b/huaweicloud-sdk-ces/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ces/setup.py b/huaweicloud-sdk-ces/setup.py index 7814d9ab3e..a78f7c87f8 100644 --- a/huaweicloud-sdk-ces/setup.py +++ b/huaweicloud-sdk-ces/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkces" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cfw/requirements.txt b/huaweicloud-sdk-cfw/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cfw/requirements.txt +++ b/huaweicloud-sdk-cfw/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cfw/setup.py b/huaweicloud-sdk-cfw/setup.py index 11fc6c38f0..ad0c435e56 100644 --- a/huaweicloud-sdk-cfw/setup.py +++ b/huaweicloud-sdk-cfw/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcfw" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cgs/requirements.txt b/huaweicloud-sdk-cgs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cgs/requirements.txt +++ b/huaweicloud-sdk-cgs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cgs/setup.py b/huaweicloud-sdk-cgs/setup.py index 9749a1df2e..b1f548070b 100644 --- a/huaweicloud-sdk-cgs/setup.py +++ b/huaweicloud-sdk-cgs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcgs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-classroom/requirements.txt b/huaweicloud-sdk-classroom/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-classroom/requirements.txt +++ b/huaweicloud-sdk-classroom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-classroom/setup.py b/huaweicloud-sdk-classroom/setup.py index 5a5c537c7f..a8af44a9e4 100644 --- a/huaweicloud-sdk-classroom/setup.py +++ b/huaweicloud-sdk-classroom/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkclassroom" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudide/requirements.txt b/huaweicloud-sdk-cloudide/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cloudide/requirements.txt +++ b/huaweicloud-sdk-cloudide/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudide/setup.py b/huaweicloud-sdk-cloudide/setup.py index af4a5ea4da..415c377a51 100644 --- a/huaweicloud-sdk-cloudide/setup.py +++ b/huaweicloud-sdk-cloudide/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudide" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudpond/requirements.txt b/huaweicloud-sdk-cloudpond/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cloudpond/requirements.txt +++ b/huaweicloud-sdk-cloudpond/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudpond/setup.py b/huaweicloud-sdk-cloudpond/setup.py index 35343945ee..8f51ad0a99 100644 --- a/huaweicloud-sdk-cloudpond/setup.py +++ b/huaweicloud-sdk-cloudpond/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudpond" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudrtc/requirements.txt b/huaweicloud-sdk-cloudrtc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cloudrtc/requirements.txt +++ b/huaweicloud-sdk-cloudrtc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudrtc/setup.py b/huaweicloud-sdk-cloudrtc/setup.py index 17ccaa7856..70cfe05af0 100644 --- a/huaweicloud-sdk-cloudrtc/setup.py +++ b/huaweicloud-sdk-cloudrtc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudrtc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtable/requirements.txt b/huaweicloud-sdk-cloudtable/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cloudtable/requirements.txt +++ b/huaweicloud-sdk-cloudtable/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtable/setup.py b/huaweicloud-sdk-cloudtable/setup.py index a1014ce72c..bf43bf4d53 100644 --- a/huaweicloud-sdk-cloudtable/setup.py +++ b/huaweicloud-sdk-cloudtable/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudtable" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtest/requirements.txt b/huaweicloud-sdk-cloudtest/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cloudtest/requirements.txt +++ b/huaweicloud-sdk-cloudtest/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtest/setup.py b/huaweicloud-sdk-cloudtest/setup.py index 940f34b00d..eb0e4bed46 100644 --- a/huaweicloud-sdk-cloudtest/setup.py +++ b/huaweicloud-sdk-cloudtest/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudtest" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsartifact/requirements.txt b/huaweicloud-sdk-codeartsartifact/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codeartsartifact/requirements.txt +++ b/huaweicloud-sdk-codeartsartifact/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsartifact/setup.py b/huaweicloud-sdk-codeartsartifact/setup.py index b2e542dade..b22422878e 100644 --- a/huaweicloud-sdk-codeartsartifact/setup.py +++ b/huaweicloud-sdk-codeartsartifact/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsartifact" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsbuild/requirements.txt b/huaweicloud-sdk-codeartsbuild/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codeartsbuild/requirements.txt +++ b/huaweicloud-sdk-codeartsbuild/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsbuild/setup.py b/huaweicloud-sdk-codeartsbuild/setup.py index c277305475..062ae1c26a 100644 --- a/huaweicloud-sdk-codeartsbuild/setup.py +++ b/huaweicloud-sdk-codeartsbuild/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsbuild" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartscheck/requirements.txt b/huaweicloud-sdk-codeartscheck/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codeartscheck/requirements.txt +++ b/huaweicloud-sdk-codeartscheck/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartscheck/setup.py b/huaweicloud-sdk-codeartscheck/setup.py index 040be3e508..68fb1a29d2 100644 --- a/huaweicloud-sdk-codeartscheck/setup.py +++ b/huaweicloud-sdk-codeartscheck/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartscheck" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsdeploy/requirements.txt b/huaweicloud-sdk-codeartsdeploy/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codeartsdeploy/requirements.txt +++ b/huaweicloud-sdk-codeartsdeploy/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsdeploy/setup.py b/huaweicloud-sdk-codeartsdeploy/setup.py index cd4c66c7c0..839aa18f74 100644 --- a/huaweicloud-sdk-codeartsdeploy/setup.py +++ b/huaweicloud-sdk-codeartsdeploy/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsdeploy" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsinspector/requirements.txt b/huaweicloud-sdk-codeartsinspector/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codeartsinspector/requirements.txt +++ b/huaweicloud-sdk-codeartsinspector/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsinspector/setup.py b/huaweicloud-sdk-codeartsinspector/setup.py index a89b897956..d61546fb32 100644 --- a/huaweicloud-sdk-codeartsinspector/setup.py +++ b/huaweicloud-sdk-codeartsinspector/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsinspector" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartspipeline/requirements.txt b/huaweicloud-sdk-codeartspipeline/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codeartspipeline/requirements.txt +++ b/huaweicloud-sdk-codeartspipeline/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartspipeline/setup.py b/huaweicloud-sdk-codeartspipeline/setup.py index fe10f883ac..86290e2be7 100644 --- a/huaweicloud-sdk-codeartspipeline/setup.py +++ b/huaweicloud-sdk-codeartspipeline/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartspipeline" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codecraft/requirements.txt b/huaweicloud-sdk-codecraft/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codecraft/requirements.txt +++ b/huaweicloud-sdk-codecraft/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codecraft/setup.py b/huaweicloud-sdk-codecraft/setup.py index e65dd97f6c..84edf7e9b5 100644 --- a/huaweicloud-sdk-codecraft/setup.py +++ b/huaweicloud-sdk-codecraft/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodecraft" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codehub/requirements.txt b/huaweicloud-sdk-codehub/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-codehub/requirements.txt +++ b/huaweicloud-sdk-codehub/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-codehub/setup.py b/huaweicloud-sdk-codehub/setup.py index 51394ac47b..42add4ea1c 100644 --- a/huaweicloud-sdk-codehub/setup.py +++ b/huaweicloud-sdk-codehub/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodehub" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/__init__.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/__init__.py index 90b22d1362..4e4a226379 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/__init__.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/__init__.py @@ -237,6 +237,12 @@ from huaweicloudsdkconfig.v1.model.tracker_smn_channel_config_body import TrackerSMNChannelConfigBody from huaweicloudsdkconfig.v1.model.update_configuration_aggregator_request import UpdateConfigurationAggregatorRequest from huaweicloudsdkconfig.v1.model.update_configuration_aggregator_response import UpdateConfigurationAggregatorResponse +from huaweicloudsdkconfig.v1.model.update_conformance_pack_request import UpdateConformancePackRequest +from huaweicloudsdkconfig.v1.model.update_conformance_pack_request_body import UpdateConformancePackRequestBody +from huaweicloudsdkconfig.v1.model.update_conformance_pack_response import UpdateConformancePackResponse +from huaweicloudsdkconfig.v1.model.update_org_conformance_pack_request_body import UpdateOrgConformancePackRequestBody +from huaweicloudsdkconfig.v1.model.update_organization_conformance_pack_request import UpdateOrganizationConformancePackRequest +from huaweicloudsdkconfig.v1.model.update_organization_conformance_pack_response import UpdateOrganizationConformancePackResponse from huaweicloudsdkconfig.v1.model.update_organization_policy_assignment_request import UpdateOrganizationPolicyAssignmentRequest from huaweicloudsdkconfig.v1.model.update_organization_policy_assignment_response import UpdateOrganizationPolicyAssignmentResponse from huaweicloudsdkconfig.v1.model.update_policy_assignment_request import UpdatePolicyAssignmentRequest diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_async_client.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_async_client.py index 1369cc6366..cd3cbba9b6 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_async_client.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_async_client.py @@ -2405,6 +2405,142 @@ def _show_organization_conformance_pack_detailed_statuses_http_info(self, reques return http_info + def update_conformance_pack_async(self, request): + """更新合规规则包 + + 更新用户的合规规则包。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateConformancePack + :type request: :class:`huaweicloudsdkconfig.v1.UpdateConformancePackRequest` + :rtype: :class:`huaweicloudsdkconfig.v1.UpdateConformancePackResponse` + """ + http_info = self._update_conformance_pack_http_info(request) + return self._call_api(**http_info) + + def update_conformance_pack_async_invoker(self, request): + http_info = self._update_conformance_pack_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_conformance_pack_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/resource-manager/domains/{domain_id}/conformance-packs/{conformance_pack_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateConformancePackResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'conformance_pack_id' in local_var_params: + path_params['conformance_pack_id'] = local_var_params['conformance_pack_id'] + + query_params = [] + + header_params = {} + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def update_organization_conformance_pack_async(self, request): + """更新组织合规规则包 + + 更新用户的组织合规规则包。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateOrganizationConformancePack + :type request: :class:`huaweicloudsdkconfig.v1.UpdateOrganizationConformancePackRequest` + :rtype: :class:`huaweicloudsdkconfig.v1.UpdateOrganizationConformancePackResponse` + """ + http_info = self._update_organization_conformance_pack_http_info(request) + return self._call_api(**http_info) + + def update_organization_conformance_pack_async_invoker(self, request): + http_info = self._update_organization_conformance_pack_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_organization_conformance_pack_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/resource-manager/organizations/{organization_id}/conformance-packs/{conformance_pack_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateOrganizationConformancePackResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'organization_id' in local_var_params: + path_params['organization_id'] = local_var_params['organization_id'] + if 'conformance_pack_id' in local_var_params: + path_params['conformance_pack_id'] = local_var_params['conformance_pack_id'] + + query_params = [] + + header_params = {} + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def show_resource_history_async(self, request): """查询资源历史 diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_client.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_client.py index f572fbf9c5..2b0d425a79 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_client.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/config_client.py @@ -2405,6 +2405,142 @@ def _show_organization_conformance_pack_detailed_statuses_http_info(cls, request return http_info + def update_conformance_pack(self, request): + """更新合规规则包 + + 更新用户的合规规则包。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateConformancePack + :type request: :class:`huaweicloudsdkconfig.v1.UpdateConformancePackRequest` + :rtype: :class:`huaweicloudsdkconfig.v1.UpdateConformancePackResponse` + """ + http_info = self._update_conformance_pack_http_info(request) + return self._call_api(**http_info) + + def update_conformance_pack_invoker(self, request): + http_info = self._update_conformance_pack_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_conformance_pack_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/resource-manager/domains/{domain_id}/conformance-packs/{conformance_pack_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateConformancePackResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'conformance_pack_id' in local_var_params: + path_params['conformance_pack_id'] = local_var_params['conformance_pack_id'] + + query_params = [] + + header_params = {} + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def update_organization_conformance_pack(self, request): + """更新组织合规规则包 + + 更新用户的组织合规规则包。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateOrganizationConformancePack + :type request: :class:`huaweicloudsdkconfig.v1.UpdateOrganizationConformancePackRequest` + :rtype: :class:`huaweicloudsdkconfig.v1.UpdateOrganizationConformancePackResponse` + """ + http_info = self._update_organization_conformance_pack_http_info(request) + return self._call_api(**http_info) + + def update_organization_conformance_pack_invoker(self, request): + http_info = self._update_organization_conformance_pack_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_organization_conformance_pack_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/resource-manager/organizations/{organization_id}/conformance-packs/{conformance_pack_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateOrganizationConformancePackResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'organization_id' in local_var_params: + path_params['organization_id'] = local_var_params['organization_id'] + if 'conformance_pack_id' in local_var_params: + path_params['conformance_pack_id'] = local_var_params['conformance_pack_id'] + + query_params = [] + + header_params = {} + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def show_resource_history(self, request): """查询资源历史 diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/__init__.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/__init__.py index a787587778..7b630e6644 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/__init__.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/__init__.py @@ -235,6 +235,12 @@ from huaweicloudsdkconfig.v1.model.tracker_smn_channel_config_body import TrackerSMNChannelConfigBody from huaweicloudsdkconfig.v1.model.update_configuration_aggregator_request import UpdateConfigurationAggregatorRequest from huaweicloudsdkconfig.v1.model.update_configuration_aggregator_response import UpdateConfigurationAggregatorResponse +from huaweicloudsdkconfig.v1.model.update_conformance_pack_request import UpdateConformancePackRequest +from huaweicloudsdkconfig.v1.model.update_conformance_pack_request_body import UpdateConformancePackRequestBody +from huaweicloudsdkconfig.v1.model.update_conformance_pack_response import UpdateConformancePackResponse +from huaweicloudsdkconfig.v1.model.update_org_conformance_pack_request_body import UpdateOrgConformancePackRequestBody +from huaweicloudsdkconfig.v1.model.update_organization_conformance_pack_request import UpdateOrganizationConformancePackRequest +from huaweicloudsdkconfig.v1.model.update_organization_conformance_pack_response import UpdateOrganizationConformancePackResponse from huaweicloudsdkconfig.v1.model.update_organization_policy_assignment_request import UpdateOrganizationPolicyAssignmentRequest from huaweicloudsdkconfig.v1.model.update_organization_policy_assignment_response import UpdateOrganizationPolicyAssignmentResponse from huaweicloudsdkconfig.v1.model.update_policy_assignment_request import UpdatePolicyAssignmentRequest diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/conformance_pack.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/conformance_pack.py index 9f27487fb0..1141c8aa06 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/conformance_pack.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/conformance_pack.py @@ -24,6 +24,9 @@ class ConformancePack: 'deployment_id': 'str', 'created_at': 'str', 'updated_at': 'str', + 'template_key': 'str', + 'template_uri': 'str', + 'agency_name': 'str', 'status': 'str', 'error_message': 'str', 'vars_structure': 'list[VarsStructure]', @@ -38,13 +41,16 @@ class ConformancePack: 'deployment_id': 'deployment_id', 'created_at': 'created_at', 'updated_at': 'updated_at', + 'template_key': 'template_key', + 'template_uri': 'template_uri', + 'agency_name': 'agency_name', 'status': 'status', 'error_message': 'error_message', 'vars_structure': 'vars_structure', 'created_by': 'created_by' } - def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deployment_id=None, created_at=None, updated_at=None, status=None, error_message=None, vars_structure=None, created_by=None): + def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deployment_id=None, created_at=None, updated_at=None, template_key=None, template_uri=None, agency_name=None, status=None, error_message=None, vars_structure=None, created_by=None): """ConformancePack The model defined in huaweicloud sdk @@ -63,6 +69,12 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen :type created_at: str :param updated_at: 合规规则包更新时间。 :type updated_at: str + :param template_key: 预定义合规规则包模板名称。 + :type template_key: str + :param template_uri: 合规规则包模板OBS地址 + :type template_uri: str + :param agency_name: 委托名称 + :type agency_name: str :param status: 合规规则包部署状态。 :type status: str :param error_message: 部署或删除合规规则包错误时的错误信息 @@ -82,6 +94,9 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen self._deployment_id = None self._created_at = None self._updated_at = None + self._template_key = None + self._template_uri = None + self._agency_name = None self._status = None self._error_message = None self._vars_structure = None @@ -102,6 +117,12 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen self.created_at = created_at if updated_at is not None: self.updated_at = updated_at + if template_key is not None: + self.template_key = template_key + if template_uri is not None: + self.template_uri = template_uri + if agency_name is not None: + self.agency_name = agency_name if status is not None: self.status = status if error_message is not None: @@ -265,6 +286,72 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def template_key(self): + """Gets the template_key of this ConformancePack. + + 预定义合规规则包模板名称。 + + :return: The template_key of this ConformancePack. + :rtype: str + """ + return self._template_key + + @template_key.setter + def template_key(self, template_key): + """Sets the template_key of this ConformancePack. + + 预定义合规规则包模板名称。 + + :param template_key: The template_key of this ConformancePack. + :type template_key: str + """ + self._template_key = template_key + + @property + def template_uri(self): + """Gets the template_uri of this ConformancePack. + + 合规规则包模板OBS地址 + + :return: The template_uri of this ConformancePack. + :rtype: str + """ + return self._template_uri + + @template_uri.setter + def template_uri(self, template_uri): + """Sets the template_uri of this ConformancePack. + + 合规规则包模板OBS地址 + + :param template_uri: The template_uri of this ConformancePack. + :type template_uri: str + """ + self._template_uri = template_uri + + @property + def agency_name(self): + """Gets the agency_name of this ConformancePack. + + 委托名称 + + :return: The agency_name of this ConformancePack. + :rtype: str + """ + return self._agency_name + + @agency_name.setter + def agency_name(self, agency_name): + """Sets the agency_name of this ConformancePack. + + 委托名称 + + :param agency_name: The agency_name of this ConformancePack. + :type agency_name: str + """ + self._agency_name = agency_name + @property def status(self): """Gets the status of this ConformancePack. diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/create_conformance_pack_response.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/create_conformance_pack_response.py index d6f9196275..7a1773dcc4 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/create_conformance_pack_response.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/create_conformance_pack_response.py @@ -25,6 +25,9 @@ class CreateConformancePackResponse(SdkResponse): 'deployment_id': 'str', 'created_at': 'str', 'updated_at': 'str', + 'template_key': 'str', + 'template_uri': 'str', + 'agency_name': 'str', 'status': 'str', 'error_message': 'str', 'vars_structure': 'list[VarsStructure]', @@ -39,13 +42,16 @@ class CreateConformancePackResponse(SdkResponse): 'deployment_id': 'deployment_id', 'created_at': 'created_at', 'updated_at': 'updated_at', + 'template_key': 'template_key', + 'template_uri': 'template_uri', + 'agency_name': 'agency_name', 'status': 'status', 'error_message': 'error_message', 'vars_structure': 'vars_structure', 'created_by': 'created_by' } - def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deployment_id=None, created_at=None, updated_at=None, status=None, error_message=None, vars_structure=None, created_by=None): + def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deployment_id=None, created_at=None, updated_at=None, template_key=None, template_uri=None, agency_name=None, status=None, error_message=None, vars_structure=None, created_by=None): """CreateConformancePackResponse The model defined in huaweicloud sdk @@ -64,6 +70,12 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen :type created_at: str :param updated_at: 合规规则包更新时间。 :type updated_at: str + :param template_key: 预定义合规规则包模板名称。 + :type template_key: str + :param template_uri: 合规规则包模板OBS地址 + :type template_uri: str + :param agency_name: 委托名称 + :type agency_name: str :param status: 合规规则包部署状态。 :type status: str :param error_message: 部署或删除合规规则包错误时的错误信息 @@ -83,6 +95,9 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen self._deployment_id = None self._created_at = None self._updated_at = None + self._template_key = None + self._template_uri = None + self._agency_name = None self._status = None self._error_message = None self._vars_structure = None @@ -103,6 +118,12 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen self.created_at = created_at if updated_at is not None: self.updated_at = updated_at + if template_key is not None: + self.template_key = template_key + if template_uri is not None: + self.template_uri = template_uri + if agency_name is not None: + self.agency_name = agency_name if status is not None: self.status = status if error_message is not None: @@ -266,6 +287,72 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def template_key(self): + """Gets the template_key of this CreateConformancePackResponse. + + 预定义合规规则包模板名称。 + + :return: The template_key of this CreateConformancePackResponse. + :rtype: str + """ + return self._template_key + + @template_key.setter + def template_key(self, template_key): + """Sets the template_key of this CreateConformancePackResponse. + + 预定义合规规则包模板名称。 + + :param template_key: The template_key of this CreateConformancePackResponse. + :type template_key: str + """ + self._template_key = template_key + + @property + def template_uri(self): + """Gets the template_uri of this CreateConformancePackResponse. + + 合规规则包模板OBS地址 + + :return: The template_uri of this CreateConformancePackResponse. + :rtype: str + """ + return self._template_uri + + @template_uri.setter + def template_uri(self, template_uri): + """Sets the template_uri of this CreateConformancePackResponse. + + 合规规则包模板OBS地址 + + :param template_uri: The template_uri of this CreateConformancePackResponse. + :type template_uri: str + """ + self._template_uri = template_uri + + @property + def agency_name(self): + """Gets the agency_name of this CreateConformancePackResponse. + + 委托名称 + + :return: The agency_name of this CreateConformancePackResponse. + :rtype: str + """ + return self._agency_name + + @agency_name.setter + def agency_name(self, agency_name): + """Sets the agency_name of this CreateConformancePackResponse. + + 委托名称 + + :param agency_name: The agency_name of this CreateConformancePackResponse. + :type agency_name: str + """ + self._agency_name = agency_name + @property def status(self): """Gets the status of this CreateConformancePackResponse. diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_conformance_pack_response.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_conformance_pack_response.py index 6653c9f03b..f716847c80 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_conformance_pack_response.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_conformance_pack_response.py @@ -25,6 +25,9 @@ class ShowConformancePackResponse(SdkResponse): 'deployment_id': 'str', 'created_at': 'str', 'updated_at': 'str', + 'template_key': 'str', + 'template_uri': 'str', + 'agency_name': 'str', 'status': 'str', 'error_message': 'str', 'vars_structure': 'list[VarsStructure]', @@ -39,13 +42,16 @@ class ShowConformancePackResponse(SdkResponse): 'deployment_id': 'deployment_id', 'created_at': 'created_at', 'updated_at': 'updated_at', + 'template_key': 'template_key', + 'template_uri': 'template_uri', + 'agency_name': 'agency_name', 'status': 'status', 'error_message': 'error_message', 'vars_structure': 'vars_structure', 'created_by': 'created_by' } - def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deployment_id=None, created_at=None, updated_at=None, status=None, error_message=None, vars_structure=None, created_by=None): + def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deployment_id=None, created_at=None, updated_at=None, template_key=None, template_uri=None, agency_name=None, status=None, error_message=None, vars_structure=None, created_by=None): """ShowConformancePackResponse The model defined in huaweicloud sdk @@ -64,6 +70,12 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen :type created_at: str :param updated_at: 合规规则包更新时间。 :type updated_at: str + :param template_key: 预定义合规规则包模板名称。 + :type template_key: str + :param template_uri: 合规规则包模板OBS地址 + :type template_uri: str + :param agency_name: 委托名称 + :type agency_name: str :param status: 合规规则包部署状态。 :type status: str :param error_message: 部署或删除合规规则包错误时的错误信息 @@ -83,6 +95,9 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen self._deployment_id = None self._created_at = None self._updated_at = None + self._template_key = None + self._template_uri = None + self._agency_name = None self._status = None self._error_message = None self._vars_structure = None @@ -103,6 +118,12 @@ def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deploymen self.created_at = created_at if updated_at is not None: self.updated_at = updated_at + if template_key is not None: + self.template_key = template_key + if template_uri is not None: + self.template_uri = template_uri + if agency_name is not None: + self.agency_name = agency_name if status is not None: self.status = status if error_message is not None: @@ -266,6 +287,72 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def template_key(self): + """Gets the template_key of this ShowConformancePackResponse. + + 预定义合规规则包模板名称。 + + :return: The template_key of this ShowConformancePackResponse. + :rtype: str + """ + return self._template_key + + @template_key.setter + def template_key(self, template_key): + """Sets the template_key of this ShowConformancePackResponse. + + 预定义合规规则包模板名称。 + + :param template_key: The template_key of this ShowConformancePackResponse. + :type template_key: str + """ + self._template_key = template_key + + @property + def template_uri(self): + """Gets the template_uri of this ShowConformancePackResponse. + + 合规规则包模板OBS地址 + + :return: The template_uri of this ShowConformancePackResponse. + :rtype: str + """ + return self._template_uri + + @template_uri.setter + def template_uri(self, template_uri): + """Sets the template_uri of this ShowConformancePackResponse. + + 合规规则包模板OBS地址 + + :param template_uri: The template_uri of this ShowConformancePackResponse. + :type template_uri: str + """ + self._template_uri = template_uri + + @property + def agency_name(self): + """Gets the agency_name of this ShowConformancePackResponse. + + 委托名称 + + :return: The agency_name of this ShowConformancePackResponse. + :rtype: str + """ + return self._agency_name + + @agency_name.setter + def agency_name(self, agency_name): + """Sets the agency_name of this ShowConformancePackResponse. + + 委托名称 + + :param agency_name: The agency_name of this ShowConformancePackResponse. + :type agency_name: str + """ + self._agency_name = agency_name + @property def status(self): """Gets the status of this ShowConformancePackResponse. diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_detailed_statuses_request.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_detailed_statuses_request.py index c5b2083d19..9a1b8f7852 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_detailed_statuses_request.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_detailed_statuses_request.py @@ -64,7 +64,8 @@ def __init__(self, organization_id=None, conformance_pack_name=None, organizatio self.discriminator = None self.organization_id = organization_id - self.conformance_pack_name = conformance_pack_name + if conformance_pack_name is not None: + self.conformance_pack_name = conformance_pack_name if organization_conformance_pack_id is not None: self.organization_conformance_pack_id = organization_conformance_pack_id if state is not None: diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_response.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_response.py index 457df17d5a..a15cc3f4d6 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_response.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_conformance_pack_response.py @@ -26,7 +26,9 @@ class ShowOrganizationConformancePackResponse(SdkResponse): 'excluded_accounts': 'list[str]', 'vars_structure': 'list[VarsStructure]', 'created_at': 'str', - 'updated_at': 'str' + 'updated_at': 'str', + 'template_key': 'str', + 'template_uri': 'str' } attribute_map = { @@ -38,10 +40,12 @@ class ShowOrganizationConformancePackResponse(SdkResponse): 'excluded_accounts': 'excluded_accounts', 'vars_structure': 'vars_structure', 'created_at': 'created_at', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'template_key': 'template_key', + 'template_uri': 'template_uri' } - def __init__(self, org_conformance_pack_id=None, org_conformance_pack_name=None, owner_id=None, organization_id=None, org_conformance_pack_urn=None, excluded_accounts=None, vars_structure=None, created_at=None, updated_at=None): + def __init__(self, org_conformance_pack_id=None, org_conformance_pack_name=None, owner_id=None, organization_id=None, org_conformance_pack_urn=None, excluded_accounts=None, vars_structure=None, created_at=None, updated_at=None, template_key=None, template_uri=None): """ShowOrganizationConformancePackResponse The model defined in huaweicloud sdk @@ -64,6 +68,10 @@ def __init__(self, org_conformance_pack_id=None, org_conformance_pack_name=None, :type created_at: str :param updated_at: 组织合规规则包更新时间。 :type updated_at: str + :param template_key: 预定义合规规则包模板名称。 + :type template_key: str + :param template_uri: 合规规则包模板OBS地址 + :type template_uri: str """ super(ShowOrganizationConformancePackResponse, self).__init__() @@ -77,6 +85,8 @@ def __init__(self, org_conformance_pack_id=None, org_conformance_pack_name=None, self._vars_structure = None self._created_at = None self._updated_at = None + self._template_key = None + self._template_uri = None self.discriminator = None if org_conformance_pack_id is not None: @@ -97,6 +107,10 @@ def __init__(self, org_conformance_pack_id=None, org_conformance_pack_name=None, self.created_at = created_at if updated_at is not None: self.updated_at = updated_at + if template_key is not None: + self.template_key = template_key + if template_uri is not None: + self.template_uri = template_uri @property def org_conformance_pack_id(self): @@ -296,6 +310,50 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def template_key(self): + """Gets the template_key of this ShowOrganizationConformancePackResponse. + + 预定义合规规则包模板名称。 + + :return: The template_key of this ShowOrganizationConformancePackResponse. + :rtype: str + """ + return self._template_key + + @template_key.setter + def template_key(self, template_key): + """Sets the template_key of this ShowOrganizationConformancePackResponse. + + 预定义合规规则包模板名称。 + + :param template_key: The template_key of this ShowOrganizationConformancePackResponse. + :type template_key: str + """ + self._template_key = template_key + + @property + def template_uri(self): + """Gets the template_uri of this ShowOrganizationConformancePackResponse. + + 合规规则包模板OBS地址 + + :return: The template_uri of this ShowOrganizationConformancePackResponse. + :rtype: str + """ + return self._template_uri + + @template_uri.setter + def template_uri(self, template_uri): + """Sets the template_uri of this ShowOrganizationConformancePackResponse. + + 合规规则包模板OBS地址 + + :param template_uri: The template_uri of this ShowOrganizationConformancePackResponse. + :type template_uri: str + """ + self._template_uri = template_uri + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_policy_assignment_detailed_status_request.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_policy_assignment_detailed_status_request.py index ecd25fc624..34f460e8ca 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_policy_assignment_detailed_status_request.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_organization_policy_assignment_detailed_status_request.py @@ -64,7 +64,8 @@ def __init__(self, organization_id=None, organization_policy_assignment_name=Non self.discriminator = None self.organization_id = organization_id - self.organization_policy_assignment_name = organization_policy_assignment_name + if organization_policy_assignment_name is not None: + self.organization_policy_assignment_name = organization_policy_assignment_name if organization_policy_assignment_id is not None: self.organization_policy_assignment_id = organization_policy_assignment_id if status is not None: diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_tracker_config_response.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_tracker_config_response.py index 872cfb4753..ebe055792e 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_tracker_config_response.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/show_tracker_config_response.py @@ -20,16 +20,18 @@ class ShowTrackerConfigResponse(SdkResponse): openapi_types = { 'channel': 'ChannelConfigBody', 'selector': 'SelectorConfigBody', + 'retention_period_in_days': 'int', 'agency_name': 'str' } attribute_map = { 'channel': 'channel', 'selector': 'selector', + 'retention_period_in_days': 'retention_period_in_days', 'agency_name': 'agency_name' } - def __init__(self, channel=None, selector=None, agency_name=None): + def __init__(self, channel=None, selector=None, retention_period_in_days=None, agency_name=None): """ShowTrackerConfigResponse The model defined in huaweicloud sdk @@ -38,6 +40,8 @@ def __init__(self, channel=None, selector=None, agency_name=None): :type channel: :class:`huaweicloudsdkconfig.v1.ChannelConfigBody` :param selector: :type selector: :class:`huaweicloudsdkconfig.v1.SelectorConfigBody` + :param retention_period_in_days: 存储历史信息的天数 + :type retention_period_in_days: int :param agency_name: IAM委托名称 :type agency_name: str """ @@ -46,6 +50,7 @@ def __init__(self, channel=None, selector=None, agency_name=None): self._channel = None self._selector = None + self._retention_period_in_days = None self._agency_name = None self.discriminator = None @@ -53,6 +58,8 @@ def __init__(self, channel=None, selector=None, agency_name=None): self.channel = channel if selector is not None: self.selector = selector + if retention_period_in_days is not None: + self.retention_period_in_days = retention_period_in_days if agency_name is not None: self.agency_name = agency_name @@ -92,6 +99,28 @@ def selector(self, selector): """ self._selector = selector + @property + def retention_period_in_days(self): + """Gets the retention_period_in_days of this ShowTrackerConfigResponse. + + 存储历史信息的天数 + + :return: The retention_period_in_days of this ShowTrackerConfigResponse. + :rtype: int + """ + return self._retention_period_in_days + + @retention_period_in_days.setter + def retention_period_in_days(self, retention_period_in_days): + """Sets the retention_period_in_days of this ShowTrackerConfigResponse. + + 存储历史信息的天数 + + :param retention_period_in_days: The retention_period_in_days of this ShowTrackerConfigResponse. + :type retention_period_in_days: int + """ + self._retention_period_in_days = retention_period_in_days + @property def agency_name(self): """Gets the agency_name of this ShowTrackerConfigResponse. diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/tracker_config_body.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/tracker_config_body.py index 7e0fac350f..47e290f719 100644 --- a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/tracker_config_body.py +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/tracker_config_body.py @@ -19,16 +19,18 @@ class TrackerConfigBody: openapi_types = { 'channel': 'ChannelConfigBody', 'selector': 'SelectorConfigBody', + 'retention_period_in_days': 'int', 'agency_name': 'str' } attribute_map = { 'channel': 'channel', 'selector': 'selector', + 'retention_period_in_days': 'retention_period_in_days', 'agency_name': 'agency_name' } - def __init__(self, channel=None, selector=None, agency_name=None): + def __init__(self, channel=None, selector=None, retention_period_in_days=None, agency_name=None): """TrackerConfigBody The model defined in huaweicloud sdk @@ -37,6 +39,8 @@ def __init__(self, channel=None, selector=None, agency_name=None): :type channel: :class:`huaweicloudsdkconfig.v1.ChannelConfigBody` :param selector: :type selector: :class:`huaweicloudsdkconfig.v1.SelectorConfigBody` + :param retention_period_in_days: 存储历史信息的天数 + :type retention_period_in_days: int :param agency_name: IAM委托名称 :type agency_name: str """ @@ -45,11 +49,14 @@ def __init__(self, channel=None, selector=None, agency_name=None): self._channel = None self._selector = None + self._retention_period_in_days = None self._agency_name = None self.discriminator = None self.channel = channel self.selector = selector + if retention_period_in_days is not None: + self.retention_period_in_days = retention_period_in_days self.agency_name = agency_name @property @@ -88,6 +95,28 @@ def selector(self, selector): """ self._selector = selector + @property + def retention_period_in_days(self): + """Gets the retention_period_in_days of this TrackerConfigBody. + + 存储历史信息的天数 + + :return: The retention_period_in_days of this TrackerConfigBody. + :rtype: int + """ + return self._retention_period_in_days + + @retention_period_in_days.setter + def retention_period_in_days(self, retention_period_in_days): + """Sets the retention_period_in_days of this TrackerConfigBody. + + 存储历史信息的天数 + + :param retention_period_in_days: The retention_period_in_days of this TrackerConfigBody. + :type retention_period_in_days: int + """ + self._retention_period_in_days = retention_period_in_days + @property def agency_name(self): """Gets the agency_name of this TrackerConfigBody. diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request.py new file mode 100644 index 0000000000..4484c76774 --- /dev/null +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateConformancePackRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'conformance_pack_id': 'str', + 'body': 'UpdateConformancePackRequestBody' + } + + attribute_map = { + 'conformance_pack_id': 'conformance_pack_id', + 'body': 'body' + } + + def __init__(self, conformance_pack_id=None, body=None): + """UpdateConformancePackRequest + + The model defined in huaweicloud sdk + + :param conformance_pack_id: 合规规则包ID。 + :type conformance_pack_id: str + :param body: Body of the UpdateConformancePackRequest + :type body: :class:`huaweicloudsdkconfig.v1.UpdateConformancePackRequestBody` + """ + + + + self._conformance_pack_id = None + self._body = None + self.discriminator = None + + self.conformance_pack_id = conformance_pack_id + if body is not None: + self.body = body + + @property + def conformance_pack_id(self): + """Gets the conformance_pack_id of this UpdateConformancePackRequest. + + 合规规则包ID。 + + :return: The conformance_pack_id of this UpdateConformancePackRequest. + :rtype: str + """ + return self._conformance_pack_id + + @conformance_pack_id.setter + def conformance_pack_id(self, conformance_pack_id): + """Sets the conformance_pack_id of this UpdateConformancePackRequest. + + 合规规则包ID。 + + :param conformance_pack_id: The conformance_pack_id of this UpdateConformancePackRequest. + :type conformance_pack_id: str + """ + self._conformance_pack_id = conformance_pack_id + + @property + def body(self): + """Gets the body of this UpdateConformancePackRequest. + + :return: The body of this UpdateConformancePackRequest. + :rtype: :class:`huaweicloudsdkconfig.v1.UpdateConformancePackRequestBody` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this UpdateConformancePackRequest. + + :param body: The body of this UpdateConformancePackRequest. + :type body: :class:`huaweicloudsdkconfig.v1.UpdateConformancePackRequestBody` + """ + self._body = body + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateConformancePackRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request_body.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request_body.py new file mode 100644 index 0000000000..df4fab4211 --- /dev/null +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_request_body.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateConformancePackRequestBody: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'name': 'str', + 'vars_structure': 'list[VarsStructure]' + } + + attribute_map = { + 'name': 'name', + 'vars_structure': 'vars_structure' + } + + def __init__(self, name=None, vars_structure=None): + """UpdateConformancePackRequestBody + + The model defined in huaweicloud sdk + + :param name: 合规规则包名称。 + :type name: str + :param vars_structure: 合规规则包参数。 + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + + + + self._name = None + self._vars_structure = None + self.discriminator = None + + self.name = name + if vars_structure is not None: + self.vars_structure = vars_structure + + @property + def name(self): + """Gets the name of this UpdateConformancePackRequestBody. + + 合规规则包名称。 + + :return: The name of this UpdateConformancePackRequestBody. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateConformancePackRequestBody. + + 合规规则包名称。 + + :param name: The name of this UpdateConformancePackRequestBody. + :type name: str + """ + self._name = name + + @property + def vars_structure(self): + """Gets the vars_structure of this UpdateConformancePackRequestBody. + + 合规规则包参数。 + + :return: The vars_structure of this UpdateConformancePackRequestBody. + :rtype: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + return self._vars_structure + + @vars_structure.setter + def vars_structure(self, vars_structure): + """Sets the vars_structure of this UpdateConformancePackRequestBody. + + 合规规则包参数。 + + :param vars_structure: The vars_structure of this UpdateConformancePackRequestBody. + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + self._vars_structure = vars_structure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateConformancePackRequestBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_response.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_response.py new file mode 100644 index 0000000000..f936497079 --- /dev/null +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_conformance_pack_response.py @@ -0,0 +1,493 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateConformancePackResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'id': 'str', + 'name': 'str', + 'stack_id': 'str', + 'stack_name': 'str', + 'deployment_id': 'str', + 'created_at': 'str', + 'updated_at': 'str', + 'template_key': 'str', + 'template_uri': 'str', + 'agency_name': 'str', + 'status': 'str', + 'error_message': 'str', + 'vars_structure': 'list[VarsStructure]', + 'created_by': 'str' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'stack_id': 'stack_id', + 'stack_name': 'stack_name', + 'deployment_id': 'deployment_id', + 'created_at': 'created_at', + 'updated_at': 'updated_at', + 'template_key': 'template_key', + 'template_uri': 'template_uri', + 'agency_name': 'agency_name', + 'status': 'status', + 'error_message': 'error_message', + 'vars_structure': 'vars_structure', + 'created_by': 'created_by' + } + + def __init__(self, id=None, name=None, stack_id=None, stack_name=None, deployment_id=None, created_at=None, updated_at=None, template_key=None, template_uri=None, agency_name=None, status=None, error_message=None, vars_structure=None, created_by=None): + """UpdateConformancePackResponse + + The model defined in huaweicloud sdk + + :param id: 合规规则包ID。 + :type id: str + :param name: 合规规则包名称。 + :type name: str + :param stack_id: 资源栈(stack)的唯一ID。 + :type stack_id: str + :param stack_name: 资源栈(stack)的名称。 + :type stack_name: str + :param deployment_id: 部署ID。 + :type deployment_id: str + :param created_at: 合规规则包创建时间。 + :type created_at: str + :param updated_at: 合规规则包更新时间。 + :type updated_at: str + :param template_key: 预定义合规规则包模板名称。 + :type template_key: str + :param template_uri: 合规规则包模板OBS地址 + :type template_uri: str + :param agency_name: 委托名称 + :type agency_name: str + :param status: 合规规则包部署状态。 + :type status: str + :param error_message: 部署或删除合规规则包错误时的错误信息 + :type error_message: str + :param vars_structure: 合规规则包参数。 + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + :param created_by: 创建者 + :type created_by: str + """ + + super(UpdateConformancePackResponse, self).__init__() + + self._id = None + self._name = None + self._stack_id = None + self._stack_name = None + self._deployment_id = None + self._created_at = None + self._updated_at = None + self._template_key = None + self._template_uri = None + self._agency_name = None + self._status = None + self._error_message = None + self._vars_structure = None + self._created_by = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if stack_id is not None: + self.stack_id = stack_id + if stack_name is not None: + self.stack_name = stack_name + if deployment_id is not None: + self.deployment_id = deployment_id + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + if template_key is not None: + self.template_key = template_key + if template_uri is not None: + self.template_uri = template_uri + if agency_name is not None: + self.agency_name = agency_name + if status is not None: + self.status = status + if error_message is not None: + self.error_message = error_message + if vars_structure is not None: + self.vars_structure = vars_structure + if created_by is not None: + self.created_by = created_by + + @property + def id(self): + """Gets the id of this UpdateConformancePackResponse. + + 合规规则包ID。 + + :return: The id of this UpdateConformancePackResponse. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UpdateConformancePackResponse. + + 合规规则包ID。 + + :param id: The id of this UpdateConformancePackResponse. + :type id: str + """ + self._id = id + + @property + def name(self): + """Gets the name of this UpdateConformancePackResponse. + + 合规规则包名称。 + + :return: The name of this UpdateConformancePackResponse. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateConformancePackResponse. + + 合规规则包名称。 + + :param name: The name of this UpdateConformancePackResponse. + :type name: str + """ + self._name = name + + @property + def stack_id(self): + """Gets the stack_id of this UpdateConformancePackResponse. + + 资源栈(stack)的唯一ID。 + + :return: The stack_id of this UpdateConformancePackResponse. + :rtype: str + """ + return self._stack_id + + @stack_id.setter + def stack_id(self, stack_id): + """Sets the stack_id of this UpdateConformancePackResponse. + + 资源栈(stack)的唯一ID。 + + :param stack_id: The stack_id of this UpdateConformancePackResponse. + :type stack_id: str + """ + self._stack_id = stack_id + + @property + def stack_name(self): + """Gets the stack_name of this UpdateConformancePackResponse. + + 资源栈(stack)的名称。 + + :return: The stack_name of this UpdateConformancePackResponse. + :rtype: str + """ + return self._stack_name + + @stack_name.setter + def stack_name(self, stack_name): + """Sets the stack_name of this UpdateConformancePackResponse. + + 资源栈(stack)的名称。 + + :param stack_name: The stack_name of this UpdateConformancePackResponse. + :type stack_name: str + """ + self._stack_name = stack_name + + @property + def deployment_id(self): + """Gets the deployment_id of this UpdateConformancePackResponse. + + 部署ID。 + + :return: The deployment_id of this UpdateConformancePackResponse. + :rtype: str + """ + return self._deployment_id + + @deployment_id.setter + def deployment_id(self, deployment_id): + """Sets the deployment_id of this UpdateConformancePackResponse. + + 部署ID。 + + :param deployment_id: The deployment_id of this UpdateConformancePackResponse. + :type deployment_id: str + """ + self._deployment_id = deployment_id + + @property + def created_at(self): + """Gets the created_at of this UpdateConformancePackResponse. + + 合规规则包创建时间。 + + :return: The created_at of this UpdateConformancePackResponse. + :rtype: str + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this UpdateConformancePackResponse. + + 合规规则包创建时间。 + + :param created_at: The created_at of this UpdateConformancePackResponse. + :type created_at: str + """ + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this UpdateConformancePackResponse. + + 合规规则包更新时间。 + + :return: The updated_at of this UpdateConformancePackResponse. + :rtype: str + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this UpdateConformancePackResponse. + + 合规规则包更新时间。 + + :param updated_at: The updated_at of this UpdateConformancePackResponse. + :type updated_at: str + """ + self._updated_at = updated_at + + @property + def template_key(self): + """Gets the template_key of this UpdateConformancePackResponse. + + 预定义合规规则包模板名称。 + + :return: The template_key of this UpdateConformancePackResponse. + :rtype: str + """ + return self._template_key + + @template_key.setter + def template_key(self, template_key): + """Sets the template_key of this UpdateConformancePackResponse. + + 预定义合规规则包模板名称。 + + :param template_key: The template_key of this UpdateConformancePackResponse. + :type template_key: str + """ + self._template_key = template_key + + @property + def template_uri(self): + """Gets the template_uri of this UpdateConformancePackResponse. + + 合规规则包模板OBS地址 + + :return: The template_uri of this UpdateConformancePackResponse. + :rtype: str + """ + return self._template_uri + + @template_uri.setter + def template_uri(self, template_uri): + """Sets the template_uri of this UpdateConformancePackResponse. + + 合规规则包模板OBS地址 + + :param template_uri: The template_uri of this UpdateConformancePackResponse. + :type template_uri: str + """ + self._template_uri = template_uri + + @property + def agency_name(self): + """Gets the agency_name of this UpdateConformancePackResponse. + + 委托名称 + + :return: The agency_name of this UpdateConformancePackResponse. + :rtype: str + """ + return self._agency_name + + @agency_name.setter + def agency_name(self, agency_name): + """Sets the agency_name of this UpdateConformancePackResponse. + + 委托名称 + + :param agency_name: The agency_name of this UpdateConformancePackResponse. + :type agency_name: str + """ + self._agency_name = agency_name + + @property + def status(self): + """Gets the status of this UpdateConformancePackResponse. + + 合规规则包部署状态。 + + :return: The status of this UpdateConformancePackResponse. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this UpdateConformancePackResponse. + + 合规规则包部署状态。 + + :param status: The status of this UpdateConformancePackResponse. + :type status: str + """ + self._status = status + + @property + def error_message(self): + """Gets the error_message of this UpdateConformancePackResponse. + + 部署或删除合规规则包错误时的错误信息 + + :return: The error_message of this UpdateConformancePackResponse. + :rtype: str + """ + return self._error_message + + @error_message.setter + def error_message(self, error_message): + """Sets the error_message of this UpdateConformancePackResponse. + + 部署或删除合规规则包错误时的错误信息 + + :param error_message: The error_message of this UpdateConformancePackResponse. + :type error_message: str + """ + self._error_message = error_message + + @property + def vars_structure(self): + """Gets the vars_structure of this UpdateConformancePackResponse. + + 合规规则包参数。 + + :return: The vars_structure of this UpdateConformancePackResponse. + :rtype: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + return self._vars_structure + + @vars_structure.setter + def vars_structure(self, vars_structure): + """Sets the vars_structure of this UpdateConformancePackResponse. + + 合规规则包参数。 + + :param vars_structure: The vars_structure of this UpdateConformancePackResponse. + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + self._vars_structure = vars_structure + + @property + def created_by(self): + """Gets the created_by of this UpdateConformancePackResponse. + + 创建者 + + :return: The created_by of this UpdateConformancePackResponse. + :rtype: str + """ + return self._created_by + + @created_by.setter + def created_by(self, created_by): + """Sets the created_by of this UpdateConformancePackResponse. + + 创建者 + + :param created_by: The created_by of this UpdateConformancePackResponse. + :type created_by: str + """ + self._created_by = created_by + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateConformancePackResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_org_conformance_pack_request_body.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_org_conformance_pack_request_body.py new file mode 100644 index 0000000000..b841711a32 --- /dev/null +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_org_conformance_pack_request_body.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateOrgConformancePackRequestBody: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'name': 'str', + 'excluded_accounts': 'list[str]', + 'vars_structure': 'list[VarsStructure]' + } + + attribute_map = { + 'name': 'name', + 'excluded_accounts': 'excluded_accounts', + 'vars_structure': 'vars_structure' + } + + def __init__(self, name=None, excluded_accounts=None, vars_structure=None): + """UpdateOrgConformancePackRequestBody + + The model defined in huaweicloud sdk + + :param name: 组织合规规则包名称。 + :type name: str + :param excluded_accounts: 排除配置合规包的帐号。 + :type excluded_accounts: list[str] + :param vars_structure: 合规规则包参数。 + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + + + + self._name = None + self._excluded_accounts = None + self._vars_structure = None + self.discriminator = None + + self.name = name + if excluded_accounts is not None: + self.excluded_accounts = excluded_accounts + if vars_structure is not None: + self.vars_structure = vars_structure + + @property + def name(self): + """Gets the name of this UpdateOrgConformancePackRequestBody. + + 组织合规规则包名称。 + + :return: The name of this UpdateOrgConformancePackRequestBody. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateOrgConformancePackRequestBody. + + 组织合规规则包名称。 + + :param name: The name of this UpdateOrgConformancePackRequestBody. + :type name: str + """ + self._name = name + + @property + def excluded_accounts(self): + """Gets the excluded_accounts of this UpdateOrgConformancePackRequestBody. + + 排除配置合规包的帐号。 + + :return: The excluded_accounts of this UpdateOrgConformancePackRequestBody. + :rtype: list[str] + """ + return self._excluded_accounts + + @excluded_accounts.setter + def excluded_accounts(self, excluded_accounts): + """Sets the excluded_accounts of this UpdateOrgConformancePackRequestBody. + + 排除配置合规包的帐号。 + + :param excluded_accounts: The excluded_accounts of this UpdateOrgConformancePackRequestBody. + :type excluded_accounts: list[str] + """ + self._excluded_accounts = excluded_accounts + + @property + def vars_structure(self): + """Gets the vars_structure of this UpdateOrgConformancePackRequestBody. + + 合规规则包参数。 + + :return: The vars_structure of this UpdateOrgConformancePackRequestBody. + :rtype: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + return self._vars_structure + + @vars_structure.setter + def vars_structure(self, vars_structure): + """Sets the vars_structure of this UpdateOrgConformancePackRequestBody. + + 合规规则包参数。 + + :param vars_structure: The vars_structure of this UpdateOrgConformancePackRequestBody. + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + self._vars_structure = vars_structure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateOrgConformancePackRequestBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_request.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_request.py new file mode 100644 index 0000000000..72470c1c76 --- /dev/null +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_request.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateOrganizationConformancePackRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'organization_id': 'str', + 'conformance_pack_id': 'str', + 'body': 'UpdateOrgConformancePackRequestBody' + } + + attribute_map = { + 'organization_id': 'organization_id', + 'conformance_pack_id': 'conformance_pack_id', + 'body': 'body' + } + + def __init__(self, organization_id=None, conformance_pack_id=None, body=None): + """UpdateOrganizationConformancePackRequest + + The model defined in huaweicloud sdk + + :param organization_id: 组织ID。 + :type organization_id: str + :param conformance_pack_id: 合规规则包ID。 + :type conformance_pack_id: str + :param body: Body of the UpdateOrganizationConformancePackRequest + :type body: :class:`huaweicloudsdkconfig.v1.UpdateOrgConformancePackRequestBody` + """ + + + + self._organization_id = None + self._conformance_pack_id = None + self._body = None + self.discriminator = None + + self.organization_id = organization_id + self.conformance_pack_id = conformance_pack_id + if body is not None: + self.body = body + + @property + def organization_id(self): + """Gets the organization_id of this UpdateOrganizationConformancePackRequest. + + 组织ID。 + + :return: The organization_id of this UpdateOrganizationConformancePackRequest. + :rtype: str + """ + return self._organization_id + + @organization_id.setter + def organization_id(self, organization_id): + """Sets the organization_id of this UpdateOrganizationConformancePackRequest. + + 组织ID。 + + :param organization_id: The organization_id of this UpdateOrganizationConformancePackRequest. + :type organization_id: str + """ + self._organization_id = organization_id + + @property + def conformance_pack_id(self): + """Gets the conformance_pack_id of this UpdateOrganizationConformancePackRequest. + + 合规规则包ID。 + + :return: The conformance_pack_id of this UpdateOrganizationConformancePackRequest. + :rtype: str + """ + return self._conformance_pack_id + + @conformance_pack_id.setter + def conformance_pack_id(self, conformance_pack_id): + """Sets the conformance_pack_id of this UpdateOrganizationConformancePackRequest. + + 合规规则包ID。 + + :param conformance_pack_id: The conformance_pack_id of this UpdateOrganizationConformancePackRequest. + :type conformance_pack_id: str + """ + self._conformance_pack_id = conformance_pack_id + + @property + def body(self): + """Gets the body of this UpdateOrganizationConformancePackRequest. + + :return: The body of this UpdateOrganizationConformancePackRequest. + :rtype: :class:`huaweicloudsdkconfig.v1.UpdateOrgConformancePackRequestBody` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this UpdateOrganizationConformancePackRequest. + + :param body: The body of this UpdateOrganizationConformancePackRequest. + :type body: :class:`huaweicloudsdkconfig.v1.UpdateOrgConformancePackRequestBody` + """ + self._body = body + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateOrganizationConformancePackRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_response.py b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_response.py new file mode 100644 index 0000000000..885a3bc07c --- /dev/null +++ b/huaweicloud-sdk-config/huaweicloudsdkconfig/v1/model/update_organization_conformance_pack_response.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateOrganizationConformancePackResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'org_conformance_pack_id': 'str', + 'org_conformance_pack_name': 'str', + 'owner_id': 'str', + 'organization_id': 'str', + 'org_conformance_pack_urn': 'str', + 'vars_structure': 'list[VarsStructure]', + 'created_at': 'str', + 'updated_at': 'str' + } + + attribute_map = { + 'org_conformance_pack_id': 'org_conformance_pack_id', + 'org_conformance_pack_name': 'org_conformance_pack_name', + 'owner_id': 'owner_id', + 'organization_id': 'organization_id', + 'org_conformance_pack_urn': 'org_conformance_pack_urn', + 'vars_structure': 'vars_structure', + 'created_at': 'created_at', + 'updated_at': 'updated_at' + } + + def __init__(self, org_conformance_pack_id=None, org_conformance_pack_name=None, owner_id=None, organization_id=None, org_conformance_pack_urn=None, vars_structure=None, created_at=None, updated_at=None): + """UpdateOrganizationConformancePackResponse + + The model defined in huaweicloud sdk + + :param org_conformance_pack_id: 组织合规规则包ID。 + :type org_conformance_pack_id: str + :param org_conformance_pack_name: 组织合规规则包名称。 + :type org_conformance_pack_name: str + :param owner_id: 组织合规规则包创建者。 + :type owner_id: str + :param organization_id: 组织ID + :type organization_id: str + :param org_conformance_pack_urn: 组织合规规则包资源唯一标识。 + :type org_conformance_pack_urn: str + :param vars_structure: 合规规则包参数。 + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + :param created_at: 组织合规规则包创建时间。 + :type created_at: str + :param updated_at: 组织合规规则包更新时间。 + :type updated_at: str + """ + + super(UpdateOrganizationConformancePackResponse, self).__init__() + + self._org_conformance_pack_id = None + self._org_conformance_pack_name = None + self._owner_id = None + self._organization_id = None + self._org_conformance_pack_urn = None + self._vars_structure = None + self._created_at = None + self._updated_at = None + self.discriminator = None + + if org_conformance_pack_id is not None: + self.org_conformance_pack_id = org_conformance_pack_id + if org_conformance_pack_name is not None: + self.org_conformance_pack_name = org_conformance_pack_name + if owner_id is not None: + self.owner_id = owner_id + if organization_id is not None: + self.organization_id = organization_id + if org_conformance_pack_urn is not None: + self.org_conformance_pack_urn = org_conformance_pack_urn + if vars_structure is not None: + self.vars_structure = vars_structure + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + + @property + def org_conformance_pack_id(self): + """Gets the org_conformance_pack_id of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包ID。 + + :return: The org_conformance_pack_id of this UpdateOrganizationConformancePackResponse. + :rtype: str + """ + return self._org_conformance_pack_id + + @org_conformance_pack_id.setter + def org_conformance_pack_id(self, org_conformance_pack_id): + """Sets the org_conformance_pack_id of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包ID。 + + :param org_conformance_pack_id: The org_conformance_pack_id of this UpdateOrganizationConformancePackResponse. + :type org_conformance_pack_id: str + """ + self._org_conformance_pack_id = org_conformance_pack_id + + @property + def org_conformance_pack_name(self): + """Gets the org_conformance_pack_name of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包名称。 + + :return: The org_conformance_pack_name of this UpdateOrganizationConformancePackResponse. + :rtype: str + """ + return self._org_conformance_pack_name + + @org_conformance_pack_name.setter + def org_conformance_pack_name(self, org_conformance_pack_name): + """Sets the org_conformance_pack_name of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包名称。 + + :param org_conformance_pack_name: The org_conformance_pack_name of this UpdateOrganizationConformancePackResponse. + :type org_conformance_pack_name: str + """ + self._org_conformance_pack_name = org_conformance_pack_name + + @property + def owner_id(self): + """Gets the owner_id of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包创建者。 + + :return: The owner_id of this UpdateOrganizationConformancePackResponse. + :rtype: str + """ + return self._owner_id + + @owner_id.setter + def owner_id(self, owner_id): + """Sets the owner_id of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包创建者。 + + :param owner_id: The owner_id of this UpdateOrganizationConformancePackResponse. + :type owner_id: str + """ + self._owner_id = owner_id + + @property + def organization_id(self): + """Gets the organization_id of this UpdateOrganizationConformancePackResponse. + + 组织ID + + :return: The organization_id of this UpdateOrganizationConformancePackResponse. + :rtype: str + """ + return self._organization_id + + @organization_id.setter + def organization_id(self, organization_id): + """Sets the organization_id of this UpdateOrganizationConformancePackResponse. + + 组织ID + + :param organization_id: The organization_id of this UpdateOrganizationConformancePackResponse. + :type organization_id: str + """ + self._organization_id = organization_id + + @property + def org_conformance_pack_urn(self): + """Gets the org_conformance_pack_urn of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包资源唯一标识。 + + :return: The org_conformance_pack_urn of this UpdateOrganizationConformancePackResponse. + :rtype: str + """ + return self._org_conformance_pack_urn + + @org_conformance_pack_urn.setter + def org_conformance_pack_urn(self, org_conformance_pack_urn): + """Sets the org_conformance_pack_urn of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包资源唯一标识。 + + :param org_conformance_pack_urn: The org_conformance_pack_urn of this UpdateOrganizationConformancePackResponse. + :type org_conformance_pack_urn: str + """ + self._org_conformance_pack_urn = org_conformance_pack_urn + + @property + def vars_structure(self): + """Gets the vars_structure of this UpdateOrganizationConformancePackResponse. + + 合规规则包参数。 + + :return: The vars_structure of this UpdateOrganizationConformancePackResponse. + :rtype: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + return self._vars_structure + + @vars_structure.setter + def vars_structure(self, vars_structure): + """Sets the vars_structure of this UpdateOrganizationConformancePackResponse. + + 合规规则包参数。 + + :param vars_structure: The vars_structure of this UpdateOrganizationConformancePackResponse. + :type vars_structure: list[:class:`huaweicloudsdkconfig.v1.VarsStructure`] + """ + self._vars_structure = vars_structure + + @property + def created_at(self): + """Gets the created_at of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包创建时间。 + + :return: The created_at of this UpdateOrganizationConformancePackResponse. + :rtype: str + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包创建时间。 + + :param created_at: The created_at of this UpdateOrganizationConformancePackResponse. + :type created_at: str + """ + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包更新时间。 + + :return: The updated_at of this UpdateOrganizationConformancePackResponse. + :rtype: str + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this UpdateOrganizationConformancePackResponse. + + 组织合规规则包更新时间。 + + :param updated_at: The updated_at of this UpdateOrganizationConformancePackResponse. + :type updated_at: str + """ + self._updated_at = updated_at + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateOrganizationConformancePackResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-config/requirements.txt b/huaweicloud-sdk-config/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-config/requirements.txt +++ b/huaweicloud-sdk-config/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-config/setup.py b/huaweicloud-sdk-config/setup.py index 9126e68011..4cce99ad4c 100644 --- a/huaweicloud-sdk-config/setup.py +++ b/huaweicloud-sdk-config/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkconfig" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-core/setup.py b/huaweicloud-sdk-core/setup.py index 9200089e80..bffbf61648 100644 --- a/huaweicloud-sdk-core/setup.py +++ b/huaweicloud-sdk-core/setup.py @@ -22,7 +22,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcore" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" diff --git a/huaweicloud-sdk-cph/requirements.txt b/huaweicloud-sdk-cph/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cph/requirements.txt +++ b/huaweicloud-sdk-cph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cph/setup.py b/huaweicloud-sdk-cph/setup.py index 908d30899e..f886bd29fd 100644 --- a/huaweicloud-sdk-cph/setup.py +++ b/huaweicloud-sdk-cph/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcph" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cpts/requirements.txt b/huaweicloud-sdk-cpts/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cpts/requirements.txt +++ b/huaweicloud-sdk-cpts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cpts/setup.py b/huaweicloud-sdk-cpts/setup.py index 5970ae723c..8fe0d18001 100644 --- a/huaweicloud-sdk-cpts/setup.py +++ b/huaweicloud-sdk-cpts/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcpts" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/__init__.py b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/__init__.py index 1393b2f572..b1b24cb461 100644 --- a/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/__init__.py +++ b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/__init__.py @@ -58,6 +58,7 @@ from huaweicloudsdkcse.v1.model.engine_rbac_pwd import EngineRbacPwd from huaweicloudsdkcse.v1.model.engine_reference import EngineReference from huaweicloudsdkcse.v1.model.engine_simple_info import EngineSimpleInfo +from huaweicloudsdkcse.v1.model.engine_spec import EngineSpec from huaweicloudsdkcse.v1.model.engine_update_req import EngineUpdateReq from huaweicloudsdkcse.v1.model.entrypoint_item import EntrypointItem from huaweicloudsdkcse.v1.model.flavor_brief import FlavorBrief diff --git a/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/__init__.py b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/__init__.py index c3681373ff..0405d47bb3 100644 --- a/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/__init__.py +++ b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/__init__.py @@ -56,6 +56,7 @@ from huaweicloudsdkcse.v1.model.engine_rbac_pwd import EngineRbacPwd from huaweicloudsdkcse.v1.model.engine_reference import EngineReference from huaweicloudsdkcse.v1.model.engine_simple_info import EngineSimpleInfo +from huaweicloudsdkcse.v1.model.engine_spec import EngineSpec from huaweicloudsdkcse.v1.model.engine_update_req import EngineUpdateReq from huaweicloudsdkcse.v1.model.entrypoint_item import EntrypointItem from huaweicloudsdkcse.v1.model.flavor_brief import FlavorBrief diff --git a/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/engine_spec.py b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/engine_spec.py new file mode 100644 index 0000000000..7b372a554d --- /dev/null +++ b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/engine_spec.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class EngineSpec: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'available_cpu_memory': 'str', + 'linear': 'str', + 'available_prefix': 'str' + } + + attribute_map = { + 'available_cpu_memory': 'availableCpuMemory', + 'linear': 'linear', + 'available_prefix': 'availablePrefix' + } + + def __init__(self, available_cpu_memory=None, linear=None, available_prefix=None): + """EngineSpec + + The model defined in huaweicloud sdk + + :param available_cpu_memory: CPU及内存规格。 + :type available_cpu_memory: str + :param linear: 是否为线性规格。 + :type linear: str + :param available_prefix: 可用节点规格类型前缀。 + :type available_prefix: str + """ + + + + self._available_cpu_memory = None + self._linear = None + self._available_prefix = None + self.discriminator = None + + if available_cpu_memory is not None: + self.available_cpu_memory = available_cpu_memory + if linear is not None: + self.linear = linear + if available_prefix is not None: + self.available_prefix = available_prefix + + @property + def available_cpu_memory(self): + """Gets the available_cpu_memory of this EngineSpec. + + CPU及内存规格。 + + :return: The available_cpu_memory of this EngineSpec. + :rtype: str + """ + return self._available_cpu_memory + + @available_cpu_memory.setter + def available_cpu_memory(self, available_cpu_memory): + """Sets the available_cpu_memory of this EngineSpec. + + CPU及内存规格。 + + :param available_cpu_memory: The available_cpu_memory of this EngineSpec. + :type available_cpu_memory: str + """ + self._available_cpu_memory = available_cpu_memory + + @property + def linear(self): + """Gets the linear of this EngineSpec. + + 是否为线性规格。 + + :return: The linear of this EngineSpec. + :rtype: str + """ + return self._linear + + @linear.setter + def linear(self, linear): + """Sets the linear of this EngineSpec. + + 是否为线性规格。 + + :param linear: The linear of this EngineSpec. + :type linear: str + """ + self._linear = linear + + @property + def available_prefix(self): + """Gets the available_prefix of this EngineSpec. + + 可用节点规格类型前缀。 + + :return: The available_prefix of this EngineSpec. + :rtype: str + """ + return self._available_prefix + + @available_prefix.setter + def available_prefix(self, available_prefix): + """Sets the available_prefix of this EngineSpec. + + 可用节点规格类型前缀。 + + :param available_prefix: The available_prefix of this EngineSpec. + :type available_prefix: str + """ + self._available_prefix = available_prefix + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EngineSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/flavor_brief.py b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/flavor_brief.py index 55adbf6242..978a8be4c9 100644 --- a/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/flavor_brief.py +++ b/huaweicloud-sdk-cse/huaweicloudsdkcse/v1/model/flavor_brief.py @@ -18,15 +18,17 @@ class FlavorBrief: openapi_types = { 'flavor': 'str', - 'description': 'str' + 'description': 'str', + 'spec': 'EngineSpec' } attribute_map = { 'flavor': 'flavor', - 'description': 'description' + 'description': 'description', + 'spec': 'spec' } - def __init__(self, flavor=None, description=None): + def __init__(self, flavor=None, description=None, spec=None): """FlavorBrief The model defined in huaweicloud sdk @@ -35,18 +37,23 @@ def __init__(self, flavor=None, description=None): :type flavor: str :param description: 微服务引擎专享版规格描述 :type description: str + :param spec: + :type spec: :class:`huaweicloudsdkcse.v1.EngineSpec` """ self._flavor = None self._description = None + self._spec = None self.discriminator = None if flavor is not None: self.flavor = flavor if description is not None: self.description = description + if spec is not None: + self.spec = spec @property def flavor(self): @@ -92,6 +99,24 @@ def description(self, description): """ self._description = description + @property + def spec(self): + """Gets the spec of this FlavorBrief. + + :return: The spec of this FlavorBrief. + :rtype: :class:`huaweicloudsdkcse.v1.EngineSpec` + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this FlavorBrief. + + :param spec: The spec of this FlavorBrief. + :type spec: :class:`huaweicloudsdkcse.v1.EngineSpec` + """ + self._spec = spec + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cse/requirements.txt b/huaweicloud-sdk-cse/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cse/requirements.txt +++ b/huaweicloud-sdk-cse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cse/setup.py b/huaweicloud-sdk-cse/setup.py index 3b86caa1b7..61de2898e4 100644 --- a/huaweicloud-sdk-cse/setup.py +++ b/huaweicloud-sdk-cse/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcse" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-csms/requirements.txt b/huaweicloud-sdk-csms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-csms/requirements.txt +++ b/huaweicloud-sdk-csms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-csms/setup.py b/huaweicloud-sdk-csms/setup.py index 91d8d8b052..2b900804b3 100644 --- a/huaweicloud-sdk-csms/setup.py +++ b/huaweicloud-sdk-csms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcsms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-css/huaweicloudsdkcss/v1/region/css_region.py b/huaweicloud-sdk-css/huaweicloudsdkcss/v1/region/css_region.py index 96c09fde22..d8d207fb09 100644 --- a/huaweicloud-sdk-css/huaweicloudsdkcss/v1/region/css_region.py +++ b/huaweicloud-sdk-css/huaweicloudsdkcss/v1/region/css_region.py @@ -50,6 +50,10 @@ class CssRegion: "https://css.ae-ad-1.myhuaweicloud.com") CN_EAST_5 = Region("cn-east-5", "https://css.cn-east-5.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://css.my-kualalumpur-1.myhuaweicloud.com") + EU_WEST_101 = Region("eu-west-101", + "https://css.eu-west-101.myhuaweicloud.com") static_fields = { "cn-south-1": CN_SOUTH_1, @@ -74,6 +78,8 @@ class CssRegion: "ap-southeast-4": AP_SOUTHEAST_4, "ae-ad-1": AE_AD_1, "cn-east-5": CN_EAST_5, + "my-kualalumpur-1": MY_KUALALUMPUR_1, + "eu-west-101": EU_WEST_101, } @classmethod diff --git a/huaweicloud-sdk-css/huaweicloudsdkcss/v2/region/css_region.py b/huaweicloud-sdk-css/huaweicloudsdkcss/v2/region/css_region.py index 96c09fde22..d8d207fb09 100644 --- a/huaweicloud-sdk-css/huaweicloudsdkcss/v2/region/css_region.py +++ b/huaweicloud-sdk-css/huaweicloudsdkcss/v2/region/css_region.py @@ -50,6 +50,10 @@ class CssRegion: "https://css.ae-ad-1.myhuaweicloud.com") CN_EAST_5 = Region("cn-east-5", "https://css.cn-east-5.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://css.my-kualalumpur-1.myhuaweicloud.com") + EU_WEST_101 = Region("eu-west-101", + "https://css.eu-west-101.myhuaweicloud.com") static_fields = { "cn-south-1": CN_SOUTH_1, @@ -74,6 +78,8 @@ class CssRegion: "ap-southeast-4": AP_SOUTHEAST_4, "ae-ad-1": AE_AD_1, "cn-east-5": CN_EAST_5, + "my-kualalumpur-1": MY_KUALALUMPUR_1, + "eu-west-101": EU_WEST_101, } @classmethod diff --git a/huaweicloud-sdk-css/requirements.txt b/huaweicloud-sdk-css/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-css/requirements.txt +++ b/huaweicloud-sdk-css/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-css/setup.py b/huaweicloud-sdk-css/setup.py index 6e56d3bfaa..c863726b0e 100644 --- a/huaweicloud-sdk-css/setup.py +++ b/huaweicloud-sdk-css/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcss" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cts/requirements.txt b/huaweicloud-sdk-cts/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-cts/requirements.txt +++ b/huaweicloud-sdk-cts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-cts/setup.py b/huaweicloud-sdk-cts/setup.py index 6f93a9e062..73f8a36373 100644 --- a/huaweicloud-sdk-cts/setup.py +++ b/huaweicloud-sdk-cts/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcts" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-das/requirements.txt b/huaweicloud-sdk-das/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-das/requirements.txt +++ b/huaweicloud-sdk-das/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-das/setup.py b/huaweicloud-sdk-das/setup.py index b80f5238de..bc803f1c67 100644 --- a/huaweicloud-sdk-das/setup.py +++ b/huaweicloud-sdk-das/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdas" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dataartsstudio/requirements.txt b/huaweicloud-sdk-dataartsstudio/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dataartsstudio/requirements.txt +++ b/huaweicloud-sdk-dataartsstudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dataartsstudio/setup.py b/huaweicloud-sdk-dataartsstudio/setup.py index 6857753873..feb97638ec 100644 --- a/huaweicloud-sdk-dataartsstudio/setup.py +++ b/huaweicloud-sdk-dataartsstudio/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdataartsstudio" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dbss/requirements.txt b/huaweicloud-sdk-dbss/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dbss/requirements.txt +++ b/huaweicloud-sdk-dbss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dbss/setup.py b/huaweicloud-sdk-dbss/setup.py index 6643dfd53a..bd7671276c 100644 --- a/huaweicloud-sdk-dbss/setup.py +++ b/huaweicloud-sdk-dbss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdbss" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dc/requirements.txt b/huaweicloud-sdk-dc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dc/requirements.txt +++ b/huaweicloud-sdk-dc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dc/setup.py b/huaweicloud-sdk-dc/setup.py index fe6ae47e89..9f733b116b 100644 --- a/huaweicloud-sdk-dc/setup.py +++ b/huaweicloud-sdk-dc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/details_body.py b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/details_body.py index f25eb7323e..0fef853f90 100644 --- a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/details_body.py +++ b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/details_body.py @@ -24,7 +24,25 @@ class DetailsBody: 'public_ip_address': 'str', 'enable_ssl': 'bool', 'old_cache_mode': 'str', - 'new_cache_mode': 'str' + 'new_cache_mode': 'str', + 'old_resource_spec_code': 'str', + 'new_resource_spec_code': 'str', + 'old_replica_num': 'int', + 'new_replica_num': 'int', + 'old_cache_type': 'str', + 'new_cache_type': 'str', + 'replica_ip': 'str', + 'replica_az': 'str', + 'group_name': 'str', + 'old_port': 'int', + 'new_port': 'int', + 'is_only_adjust_charging': 'bool', + 'account_name': 'str', + 'source_ip': 'str', + 'target_ip': 'str', + 'node_name': 'str', + 'rename_commands': 'list[str]', + 'updated_config_length': 'int' } attribute_map = { @@ -35,30 +53,84 @@ class DetailsBody: 'public_ip_address': 'public_ip_address', 'enable_ssl': 'enable_ssl', 'old_cache_mode': 'old_cache_mode', - 'new_cache_mode': 'new_cache_mode' + 'new_cache_mode': 'new_cache_mode', + 'old_resource_spec_code': 'old_resource_spec_code', + 'new_resource_spec_code': 'new_resource_spec_code', + 'old_replica_num': 'old_replica_num', + 'new_replica_num': 'new_replica_num', + 'old_cache_type': 'old_cache_type', + 'new_cache_type': 'new_cache_type', + 'replica_ip': 'replica_ip', + 'replica_az': 'replica_az', + 'group_name': 'group_name', + 'old_port': 'old_port', + 'new_port': 'new_port', + 'is_only_adjust_charging': 'is_only_adjust_charging', + 'account_name': 'account_name', + 'source_ip': 'source_ip', + 'target_ip': 'target_ip', + 'node_name': 'node_name', + 'rename_commands': 'rename_commands', + 'updated_config_length': 'updated_config_length' } - def __init__(self, old_capacity=None, new_capacity=None, enable_public_ip=None, public_ip_id=None, public_ip_address=None, enable_ssl=None, old_cache_mode=None, new_cache_mode=None): + def __init__(self, old_capacity=None, new_capacity=None, enable_public_ip=None, public_ip_id=None, public_ip_address=None, enable_ssl=None, old_cache_mode=None, new_cache_mode=None, old_resource_spec_code=None, new_resource_spec_code=None, old_replica_num=None, new_replica_num=None, old_cache_type=None, new_cache_type=None, replica_ip=None, replica_az=None, group_name=None, old_port=None, new_port=None, is_only_adjust_charging=None, account_name=None, source_ip=None, target_ip=None, node_name=None, rename_commands=None, updated_config_length=None): """DetailsBody The model defined in huaweicloud sdk - :param old_capacity: 变更前的容量,仅在变更规格时有值 + :param old_capacity: 变更前的容量,仅在变更规格时有值。 :type old_capacity: str - :param new_capacity: 变更后的容量,仅在变更规格时有值 + :param new_capacity: 变更后的容量,仅在变更规格时有值。 :type new_capacity: str - :param enable_public_ip: 是否开启公网访问,仅在开启公网访问时有值 + :param enable_public_ip: 是否开启公网访问,仅在开启公网访问时有值。 :type enable_public_ip: bool - :param public_ip_id: 公网IP的ID,仅在开启公网访问时有值 + :param public_ip_id: 公网IP的ID,仅在开启公网访问时有值。 :type public_ip_id: str - :param public_ip_address: 公网IP地址,仅在开启公网访问时有值 + :param public_ip_address: 公网IP地址,仅在开启公网访问时有值。 :type public_ip_address: str - :param enable_ssl: 是否开启ssl,仅在开启ssl时有值 + :param enable_ssl: 是否开启SSL,仅在开启SSL时有值。 :type enable_ssl: bool - :param old_cache_mode: 变更前的缓存类型,仅在变更规格时有值 + :param old_cache_mode: 变更前的缓存类型,仅在变更规格时有值。 :type old_cache_mode: str - :param new_cache_mode: 变更后的缓存类型,仅在变更规格时有值 + :param new_cache_mode: 变更后的缓存类型,仅在变更规格时有值。 :type new_cache_mode: str + :param old_resource_spec_code: 变更前的规格参数,仅在变更规格时有值。 + :type old_resource_spec_code: str + :param new_resource_spec_code: 变更后的规格参数,仅在变更规格时有值。 + :type new_resource_spec_code: str + :param old_replica_num: 变更前的副本数量,仅在变更规格时有值。 + :type old_replica_num: int + :param new_replica_num: 变更后的副本数量,仅在变更规格时有值。 + :type new_replica_num: int + :param old_cache_type: 变更前的缓存类型,仅在变更规格时有值。 + :type old_cache_type: str + :param new_cache_type: 变更后的规格类型,仅在变更规格时有值。 + :type new_cache_type: str + :param replica_ip: 副本IP。 + :type replica_ip: str + :param replica_az: 副本所在可用区。 + :type replica_az: str + :param group_name: 组名。 + :type group_name: str + :param old_port: 旧端口。 + :type old_port: int + :param new_port: 新端口。 + :type new_port: int + :param is_only_adjust_charging: 是否只是调整计费模式。 + :type is_only_adjust_charging: bool + :param account_name: 账号名称。 + :type account_name: str + :param source_ip: 源IP。 + :type source_ip: str + :param target_ip: 目标IP。 + :type target_ip: str + :param node_name: 节点信息。 + :type node_name: str + :param rename_commands: 重命名的指令。 + :type rename_commands: list[str] + :param updated_config_length: 更新配置项的长度。 + :type updated_config_length: int """ @@ -71,6 +143,24 @@ def __init__(self, old_capacity=None, new_capacity=None, enable_public_ip=None, self._enable_ssl = None self._old_cache_mode = None self._new_cache_mode = None + self._old_resource_spec_code = None + self._new_resource_spec_code = None + self._old_replica_num = None + self._new_replica_num = None + self._old_cache_type = None + self._new_cache_type = None + self._replica_ip = None + self._replica_az = None + self._group_name = None + self._old_port = None + self._new_port = None + self._is_only_adjust_charging = None + self._account_name = None + self._source_ip = None + self._target_ip = None + self._node_name = None + self._rename_commands = None + self._updated_config_length = None self.discriminator = None if old_capacity is not None: @@ -89,12 +179,48 @@ def __init__(self, old_capacity=None, new_capacity=None, enable_public_ip=None, self.old_cache_mode = old_cache_mode if new_cache_mode is not None: self.new_cache_mode = new_cache_mode + if old_resource_spec_code is not None: + self.old_resource_spec_code = old_resource_spec_code + if new_resource_spec_code is not None: + self.new_resource_spec_code = new_resource_spec_code + if old_replica_num is not None: + self.old_replica_num = old_replica_num + if new_replica_num is not None: + self.new_replica_num = new_replica_num + if old_cache_type is not None: + self.old_cache_type = old_cache_type + if new_cache_type is not None: + self.new_cache_type = new_cache_type + if replica_ip is not None: + self.replica_ip = replica_ip + if replica_az is not None: + self.replica_az = replica_az + if group_name is not None: + self.group_name = group_name + if old_port is not None: + self.old_port = old_port + if new_port is not None: + self.new_port = new_port + if is_only_adjust_charging is not None: + self.is_only_adjust_charging = is_only_adjust_charging + if account_name is not None: + self.account_name = account_name + if source_ip is not None: + self.source_ip = source_ip + if target_ip is not None: + self.target_ip = target_ip + if node_name is not None: + self.node_name = node_name + if rename_commands is not None: + self.rename_commands = rename_commands + if updated_config_length is not None: + self.updated_config_length = updated_config_length @property def old_capacity(self): """Gets the old_capacity of this DetailsBody. - 变更前的容量,仅在变更规格时有值 + 变更前的容量,仅在变更规格时有值。 :return: The old_capacity of this DetailsBody. :rtype: str @@ -105,7 +231,7 @@ def old_capacity(self): def old_capacity(self, old_capacity): """Sets the old_capacity of this DetailsBody. - 变更前的容量,仅在变更规格时有值 + 变更前的容量,仅在变更规格时有值。 :param old_capacity: The old_capacity of this DetailsBody. :type old_capacity: str @@ -116,7 +242,7 @@ def old_capacity(self, old_capacity): def new_capacity(self): """Gets the new_capacity of this DetailsBody. - 变更后的容量,仅在变更规格时有值 + 变更后的容量,仅在变更规格时有值。 :return: The new_capacity of this DetailsBody. :rtype: str @@ -127,7 +253,7 @@ def new_capacity(self): def new_capacity(self, new_capacity): """Sets the new_capacity of this DetailsBody. - 变更后的容量,仅在变更规格时有值 + 变更后的容量,仅在变更规格时有值。 :param new_capacity: The new_capacity of this DetailsBody. :type new_capacity: str @@ -138,7 +264,7 @@ def new_capacity(self, new_capacity): def enable_public_ip(self): """Gets the enable_public_ip of this DetailsBody. - 是否开启公网访问,仅在开启公网访问时有值 + 是否开启公网访问,仅在开启公网访问时有值。 :return: The enable_public_ip of this DetailsBody. :rtype: bool @@ -149,7 +275,7 @@ def enable_public_ip(self): def enable_public_ip(self, enable_public_ip): """Sets the enable_public_ip of this DetailsBody. - 是否开启公网访问,仅在开启公网访问时有值 + 是否开启公网访问,仅在开启公网访问时有值。 :param enable_public_ip: The enable_public_ip of this DetailsBody. :type enable_public_ip: bool @@ -160,7 +286,7 @@ def enable_public_ip(self, enable_public_ip): def public_ip_id(self): """Gets the public_ip_id of this DetailsBody. - 公网IP的ID,仅在开启公网访问时有值 + 公网IP的ID,仅在开启公网访问时有值。 :return: The public_ip_id of this DetailsBody. :rtype: str @@ -171,7 +297,7 @@ def public_ip_id(self): def public_ip_id(self, public_ip_id): """Sets the public_ip_id of this DetailsBody. - 公网IP的ID,仅在开启公网访问时有值 + 公网IP的ID,仅在开启公网访问时有值。 :param public_ip_id: The public_ip_id of this DetailsBody. :type public_ip_id: str @@ -182,7 +308,7 @@ def public_ip_id(self, public_ip_id): def public_ip_address(self): """Gets the public_ip_address of this DetailsBody. - 公网IP地址,仅在开启公网访问时有值 + 公网IP地址,仅在开启公网访问时有值。 :return: The public_ip_address of this DetailsBody. :rtype: str @@ -193,7 +319,7 @@ def public_ip_address(self): def public_ip_address(self, public_ip_address): """Sets the public_ip_address of this DetailsBody. - 公网IP地址,仅在开启公网访问时有值 + 公网IP地址,仅在开启公网访问时有值。 :param public_ip_address: The public_ip_address of this DetailsBody. :type public_ip_address: str @@ -204,7 +330,7 @@ def public_ip_address(self, public_ip_address): def enable_ssl(self): """Gets the enable_ssl of this DetailsBody. - 是否开启ssl,仅在开启ssl时有值 + 是否开启SSL,仅在开启SSL时有值。 :return: The enable_ssl of this DetailsBody. :rtype: bool @@ -215,7 +341,7 @@ def enable_ssl(self): def enable_ssl(self, enable_ssl): """Sets the enable_ssl of this DetailsBody. - 是否开启ssl,仅在开启ssl时有值 + 是否开启SSL,仅在开启SSL时有值。 :param enable_ssl: The enable_ssl of this DetailsBody. :type enable_ssl: bool @@ -226,7 +352,7 @@ def enable_ssl(self, enable_ssl): def old_cache_mode(self): """Gets the old_cache_mode of this DetailsBody. - 变更前的缓存类型,仅在变更规格时有值 + 变更前的缓存类型,仅在变更规格时有值。 :return: The old_cache_mode of this DetailsBody. :rtype: str @@ -237,7 +363,7 @@ def old_cache_mode(self): def old_cache_mode(self, old_cache_mode): """Sets the old_cache_mode of this DetailsBody. - 变更前的缓存类型,仅在变更规格时有值 + 变更前的缓存类型,仅在变更规格时有值。 :param old_cache_mode: The old_cache_mode of this DetailsBody. :type old_cache_mode: str @@ -248,7 +374,7 @@ def old_cache_mode(self, old_cache_mode): def new_cache_mode(self): """Gets the new_cache_mode of this DetailsBody. - 变更后的缓存类型,仅在变更规格时有值 + 变更后的缓存类型,仅在变更规格时有值。 :return: The new_cache_mode of this DetailsBody. :rtype: str @@ -259,13 +385,409 @@ def new_cache_mode(self): def new_cache_mode(self, new_cache_mode): """Sets the new_cache_mode of this DetailsBody. - 变更后的缓存类型,仅在变更规格时有值 + 变更后的缓存类型,仅在变更规格时有值。 :param new_cache_mode: The new_cache_mode of this DetailsBody. :type new_cache_mode: str """ self._new_cache_mode = new_cache_mode + @property + def old_resource_spec_code(self): + """Gets the old_resource_spec_code of this DetailsBody. + + 变更前的规格参数,仅在变更规格时有值。 + + :return: The old_resource_spec_code of this DetailsBody. + :rtype: str + """ + return self._old_resource_spec_code + + @old_resource_spec_code.setter + def old_resource_spec_code(self, old_resource_spec_code): + """Sets the old_resource_spec_code of this DetailsBody. + + 变更前的规格参数,仅在变更规格时有值。 + + :param old_resource_spec_code: The old_resource_spec_code of this DetailsBody. + :type old_resource_spec_code: str + """ + self._old_resource_spec_code = old_resource_spec_code + + @property + def new_resource_spec_code(self): + """Gets the new_resource_spec_code of this DetailsBody. + + 变更后的规格参数,仅在变更规格时有值。 + + :return: The new_resource_spec_code of this DetailsBody. + :rtype: str + """ + return self._new_resource_spec_code + + @new_resource_spec_code.setter + def new_resource_spec_code(self, new_resource_spec_code): + """Sets the new_resource_spec_code of this DetailsBody. + + 变更后的规格参数,仅在变更规格时有值。 + + :param new_resource_spec_code: The new_resource_spec_code of this DetailsBody. + :type new_resource_spec_code: str + """ + self._new_resource_spec_code = new_resource_spec_code + + @property + def old_replica_num(self): + """Gets the old_replica_num of this DetailsBody. + + 变更前的副本数量,仅在变更规格时有值。 + + :return: The old_replica_num of this DetailsBody. + :rtype: int + """ + return self._old_replica_num + + @old_replica_num.setter + def old_replica_num(self, old_replica_num): + """Sets the old_replica_num of this DetailsBody. + + 变更前的副本数量,仅在变更规格时有值。 + + :param old_replica_num: The old_replica_num of this DetailsBody. + :type old_replica_num: int + """ + self._old_replica_num = old_replica_num + + @property + def new_replica_num(self): + """Gets the new_replica_num of this DetailsBody. + + 变更后的副本数量,仅在变更规格时有值。 + + :return: The new_replica_num of this DetailsBody. + :rtype: int + """ + return self._new_replica_num + + @new_replica_num.setter + def new_replica_num(self, new_replica_num): + """Sets the new_replica_num of this DetailsBody. + + 变更后的副本数量,仅在变更规格时有值。 + + :param new_replica_num: The new_replica_num of this DetailsBody. + :type new_replica_num: int + """ + self._new_replica_num = new_replica_num + + @property + def old_cache_type(self): + """Gets the old_cache_type of this DetailsBody. + + 变更前的缓存类型,仅在变更规格时有值。 + + :return: The old_cache_type of this DetailsBody. + :rtype: str + """ + return self._old_cache_type + + @old_cache_type.setter + def old_cache_type(self, old_cache_type): + """Sets the old_cache_type of this DetailsBody. + + 变更前的缓存类型,仅在变更规格时有值。 + + :param old_cache_type: The old_cache_type of this DetailsBody. + :type old_cache_type: str + """ + self._old_cache_type = old_cache_type + + @property + def new_cache_type(self): + """Gets the new_cache_type of this DetailsBody. + + 变更后的规格类型,仅在变更规格时有值。 + + :return: The new_cache_type of this DetailsBody. + :rtype: str + """ + return self._new_cache_type + + @new_cache_type.setter + def new_cache_type(self, new_cache_type): + """Sets the new_cache_type of this DetailsBody. + + 变更后的规格类型,仅在变更规格时有值。 + + :param new_cache_type: The new_cache_type of this DetailsBody. + :type new_cache_type: str + """ + self._new_cache_type = new_cache_type + + @property + def replica_ip(self): + """Gets the replica_ip of this DetailsBody. + + 副本IP。 + + :return: The replica_ip of this DetailsBody. + :rtype: str + """ + return self._replica_ip + + @replica_ip.setter + def replica_ip(self, replica_ip): + """Sets the replica_ip of this DetailsBody. + + 副本IP。 + + :param replica_ip: The replica_ip of this DetailsBody. + :type replica_ip: str + """ + self._replica_ip = replica_ip + + @property + def replica_az(self): + """Gets the replica_az of this DetailsBody. + + 副本所在可用区。 + + :return: The replica_az of this DetailsBody. + :rtype: str + """ + return self._replica_az + + @replica_az.setter + def replica_az(self, replica_az): + """Sets the replica_az of this DetailsBody. + + 副本所在可用区。 + + :param replica_az: The replica_az of this DetailsBody. + :type replica_az: str + """ + self._replica_az = replica_az + + @property + def group_name(self): + """Gets the group_name of this DetailsBody. + + 组名。 + + :return: The group_name of this DetailsBody. + :rtype: str + """ + return self._group_name + + @group_name.setter + def group_name(self, group_name): + """Sets the group_name of this DetailsBody. + + 组名。 + + :param group_name: The group_name of this DetailsBody. + :type group_name: str + """ + self._group_name = group_name + + @property + def old_port(self): + """Gets the old_port of this DetailsBody. + + 旧端口。 + + :return: The old_port of this DetailsBody. + :rtype: int + """ + return self._old_port + + @old_port.setter + def old_port(self, old_port): + """Sets the old_port of this DetailsBody. + + 旧端口。 + + :param old_port: The old_port of this DetailsBody. + :type old_port: int + """ + self._old_port = old_port + + @property + def new_port(self): + """Gets the new_port of this DetailsBody. + + 新端口。 + + :return: The new_port of this DetailsBody. + :rtype: int + """ + return self._new_port + + @new_port.setter + def new_port(self, new_port): + """Sets the new_port of this DetailsBody. + + 新端口。 + + :param new_port: The new_port of this DetailsBody. + :type new_port: int + """ + self._new_port = new_port + + @property + def is_only_adjust_charging(self): + """Gets the is_only_adjust_charging of this DetailsBody. + + 是否只是调整计费模式。 + + :return: The is_only_adjust_charging of this DetailsBody. + :rtype: bool + """ + return self._is_only_adjust_charging + + @is_only_adjust_charging.setter + def is_only_adjust_charging(self, is_only_adjust_charging): + """Sets the is_only_adjust_charging of this DetailsBody. + + 是否只是调整计费模式。 + + :param is_only_adjust_charging: The is_only_adjust_charging of this DetailsBody. + :type is_only_adjust_charging: bool + """ + self._is_only_adjust_charging = is_only_adjust_charging + + @property + def account_name(self): + """Gets the account_name of this DetailsBody. + + 账号名称。 + + :return: The account_name of this DetailsBody. + :rtype: str + """ + return self._account_name + + @account_name.setter + def account_name(self, account_name): + """Sets the account_name of this DetailsBody. + + 账号名称。 + + :param account_name: The account_name of this DetailsBody. + :type account_name: str + """ + self._account_name = account_name + + @property + def source_ip(self): + """Gets the source_ip of this DetailsBody. + + 源IP。 + + :return: The source_ip of this DetailsBody. + :rtype: str + """ + return self._source_ip + + @source_ip.setter + def source_ip(self, source_ip): + """Sets the source_ip of this DetailsBody. + + 源IP。 + + :param source_ip: The source_ip of this DetailsBody. + :type source_ip: str + """ + self._source_ip = source_ip + + @property + def target_ip(self): + """Gets the target_ip of this DetailsBody. + + 目标IP。 + + :return: The target_ip of this DetailsBody. + :rtype: str + """ + return self._target_ip + + @target_ip.setter + def target_ip(self, target_ip): + """Sets the target_ip of this DetailsBody. + + 目标IP。 + + :param target_ip: The target_ip of this DetailsBody. + :type target_ip: str + """ + self._target_ip = target_ip + + @property + def node_name(self): + """Gets the node_name of this DetailsBody. + + 节点信息。 + + :return: The node_name of this DetailsBody. + :rtype: str + """ + return self._node_name + + @node_name.setter + def node_name(self, node_name): + """Sets the node_name of this DetailsBody. + + 节点信息。 + + :param node_name: The node_name of this DetailsBody. + :type node_name: str + """ + self._node_name = node_name + + @property + def rename_commands(self): + """Gets the rename_commands of this DetailsBody. + + 重命名的指令。 + + :return: The rename_commands of this DetailsBody. + :rtype: list[str] + """ + return self._rename_commands + + @rename_commands.setter + def rename_commands(self, rename_commands): + """Sets the rename_commands of this DetailsBody. + + 重命名的指令。 + + :param rename_commands: The rename_commands of this DetailsBody. + :type rename_commands: list[str] + """ + self._rename_commands = rename_commands + + @property + def updated_config_length(self): + """Gets the updated_config_length of this DetailsBody. + + 更新配置项的长度。 + + :return: The updated_config_length of this DetailsBody. + :rtype: int + """ + return self._updated_config_length + + @updated_config_length.setter + def updated_config_length(self, updated_config_length): + """Sets the updated_config_length of this DetailsBody. + + 更新配置项的长度。 + + :param updated_config_length: The updated_config_length of this DetailsBody. + :type updated_config_length: int + """ + self._updated_config_length = updated_config_length + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/migration_task_list.py b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/migration_task_list.py index f6c295ec8f..d650ea63de 100644 --- a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/migration_task_list.py +++ b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/migration_task_list.py @@ -29,7 +29,19 @@ class MigrationTaskList: 'target_instance_addrs': 'str', 'target_instance_name': 'str', 'target_instance_id': 'str', - 'created_at': 'str' + 'created_at': 'str', + 'description': 'str', + 'source_instance_status': 'str', + 'target_instance_status': 'str', + 'source_instance_subnet_id': 'str', + 'target_instance_subnet_id': 'str', + 'source_instance_spec_code': 'str', + 'target_instance_spec_code': 'str', + 'error_message': 'str', + 'released_at': 'str', + 'version': 'str', + 'resume_mode': 'str', + 'supported_features': 'list[str]' } attribute_map = { @@ -45,10 +57,22 @@ class MigrationTaskList: 'target_instance_addrs': 'target_instance_addrs', 'target_instance_name': 'target_instance_name', 'target_instance_id': 'target_instance_id', - 'created_at': 'created_at' + 'created_at': 'created_at', + 'description': 'description', + 'source_instance_status': 'source_instance_status', + 'target_instance_status': 'target_instance_status', + 'source_instance_subnet_id': 'source_instance_subnet_id', + 'target_instance_subnet_id': 'target_instance_subnet_id', + 'source_instance_spec_code': 'source_instance_spec_code', + 'target_instance_spec_code': 'target_instance_spec_code', + 'error_message': 'error_message', + 'released_at': 'released_at', + 'version': 'version', + 'resume_mode': 'resume_mode', + 'supported_features': 'supported_features' } - def __init__(self, task_id=None, task_name=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, data_source=None, source_instance_name=None, source_instance_id=None, target_instance_addrs=None, target_instance_name=None, target_instance_id=None, created_at=None): + def __init__(self, task_id=None, task_name=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, data_source=None, source_instance_name=None, source_instance_id=None, target_instance_addrs=None, target_instance_name=None, target_instance_id=None, created_at=None, description=None, source_instance_status=None, target_instance_status=None, source_instance_subnet_id=None, target_instance_subnet_id=None, source_instance_spec_code=None, target_instance_spec_code=None, error_message=None, released_at=None, version=None, resume_mode=None, supported_features=None): """MigrationTaskList The model defined in huaweicloud sdk @@ -57,15 +81,15 @@ def __init__(self, task_id=None, task_name=None, status=None, migration_type=Non :type task_id: str :param task_name: 迁移任务名称。 :type task_name: str - :param status: 迁移任务状态,这个字段的值包括:SUCCESS, FAILED, MIGRATING,TERMINATED + :param status: 迁移任务状态,这个字段的值包括:SUCCESS(成功), FAILED(失败), MIGRATING(迁移中),TERMINATED(已结束)。 :type status: str - :param migration_type: 迁移任务类型,包括备份文件导入和在线迁移两种类型。 + :param migration_type: 迁移任务类型,包括备份文件导入和在线迁移两种类型。 :type migration_type: str :param migration_method: 迁移方式,包括全量迁移和增量迁移两种类型。 :type migration_method: str - :param ecs_tenant_private_ip: 迁移机租户侧私有IP,与目的/源redis私有IP处于同VPC,可将此IP加入白名单 + :param ecs_tenant_private_ip: 迁移机租户侧私有IP,与目的/源redis私有IP处于同VPC,可将此IP加入白名单。 :type ecs_tenant_private_ip: str - :param data_source: 数据源,格式为ip:port或者桶名。 + :param data_source: 源redis地址,格式为ip:port或者桶名。 :type data_source: str :param source_instance_name: 源实例名称,若自建redis则为空。 :type source_instance_name: str @@ -77,8 +101,32 @@ def __init__(self, task_id=None, task_name=None, status=None, migration_type=Non :type target_instance_name: str :param target_instance_id: 目标实例ID。 :type target_instance_id: str - :param created_at: 迁移任务创建时间 + :param created_at: 迁移任务创建时间。 :type created_at: str + :param description: 迁移任务描述。 + :type description: str + :param source_instance_status: 源实例状态,若自建redis则为空。 + :type source_instance_status: str + :param target_instance_status: 目标实例状态。 + :type target_instance_status: str + :param source_instance_subnet_id: 源实例子网ID,若自建redis则为空。 + :type source_instance_subnet_id: str + :param target_instance_subnet_id: 目标实例子网ID。 + :type target_instance_subnet_id: str + :param source_instance_spec_code: 源实例规格编码,若自建redis则为空。 + :type source_instance_spec_code: str + :param target_instance_spec_code: 目标实例规格编码。 + :type target_instance_spec_code: str + :param error_message: 错误信息。 + :type error_message: str + :param released_at: 迁移机释放时间。 + :type released_at: str + :param version: 版本。 + :type version: str + :param resume_mode: 操作模式,分为auto和manual。 + :type resume_mode: str + :param supported_features: 支持的特性。 + :type supported_features: list[str] """ @@ -96,6 +144,18 @@ def __init__(self, task_id=None, task_name=None, status=None, migration_type=Non self._target_instance_name = None self._target_instance_id = None self._created_at = None + self._description = None + self._source_instance_status = None + self._target_instance_status = None + self._source_instance_subnet_id = None + self._target_instance_subnet_id = None + self._source_instance_spec_code = None + self._target_instance_spec_code = None + self._error_message = None + self._released_at = None + self._version = None + self._resume_mode = None + self._supported_features = None self.discriminator = None if task_id is not None: @@ -124,6 +184,30 @@ def __init__(self, task_id=None, task_name=None, status=None, migration_type=Non self.target_instance_id = target_instance_id if created_at is not None: self.created_at = created_at + if description is not None: + self.description = description + if source_instance_status is not None: + self.source_instance_status = source_instance_status + if target_instance_status is not None: + self.target_instance_status = target_instance_status + if source_instance_subnet_id is not None: + self.source_instance_subnet_id = source_instance_subnet_id + if target_instance_subnet_id is not None: + self.target_instance_subnet_id = target_instance_subnet_id + if source_instance_spec_code is not None: + self.source_instance_spec_code = source_instance_spec_code + if target_instance_spec_code is not None: + self.target_instance_spec_code = target_instance_spec_code + if error_message is not None: + self.error_message = error_message + if released_at is not None: + self.released_at = released_at + if version is not None: + self.version = version + if resume_mode is not None: + self.resume_mode = resume_mode + if supported_features is not None: + self.supported_features = supported_features @property def task_id(self): @@ -173,7 +257,7 @@ def task_name(self, task_name): def status(self): """Gets the status of this MigrationTaskList. - 迁移任务状态,这个字段的值包括:SUCCESS, FAILED, MIGRATING,TERMINATED + 迁移任务状态,这个字段的值包括:SUCCESS(成功), FAILED(失败), MIGRATING(迁移中),TERMINATED(已结束)。 :return: The status of this MigrationTaskList. :rtype: str @@ -184,7 +268,7 @@ def status(self): def status(self, status): """Sets the status of this MigrationTaskList. - 迁移任务状态,这个字段的值包括:SUCCESS, FAILED, MIGRATING,TERMINATED + 迁移任务状态,这个字段的值包括:SUCCESS(成功), FAILED(失败), MIGRATING(迁移中),TERMINATED(已结束)。 :param status: The status of this MigrationTaskList. :type status: str @@ -195,7 +279,7 @@ def status(self, status): def migration_type(self): """Gets the migration_type of this MigrationTaskList. - 迁移任务类型,包括备份文件导入和在线迁移两种类型。 + 迁移任务类型,包括备份文件导入和在线迁移两种类型。 :return: The migration_type of this MigrationTaskList. :rtype: str @@ -206,7 +290,7 @@ def migration_type(self): def migration_type(self, migration_type): """Sets the migration_type of this MigrationTaskList. - 迁移任务类型,包括备份文件导入和在线迁移两种类型。 + 迁移任务类型,包括备份文件导入和在线迁移两种类型。 :param migration_type: The migration_type of this MigrationTaskList. :type migration_type: str @@ -239,7 +323,7 @@ def migration_method(self, migration_method): def ecs_tenant_private_ip(self): """Gets the ecs_tenant_private_ip of this MigrationTaskList. - 迁移机租户侧私有IP,与目的/源redis私有IP处于同VPC,可将此IP加入白名单 + 迁移机租户侧私有IP,与目的/源redis私有IP处于同VPC,可将此IP加入白名单。 :return: The ecs_tenant_private_ip of this MigrationTaskList. :rtype: str @@ -250,7 +334,7 @@ def ecs_tenant_private_ip(self): def ecs_tenant_private_ip(self, ecs_tenant_private_ip): """Sets the ecs_tenant_private_ip of this MigrationTaskList. - 迁移机租户侧私有IP,与目的/源redis私有IP处于同VPC,可将此IP加入白名单 + 迁移机租户侧私有IP,与目的/源redis私有IP处于同VPC,可将此IP加入白名单。 :param ecs_tenant_private_ip: The ecs_tenant_private_ip of this MigrationTaskList. :type ecs_tenant_private_ip: str @@ -261,7 +345,7 @@ def ecs_tenant_private_ip(self, ecs_tenant_private_ip): def data_source(self): """Gets the data_source of this MigrationTaskList. - 数据源,格式为ip:port或者桶名。 + 源redis地址,格式为ip:port或者桶名。 :return: The data_source of this MigrationTaskList. :rtype: str @@ -272,7 +356,7 @@ def data_source(self): def data_source(self, data_source): """Sets the data_source of this MigrationTaskList. - 数据源,格式为ip:port或者桶名。 + 源redis地址,格式为ip:port或者桶名。 :param data_source: The data_source of this MigrationTaskList. :type data_source: str @@ -393,7 +477,7 @@ def target_instance_id(self, target_instance_id): def created_at(self): """Gets the created_at of this MigrationTaskList. - 迁移任务创建时间 + 迁移任务创建时间。 :return: The created_at of this MigrationTaskList. :rtype: str @@ -404,13 +488,277 @@ def created_at(self): def created_at(self, created_at): """Sets the created_at of this MigrationTaskList. - 迁移任务创建时间 + 迁移任务创建时间。 :param created_at: The created_at of this MigrationTaskList. :type created_at: str """ self._created_at = created_at + @property + def description(self): + """Gets the description of this MigrationTaskList. + + 迁移任务描述。 + + :return: The description of this MigrationTaskList. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this MigrationTaskList. + + 迁移任务描述。 + + :param description: The description of this MigrationTaskList. + :type description: str + """ + self._description = description + + @property + def source_instance_status(self): + """Gets the source_instance_status of this MigrationTaskList. + + 源实例状态,若自建redis则为空。 + + :return: The source_instance_status of this MigrationTaskList. + :rtype: str + """ + return self._source_instance_status + + @source_instance_status.setter + def source_instance_status(self, source_instance_status): + """Sets the source_instance_status of this MigrationTaskList. + + 源实例状态,若自建redis则为空。 + + :param source_instance_status: The source_instance_status of this MigrationTaskList. + :type source_instance_status: str + """ + self._source_instance_status = source_instance_status + + @property + def target_instance_status(self): + """Gets the target_instance_status of this MigrationTaskList. + + 目标实例状态。 + + :return: The target_instance_status of this MigrationTaskList. + :rtype: str + """ + return self._target_instance_status + + @target_instance_status.setter + def target_instance_status(self, target_instance_status): + """Sets the target_instance_status of this MigrationTaskList. + + 目标实例状态。 + + :param target_instance_status: The target_instance_status of this MigrationTaskList. + :type target_instance_status: str + """ + self._target_instance_status = target_instance_status + + @property + def source_instance_subnet_id(self): + """Gets the source_instance_subnet_id of this MigrationTaskList. + + 源实例子网ID,若自建redis则为空。 + + :return: The source_instance_subnet_id of this MigrationTaskList. + :rtype: str + """ + return self._source_instance_subnet_id + + @source_instance_subnet_id.setter + def source_instance_subnet_id(self, source_instance_subnet_id): + """Sets the source_instance_subnet_id of this MigrationTaskList. + + 源实例子网ID,若自建redis则为空。 + + :param source_instance_subnet_id: The source_instance_subnet_id of this MigrationTaskList. + :type source_instance_subnet_id: str + """ + self._source_instance_subnet_id = source_instance_subnet_id + + @property + def target_instance_subnet_id(self): + """Gets the target_instance_subnet_id of this MigrationTaskList. + + 目标实例子网ID。 + + :return: The target_instance_subnet_id of this MigrationTaskList. + :rtype: str + """ + return self._target_instance_subnet_id + + @target_instance_subnet_id.setter + def target_instance_subnet_id(self, target_instance_subnet_id): + """Sets the target_instance_subnet_id of this MigrationTaskList. + + 目标实例子网ID。 + + :param target_instance_subnet_id: The target_instance_subnet_id of this MigrationTaskList. + :type target_instance_subnet_id: str + """ + self._target_instance_subnet_id = target_instance_subnet_id + + @property + def source_instance_spec_code(self): + """Gets the source_instance_spec_code of this MigrationTaskList. + + 源实例规格编码,若自建redis则为空。 + + :return: The source_instance_spec_code of this MigrationTaskList. + :rtype: str + """ + return self._source_instance_spec_code + + @source_instance_spec_code.setter + def source_instance_spec_code(self, source_instance_spec_code): + """Sets the source_instance_spec_code of this MigrationTaskList. + + 源实例规格编码,若自建redis则为空。 + + :param source_instance_spec_code: The source_instance_spec_code of this MigrationTaskList. + :type source_instance_spec_code: str + """ + self._source_instance_spec_code = source_instance_spec_code + + @property + def target_instance_spec_code(self): + """Gets the target_instance_spec_code of this MigrationTaskList. + + 目标实例规格编码。 + + :return: The target_instance_spec_code of this MigrationTaskList. + :rtype: str + """ + return self._target_instance_spec_code + + @target_instance_spec_code.setter + def target_instance_spec_code(self, target_instance_spec_code): + """Sets the target_instance_spec_code of this MigrationTaskList. + + 目标实例规格编码。 + + :param target_instance_spec_code: The target_instance_spec_code of this MigrationTaskList. + :type target_instance_spec_code: str + """ + self._target_instance_spec_code = target_instance_spec_code + + @property + def error_message(self): + """Gets the error_message of this MigrationTaskList. + + 错误信息。 + + :return: The error_message of this MigrationTaskList. + :rtype: str + """ + return self._error_message + + @error_message.setter + def error_message(self, error_message): + """Sets the error_message of this MigrationTaskList. + + 错误信息。 + + :param error_message: The error_message of this MigrationTaskList. + :type error_message: str + """ + self._error_message = error_message + + @property + def released_at(self): + """Gets the released_at of this MigrationTaskList. + + 迁移机释放时间。 + + :return: The released_at of this MigrationTaskList. + :rtype: str + """ + return self._released_at + + @released_at.setter + def released_at(self, released_at): + """Sets the released_at of this MigrationTaskList. + + 迁移机释放时间。 + + :param released_at: The released_at of this MigrationTaskList. + :type released_at: str + """ + self._released_at = released_at + + @property + def version(self): + """Gets the version of this MigrationTaskList. + + 版本。 + + :return: The version of this MigrationTaskList. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this MigrationTaskList. + + 版本。 + + :param version: The version of this MigrationTaskList. + :type version: str + """ + self._version = version + + @property + def resume_mode(self): + """Gets the resume_mode of this MigrationTaskList. + + 操作模式,分为auto和manual。 + + :return: The resume_mode of this MigrationTaskList. + :rtype: str + """ + return self._resume_mode + + @resume_mode.setter + def resume_mode(self, resume_mode): + """Sets the resume_mode of this MigrationTaskList. + + 操作模式,分为auto和manual。 + + :param resume_mode: The resume_mode of this MigrationTaskList. + :type resume_mode: str + """ + self._resume_mode = resume_mode + + @property + def supported_features(self): + """Gets the supported_features of this MigrationTaskList. + + 支持的特性。 + + :return: The supported_features of this MigrationTaskList. + :rtype: list[str] + """ + return self._supported_features + + @supported_features.setter + def supported_features(self, supported_features): + """Sets the supported_features of this MigrationTaskList. + + 支持的特性。 + + :param supported_features: The supported_features of this MigrationTaskList. + :type supported_features: list[str] + """ + self._supported_features = supported_features + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/show_migration_task_response.py b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/show_migration_task_response.py index 786f647733..8e438a9b11 100644 --- a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/show_migration_task_response.py +++ b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/show_migration_task_response.py @@ -30,7 +30,16 @@ class ShowMigrationTaskResponse(SdkResponse): 'source_instance': 'SourceInstanceBody', 'target_instance': 'TargetInstanceBody', 'created_at': 'str', - 'updated_at': 'str' + 'updated_at': 'str', + 'released_at': 'str', + 'version': 'str', + 'resume_mode': 'str', + 'supported_features': 'list[str]', + 'tenant_vpc_id': 'str', + 'tenant_subnet_id': 'str', + 'tenant_security_group_id': 'str', + 'bandwidth_limit_mb': 'str', + 'task_status': 'str' } attribute_map = { @@ -46,10 +55,19 @@ class ShowMigrationTaskResponse(SdkResponse): 'source_instance': 'source_instance', 'target_instance': 'target_instance', 'created_at': 'created_at', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'released_at': 'released_at', + 'version': 'version', + 'resume_mode': 'resume_mode', + 'supported_features': 'supported_features', + 'tenant_vpc_id': 'tenant_vpc_id', + 'tenant_subnet_id': 'tenant_subnet_id', + 'tenant_security_group_id': 'tenant_security_group_id', + 'bandwidth_limit_mb': 'bandwidth_limit_mb', + 'task_status': 'task_status' } - def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None): + def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None, released_at=None, version=None, resume_mode=None, supported_features=None, tenant_vpc_id=None, tenant_subnet_id=None, tenant_security_group_id=None, bandwidth_limit_mb=None, task_status=None): """ShowMigrationTaskResponse The model defined in huaweicloud sdk @@ -80,6 +98,24 @@ def __init__(self, task_id=None, task_name=None, description=None, status=None, :type created_at: str :param updated_at: 迁移任务完成时间。 :type updated_at: str + :param released_at: 迁移机释放时间。 + :type released_at: str + :param version: 版本。 + :type version: str + :param resume_mode: 操作模式,分为auto和manual。 + :type resume_mode: str + :param supported_features: 支持的特性。 + :type supported_features: list[str] + :param tenant_vpc_id: 租户VPC ID。 + :type tenant_vpc_id: str + :param tenant_subnet_id: 租户子网ID。 + :type tenant_subnet_id: str + :param tenant_security_group_id: 租户安全组ID。 + :type tenant_security_group_id: str + :param bandwidth_limit_mb: 带宽限制速度。 + :type bandwidth_limit_mb: str + :param task_status: 任务状态。 + :type task_status: str """ super(ShowMigrationTaskResponse, self).__init__() @@ -97,6 +133,15 @@ def __init__(self, task_id=None, task_name=None, description=None, status=None, self._target_instance = None self._created_at = None self._updated_at = None + self._released_at = None + self._version = None + self._resume_mode = None + self._supported_features = None + self._tenant_vpc_id = None + self._tenant_subnet_id = None + self._tenant_security_group_id = None + self._bandwidth_limit_mb = None + self._task_status = None self.discriminator = None if task_id is not None: @@ -125,6 +170,24 @@ def __init__(self, task_id=None, task_name=None, description=None, status=None, self.created_at = created_at if updated_at is not None: self.updated_at = updated_at + if released_at is not None: + self.released_at = released_at + if version is not None: + self.version = version + if resume_mode is not None: + self.resume_mode = resume_mode + if supported_features is not None: + self.supported_features = supported_features + if tenant_vpc_id is not None: + self.tenant_vpc_id = tenant_vpc_id + if tenant_subnet_id is not None: + self.tenant_subnet_id = tenant_subnet_id + if tenant_security_group_id is not None: + self.tenant_security_group_id = tenant_security_group_id + if bandwidth_limit_mb is not None: + self.bandwidth_limit_mb = bandwidth_limit_mb + if task_status is not None: + self.task_status = task_status @property def task_id(self): @@ -400,6 +463,204 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def released_at(self): + """Gets the released_at of this ShowMigrationTaskResponse. + + 迁移机释放时间。 + + :return: The released_at of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._released_at + + @released_at.setter + def released_at(self, released_at): + """Sets the released_at of this ShowMigrationTaskResponse. + + 迁移机释放时间。 + + :param released_at: The released_at of this ShowMigrationTaskResponse. + :type released_at: str + """ + self._released_at = released_at + + @property + def version(self): + """Gets the version of this ShowMigrationTaskResponse. + + 版本。 + + :return: The version of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this ShowMigrationTaskResponse. + + 版本。 + + :param version: The version of this ShowMigrationTaskResponse. + :type version: str + """ + self._version = version + + @property + def resume_mode(self): + """Gets the resume_mode of this ShowMigrationTaskResponse. + + 操作模式,分为auto和manual。 + + :return: The resume_mode of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._resume_mode + + @resume_mode.setter + def resume_mode(self, resume_mode): + """Sets the resume_mode of this ShowMigrationTaskResponse. + + 操作模式,分为auto和manual。 + + :param resume_mode: The resume_mode of this ShowMigrationTaskResponse. + :type resume_mode: str + """ + self._resume_mode = resume_mode + + @property + def supported_features(self): + """Gets the supported_features of this ShowMigrationTaskResponse. + + 支持的特性。 + + :return: The supported_features of this ShowMigrationTaskResponse. + :rtype: list[str] + """ + return self._supported_features + + @supported_features.setter + def supported_features(self, supported_features): + """Sets the supported_features of this ShowMigrationTaskResponse. + + 支持的特性。 + + :param supported_features: The supported_features of this ShowMigrationTaskResponse. + :type supported_features: list[str] + """ + self._supported_features = supported_features + + @property + def tenant_vpc_id(self): + """Gets the tenant_vpc_id of this ShowMigrationTaskResponse. + + 租户VPC ID。 + + :return: The tenant_vpc_id of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._tenant_vpc_id + + @tenant_vpc_id.setter + def tenant_vpc_id(self, tenant_vpc_id): + """Sets the tenant_vpc_id of this ShowMigrationTaskResponse. + + 租户VPC ID。 + + :param tenant_vpc_id: The tenant_vpc_id of this ShowMigrationTaskResponse. + :type tenant_vpc_id: str + """ + self._tenant_vpc_id = tenant_vpc_id + + @property + def tenant_subnet_id(self): + """Gets the tenant_subnet_id of this ShowMigrationTaskResponse. + + 租户子网ID。 + + :return: The tenant_subnet_id of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._tenant_subnet_id + + @tenant_subnet_id.setter + def tenant_subnet_id(self, tenant_subnet_id): + """Sets the tenant_subnet_id of this ShowMigrationTaskResponse. + + 租户子网ID。 + + :param tenant_subnet_id: The tenant_subnet_id of this ShowMigrationTaskResponse. + :type tenant_subnet_id: str + """ + self._tenant_subnet_id = tenant_subnet_id + + @property + def tenant_security_group_id(self): + """Gets the tenant_security_group_id of this ShowMigrationTaskResponse. + + 租户安全组ID。 + + :return: The tenant_security_group_id of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._tenant_security_group_id + + @tenant_security_group_id.setter + def tenant_security_group_id(self, tenant_security_group_id): + """Sets the tenant_security_group_id of this ShowMigrationTaskResponse. + + 租户安全组ID。 + + :param tenant_security_group_id: The tenant_security_group_id of this ShowMigrationTaskResponse. + :type tenant_security_group_id: str + """ + self._tenant_security_group_id = tenant_security_group_id + + @property + def bandwidth_limit_mb(self): + """Gets the bandwidth_limit_mb of this ShowMigrationTaskResponse. + + 带宽限制速度。 + + :return: The bandwidth_limit_mb of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._bandwidth_limit_mb + + @bandwidth_limit_mb.setter + def bandwidth_limit_mb(self, bandwidth_limit_mb): + """Sets the bandwidth_limit_mb of this ShowMigrationTaskResponse. + + 带宽限制速度。 + + :param bandwidth_limit_mb: The bandwidth_limit_mb of this ShowMigrationTaskResponse. + :type bandwidth_limit_mb: str + """ + self._bandwidth_limit_mb = bandwidth_limit_mb + + @property + def task_status(self): + """Gets the task_status of this ShowMigrationTaskResponse. + + 任务状态。 + + :return: The task_status of this ShowMigrationTaskResponse. + :rtype: str + """ + return self._task_status + + @task_status.setter + def task_status(self, task_status): + """Sets the task_status of this ShowMigrationTaskResponse. + + 任务状态。 + + :param task_status: The task_status of this ShowMigrationTaskResponse. + :type task_status: str + """ + self._task_status = task_status + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/stop_migration_task_response.py b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/stop_migration_task_response.py index 08ada53958..0b6d307304 100644 --- a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/stop_migration_task_response.py +++ b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/stop_migration_task_response.py @@ -30,7 +30,16 @@ class StopMigrationTaskResponse(SdkResponse): 'source_instance': 'SourceInstanceBody', 'target_instance': 'TargetInstanceBody', 'created_at': 'str', - 'updated_at': 'str' + 'updated_at': 'str', + 'released_at': 'str', + 'version': 'str', + 'resume_mode': 'str', + 'supported_features': 'list[str]', + 'tenant_vpc_id': 'str', + 'tenant_subnet_id': 'str', + 'tenant_security_group_id': 'str', + 'bandwidth_limit_mb': 'str', + 'task_status': 'str' } attribute_map = { @@ -46,10 +55,19 @@ class StopMigrationTaskResponse(SdkResponse): 'source_instance': 'source_instance', 'target_instance': 'target_instance', 'created_at': 'created_at', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'released_at': 'released_at', + 'version': 'version', + 'resume_mode': 'resume_mode', + 'supported_features': 'supported_features', + 'tenant_vpc_id': 'tenant_vpc_id', + 'tenant_subnet_id': 'tenant_subnet_id', + 'tenant_security_group_id': 'tenant_security_group_id', + 'bandwidth_limit_mb': 'bandwidth_limit_mb', + 'task_status': 'task_status' } - def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None): + def __init__(self, task_id=None, task_name=None, description=None, status=None, migration_type=None, migration_method=None, ecs_tenant_private_ip=None, backup_files=None, network_type=None, source_instance=None, target_instance=None, created_at=None, updated_at=None, released_at=None, version=None, resume_mode=None, supported_features=None, tenant_vpc_id=None, tenant_subnet_id=None, tenant_security_group_id=None, bandwidth_limit_mb=None, task_status=None): """StopMigrationTaskResponse The model defined in huaweicloud sdk @@ -80,6 +98,24 @@ def __init__(self, task_id=None, task_name=None, description=None, status=None, :type created_at: str :param updated_at: 迁移任务完成时间。 :type updated_at: str + :param released_at: 迁移机释放时间。 + :type released_at: str + :param version: 版本。 + :type version: str + :param resume_mode: 操作模式,分为auto和manual。 + :type resume_mode: str + :param supported_features: 支持的特性。 + :type supported_features: list[str] + :param tenant_vpc_id: 租户VPC ID。 + :type tenant_vpc_id: str + :param tenant_subnet_id: 租户子网ID。 + :type tenant_subnet_id: str + :param tenant_security_group_id: 租户安全组ID。 + :type tenant_security_group_id: str + :param bandwidth_limit_mb: 带宽限制速度。 + :type bandwidth_limit_mb: str + :param task_status: 任务状态。 + :type task_status: str """ super(StopMigrationTaskResponse, self).__init__() @@ -97,6 +133,15 @@ def __init__(self, task_id=None, task_name=None, description=None, status=None, self._target_instance = None self._created_at = None self._updated_at = None + self._released_at = None + self._version = None + self._resume_mode = None + self._supported_features = None + self._tenant_vpc_id = None + self._tenant_subnet_id = None + self._tenant_security_group_id = None + self._bandwidth_limit_mb = None + self._task_status = None self.discriminator = None if task_id is not None: @@ -125,6 +170,24 @@ def __init__(self, task_id=None, task_name=None, description=None, status=None, self.created_at = created_at if updated_at is not None: self.updated_at = updated_at + if released_at is not None: + self.released_at = released_at + if version is not None: + self.version = version + if resume_mode is not None: + self.resume_mode = resume_mode + if supported_features is not None: + self.supported_features = supported_features + if tenant_vpc_id is not None: + self.tenant_vpc_id = tenant_vpc_id + if tenant_subnet_id is not None: + self.tenant_subnet_id = tenant_subnet_id + if tenant_security_group_id is not None: + self.tenant_security_group_id = tenant_security_group_id + if bandwidth_limit_mb is not None: + self.bandwidth_limit_mb = bandwidth_limit_mb + if task_status is not None: + self.task_status = task_status @property def task_id(self): @@ -400,6 +463,204 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def released_at(self): + """Gets the released_at of this StopMigrationTaskResponse. + + 迁移机释放时间。 + + :return: The released_at of this StopMigrationTaskResponse. + :rtype: str + """ + return self._released_at + + @released_at.setter + def released_at(self, released_at): + """Sets the released_at of this StopMigrationTaskResponse. + + 迁移机释放时间。 + + :param released_at: The released_at of this StopMigrationTaskResponse. + :type released_at: str + """ + self._released_at = released_at + + @property + def version(self): + """Gets the version of this StopMigrationTaskResponse. + + 版本。 + + :return: The version of this StopMigrationTaskResponse. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this StopMigrationTaskResponse. + + 版本。 + + :param version: The version of this StopMigrationTaskResponse. + :type version: str + """ + self._version = version + + @property + def resume_mode(self): + """Gets the resume_mode of this StopMigrationTaskResponse. + + 操作模式,分为auto和manual。 + + :return: The resume_mode of this StopMigrationTaskResponse. + :rtype: str + """ + return self._resume_mode + + @resume_mode.setter + def resume_mode(self, resume_mode): + """Sets the resume_mode of this StopMigrationTaskResponse. + + 操作模式,分为auto和manual。 + + :param resume_mode: The resume_mode of this StopMigrationTaskResponse. + :type resume_mode: str + """ + self._resume_mode = resume_mode + + @property + def supported_features(self): + """Gets the supported_features of this StopMigrationTaskResponse. + + 支持的特性。 + + :return: The supported_features of this StopMigrationTaskResponse. + :rtype: list[str] + """ + return self._supported_features + + @supported_features.setter + def supported_features(self, supported_features): + """Sets the supported_features of this StopMigrationTaskResponse. + + 支持的特性。 + + :param supported_features: The supported_features of this StopMigrationTaskResponse. + :type supported_features: list[str] + """ + self._supported_features = supported_features + + @property + def tenant_vpc_id(self): + """Gets the tenant_vpc_id of this StopMigrationTaskResponse. + + 租户VPC ID。 + + :return: The tenant_vpc_id of this StopMigrationTaskResponse. + :rtype: str + """ + return self._tenant_vpc_id + + @tenant_vpc_id.setter + def tenant_vpc_id(self, tenant_vpc_id): + """Sets the tenant_vpc_id of this StopMigrationTaskResponse. + + 租户VPC ID。 + + :param tenant_vpc_id: The tenant_vpc_id of this StopMigrationTaskResponse. + :type tenant_vpc_id: str + """ + self._tenant_vpc_id = tenant_vpc_id + + @property + def tenant_subnet_id(self): + """Gets the tenant_subnet_id of this StopMigrationTaskResponse. + + 租户子网ID。 + + :return: The tenant_subnet_id of this StopMigrationTaskResponse. + :rtype: str + """ + return self._tenant_subnet_id + + @tenant_subnet_id.setter + def tenant_subnet_id(self, tenant_subnet_id): + """Sets the tenant_subnet_id of this StopMigrationTaskResponse. + + 租户子网ID。 + + :param tenant_subnet_id: The tenant_subnet_id of this StopMigrationTaskResponse. + :type tenant_subnet_id: str + """ + self._tenant_subnet_id = tenant_subnet_id + + @property + def tenant_security_group_id(self): + """Gets the tenant_security_group_id of this StopMigrationTaskResponse. + + 租户安全组ID。 + + :return: The tenant_security_group_id of this StopMigrationTaskResponse. + :rtype: str + """ + return self._tenant_security_group_id + + @tenant_security_group_id.setter + def tenant_security_group_id(self, tenant_security_group_id): + """Sets the tenant_security_group_id of this StopMigrationTaskResponse. + + 租户安全组ID。 + + :param tenant_security_group_id: The tenant_security_group_id of this StopMigrationTaskResponse. + :type tenant_security_group_id: str + """ + self._tenant_security_group_id = tenant_security_group_id + + @property + def bandwidth_limit_mb(self): + """Gets the bandwidth_limit_mb of this StopMigrationTaskResponse. + + 带宽限制速度。 + + :return: The bandwidth_limit_mb of this StopMigrationTaskResponse. + :rtype: str + """ + return self._bandwidth_limit_mb + + @bandwidth_limit_mb.setter + def bandwidth_limit_mb(self, bandwidth_limit_mb): + """Sets the bandwidth_limit_mb of this StopMigrationTaskResponse. + + 带宽限制速度。 + + :param bandwidth_limit_mb: The bandwidth_limit_mb of this StopMigrationTaskResponse. + :type bandwidth_limit_mb: str + """ + self._bandwidth_limit_mb = bandwidth_limit_mb + + @property + def task_status(self): + """Gets the task_status of this StopMigrationTaskResponse. + + 任务状态。 + + :return: The task_status of this StopMigrationTaskResponse. + :rtype: str + """ + return self._task_status + + @task_status.setter + def task_status(self, task_status): + """Sets the task_status of this StopMigrationTaskResponse. + + 任务状态。 + + :param task_status: The task_status of this StopMigrationTaskResponse. + :type task_status: str + """ + self._task_status = task_status + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dcs/requirements.txt b/huaweicloud-sdk-dcs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dcs/requirements.txt +++ b/huaweicloud-sdk-dcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dcs/setup.py b/huaweicloud-sdk-dcs/setup.py index 2586260fbc..67127e709e 100644 --- a/huaweicloud-sdk-dcs/setup.py +++ b/huaweicloud-sdk-dcs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdcs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ddm/requirements.txt b/huaweicloud-sdk-ddm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ddm/requirements.txt +++ b/huaweicloud-sdk-ddm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ddm/setup.py b/huaweicloud-sdk-ddm/setup.py index 727bf77c16..18d441c20e 100644 --- a/huaweicloud-sdk-ddm/setup.py +++ b/huaweicloud-sdk-ddm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkddm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dds/requirements.txt b/huaweicloud-sdk-dds/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dds/requirements.txt +++ b/huaweicloud-sdk-dds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dds/setup.py b/huaweicloud-sdk-dds/setup.py index fbb9ab1c09..00d531ad40 100644 --- a/huaweicloud-sdk-dds/setup.py +++ b/huaweicloud-sdk-dds/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdds" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-deh/requirements.txt b/huaweicloud-sdk-deh/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-deh/requirements.txt +++ b/huaweicloud-sdk-deh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-deh/setup.py b/huaweicloud-sdk-deh/setup.py index 1653bf8682..601e80a259 100644 --- a/huaweicloud-sdk-deh/setup.py +++ b/huaweicloud-sdk-deh/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdeh" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devsecurity/requirements.txt b/huaweicloud-sdk-devsecurity/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-devsecurity/requirements.txt +++ b/huaweicloud-sdk-devsecurity/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-devsecurity/setup.py b/huaweicloud-sdk-devsecurity/setup.py index 5a64dd9839..ea5eb11023 100644 --- a/huaweicloud-sdk-devsecurity/setup.py +++ b/huaweicloud-sdk-devsecurity/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdevsecurity" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devstar/requirements.txt b/huaweicloud-sdk-devstar/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-devstar/requirements.txt +++ b/huaweicloud-sdk-devstar/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-devstar/setup.py b/huaweicloud-sdk-devstar/setup.py index a26deebb4a..695040af35 100644 --- a/huaweicloud-sdk-devstar/setup.py +++ b/huaweicloud-sdk-devstar/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdevstar" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dgc/requirements.txt b/huaweicloud-sdk-dgc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dgc/requirements.txt +++ b/huaweicloud-sdk-dgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dgc/setup.py b/huaweicloud-sdk-dgc/setup.py index e2600cee42..cf4c40fa8e 100644 --- a/huaweicloud-sdk-dgc/setup.py +++ b/huaweicloud-sdk-dgc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdgc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dis/requirements.txt b/huaweicloud-sdk-dis/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dis/requirements.txt +++ b/huaweicloud-sdk-dis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dis/setup.py b/huaweicloud-sdk-dis/setup.py index 7ef3c93ce2..232fb487ac 100644 --- a/huaweicloud-sdk-dis/setup.py +++ b/huaweicloud-sdk-dis/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdis" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dlf/requirements.txt b/huaweicloud-sdk-dlf/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dlf/requirements.txt +++ b/huaweicloud-sdk-dlf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dlf/setup.py b/huaweicloud-sdk-dlf/setup.py index 1a11039737..99923bc634 100644 --- a/huaweicloud-sdk-dlf/setup.py +++ b/huaweicloud-sdk-dlf/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdlf" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dli/requirements.txt b/huaweicloud-sdk-dli/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dli/requirements.txt +++ b/huaweicloud-sdk-dli/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dli/setup.py b/huaweicloud-sdk-dli/setup.py index 3d8ad45a66..22e94986bf 100644 --- a/huaweicloud-sdk-dli/setup.py +++ b/huaweicloud-sdk-dli/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdli" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dns/requirements.txt b/huaweicloud-sdk-dns/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dns/requirements.txt +++ b/huaweicloud-sdk-dns/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dns/setup.py b/huaweicloud-sdk-dns/setup.py index f49bdbc7d0..a0d8e0033c 100644 --- a/huaweicloud-sdk-dns/setup.py +++ b/huaweicloud-sdk-dns/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdns" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dris/requirements.txt b/huaweicloud-sdk-dris/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dris/requirements.txt +++ b/huaweicloud-sdk-dris/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dris/setup.py b/huaweicloud-sdk-dris/setup.py index d59dfcdafc..c58a01a21e 100644 --- a/huaweicloud-sdk-dris/setup.py +++ b/huaweicloud-sdk-dris/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdris" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-drs/requirements.txt b/huaweicloud-sdk-drs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-drs/requirements.txt +++ b/huaweicloud-sdk-drs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-drs/setup.py b/huaweicloud-sdk-drs/setup.py index c1e8b795b7..b22cf79a33 100644 --- a/huaweicloud-sdk-drs/setup.py +++ b/huaweicloud-sdk-drs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdrs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dsc/requirements.txt b/huaweicloud-sdk-dsc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dsc/requirements.txt +++ b/huaweicloud-sdk-dsc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dsc/setup.py b/huaweicloud-sdk-dsc/setup.py index bab1ea4812..23f2d189a8 100644 --- a/huaweicloud-sdk-dsc/setup.py +++ b/huaweicloud-sdk-dsc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdsc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dwr/requirements.txt b/huaweicloud-sdk-dwr/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dwr/requirements.txt +++ b/huaweicloud-sdk-dwr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dwr/setup.py b/huaweicloud-sdk-dwr/setup.py index 21d083f92f..d5bb5387d7 100644 --- a/huaweicloud-sdk-dwr/setup.py +++ b/huaweicloud-sdk-dwr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdwr" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dws/requirements.txt b/huaweicloud-sdk-dws/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-dws/requirements.txt +++ b/huaweicloud-sdk-dws/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-dws/setup.py b/huaweicloud-sdk-dws/setup.py index 66b1f2c35a..26be735753 100644 --- a/huaweicloud-sdk-dws/setup.py +++ b/huaweicloud-sdk-dws/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdws" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ec/requirements.txt b/huaweicloud-sdk-ec/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ec/requirements.txt +++ b/huaweicloud-sdk-ec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ec/setup.py b/huaweicloud-sdk-ec/setup.py index 781c050281..75f4947294 100644 --- a/huaweicloud-sdk-ec/setup.py +++ b/huaweicloud-sdk-ec/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkec" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ecs/requirements.txt b/huaweicloud-sdk-ecs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ecs/requirements.txt +++ b/huaweicloud-sdk-ecs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ecs/setup.py b/huaweicloud-sdk-ecs/setup.py index bd77bbe857..7448d1a9f8 100644 --- a/huaweicloud-sdk-ecs/setup.py +++ b/huaweicloud-sdk-ecs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkecs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-edgesec/requirements.txt b/huaweicloud-sdk-edgesec/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-edgesec/requirements.txt +++ b/huaweicloud-sdk-edgesec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-edgesec/setup.py b/huaweicloud-sdk-edgesec/setup.py index dbf7d215bc..3f23fb1865 100644 --- a/huaweicloud-sdk-edgesec/setup.py +++ b/huaweicloud-sdk-edgesec/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkedgesec" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eg/requirements.txt b/huaweicloud-sdk-eg/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-eg/requirements.txt +++ b/huaweicloud-sdk-eg/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-eg/setup.py b/huaweicloud-sdk-eg/setup.py index b3ff9774f3..23f3a05427 100644 --- a/huaweicloud-sdk-eg/setup.py +++ b/huaweicloud-sdk-eg/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeg" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eihealth/requirements.txt b/huaweicloud-sdk-eihealth/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-eihealth/requirements.txt +++ b/huaweicloud-sdk-eihealth/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-eihealth/setup.py b/huaweicloud-sdk-eihealth/setup.py index 06ca8c4933..45af32c362 100644 --- a/huaweicloud-sdk-eihealth/setup.py +++ b/huaweicloud-sdk-eihealth/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeihealth" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eip/huaweicloudsdkeip/v2/region/eip_region.py b/huaweicloud-sdk-eip/huaweicloudsdkeip/v2/region/eip_region.py index fba75b967e..30178b8b8b 100644 --- a/huaweicloud-sdk-eip/huaweicloudsdkeip/v2/region/eip_region.py +++ b/huaweicloud-sdk-eip/huaweicloudsdkeip/v2/region/eip_region.py @@ -56,6 +56,8 @@ class EipRegion: "https://vpc.ru-northwest-2.myhuaweicloud.com") MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", "https://vpc.my-kualalumpur-1.myhuaweicloud.com") + RU_MOSCOW_1 = Region("ru-moscow-1", + "https://vpc.ru-moscow-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -83,6 +85,7 @@ class EipRegion: "ae-ad-1": AE_AD_1, "ru-northwest-2": RU_NORTHWEST_2, "my-kualalumpur-1": MY_KUALALUMPUR_1, + "ru-moscow-1": RU_MOSCOW_1, } @classmethod diff --git a/huaweicloud-sdk-eip/huaweicloudsdkeip/v3/region/eip_region.py b/huaweicloud-sdk-eip/huaweicloudsdkeip/v3/region/eip_region.py index fba75b967e..30178b8b8b 100644 --- a/huaweicloud-sdk-eip/huaweicloudsdkeip/v3/region/eip_region.py +++ b/huaweicloud-sdk-eip/huaweicloudsdkeip/v3/region/eip_region.py @@ -56,6 +56,8 @@ class EipRegion: "https://vpc.ru-northwest-2.myhuaweicloud.com") MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", "https://vpc.my-kualalumpur-1.myhuaweicloud.com") + RU_MOSCOW_1 = Region("ru-moscow-1", + "https://vpc.ru-moscow-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -83,6 +85,7 @@ class EipRegion: "ae-ad-1": AE_AD_1, "ru-northwest-2": RU_NORTHWEST_2, "my-kualalumpur-1": MY_KUALALUMPUR_1, + "ru-moscow-1": RU_MOSCOW_1, } @classmethod diff --git a/huaweicloud-sdk-eip/requirements.txt b/huaweicloud-sdk-eip/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-eip/requirements.txt +++ b/huaweicloud-sdk-eip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-eip/setup.py b/huaweicloud-sdk-eip/setup.py index e898551099..42de08275c 100644 --- a/huaweicloud-sdk-eip/setup.py +++ b/huaweicloud-sdk-eip/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeip" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-elb/requirements.txt b/huaweicloud-sdk-elb/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-elb/requirements.txt +++ b/huaweicloud-sdk-elb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-elb/setup.py b/huaweicloud-sdk-elb/setup.py index 4e580c155e..c67cf349d0 100644 --- a/huaweicloud-sdk-elb/setup.py +++ b/huaweicloud-sdk-elb/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkelb" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eps/requirements.txt b/huaweicloud-sdk-eps/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-eps/requirements.txt +++ b/huaweicloud-sdk-eps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-eps/setup.py b/huaweicloud-sdk-eps/setup.py index 21b11186a1..f7caafd7fb 100644 --- a/huaweicloud-sdk-eps/setup.py +++ b/huaweicloud-sdk-eps/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeps" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-er/requirements.txt b/huaweicloud-sdk-er/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-er/requirements.txt +++ b/huaweicloud-sdk-er/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-er/setup.py b/huaweicloud-sdk-er/setup.py index 2ce7169977..2e37747686 100644 --- a/huaweicloud-sdk-er/setup.py +++ b/huaweicloud-sdk-er/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdker" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-evs/requirements.txt b/huaweicloud-sdk-evs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-evs/requirements.txt +++ b/huaweicloud-sdk-evs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-evs/setup.py b/huaweicloud-sdk-evs/setup.py index eca06f90d7..ca65cc35a4 100644 --- a/huaweicloud-sdk-evs/setup.py +++ b/huaweicloud-sdk-evs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkevs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-frs/requirements.txt b/huaweicloud-sdk-frs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-frs/requirements.txt +++ b/huaweicloud-sdk-frs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-frs/setup.py b/huaweicloud-sdk-frs/setup.py index 16abd15463..8f8015cd57 100644 --- a/huaweicloud-sdk-frs/setup.py +++ b/huaweicloud-sdk-frs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkfrs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-functiongraph/requirements.txt b/huaweicloud-sdk-functiongraph/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-functiongraph/requirements.txt +++ b/huaweicloud-sdk-functiongraph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-functiongraph/setup.py b/huaweicloud-sdk-functiongraph/setup.py index 74a059dd05..e82f1d1dc7 100644 --- a/huaweicloud-sdk-functiongraph/setup.py +++ b/huaweicloud-sdk-functiongraph/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkfunctiongraph" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ga/requirements.txt b/huaweicloud-sdk-ga/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ga/requirements.txt +++ b/huaweicloud-sdk-ga/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ga/setup.py b/huaweicloud-sdk-ga/setup.py index daae8315c6..1b37cb30fc 100644 --- a/huaweicloud-sdk-ga/setup.py +++ b/huaweicloud-sdk-ga/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkga" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/mysql_proxy_node_v3.py b/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/mysql_proxy_node_v3.py index cdd17d29d3..6d05be2ba1 100644 --- a/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/mysql_proxy_node_v3.py +++ b/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/mysql_proxy_node_v3.py @@ -49,7 +49,7 @@ def __init__(self, id=None, instance_id=None, status=None, name=None, weight=Non :type name: str :param weight: 节点读写分离读权重。 :type weight: int - :param availability_zone: 可用区信息。 + :param availability_zone: 主实例所有节点的可用区信息。 :type availability_zone: list[:class:`huaweicloudsdkgaussdb.v3.MysqlProxyAvailable`] """ @@ -190,7 +190,7 @@ def weight(self, weight): def availability_zone(self): """Gets the availability_zone of this MysqlProxyNodeV3. - 可用区信息。 + 主实例所有节点的可用区信息。 :return: The availability_zone of this MysqlProxyNodeV3. :rtype: list[:class:`huaweicloudsdkgaussdb.v3.MysqlProxyAvailable`] @@ -201,7 +201,7 @@ def availability_zone(self): def availability_zone(self, availability_zone): """Sets the availability_zone of this MysqlProxyNodeV3. - 可用区信息。 + 主实例所有节点的可用区信息。 :param availability_zone: The availability_zone of this MysqlProxyNodeV3. :type availability_zone: list[:class:`huaweicloudsdkgaussdb.v3.MysqlProxyAvailable`] diff --git a/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/proxy_transaction_split_request.py b/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/proxy_transaction_split_request.py index 32a8b309c9..e7e73fd3d4 100644 --- a/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/proxy_transaction_split_request.py +++ b/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/proxy_transaction_split_request.py @@ -33,7 +33,7 @@ def __init__(self, transaction_split=None, proxy_id_list=None): :param transaction_split: 开启/关闭事务拆分,取值范围是[ON/OFF] :type transaction_split: str - :param proxy_id_list: 实例的proxy列表 + :param proxy_id_list: 实例的数据库代理列表,仅支持单proxy使用。 :type proxy_id_list: list[str] """ @@ -72,7 +72,7 @@ def transaction_split(self, transaction_split): def proxy_id_list(self): """Gets the proxy_id_list of this ProxyTransactionSplitRequest. - 实例的proxy列表 + 实例的数据库代理列表,仅支持单proxy使用。 :return: The proxy_id_list of this ProxyTransactionSplitRequest. :rtype: list[str] @@ -83,7 +83,7 @@ def proxy_id_list(self): def proxy_id_list(self, proxy_id_list): """Sets the proxy_id_list of this ProxyTransactionSplitRequest. - 实例的proxy列表 + 实例的数据库代理列表,仅支持单proxy使用。 :param proxy_id_list: The proxy_id_list of this ProxyTransactionSplitRequest. :type proxy_id_list: list[str] diff --git a/huaweicloud-sdk-gaussdb/requirements.txt b/huaweicloud-sdk-gaussdb/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-gaussdb/requirements.txt +++ b/huaweicloud-sdk-gaussdb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdb/setup.py b/huaweicloud-sdk-gaussdb/setup.py index 4476580bb9..228a3de67d 100644 --- a/huaweicloud-sdk-gaussdb/setup.py +++ b/huaweicloud-sdk-gaussdb/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdb" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbfornosql/requirements.txt b/huaweicloud-sdk-gaussdbfornosql/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-gaussdbfornosql/requirements.txt +++ b/huaweicloud-sdk-gaussdbfornosql/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbfornosql/setup.py b/huaweicloud-sdk-gaussdbfornosql/setup.py index f0cb25ea97..114287035c 100644 --- a/huaweicloud-sdk-gaussdbfornosql/setup.py +++ b/huaweicloud-sdk-gaussdbfornosql/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdbfornosql" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/__init__.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/__init__.py index 73b508db30..9e9a457f0f 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/__init__.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/__init__.py @@ -61,6 +61,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.delete_database_response import DeleteDatabaseResponse from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_request import DeleteInstanceRequest from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_response import DeleteInstanceResponse +from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_tag_request import DeleteInstanceTagRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_tag_response import DeleteInstanceTagResponse from huaweicloudsdkgaussdbforopengauss.v3.model.delete_job_request import DeleteJobRequest from huaweicloudsdkgaussdbforopengauss.v3.model.delete_job_response import DeleteJobResponse from huaweicloudsdkgaussdbforopengauss.v3.model.delete_manual_backup_request import DeleteManualBackupRequest @@ -85,9 +87,9 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_with_privilege import GaussDBforOpenGaussUserWithPrivilege from huaweicloudsdkgaussdbforopengauss.v3.model.get_restore_time_response_restore_time import GetRestoreTimeResponseRestoreTime from huaweicloudsdkgaussdbforopengauss.v3.model.instance_info_result import InstanceInfoResult +from huaweicloudsdkgaussdbforopengauss.v3.model.instance_log_file import InstanceLogFile from huaweicloudsdkgaussdbforopengauss.v3.model.instances_list_result import InstancesListResult from huaweicloudsdkgaussdbforopengauss.v3.model.instances_result import InstancesResult -from huaweicloudsdkgaussdbforopengauss.v3.model.instances_statistics_response_body_instances_statistics import InstancesStatisticsResponseBodyInstancesStatistics from huaweicloudsdkgaussdbforopengauss.v3.model.job_detail import JobDetail from huaweicloudsdkgaussdbforopengauss.v3.model.job_instance_info import JobInstanceInfo from huaweicloudsdkgaussdbforopengauss.v3.model.list_applicable_instances_request import ListApplicableInstancesRequest @@ -134,6 +136,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_history_operations_request import ListHistoryOperationsRequest from huaweicloudsdkgaussdbforopengauss.v3.model.list_history_operations_response import ListHistoryOperationsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_history_operations_result import ListHistoryOperationsResult +from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_error_logs_request import ListInstanceErrorLogsRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_error_logs_response import ListInstanceErrorLogsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_response import ListInstanceResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_result import ListInstanceResult from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_tags_request import ListInstanceTagsRequest @@ -159,6 +163,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_storage_types_response import ListStorageTypesResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_request import ListTasksRequest from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_response import ListTasksResponse +from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_request import ListTopIoTrafficsRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_response import ListTopIoTrafficsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_volume import ListVolume from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request import ModifyEpsQuotaRequest from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request_body import ModifyEpsQuotaRequestBody @@ -239,6 +245,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.show_configuration_detail_response import ShowConfigurationDetailResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_deployment_form_request import ShowDeploymentFormRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_deployment_form_response import ShowDeploymentFormResponse +from huaweicloudsdkgaussdbforopengauss.v3.model.show_error_log_switch_status_request import ShowErrorLogSwitchStatusRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.show_error_log_switch_status_response import ShowErrorLogSwitchStatusResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_configuration_request import ShowInstanceConfigurationRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_configuration_response import ShowInstanceConfigurationResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_disk_request import ShowInstanceDiskRequest @@ -247,8 +255,6 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_param_group_response import ShowInstanceParamGroupResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_snapshot_request import ShowInstanceSnapshotRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_snapshot_response import ShowInstanceSnapshotResponse -from huaweicloudsdkgaussdbforopengauss.v3.model.show_instances_statistics_request import ShowInstancesStatisticsRequest -from huaweicloudsdkgaussdbforopengauss.v3.model.show_instances_statistics_response import ShowInstancesStatisticsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_job_detail_request import ShowJobDetailRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_job_detail_response import ShowJobDetailResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_project_quotas_request import ShowProjectQuotasRequest @@ -277,6 +283,7 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.tags_option import TagsOption from huaweicloudsdkgaussdbforopengauss.v3.model.tags_result import TagsResult from huaweicloudsdkgaussdbforopengauss.v3.model.task_detail_result import TaskDetailResult +from huaweicloudsdkgaussdbforopengauss.v3.model.top_io_info import TopIoInfo from huaweicloudsdkgaussdbforopengauss.v3.model.update_instance_configuration_request import UpdateInstanceConfigurationRequest from huaweicloudsdkgaussdbforopengauss.v3.model.update_instance_configuration_response import UpdateInstanceConfigurationResponse from huaweicloudsdkgaussdbforopengauss.v3.model.update_instance_name_request import UpdateInstanceNameRequest diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py index cf5592891b..fee39c99c8 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py @@ -1122,6 +1122,75 @@ def _delete_instance_http_info(self, request): return http_info + def delete_instance_tag_async(self, request): + """删除实例标签 + + 删除实例标签 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DeleteInstanceTag + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.DeleteInstanceTagRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.DeleteInstanceTagResponse` + """ + http_info = self._delete_instance_tag_http_info(request) + return self._call_api(**http_info) + + def delete_instance_tag_async_invoker(self, request): + http_info = self._delete_instance_tag_http_info(request) + return AsyncInvoker(self, http_info) + + def _delete_instance_tag_http_info(self, request): + http_info = { + "method": "DELETE", + "resource_path": "/v3/{project_id}/instances/{instance_id}/tag", + "request_type": request.__class__.__name__, + "response_type": "DeleteInstanceTagResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + if 'key' in local_var_params: + query_params.append(('key', local_var_params['key'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def delete_job_async(self, request): """删除任务记录 @@ -2680,6 +2749,81 @@ def _list_history_operations_http_info(self, request): return http_info + def list_instance_error_logs_async(self, request): + """查询错误日志下载链接 + + 查询数据库错误日志下载链接。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListInstanceErrorLogs + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListInstanceErrorLogsRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListInstanceErrorLogsResponse` + """ + http_info = self._list_instance_error_logs_http_info(request) + return self._call_api(**http_info) + + def list_instance_error_logs_async_invoker(self, request): + http_info = self._list_instance_error_logs_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_instance_error_logs_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/instances/{instance_id}/error-log", + "request_type": request.__class__.__name__, + "response_type": "ListInstanceErrorLogsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'start_time' in local_var_params: + query_params.append(('start_time', local_var_params['start_time'])) + if 'end_time' in local_var_params: + query_params.append(('end_time', local_var_params['end_time'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_instance_tags_async(self, request): """查询实例标签 @@ -3480,6 +3624,81 @@ def _list_tasks_http_info(self, request): return http_info + def list_top_io_traffics_async(self, request): + """查询Top IO列表 + + 查询实例数据库进程下的Top IO流量数据,返回与会话信息相关联后的结果 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListTopIoTraffics + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsResponse` + """ + http_info = self._list_top_io_traffics_http_info(request) + return self._call_api(**http_info) + + def list_top_io_traffics_async_invoker(self, request): + http_info = self._list_top_io_traffics_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_top_io_traffics_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/instances/{instance_id}/top-io-traffics", + "request_type": request.__class__.__name__, + "response_type": "ListTopIoTrafficsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + if 'node_id' in local_var_params: + query_params.append(('node_id', local_var_params['node_id'])) + if 'component_id' in local_var_params: + query_params.append(('component_id', local_var_params['component_id'])) + if 'top_io_num' in local_var_params: + query_params.append(('top_io_num', local_var_params['top_io_num'])) + if 'sort_condition' in local_var_params: + query_params.append(('sort_condition', local_var_params['sort_condition'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def modify_eps_quota_async(self, request): """修改企业项目配额 @@ -4428,6 +4647,73 @@ def _show_deployment_form_http_info(self, request): return http_info + def show_error_log_switch_status_async(self, request): + """查询错误日志采集开关状态 + + 查询数据库错误日志采集的开关状态。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowErrorLogSwitchStatus + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowErrorLogSwitchStatusRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowErrorLogSwitchStatusResponse` + """ + http_info = self._show_error_log_switch_status_http_info(request) + return self._call_api(**http_info) + + def show_error_log_switch_status_async_invoker(self, request): + http_info = self._show_error_log_switch_status_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_error_log_switch_status_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/instances/{instance_id}/error-log/switch/status", + "request_type": request.__class__.__name__, + "response_type": "ShowErrorLogSwitchStatusResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def show_instance_configuration_async(self, request): """获取指定实例的参数模板 @@ -4700,71 +4986,6 @@ def _show_instance_snapshot_http_info(self, request): return http_info - def show_instances_statistics_async(self, request): - """实例统计 - - 实例统计 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ShowInstancesStatistics - :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowInstancesStatisticsRequest` - :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowInstancesStatisticsResponse` - """ - http_info = self._show_instances_statistics_http_info(request) - return self._call_api(**http_info) - - def show_instances_statistics_async_invoker(self, request): - http_info = self._show_instances_statistics_http_info(request) - return AsyncInvoker(self, http_info) - - def _show_instances_statistics_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v3/instances-statistics", - "request_type": request.__class__.__name__, - "response_type": "ShowInstancesStatisticsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - if 'x_language' in local_var_params: - header_params['X-Language'] = local_var_params['x_language'] - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = [] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - def show_job_detail_async(self, request): """获取指定ID的任务信息。 diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py index 73bf85356c..b761b4dafb 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py @@ -1122,6 +1122,75 @@ def _delete_instance_http_info(cls, request): return http_info + def delete_instance_tag(self, request): + """删除实例标签 + + 删除实例标签 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DeleteInstanceTag + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.DeleteInstanceTagRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.DeleteInstanceTagResponse` + """ + http_info = self._delete_instance_tag_http_info(request) + return self._call_api(**http_info) + + def delete_instance_tag_invoker(self, request): + http_info = self._delete_instance_tag_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _delete_instance_tag_http_info(cls, request): + http_info = { + "method": "DELETE", + "resource_path": "/v3/{project_id}/instances/{instance_id}/tag", + "request_type": request.__class__.__name__, + "response_type": "DeleteInstanceTagResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + if 'key' in local_var_params: + query_params.append(('key', local_var_params['key'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def delete_job(self, request): """删除任务记录 @@ -2680,6 +2749,81 @@ def _list_history_operations_http_info(cls, request): return http_info + def list_instance_error_logs(self, request): + """查询错误日志下载链接 + + 查询数据库错误日志下载链接。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListInstanceErrorLogs + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListInstanceErrorLogsRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListInstanceErrorLogsResponse` + """ + http_info = self._list_instance_error_logs_http_info(request) + return self._call_api(**http_info) + + def list_instance_error_logs_invoker(self, request): + http_info = self._list_instance_error_logs_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_instance_error_logs_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/instances/{instance_id}/error-log", + "request_type": request.__class__.__name__, + "response_type": "ListInstanceErrorLogsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'start_time' in local_var_params: + query_params.append(('start_time', local_var_params['start_time'])) + if 'end_time' in local_var_params: + query_params.append(('end_time', local_var_params['end_time'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_instance_tags(self, request): """查询实例标签 @@ -3480,6 +3624,81 @@ def _list_tasks_http_info(cls, request): return http_info + def list_top_io_traffics(self, request): + """查询Top IO列表 + + 查询实例数据库进程下的Top IO流量数据,返回与会话信息相关联后的结果 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListTopIoTraffics + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsResponse` + """ + http_info = self._list_top_io_traffics_http_info(request) + return self._call_api(**http_info) + + def list_top_io_traffics_invoker(self, request): + http_info = self._list_top_io_traffics_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_top_io_traffics_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/instances/{instance_id}/top-io-traffics", + "request_type": request.__class__.__name__, + "response_type": "ListTopIoTrafficsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + if 'node_id' in local_var_params: + query_params.append(('node_id', local_var_params['node_id'])) + if 'component_id' in local_var_params: + query_params.append(('component_id', local_var_params['component_id'])) + if 'top_io_num' in local_var_params: + query_params.append(('top_io_num', local_var_params['top_io_num'])) + if 'sort_condition' in local_var_params: + query_params.append(('sort_condition', local_var_params['sort_condition'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def modify_eps_quota(self, request): """修改企业项目配额 @@ -4428,6 +4647,73 @@ def _show_deployment_form_http_info(cls, request): return http_info + def show_error_log_switch_status(self, request): + """查询错误日志采集开关状态 + + 查询数据库错误日志采集的开关状态。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowErrorLogSwitchStatus + :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowErrorLogSwitchStatusRequest` + :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowErrorLogSwitchStatusResponse` + """ + http_info = self._show_error_log_switch_status_http_info(request) + return self._call_api(**http_info) + + def show_error_log_switch_status_invoker(self, request): + http_info = self._show_error_log_switch_status_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_error_log_switch_status_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/instances/{instance_id}/error-log/switch/status", + "request_type": request.__class__.__name__, + "response_type": "ShowErrorLogSwitchStatusResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instance_id'] = local_var_params['instance_id'] + + query_params = [] + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def show_instance_configuration(self, request): """获取指定实例的参数模板 @@ -4700,71 +4986,6 @@ def _show_instance_snapshot_http_info(cls, request): return http_info - def show_instances_statistics(self, request): - """实例统计 - - 实例统计 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ShowInstancesStatistics - :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowInstancesStatisticsRequest` - :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ShowInstancesStatisticsResponse` - """ - http_info = self._show_instances_statistics_http_info(request) - return self._call_api(**http_info) - - def show_instances_statistics_invoker(self, request): - http_info = self._show_instances_statistics_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _show_instances_statistics_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v3/instances-statistics", - "request_type": request.__class__.__name__, - "response_type": "ShowInstancesStatisticsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - if 'x_language' in local_var_params: - header_params['X-Language'] = local_var_params['x_language'] - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = [] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - def show_job_detail(self, request): """获取指定ID的任务信息。 diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py index d8342a8c3b..d20b98f1fb 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py @@ -59,6 +59,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.delete_database_response import DeleteDatabaseResponse from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_request import DeleteInstanceRequest from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_response import DeleteInstanceResponse +from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_tag_request import DeleteInstanceTagRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.delete_instance_tag_response import DeleteInstanceTagResponse from huaweicloudsdkgaussdbforopengauss.v3.model.delete_job_request import DeleteJobRequest from huaweicloudsdkgaussdbforopengauss.v3.model.delete_job_response import DeleteJobResponse from huaweicloudsdkgaussdbforopengauss.v3.model.delete_manual_backup_request import DeleteManualBackupRequest @@ -83,9 +85,9 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.gauss_d_bfor_open_gauss_user_with_privilege import GaussDBforOpenGaussUserWithPrivilege from huaweicloudsdkgaussdbforopengauss.v3.model.get_restore_time_response_restore_time import GetRestoreTimeResponseRestoreTime from huaweicloudsdkgaussdbforopengauss.v3.model.instance_info_result import InstanceInfoResult +from huaweicloudsdkgaussdbforopengauss.v3.model.instance_log_file import InstanceLogFile from huaweicloudsdkgaussdbforopengauss.v3.model.instances_list_result import InstancesListResult from huaweicloudsdkgaussdbforopengauss.v3.model.instances_result import InstancesResult -from huaweicloudsdkgaussdbforopengauss.v3.model.instances_statistics_response_body_instances_statistics import InstancesStatisticsResponseBodyInstancesStatistics from huaweicloudsdkgaussdbforopengauss.v3.model.job_detail import JobDetail from huaweicloudsdkgaussdbforopengauss.v3.model.job_instance_info import JobInstanceInfo from huaweicloudsdkgaussdbforopengauss.v3.model.list_applicable_instances_request import ListApplicableInstancesRequest @@ -132,6 +134,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_history_operations_request import ListHistoryOperationsRequest from huaweicloudsdkgaussdbforopengauss.v3.model.list_history_operations_response import ListHistoryOperationsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_history_operations_result import ListHistoryOperationsResult +from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_error_logs_request import ListInstanceErrorLogsRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_error_logs_response import ListInstanceErrorLogsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_response import ListInstanceResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_result import ListInstanceResult from huaweicloudsdkgaussdbforopengauss.v3.model.list_instance_tags_request import ListInstanceTagsRequest @@ -157,6 +161,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_storage_types_response import ListStorageTypesResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_request import ListTasksRequest from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_response import ListTasksResponse +from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_request import ListTopIoTrafficsRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_response import ListTopIoTrafficsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.list_volume import ListVolume from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request import ModifyEpsQuotaRequest from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request_body import ModifyEpsQuotaRequestBody @@ -237,6 +243,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.show_configuration_detail_response import ShowConfigurationDetailResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_deployment_form_request import ShowDeploymentFormRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_deployment_form_response import ShowDeploymentFormResponse +from huaweicloudsdkgaussdbforopengauss.v3.model.show_error_log_switch_status_request import ShowErrorLogSwitchStatusRequest +from huaweicloudsdkgaussdbforopengauss.v3.model.show_error_log_switch_status_response import ShowErrorLogSwitchStatusResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_configuration_request import ShowInstanceConfigurationRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_configuration_response import ShowInstanceConfigurationResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_disk_request import ShowInstanceDiskRequest @@ -245,8 +253,6 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_param_group_response import ShowInstanceParamGroupResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_snapshot_request import ShowInstanceSnapshotRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_instance_snapshot_response import ShowInstanceSnapshotResponse -from huaweicloudsdkgaussdbforopengauss.v3.model.show_instances_statistics_request import ShowInstancesStatisticsRequest -from huaweicloudsdkgaussdbforopengauss.v3.model.show_instances_statistics_response import ShowInstancesStatisticsResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_job_detail_request import ShowJobDetailRequest from huaweicloudsdkgaussdbforopengauss.v3.model.show_job_detail_response import ShowJobDetailResponse from huaweicloudsdkgaussdbforopengauss.v3.model.show_project_quotas_request import ShowProjectQuotasRequest @@ -275,6 +281,7 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.tags_option import TagsOption from huaweicloudsdkgaussdbforopengauss.v3.model.tags_result import TagsResult from huaweicloudsdkgaussdbforopengauss.v3.model.task_detail_result import TaskDetailResult +from huaweicloudsdkgaussdbforopengauss.v3.model.top_io_info import TopIoInfo from huaweicloudsdkgaussdbforopengauss.v3.model.update_instance_configuration_request import UpdateInstanceConfigurationRequest from huaweicloudsdkgaussdbforopengauss.v3.model.update_instance_configuration_response import UpdateInstanceConfigurationResponse from huaweicloudsdkgaussdbforopengauss.v3.model.update_instance_name_request import UpdateInstanceNameRequest diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py new file mode 100644 index 0000000000..3568c18425 --- /dev/null +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DeleteInstanceTagRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'x_language': 'str', + 'instance_id': 'str', + 'key': 'str' + } + + attribute_map = { + 'x_language': 'X-Language', + 'instance_id': 'instance_id', + 'key': 'key' + } + + def __init__(self, x_language=None, instance_id=None, key=None): + """DeleteInstanceTagRequest + + The model defined in huaweicloud sdk + + :param x_language: 语言 + :type x_language: str + :param instance_id: 实例ID,严格匹配UUID规则。 + :type instance_id: str + :param key: 标签键 + :type key: str + """ + + + + self._x_language = None + self._instance_id = None + self._key = None + self.discriminator = None + + if x_language is not None: + self.x_language = x_language + self.instance_id = instance_id + self.key = key + + @property + def x_language(self): + """Gets the x_language of this DeleteInstanceTagRequest. + + 语言 + + :return: The x_language of this DeleteInstanceTagRequest. + :rtype: str + """ + return self._x_language + + @x_language.setter + def x_language(self, x_language): + """Sets the x_language of this DeleteInstanceTagRequest. + + 语言 + + :param x_language: The x_language of this DeleteInstanceTagRequest. + :type x_language: str + """ + self._x_language = x_language + + @property + def instance_id(self): + """Gets the instance_id of this DeleteInstanceTagRequest. + + 实例ID,严格匹配UUID规则。 + + :return: The instance_id of this DeleteInstanceTagRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this DeleteInstanceTagRequest. + + 实例ID,严格匹配UUID规则。 + + :param instance_id: The instance_id of this DeleteInstanceTagRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def key(self): + """Gets the key of this DeleteInstanceTagRequest. + + 标签键 + + :return: The key of this DeleteInstanceTagRequest. + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this DeleteInstanceTagRequest. + + 标签键 + + :param key: The key of this DeleteInstanceTagRequest. + :type key: str + """ + self._key = key + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DeleteInstanceTagRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_response.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_response.py new file mode 100644 index 0000000000..b887c6273e --- /dev/null +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_response.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DeleteInstanceTagResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'result': 'str', + 'instance_id': 'str', + 'instance_name': 'str' + } + + attribute_map = { + 'result': 'result', + 'instance_id': 'instance_id', + 'instance_name': 'instance_name' + } + + def __init__(self, result=None, instance_id=None, instance_name=None): + """DeleteInstanceTagResponse + + The model defined in huaweicloud sdk + + :param result: 处理结果 + :type result: str + :param instance_id: 实例ID + :type instance_id: str + :param instance_name: 实例名称 + :type instance_name: str + """ + + super(DeleteInstanceTagResponse, self).__init__() + + self._result = None + self._instance_id = None + self._instance_name = None + self.discriminator = None + + if result is not None: + self.result = result + if instance_id is not None: + self.instance_id = instance_id + if instance_name is not None: + self.instance_name = instance_name + + @property + def result(self): + """Gets the result of this DeleteInstanceTagResponse. + + 处理结果 + + :return: The result of this DeleteInstanceTagResponse. + :rtype: str + """ + return self._result + + @result.setter + def result(self, result): + """Sets the result of this DeleteInstanceTagResponse. + + 处理结果 + + :param result: The result of this DeleteInstanceTagResponse. + :type result: str + """ + self._result = result + + @property + def instance_id(self): + """Gets the instance_id of this DeleteInstanceTagResponse. + + 实例ID + + :return: The instance_id of this DeleteInstanceTagResponse. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this DeleteInstanceTagResponse. + + 实例ID + + :param instance_id: The instance_id of this DeleteInstanceTagResponse. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def instance_name(self): + """Gets the instance_name of this DeleteInstanceTagResponse. + + 实例名称 + + :return: The instance_name of this DeleteInstanceTagResponse. + :rtype: str + """ + return self._instance_name + + @instance_name.setter + def instance_name(self, instance_name): + """Sets the instance_name of this DeleteInstanceTagResponse. + + 实例名称 + + :param instance_name: The instance_name of this DeleteInstanceTagResponse. + :type instance_name: str + """ + self._instance_name = instance_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DeleteInstanceTagResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py new file mode 100644 index 0000000000..9d3ef988a4 --- /dev/null +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py @@ -0,0 +1,260 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class InstanceLogFile: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'status': 'str', + 'file_name': 'str', + 'start_time': 'str', + 'end_time': 'str', + 'file_size': 'str', + 'file_link': 'str' + } + + attribute_map = { + 'status': 'status', + 'file_name': 'file_name', + 'start_time': 'start_time', + 'end_time': 'end_time', + 'file_size': 'file_size', + 'file_link': 'file_link' + } + + def __init__(self, status=None, file_name=None, start_time=None, end_time=None, file_size=None, file_link=None): + """InstanceLogFile + + The model defined in huaweicloud sdk + + :param status: 日志采集状态。 + :type status: str + :param file_name: 日志文件名称。 + :type file_name: str + :param start_time: 日志开始时间。 + :type start_time: str + :param end_time: 日志结束时间。 + :type end_time: str + :param file_size: 日志文件大小,单位kb。 + :type file_size: str + :param file_link: 日志文件下载链接。 + :type file_link: str + """ + + + + self._status = None + self._file_name = None + self._start_time = None + self._end_time = None + self._file_size = None + self._file_link = None + self.discriminator = None + + if status is not None: + self.status = status + if file_name is not None: + self.file_name = file_name + if start_time is not None: + self.start_time = start_time + if end_time is not None: + self.end_time = end_time + if file_size is not None: + self.file_size = file_size + if file_link is not None: + self.file_link = file_link + + @property + def status(self): + """Gets the status of this InstanceLogFile. + + 日志采集状态。 + + :return: The status of this InstanceLogFile. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this InstanceLogFile. + + 日志采集状态。 + + :param status: The status of this InstanceLogFile. + :type status: str + """ + self._status = status + + @property + def file_name(self): + """Gets the file_name of this InstanceLogFile. + + 日志文件名称。 + + :return: The file_name of this InstanceLogFile. + :rtype: str + """ + return self._file_name + + @file_name.setter + def file_name(self, file_name): + """Sets the file_name of this InstanceLogFile. + + 日志文件名称。 + + :param file_name: The file_name of this InstanceLogFile. + :type file_name: str + """ + self._file_name = file_name + + @property + def start_time(self): + """Gets the start_time of this InstanceLogFile. + + 日志开始时间。 + + :return: The start_time of this InstanceLogFile. + :rtype: str + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this InstanceLogFile. + + 日志开始时间。 + + :param start_time: The start_time of this InstanceLogFile. + :type start_time: str + """ + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this InstanceLogFile. + + 日志结束时间。 + + :return: The end_time of this InstanceLogFile. + :rtype: str + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this InstanceLogFile. + + 日志结束时间。 + + :param end_time: The end_time of this InstanceLogFile. + :type end_time: str + """ + self._end_time = end_time + + @property + def file_size(self): + """Gets the file_size of this InstanceLogFile. + + 日志文件大小,单位kb。 + + :return: The file_size of this InstanceLogFile. + :rtype: str + """ + return self._file_size + + @file_size.setter + def file_size(self, file_size): + """Sets the file_size of this InstanceLogFile. + + 日志文件大小,单位kb。 + + :param file_size: The file_size of this InstanceLogFile. + :type file_size: str + """ + self._file_size = file_size + + @property + def file_link(self): + """Gets the file_link of this InstanceLogFile. + + 日志文件下载链接。 + + :return: The file_link of this InstanceLogFile. + :rtype: str + """ + return self._file_link + + @file_link.setter + def file_link(self, file_link): + """Sets the file_link of this InstanceLogFile. + + 日志文件下载链接。 + + :param file_link: The file_link of this InstanceLogFile. + :type file_link: str + """ + self._file_link = file_link + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstanceLogFile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py new file mode 100644 index 0000000000..6f54a8b8d7 --- /dev/null +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py @@ -0,0 +1,257 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListInstanceErrorLogsRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'x_language': 'str', + 'instance_id': 'str', + 'offset': 'int', + 'limit': 'int', + 'start_time': 'str', + 'end_time': 'str' + } + + attribute_map = { + 'x_language': 'X-Language', + 'instance_id': 'instance_id', + 'offset': 'offset', + 'limit': 'limit', + 'start_time': 'start_time', + 'end_time': 'end_time' + } + + def __init__(self, x_language=None, instance_id=None, offset=None, limit=None, start_time=None, end_time=None): + """ListInstanceErrorLogsRequest + + The model defined in huaweicloud sdk + + :param x_language: 语言 + :type x_language: str + :param instance_id: 实例ID。 + :type instance_id: str + :param offset: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。例如:该参数指定为0,limit指定为10,则只展示第1-10条数据。 + :type offset: int + :param limit: 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。例如该参数设定为10,则查询结果最多只显示10条记录。 + :type limit: int + :param start_time: 开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 + :type start_time: str + :param end_time: 结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。只能查询当前时间前30天的错误日志。 + :type end_time: str + """ + + + + self._x_language = None + self._instance_id = None + self._offset = None + self._limit = None + self._start_time = None + self._end_time = None + self.discriminator = None + + if x_language is not None: + self.x_language = x_language + self.instance_id = instance_id + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + self.start_time = start_time + self.end_time = end_time + + @property + def x_language(self): + """Gets the x_language of this ListInstanceErrorLogsRequest. + + 语言 + + :return: The x_language of this ListInstanceErrorLogsRequest. + :rtype: str + """ + return self._x_language + + @x_language.setter + def x_language(self, x_language): + """Sets the x_language of this ListInstanceErrorLogsRequest. + + 语言 + + :param x_language: The x_language of this ListInstanceErrorLogsRequest. + :type x_language: str + """ + self._x_language = x_language + + @property + def instance_id(self): + """Gets the instance_id of this ListInstanceErrorLogsRequest. + + 实例ID。 + + :return: The instance_id of this ListInstanceErrorLogsRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ListInstanceErrorLogsRequest. + + 实例ID。 + + :param instance_id: The instance_id of this ListInstanceErrorLogsRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def offset(self): + """Gets the offset of this ListInstanceErrorLogsRequest. + + 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。例如:该参数指定为0,limit指定为10,则只展示第1-10条数据。 + + :return: The offset of this ListInstanceErrorLogsRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListInstanceErrorLogsRequest. + + 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。例如:该参数指定为0,limit指定为10,则只展示第1-10条数据。 + + :param offset: The offset of this ListInstanceErrorLogsRequest. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListInstanceErrorLogsRequest. + + 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。例如该参数设定为10,则查询结果最多只显示10条记录。 + + :return: The limit of this ListInstanceErrorLogsRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListInstanceErrorLogsRequest. + + 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。例如该参数设定为10,则查询结果最多只显示10条记录。 + + :param limit: The limit of this ListInstanceErrorLogsRequest. + :type limit: int + """ + self._limit = limit + + @property + def start_time(self): + """Gets the start_time of this ListInstanceErrorLogsRequest. + + 开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 + + :return: The start_time of this ListInstanceErrorLogsRequest. + :rtype: str + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this ListInstanceErrorLogsRequest. + + 开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 + + :param start_time: The start_time of this ListInstanceErrorLogsRequest. + :type start_time: str + """ + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this ListInstanceErrorLogsRequest. + + 结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。只能查询当前时间前30天的错误日志。 + + :return: The end_time of this ListInstanceErrorLogsRequest. + :rtype: str + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this ListInstanceErrorLogsRequest. + + 结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。只能查询当前时间前30天的错误日志。 + + :param end_time: The end_time of this ListInstanceErrorLogsRequest. + :type end_time: str + """ + self._end_time = end_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListInstanceErrorLogsRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_size2_d.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_response.py similarity index 52% rename from huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_size2_d.py rename to huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_response.py index 256e195df5..120ccb56f0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_size2_d.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_response.py @@ -2,10 +2,11 @@ import six +from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class HumanSize2D: +class ListInstanceErrorLogsResponse(SdkResponse): """ Attributes: @@ -17,80 +18,80 @@ class HumanSize2D: sensitive_list = [] openapi_types = { - 'width': 'int', - 'height': 'int' + 'total': 'int', + 'log_files': 'list[InstanceLogFile]' } attribute_map = { - 'width': 'width', - 'height': 'height' + 'total': 'total', + 'log_files': 'log_files' } - def __init__(self, width=None, height=None): - """HumanSize2D + def __init__(self, total=None, log_files=None): + """ListInstanceErrorLogsResponse The model defined in huaweicloud sdk - :param width: 分身数字人宽度像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - :type width: int - :param height: 分身数字人高度像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - :type height: int + :param total: 总条数 + :type total: int + :param log_files: 日志文件列表 + :type log_files: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstanceLogFile`] """ - + super(ListInstanceErrorLogsResponse, self).__init__() - self._width = None - self._height = None + self._total = None + self._log_files = None self.discriminator = None - if width is not None: - self.width = width - if height is not None: - self.height = height + if total is not None: + self.total = total + if log_files is not None: + self.log_files = log_files @property - def width(self): - """Gets the width of this HumanSize2D. + def total(self): + """Gets the total of this ListInstanceErrorLogsResponse. - 分身数字人宽度像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 + 总条数 - :return: The width of this HumanSize2D. + :return: The total of this ListInstanceErrorLogsResponse. :rtype: int """ - return self._width + return self._total - @width.setter - def width(self, width): - """Sets the width of this HumanSize2D. + @total.setter + def total(self, total): + """Sets the total of this ListInstanceErrorLogsResponse. - 分身数字人宽度像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 + 总条数 - :param width: The width of this HumanSize2D. - :type width: int + :param total: The total of this ListInstanceErrorLogsResponse. + :type total: int """ - self._width = width + self._total = total @property - def height(self): - """Gets the height of this HumanSize2D. + def log_files(self): + """Gets the log_files of this ListInstanceErrorLogsResponse. - 分身数字人高度像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 + 日志文件列表 - :return: The height of this HumanSize2D. - :rtype: int + :return: The log_files of this ListInstanceErrorLogsResponse. + :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstanceLogFile`] """ - return self._height + return self._log_files - @height.setter - def height(self, height): - """Sets the height of this HumanSize2D. + @log_files.setter + def log_files(self, log_files): + """Sets the log_files of this ListInstanceErrorLogsResponse. - 分身数字人高度像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 + 日志文件列表 - :param height: The height of this HumanSize2D. - :type height: int + :param log_files: The log_files of this ListInstanceErrorLogsResponse. + :type log_files: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstanceLogFile`] """ - self._height = height + self._log_files = log_files def to_dict(self): """Returns the model properties as a dict""" @@ -134,7 +135,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, HumanSize2D): + if not isinstance(other, ListInstanceErrorLogsResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py new file mode 100644 index 0000000000..689596dbc4 --- /dev/null +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py @@ -0,0 +1,257 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListTopIoTrafficsRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'x_language': 'str', + 'instance_id': 'str', + 'node_id': 'str', + 'component_id': 'str', + 'top_io_num': 'int', + 'sort_condition': 'str' + } + + attribute_map = { + 'x_language': 'X-Language', + 'instance_id': 'instance_id', + 'node_id': 'node_id', + 'component_id': 'component_id', + 'top_io_num': 'top_io_num', + 'sort_condition': 'sort_condition' + } + + def __init__(self, x_language=None, instance_id=None, node_id=None, component_id=None, top_io_num=None, sort_condition=None): + """ListTopIoTrafficsRequest + + The model defined in huaweicloud sdk + + :param x_language: 语言 + :type x_language: str + :param instance_id: 实例ID,严格匹配UUID规则。 + :type instance_id: str + :param node_id: 节点ID。节点应为CN或者非日志角色的DN节点,并且节点状态为正常。 + :type node_id: str + :param component_id: 组件ID。组件应为CN或者非日志角色的DN组件。 DN:Data Node,和CN对应的概念。负责实际执行表数据的存储、查询操作。 CN:Coordinator Node,负责数据库系统元数据存储、查询任务的分解和部分执行,以及将DN中查询结果汇聚在一起。 + :type component_id: str + :param top_io_num: 期望查询数据库进程下TOP IO线程数(默认值为20)。接口返回TOP IO线程与会话信息关联后的结果,数量最大不超过该值。 + :type top_io_num: int + :param sort_condition: TOP IO排序条件 + :type sort_condition: str + """ + + + + self._x_language = None + self._instance_id = None + self._node_id = None + self._component_id = None + self._top_io_num = None + self._sort_condition = None + self.discriminator = None + + if x_language is not None: + self.x_language = x_language + self.instance_id = instance_id + self.node_id = node_id + self.component_id = component_id + if top_io_num is not None: + self.top_io_num = top_io_num + if sort_condition is not None: + self.sort_condition = sort_condition + + @property + def x_language(self): + """Gets the x_language of this ListTopIoTrafficsRequest. + + 语言 + + :return: The x_language of this ListTopIoTrafficsRequest. + :rtype: str + """ + return self._x_language + + @x_language.setter + def x_language(self, x_language): + """Sets the x_language of this ListTopIoTrafficsRequest. + + 语言 + + :param x_language: The x_language of this ListTopIoTrafficsRequest. + :type x_language: str + """ + self._x_language = x_language + + @property + def instance_id(self): + """Gets the instance_id of this ListTopIoTrafficsRequest. + + 实例ID,严格匹配UUID规则。 + + :return: The instance_id of this ListTopIoTrafficsRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ListTopIoTrafficsRequest. + + 实例ID,严格匹配UUID规则。 + + :param instance_id: The instance_id of this ListTopIoTrafficsRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def node_id(self): + """Gets the node_id of this ListTopIoTrafficsRequest. + + 节点ID。节点应为CN或者非日志角色的DN节点,并且节点状态为正常。 + + :return: The node_id of this ListTopIoTrafficsRequest. + :rtype: str + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this ListTopIoTrafficsRequest. + + 节点ID。节点应为CN或者非日志角色的DN节点,并且节点状态为正常。 + + :param node_id: The node_id of this ListTopIoTrafficsRequest. + :type node_id: str + """ + self._node_id = node_id + + @property + def component_id(self): + """Gets the component_id of this ListTopIoTrafficsRequest. + + 组件ID。组件应为CN或者非日志角色的DN组件。 DN:Data Node,和CN对应的概念。负责实际执行表数据的存储、查询操作。 CN:Coordinator Node,负责数据库系统元数据存储、查询任务的分解和部分执行,以及将DN中查询结果汇聚在一起。 + + :return: The component_id of this ListTopIoTrafficsRequest. + :rtype: str + """ + return self._component_id + + @component_id.setter + def component_id(self, component_id): + """Sets the component_id of this ListTopIoTrafficsRequest. + + 组件ID。组件应为CN或者非日志角色的DN组件。 DN:Data Node,和CN对应的概念。负责实际执行表数据的存储、查询操作。 CN:Coordinator Node,负责数据库系统元数据存储、查询任务的分解和部分执行,以及将DN中查询结果汇聚在一起。 + + :param component_id: The component_id of this ListTopIoTrafficsRequest. + :type component_id: str + """ + self._component_id = component_id + + @property + def top_io_num(self): + """Gets the top_io_num of this ListTopIoTrafficsRequest. + + 期望查询数据库进程下TOP IO线程数(默认值为20)。接口返回TOP IO线程与会话信息关联后的结果,数量最大不超过该值。 + + :return: The top_io_num of this ListTopIoTrafficsRequest. + :rtype: int + """ + return self._top_io_num + + @top_io_num.setter + def top_io_num(self, top_io_num): + """Sets the top_io_num of this ListTopIoTrafficsRequest. + + 期望查询数据库进程下TOP IO线程数(默认值为20)。接口返回TOP IO线程与会话信息关联后的结果,数量最大不超过该值。 + + :param top_io_num: The top_io_num of this ListTopIoTrafficsRequest. + :type top_io_num: int + """ + self._top_io_num = top_io_num + + @property + def sort_condition(self): + """Gets the sort_condition of this ListTopIoTrafficsRequest. + + TOP IO排序条件 + + :return: The sort_condition of this ListTopIoTrafficsRequest. + :rtype: str + """ + return self._sort_condition + + @sort_condition.setter + def sort_condition(self, sort_condition): + """Sets the sort_condition of this ListTopIoTrafficsRequest. + + TOP IO排序条件 + + :param sort_condition: The sort_condition of this ListTopIoTrafficsRequest. + :type sort_condition: str + """ + self._sort_condition = sort_condition + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListTopIoTrafficsRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py new file mode 100644 index 0000000000..084e779d45 --- /dev/null +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListTopIoTrafficsResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'top_io_infos': 'list[TopIoInfo]' + } + + attribute_map = { + 'top_io_infos': 'top_io_infos' + } + + def __init__(self, top_io_infos=None): + """ListTopIoTrafficsResponse + + The model defined in huaweicloud sdk + + :param top_io_infos: Top IO列表 + :type top_io_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TopIoInfo`] + """ + + super(ListTopIoTrafficsResponse, self).__init__() + + self._top_io_infos = None + self.discriminator = None + + if top_io_infos is not None: + self.top_io_infos = top_io_infos + + @property + def top_io_infos(self): + """Gets the top_io_infos of this ListTopIoTrafficsResponse. + + Top IO列表 + + :return: The top_io_infos of this ListTopIoTrafficsResponse. + :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TopIoInfo`] + """ + return self._top_io_infos + + @top_io_infos.setter + def top_io_infos(self, top_io_infos): + """Sets the top_io_infos of this ListTopIoTrafficsResponse. + + Top IO列表 + + :param top_io_infos: The top_io_infos of this ListTopIoTrafficsResponse. + :type top_io_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TopIoInfo`] + """ + self._top_io_infos = top_io_infos + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListTopIoTrafficsResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py index 16dcc5d81a..7d3a39b753 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py @@ -18,62 +18,55 @@ class OpenGaussUpgradeRequest: openapi_types = { 'upgrade_type': 'str', - 'upgrde_action': 'str', + 'upgrade_action': 'str', 'target_version': 'str', 'upgrade_shard_num': 'int', - 'upgrade_az': 'str', - 'is_parallel_upgrade': 'bool' + 'upgrade_az': 'str' } attribute_map = { 'upgrade_type': 'upgrade_type', - 'upgrde_action': 'upgrde_action', + 'upgrade_action': 'upgrade_action', 'target_version': 'target_version', 'upgrade_shard_num': 'upgrade_shard_num', - 'upgrade_az': 'upgrade_az', - 'is_parallel_upgrade': 'is_parallel_upgrade' + 'upgrade_az': 'upgrade_az' } - def __init__(self, upgrade_type=None, upgrde_action=None, target_version=None, upgrade_shard_num=None, upgrade_az=None, is_parallel_upgrade=None): + def __init__(self, upgrade_type=None, upgrade_action=None, target_version=None, upgrade_shard_num=None, upgrade_az=None): """OpenGaussUpgradeRequest The model defined in huaweicloud sdk :param upgrade_type: 实例升级类型,包括就地升级,灰度升级,热补丁升级三种,三种升级方式的异同,详见接口描述。  inplace 就地升级  grey 灰度升级  hotfix 热补丁升级。 :type upgrade_type: str - :param upgrde_action: 实例升级操作,就地升级无需传值。灰度升级包括升级自动提交,升级待观察,提交升级,升级回退四种。热补丁升级包括升级自动提交,升级回退两种。详见接口描述。  upgradeAutoCommit 升级自动提交  upgrade 升级待观察  commit 提交升级  rollback 升级回退。 - :type upgrde_action: str + :param upgrade_action: 实例升级操作,就地升级无需传值。灰度升级包括升级自动提交,升级待观察,提交升级,升级回退四种。热补丁升级包括升级自动提交,升级回退两种。详见接口描述。  upgradeAutoCommit 升级自动提交  upgrade 升级待观察  commit 提交升级  rollback 升级回退。 + :type upgrade_action: str :param target_version: 实例升级目标版本,非必填。如果未传值则默认升级到当前实例的优选版本。仅热补丁升级方式下支持传入多个值,升级操作为升级自动提交,则实例版本从小到大批量升级,升级操作为升级回退,则实例版本从大到小批量回退。 :type target_version: str :param upgrade_shard_num: 分布式实例灰度升级,滚动升级分片数。分布式实例灰度升级,升级待观察必填。该值不能大于实例未升级分片总数。 :type upgrade_shard_num: int :param upgrade_az: 主备版实例灰度升级,滚动升级az值,可以支持多az一起升级,az之间以’,’分割。集中式实例灰度升级,升级待观察必填。该值不能填入不属于该实例的az值。 :type upgrade_az: str - :param is_parallel_upgrade: 支持AZ内并行升级,升级时先升级所有备DN,再并行升级各分片主DN,最后并行升级CN。仅在灰度升级下有效且需要数据库版本大于等于3.200。 - :type is_parallel_upgrade: bool """ self._upgrade_type = None - self._upgrde_action = None + self._upgrade_action = None self._target_version = None self._upgrade_shard_num = None self._upgrade_az = None - self._is_parallel_upgrade = None self.discriminator = None self.upgrade_type = upgrade_type - if upgrde_action is not None: - self.upgrde_action = upgrde_action + if upgrade_action is not None: + self.upgrade_action = upgrade_action if target_version is not None: self.target_version = target_version if upgrade_shard_num is not None: self.upgrade_shard_num = upgrade_shard_num if upgrade_az is not None: self.upgrade_az = upgrade_az - if is_parallel_upgrade is not None: - self.is_parallel_upgrade = is_parallel_upgrade @property def upgrade_type(self): @@ -98,26 +91,26 @@ def upgrade_type(self, upgrade_type): self._upgrade_type = upgrade_type @property - def upgrde_action(self): - """Gets the upgrde_action of this OpenGaussUpgradeRequest. + def upgrade_action(self): + """Gets the upgrade_action of this OpenGaussUpgradeRequest. 实例升级操作,就地升级无需传值。灰度升级包括升级自动提交,升级待观察,提交升级,升级回退四种。热补丁升级包括升级自动提交,升级回退两种。详见接口描述。  upgradeAutoCommit 升级自动提交  upgrade 升级待观察  commit 提交升级  rollback 升级回退。 - :return: The upgrde_action of this OpenGaussUpgradeRequest. + :return: The upgrade_action of this OpenGaussUpgradeRequest. :rtype: str """ - return self._upgrde_action + return self._upgrade_action - @upgrde_action.setter - def upgrde_action(self, upgrde_action): - """Sets the upgrde_action of this OpenGaussUpgradeRequest. + @upgrade_action.setter + def upgrade_action(self, upgrade_action): + """Sets the upgrade_action of this OpenGaussUpgradeRequest. 实例升级操作,就地升级无需传值。灰度升级包括升级自动提交,升级待观察,提交升级,升级回退四种。热补丁升级包括升级自动提交,升级回退两种。详见接口描述。  upgradeAutoCommit 升级自动提交  upgrade 升级待观察  commit 提交升级  rollback 升级回退。 - :param upgrde_action: The upgrde_action of this OpenGaussUpgradeRequest. - :type upgrde_action: str + :param upgrade_action: The upgrade_action of this OpenGaussUpgradeRequest. + :type upgrade_action: str """ - self._upgrde_action = upgrde_action + self._upgrade_action = upgrade_action @property def target_version(self): @@ -185,28 +178,6 @@ def upgrade_az(self, upgrade_az): """ self._upgrade_az = upgrade_az - @property - def is_parallel_upgrade(self): - """Gets the is_parallel_upgrade of this OpenGaussUpgradeRequest. - - 支持AZ内并行升级,升级时先升级所有备DN,再并行升级各分片主DN,最后并行升级CN。仅在灰度升级下有效且需要数据库版本大于等于3.200。 - - :return: The is_parallel_upgrade of this OpenGaussUpgradeRequest. - :rtype: bool - """ - return self._is_parallel_upgrade - - @is_parallel_upgrade.setter - def is_parallel_upgrade(self, is_parallel_upgrade): - """Sets the is_parallel_upgrade of this OpenGaussUpgradeRequest. - - 支持AZ内并行升级,升级时先升级所有备DN,再并行升级各分片主DN,最后并行升级CN。仅在灰度升级下有效且需要数据库版本大于等于3.200。 - - :param is_parallel_upgrade: The is_parallel_upgrade of this OpenGaussUpgradeRequest. - :type is_parallel_upgrade: bool - """ - self._is_parallel_upgrade = is_parallel_upgrade - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py index 7710958dec..91d3655afe 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py @@ -21,7 +21,7 @@ class ShowBackupPolicy: 'start_time': 'str', 'period': 'str', 'differential_priod': 'str', - 'differential_period': 'str', + 'differential_period': 'int', 'rate_limit': 'int', 'prefetch_block': 'int', 'filesplit_size': 'int', @@ -56,7 +56,7 @@ def __init__(self, keep_days=None, start_time=None, period=None, differential_pr :param differential_priod: 差量备份周期配置。自动差量备份将每隔周期分钟执行(废弃)。 :type differential_priod: str :param differential_period: 差量备份周期配置。自动差量备份将每隔周期分钟执行。 - :type differential_period: str + :type differential_period: int :param rate_limit: 备份时备份数据上传OBS的速度,单位为MB/s。范围为0~1024MB/s,默认75MB/s,0MB/s表示不限速。 :type rate_limit: int :param prefetch_block: 控制差量备份时读取磁盘上表文件差量修改页面的预取页面个数,可设置范围为1~8192,默认64。 @@ -195,7 +195,7 @@ def differential_period(self): 差量备份周期配置。自动差量备份将每隔周期分钟执行。 :return: The differential_period of this ShowBackupPolicy. - :rtype: str + :rtype: int """ return self._differential_period @@ -206,7 +206,7 @@ def differential_period(self, differential_period): 差量备份周期配置。自动差量备份将每隔周期分钟执行。 :param differential_period: The differential_period of this ShowBackupPolicy. - :type differential_period: str + :type differential_period: int """ self._differential_period = differential_period diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/instances_statistics_response_body_instances_statistics.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py similarity index 56% rename from huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/instances_statistics_response_body_instances_statistics.py rename to huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py index eabcf618fc..34b6e2d136 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/instances_statistics_response_body_instances_statistics.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class InstancesStatisticsResponseBodyInstancesStatistics: +class ShowErrorLogSwitchStatusRequest: """ Attributes: @@ -17,78 +17,79 @@ class InstancesStatisticsResponseBodyInstancesStatistics: sensitive_list = [] openapi_types = { - 'status': 'str', - 'count': 'int' + 'x_language': 'str', + 'instance_id': 'str' } attribute_map = { - 'status': 'status', - 'count': 'count' + 'x_language': 'X-Language', + 'instance_id': 'instance_id' } - def __init__(self, status=None, count=None): - """InstancesStatisticsResponseBodyInstancesStatistics + def __init__(self, x_language=None, instance_id=None): + """ShowErrorLogSwitchStatusRequest The model defined in huaweicloud sdk - :param status: 实例状态 - :type status: str - :param count: 实例数量 - :type count: int + :param x_language: 语言 + :type x_language: str + :param instance_id: 实例ID。 + :type instance_id: str """ - self._status = None - self._count = None + self._x_language = None + self._instance_id = None self.discriminator = None - self.status = status - self.count = count + if x_language is not None: + self.x_language = x_language + self.instance_id = instance_id @property - def status(self): - """Gets the status of this InstancesStatisticsResponseBodyInstancesStatistics. + def x_language(self): + """Gets the x_language of this ShowErrorLogSwitchStatusRequest. - 实例状态 + 语言 - :return: The status of this InstancesStatisticsResponseBodyInstancesStatistics. + :return: The x_language of this ShowErrorLogSwitchStatusRequest. :rtype: str """ - return self._status + return self._x_language - @status.setter - def status(self, status): - """Sets the status of this InstancesStatisticsResponseBodyInstancesStatistics. + @x_language.setter + def x_language(self, x_language): + """Sets the x_language of this ShowErrorLogSwitchStatusRequest. - 实例状态 + 语言 - :param status: The status of this InstancesStatisticsResponseBodyInstancesStatistics. - :type status: str + :param x_language: The x_language of this ShowErrorLogSwitchStatusRequest. + :type x_language: str """ - self._status = status + self._x_language = x_language @property - def count(self): - """Gets the count of this InstancesStatisticsResponseBodyInstancesStatistics. + def instance_id(self): + """Gets the instance_id of this ShowErrorLogSwitchStatusRequest. - 实例数量 + 实例ID。 - :return: The count of this InstancesStatisticsResponseBodyInstancesStatistics. - :rtype: int + :return: The instance_id of this ShowErrorLogSwitchStatusRequest. + :rtype: str """ - return self._count + return self._instance_id - @count.setter - def count(self, count): - """Sets the count of this InstancesStatisticsResponseBodyInstancesStatistics. + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ShowErrorLogSwitchStatusRequest. - 实例数量 + 实例ID。 - :param count: The count of this InstancesStatisticsResponseBodyInstancesStatistics. - :type count: int + :param instance_id: The instance_id of this ShowErrorLogSwitchStatusRequest. + :type instance_id: str """ - self._count = count + self._instance_id = instance_id def to_dict(self): """Returns the model properties as a dict""" @@ -132,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, InstancesStatisticsResponseBodyInstancesStatistics): + if not isinstance(other, ShowErrorLogSwitchStatusRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_request.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_response.py similarity index 68% rename from huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_request.py rename to huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_response.py index 695437e42a..37613ef93e 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_request.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_response.py @@ -2,10 +2,11 @@ import six +from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ShowInstancesStatisticsRequest: +class ShowErrorLogSwitchStatusResponse(SdkResponse): """ Attributes: @@ -17,51 +18,51 @@ class ShowInstancesStatisticsRequest: sensitive_list = [] openapi_types = { - 'x_language': 'str' + 'status': 'str' } attribute_map = { - 'x_language': 'X-Language' + 'status': 'status' } - def __init__(self, x_language=None): - """ShowInstancesStatisticsRequest + def __init__(self, status=None): + """ShowErrorLogSwitchStatusResponse The model defined in huaweicloud sdk - :param x_language: 语言。 - :type x_language: str + :param status: 采集状态 + :type status: str """ - + super(ShowErrorLogSwitchStatusResponse, self).__init__() - self._x_language = None + self._status = None self.discriminator = None - if x_language is not None: - self.x_language = x_language + if status is not None: + self.status = status @property - def x_language(self): - """Gets the x_language of this ShowInstancesStatisticsRequest. + def status(self): + """Gets the status of this ShowErrorLogSwitchStatusResponse. - 语言。 + 采集状态 - :return: The x_language of this ShowInstancesStatisticsRequest. + :return: The status of this ShowErrorLogSwitchStatusResponse. :rtype: str """ - return self._x_language + return self._status - @x_language.setter - def x_language(self, x_language): - """Sets the x_language of this ShowInstancesStatisticsRequest. + @status.setter + def status(self, status): + """Sets the status of this ShowErrorLogSwitchStatusResponse. - 语言。 + 采集状态 - :param x_language: The x_language of this ShowInstancesStatisticsRequest. - :type x_language: str + :param status: The status of this ShowErrorLogSwitchStatusResponse. + :type status: str """ - self._x_language = x_language + self._status = status def to_dict(self): """Returns the model properties as a dict""" @@ -105,7 +106,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ShowInstancesStatisticsRequest): + if not isinstance(other, ShowErrorLogSwitchStatusResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_response.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_response.py deleted file mode 100644 index 2f99cc2761..0000000000 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_response.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowInstancesStatisticsResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'total_count': 'int', - 'instances_statistics': 'list[InstancesStatisticsResponseBodyInstancesStatistics]' - } - - attribute_map = { - 'total_count': 'total_count', - 'instances_statistics': 'instances_statistics' - } - - def __init__(self, total_count=None, instances_statistics=None): - """ShowInstancesStatisticsResponse - - The model defined in huaweicloud sdk - - :param total_count: 实例总数 - :type total_count: int - :param instances_statistics: 实例统计信息 - :type instances_statistics: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstancesStatisticsResponseBodyInstancesStatistics`] - """ - - super(ShowInstancesStatisticsResponse, self).__init__() - - self._total_count = None - self._instances_statistics = None - self.discriminator = None - - if total_count is not None: - self.total_count = total_count - if instances_statistics is not None: - self.instances_statistics = instances_statistics - - @property - def total_count(self): - """Gets the total_count of this ShowInstancesStatisticsResponse. - - 实例总数 - - :return: The total_count of this ShowInstancesStatisticsResponse. - :rtype: int - """ - return self._total_count - - @total_count.setter - def total_count(self, total_count): - """Sets the total_count of this ShowInstancesStatisticsResponse. - - 实例总数 - - :param total_count: The total_count of this ShowInstancesStatisticsResponse. - :type total_count: int - """ - self._total_count = total_count - - @property - def instances_statistics(self): - """Gets the instances_statistics of this ShowInstancesStatisticsResponse. - - 实例统计信息 - - :return: The instances_statistics of this ShowInstancesStatisticsResponse. - :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstancesStatisticsResponseBodyInstancesStatistics`] - """ - return self._instances_statistics - - @instances_statistics.setter - def instances_statistics(self, instances_statistics): - """Sets the instances_statistics of this ShowInstancesStatisticsResponse. - - 实例统计信息 - - :param instances_statistics: The instances_statistics of this ShowInstancesStatisticsResponse. - :type instances_statistics: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.InstancesStatisticsResponseBodyInstancesStatistics`] - """ - self._instances_statistics = instances_statistics - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ShowInstancesStatisticsResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py new file mode 100644 index 0000000000..105edcdd75 --- /dev/null +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py @@ -0,0 +1,405 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TopIoInfo: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'thread_id': 'str', + 'thread_type': 'str', + 'disk_read_rate': 'int', + 'disk_write_rate': 'int', + 'session_id': 'str', + 'unique_sql_id': 'str', + 'database_name': 'str', + 'client_ip': 'str', + 'user_name': 'str', + 'state': 'str', + 'sql_start': 'int' + } + + attribute_map = { + 'thread_id': 'thread_id', + 'thread_type': 'thread_type', + 'disk_read_rate': 'disk_read_rate', + 'disk_write_rate': 'disk_write_rate', + 'session_id': 'session_id', + 'unique_sql_id': 'unique_sql_id', + 'database_name': 'database_name', + 'client_ip': 'client_ip', + 'user_name': 'user_name', + 'state': 'state', + 'sql_start': 'sql_start' + } + + def __init__(self, thread_id=None, thread_type=None, disk_read_rate=None, disk_write_rate=None, session_id=None, unique_sql_id=None, database_name=None, client_ip=None, user_name=None, state=None, sql_start=None): + """TopIoInfo + + The model defined in huaweicloud sdk + + :param thread_id: 线程ID + :type thread_id: str + :param thread_type: 线程分类标识,取值:业务(worker)和后台(background)。需将GUC参数\"enable_thread_pool\"设置为on + :type thread_type: str + :param disk_read_rate: 从磁盘读取数据速率, 单位:KB/s + :type disk_read_rate: int + :param disk_write_rate: 写入磁盘数据速率, 单位:KB/s + :type disk_write_rate: int + :param session_id: 会话ID + :type session_id: str + :param unique_sql_id: SQL ID + :type unique_sql_id: str + :param database_name: 数据库 + :type database_name: str + :param client_ip: 客户端IP + :type client_ip: str + :param user_name: 用户名 + :type user_name: str + :param state: 状态 + :type state: str + :param sql_start: 语句开始时间 + :type sql_start: int + """ + + + + self._thread_id = None + self._thread_type = None + self._disk_read_rate = None + self._disk_write_rate = None + self._session_id = None + self._unique_sql_id = None + self._database_name = None + self._client_ip = None + self._user_name = None + self._state = None + self._sql_start = None + self.discriminator = None + + if thread_id is not None: + self.thread_id = thread_id + if thread_type is not None: + self.thread_type = thread_type + if disk_read_rate is not None: + self.disk_read_rate = disk_read_rate + if disk_write_rate is not None: + self.disk_write_rate = disk_write_rate + if session_id is not None: + self.session_id = session_id + if unique_sql_id is not None: + self.unique_sql_id = unique_sql_id + if database_name is not None: + self.database_name = database_name + if client_ip is not None: + self.client_ip = client_ip + if user_name is not None: + self.user_name = user_name + if state is not None: + self.state = state + if sql_start is not None: + self.sql_start = sql_start + + @property + def thread_id(self): + """Gets the thread_id of this TopIoInfo. + + 线程ID + + :return: The thread_id of this TopIoInfo. + :rtype: str + """ + return self._thread_id + + @thread_id.setter + def thread_id(self, thread_id): + """Sets the thread_id of this TopIoInfo. + + 线程ID + + :param thread_id: The thread_id of this TopIoInfo. + :type thread_id: str + """ + self._thread_id = thread_id + + @property + def thread_type(self): + """Gets the thread_type of this TopIoInfo. + + 线程分类标识,取值:业务(worker)和后台(background)。需将GUC参数\"enable_thread_pool\"设置为on + + :return: The thread_type of this TopIoInfo. + :rtype: str + """ + return self._thread_type + + @thread_type.setter + def thread_type(self, thread_type): + """Sets the thread_type of this TopIoInfo. + + 线程分类标识,取值:业务(worker)和后台(background)。需将GUC参数\"enable_thread_pool\"设置为on + + :param thread_type: The thread_type of this TopIoInfo. + :type thread_type: str + """ + self._thread_type = thread_type + + @property + def disk_read_rate(self): + """Gets the disk_read_rate of this TopIoInfo. + + 从磁盘读取数据速率, 单位:KB/s + + :return: The disk_read_rate of this TopIoInfo. + :rtype: int + """ + return self._disk_read_rate + + @disk_read_rate.setter + def disk_read_rate(self, disk_read_rate): + """Sets the disk_read_rate of this TopIoInfo. + + 从磁盘读取数据速率, 单位:KB/s + + :param disk_read_rate: The disk_read_rate of this TopIoInfo. + :type disk_read_rate: int + """ + self._disk_read_rate = disk_read_rate + + @property + def disk_write_rate(self): + """Gets the disk_write_rate of this TopIoInfo. + + 写入磁盘数据速率, 单位:KB/s + + :return: The disk_write_rate of this TopIoInfo. + :rtype: int + """ + return self._disk_write_rate + + @disk_write_rate.setter + def disk_write_rate(self, disk_write_rate): + """Sets the disk_write_rate of this TopIoInfo. + + 写入磁盘数据速率, 单位:KB/s + + :param disk_write_rate: The disk_write_rate of this TopIoInfo. + :type disk_write_rate: int + """ + self._disk_write_rate = disk_write_rate + + @property + def session_id(self): + """Gets the session_id of this TopIoInfo. + + 会话ID + + :return: The session_id of this TopIoInfo. + :rtype: str + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this TopIoInfo. + + 会话ID + + :param session_id: The session_id of this TopIoInfo. + :type session_id: str + """ + self._session_id = session_id + + @property + def unique_sql_id(self): + """Gets the unique_sql_id of this TopIoInfo. + + SQL ID + + :return: The unique_sql_id of this TopIoInfo. + :rtype: str + """ + return self._unique_sql_id + + @unique_sql_id.setter + def unique_sql_id(self, unique_sql_id): + """Sets the unique_sql_id of this TopIoInfo. + + SQL ID + + :param unique_sql_id: The unique_sql_id of this TopIoInfo. + :type unique_sql_id: str + """ + self._unique_sql_id = unique_sql_id + + @property + def database_name(self): + """Gets the database_name of this TopIoInfo. + + 数据库 + + :return: The database_name of this TopIoInfo. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this TopIoInfo. + + 数据库 + + :param database_name: The database_name of this TopIoInfo. + :type database_name: str + """ + self._database_name = database_name + + @property + def client_ip(self): + """Gets the client_ip of this TopIoInfo. + + 客户端IP + + :return: The client_ip of this TopIoInfo. + :rtype: str + """ + return self._client_ip + + @client_ip.setter + def client_ip(self, client_ip): + """Sets the client_ip of this TopIoInfo. + + 客户端IP + + :param client_ip: The client_ip of this TopIoInfo. + :type client_ip: str + """ + self._client_ip = client_ip + + @property + def user_name(self): + """Gets the user_name of this TopIoInfo. + + 用户名 + + :return: The user_name of this TopIoInfo. + :rtype: str + """ + return self._user_name + + @user_name.setter + def user_name(self, user_name): + """Sets the user_name of this TopIoInfo. + + 用户名 + + :param user_name: The user_name of this TopIoInfo. + :type user_name: str + """ + self._user_name = user_name + + @property + def state(self): + """Gets the state of this TopIoInfo. + + 状态 + + :return: The state of this TopIoInfo. + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this TopIoInfo. + + 状态 + + :param state: The state of this TopIoInfo. + :type state: str + """ + self._state = state + + @property + def sql_start(self): + """Gets the sql_start of this TopIoInfo. + + 语句开始时间 + + :return: The sql_start of this TopIoInfo. + :rtype: int + """ + return self._sql_start + + @sql_start.setter + def sql_start(self, sql_start): + """Sets the sql_start of this TopIoInfo. + + 语句开始时间 + + :param sql_start: The sql_start of this TopIoInfo. + :type sql_start: int + """ + self._sql_start = sql_start + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TopIoInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt +++ b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbforopengauss/setup.py b/huaweicloud-sdk-gaussdbforopengauss/setup.py index a1632138d9..d950b497be 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/setup.py +++ b/huaweicloud-sdk-gaussdbforopengauss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdbforopengauss" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-geip/requirements.txt b/huaweicloud-sdk-geip/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-geip/requirements.txt +++ b/huaweicloud-sdk-geip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-geip/setup.py b/huaweicloud-sdk-geip/setup.py index c981b300d7..37378aa663 100644 --- a/huaweicloud-sdk-geip/setup.py +++ b/huaweicloud-sdk-geip/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgeip" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ges/requirements.txt b/huaweicloud-sdk-ges/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ges/requirements.txt +++ b/huaweicloud-sdk-ges/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ges/setup.py b/huaweicloud-sdk-ges/setup.py index 8f8efcbb6a..7f9795200c 100644 --- a/huaweicloud-sdk-ges/setup.py +++ b/huaweicloud-sdk-ges/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkges" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gsl/requirements.txt b/huaweicloud-sdk-gsl/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-gsl/requirements.txt +++ b/huaweicloud-sdk-gsl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-gsl/setup.py b/huaweicloud-sdk-gsl/setup.py index 6fb55dac4a..1415bb4254 100644 --- a/huaweicloud-sdk-gsl/setup.py +++ b/huaweicloud-sdk-gsl/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgsl" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hilens/requirements.txt b/huaweicloud-sdk-hilens/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-hilens/requirements.txt +++ b/huaweicloud-sdk-hilens/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-hilens/setup.py b/huaweicloud-sdk-hilens/setup.py index 5b8debee90..cc58a33120 100644 --- a/huaweicloud-sdk-hilens/setup.py +++ b/huaweicloud-sdk-hilens/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkhilens" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/event_process_response_info.py b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/event_process_response_info.py index e883362772..c60a48292b 100644 --- a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/event_process_response_info.py +++ b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/event_process_response_info.py @@ -55,7 +55,10 @@ class EventProcessResponseInfo: 'virt_process_name': 'str', 'escape_mode': 'str', 'escape_cmd': 'str', - 'process_hash': 'str' + 'process_hash': 'str', + 'process_file_hash': 'str', + 'parent_process_file_hash': 'str', + 'block': 'int' } attribute_map = { @@ -97,10 +100,13 @@ class EventProcessResponseInfo: 'virt_process_name': 'virt_process_name', 'escape_mode': 'escape_mode', 'escape_cmd': 'escape_cmd', - 'process_hash': 'process_hash' + 'process_hash': 'process_hash', + 'process_file_hash': 'process_file_hash', + 'parent_process_file_hash': 'parent_process_file_hash', + 'block': 'block' } - def __init__(self, process_name=None, process_path=None, process_pid=None, process_uid=None, process_username=None, process_cmdline=None, process_filename=None, process_start_time=None, process_gid=None, process_egid=None, process_euid=None, ancestor_process_path=None, ancestor_process_pid=None, ancestor_process_cmdline=None, parent_process_name=None, parent_process_path=None, parent_process_pid=None, parent_process_uid=None, parent_process_cmdline=None, parent_process_filename=None, parent_process_start_time=None, parent_process_gid=None, parent_process_egid=None, parent_process_euid=None, child_process_name=None, child_process_path=None, child_process_pid=None, child_process_uid=None, child_process_cmdline=None, child_process_filename=None, child_process_start_time=None, child_process_gid=None, child_process_egid=None, child_process_euid=None, virt_cmd=None, virt_process_name=None, escape_mode=None, escape_cmd=None, process_hash=None): + def __init__(self, process_name=None, process_path=None, process_pid=None, process_uid=None, process_username=None, process_cmdline=None, process_filename=None, process_start_time=None, process_gid=None, process_egid=None, process_euid=None, ancestor_process_path=None, ancestor_process_pid=None, ancestor_process_cmdline=None, parent_process_name=None, parent_process_path=None, parent_process_pid=None, parent_process_uid=None, parent_process_cmdline=None, parent_process_filename=None, parent_process_start_time=None, parent_process_gid=None, parent_process_egid=None, parent_process_euid=None, child_process_name=None, child_process_path=None, child_process_pid=None, child_process_uid=None, child_process_cmdline=None, child_process_filename=None, child_process_start_time=None, child_process_gid=None, child_process_egid=None, child_process_euid=None, virt_cmd=None, virt_process_name=None, escape_mode=None, escape_cmd=None, process_hash=None, process_file_hash=None, parent_process_file_hash=None, block=None): """EventProcessResponseInfo The model defined in huaweicloud sdk @@ -183,6 +189,12 @@ def __init__(self, process_name=None, process_path=None, process_pid=None, proce :type escape_cmd: str :param process_hash: 进程启动文件hash :type process_hash: str + :param process_file_hash: 进程文件hash + :type process_file_hash: str + :param parent_process_file_hash: 父进程文件hash + :type parent_process_file_hash: str + :param block: 是否阻断成功,1阻断成功 0阻断失败 + :type block: int """ @@ -226,6 +238,9 @@ def __init__(self, process_name=None, process_path=None, process_pid=None, proce self._escape_mode = None self._escape_cmd = None self._process_hash = None + self._process_file_hash = None + self._parent_process_file_hash = None + self._block = None self.discriminator = None if process_name is not None: @@ -306,6 +321,12 @@ def __init__(self, process_name=None, process_path=None, process_pid=None, proce self.escape_cmd = escape_cmd if process_hash is not None: self.process_hash = process_hash + if process_file_hash is not None: + self.process_file_hash = process_file_hash + if parent_process_file_hash is not None: + self.parent_process_file_hash = parent_process_file_hash + if block is not None: + self.block = block @property def process_name(self): @@ -1165,6 +1186,72 @@ def process_hash(self, process_hash): """ self._process_hash = process_hash + @property + def process_file_hash(self): + """Gets the process_file_hash of this EventProcessResponseInfo. + + 进程文件hash + + :return: The process_file_hash of this EventProcessResponseInfo. + :rtype: str + """ + return self._process_file_hash + + @process_file_hash.setter + def process_file_hash(self, process_file_hash): + """Sets the process_file_hash of this EventProcessResponseInfo. + + 进程文件hash + + :param process_file_hash: The process_file_hash of this EventProcessResponseInfo. + :type process_file_hash: str + """ + self._process_file_hash = process_file_hash + + @property + def parent_process_file_hash(self): + """Gets the parent_process_file_hash of this EventProcessResponseInfo. + + 父进程文件hash + + :return: The parent_process_file_hash of this EventProcessResponseInfo. + :rtype: str + """ + return self._parent_process_file_hash + + @parent_process_file_hash.setter + def parent_process_file_hash(self, parent_process_file_hash): + """Sets the parent_process_file_hash of this EventProcessResponseInfo. + + 父进程文件hash + + :param parent_process_file_hash: The parent_process_file_hash of this EventProcessResponseInfo. + :type parent_process_file_hash: str + """ + self._parent_process_file_hash = parent_process_file_hash + + @property + def block(self): + """Gets the block of this EventProcessResponseInfo. + + 是否阻断成功,1阻断成功 0阻断失败 + + :return: The block of this EventProcessResponseInfo. + :rtype: int + """ + return self._block + + @block.setter + def block(self, block): + """Sets the block of this EventProcessResponseInfo. + + 是否阻断成功,1阻断成功 0阻断失败 + + :param block: The block of this EventProcessResponseInfo. + :type block: int + """ + self._block = block + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/list_swr_image_repository_request.py b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/list_swr_image_repository_request.py index a50053e5ed..9852fb4dcf 100644 --- a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/list_swr_image_repository_request.py +++ b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/list_swr_image_repository_request.py @@ -85,7 +85,7 @@ def __init__(self, region=None, enterprise_project_id=None, namespace=None, imag :type limit: int :param image_type: 镜像类型,包含如下: - private_image : 私有镜像仓库 - shared_image : 共享镜像仓库 - local_image : 本地镜像 - instance_image : 企业镜像 :type image_type: str - :param scan_status: 扫描状态,包含如下: - unscan : 未扫描 - success : 扫描完成 - scanning : 扫描中 - failed : 扫描失败 - download_failed : 下载失败 - image_oversized : 镜像超大 + :param scan_status: 扫描状态,包含如下: - unscan : 未扫描 - success : 扫描完成 - scanning : 扫描中 - failed : 扫描失败 - waiting_for_scan : 等待扫描 :type scan_status: str :param instance_name: 企业镜像实例名称 :type instance_name: str @@ -374,7 +374,7 @@ def image_type(self, image_type): def scan_status(self): """Gets the scan_status of this ListSwrImageRepositoryRequest. - 扫描状态,包含如下: - unscan : 未扫描 - success : 扫描完成 - scanning : 扫描中 - failed : 扫描失败 - download_failed : 下载失败 - image_oversized : 镜像超大 + 扫描状态,包含如下: - unscan : 未扫描 - success : 扫描完成 - scanning : 扫描中 - failed : 扫描失败 - waiting_for_scan : 等待扫描 :return: The scan_status of this ListSwrImageRepositoryRequest. :rtype: str @@ -385,7 +385,7 @@ def scan_status(self): def scan_status(self, scan_status): """Sets the scan_status of this ListSwrImageRepositoryRequest. - 扫描状态,包含如下: - unscan : 未扫描 - success : 扫描完成 - scanning : 扫描中 - failed : 扫描失败 - download_failed : 下载失败 - image_oversized : 镜像超大 + 扫描状态,包含如下: - unscan : 未扫描 - success : 扫描完成 - scanning : 扫描中 - failed : 扫描失败 - waiting_for_scan : 等待扫描 :param scan_status: The scan_status of this ListSwrImageRepositoryRequest. :type scan_status: str diff --git a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/show_productdata_offering_infos_response.py b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/show_productdata_offering_infos_response.py index 1f8a985f5f..d3e879d3fa 100644 --- a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/show_productdata_offering_infos_response.py +++ b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/show_productdata_offering_infos_response.py @@ -30,7 +30,7 @@ def __init__(self, body=None): The model defined in huaweicloud sdk - :param body: + :param body: 商品数据列表 :type body: list[:class:`huaweicloudsdkhss.v5.ResourceProductDataObjectInfo`] """ @@ -46,7 +46,7 @@ def __init__(self, body=None): def body(self): """Gets the body of this ShowProductdataOfferingInfosResponse. - + 商品数据列表 :return: The body of this ShowProductdataOfferingInfosResponse. :rtype: list[:class:`huaweicloudsdkhss.v5.ResourceProductDataObjectInfo`] @@ -57,7 +57,7 @@ def body(self): def body(self, body): """Sets the body of this ShowProductdataOfferingInfosResponse. - + 商品数据列表 :param body: The body of this ShowProductdataOfferingInfosResponse. :type body: list[:class:`huaweicloudsdkhss.v5.ResourceProductDataObjectInfo`] diff --git a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/region/hss_region.py b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/region/hss_region.py index 164a6b1ff8..e2116505bd 100644 --- a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/region/hss_region.py +++ b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/region/hss_region.py @@ -56,6 +56,8 @@ class HssRegion: "https://hss.my-kualalumpur-1.myhuaweicloud.com") EU_WEST_101 = Region("eu-west-101", "https://hss.eu-west-101.myhuaweicloud.eu") + RU_MOSCOW_1 = Region("ru-moscow-1", + "https://hss.ru-moscow-1.myhuaweicloud.com") static_fields = { "cn-north-9": CN_NORTH_9, @@ -83,6 +85,7 @@ class HssRegion: "cn-east-5": CN_EAST_5, "my-kualalumpur-1": MY_KUALALUMPUR_1, "eu-west-101": EU_WEST_101, + "ru-moscow-1": RU_MOSCOW_1, } @classmethod diff --git a/huaweicloud-sdk-hss/requirements.txt b/huaweicloud-sdk-hss/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-hss/requirements.txt +++ b/huaweicloud-sdk-hss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-hss/setup.py b/huaweicloud-sdk-hss/setup.py index aca1b32055..d876c865b7 100644 --- a/huaweicloud-sdk-hss/setup.py +++ b/huaweicloud-sdk-hss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkhss" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iam/requirements.txt b/huaweicloud-sdk-iam/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-iam/requirements.txt +++ b/huaweicloud-sdk-iam/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-iam/setup.py b/huaweicloud-sdk-iam/setup.py index eb9308ae09..eb786846c8 100644 --- a/huaweicloud-sdk-iam/setup.py +++ b/huaweicloud-sdk-iam/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiam" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt +++ b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-iamaccessanalyzer/setup.py b/huaweicloud-sdk-iamaccessanalyzer/setup.py index 71afacdeec..9425fdc917 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/setup.py +++ b/huaweicloud-sdk-iamaccessanalyzer/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiamaccessanalyzer" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenter/requirements.txt b/huaweicloud-sdk-identitycenter/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-identitycenter/requirements.txt +++ b/huaweicloud-sdk-identitycenter/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenter/setup.py b/huaweicloud-sdk-identitycenter/setup.py index 5dd58c88fb..75929d04b4 100644 --- a/huaweicloud-sdk-identitycenter/setup.py +++ b/huaweicloud-sdk-identitycenter/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidentitycenter" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenterstore/requirements.txt b/huaweicloud-sdk-identitycenterstore/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-identitycenterstore/requirements.txt +++ b/huaweicloud-sdk-identitycenterstore/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenterstore/setup.py b/huaweicloud-sdk-identitycenterstore/setup.py index 612956eac4..daefcca7df 100644 --- a/huaweicloud-sdk-identitycenterstore/setup.py +++ b/huaweicloud-sdk-identitycenterstore/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidentitycenterstore" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idme/requirements.txt b/huaweicloud-sdk-idme/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-idme/requirements.txt +++ b/huaweicloud-sdk-idme/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-idme/setup.py b/huaweicloud-sdk-idme/setup.py index 0fa03f8db5..24456488fc 100644 --- a/huaweicloud-sdk-idme/setup.py +++ b/huaweicloud-sdk-idme/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidme" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py index 19f639f426..ef4dbe7631 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py @@ -1971,7 +1971,7 @@ def _compare_business_version_http_info(self, request): def compare_version_async(self, request): """对比数据实例 - 通过此接口可以对比某个模型数据实例的不同版本的属性和关系。建议使用数据建模引擎(xDM Foundation,简称xDM-F)新增的差异对比功能,即使用instance-attrs-comparison和instance-relation-comparison接口,更多内容可在应用运行态的“数据服务管理 > 全量数据服务 > 系统管理API > 属性对比API”中查看。在调用该接口前请确保数据模型具有“系统版本”功能。。 + 通过此接口可以对比某个模型数据实例的不同版本的属性和关系。建议使用数据建模引擎(xDM Foundation,简称xDM-F)新增的差异对比功能,即使用instance-attrs-comparison和instance-relation-comparison接口,更多内容可在应用运行态的“数据服务管理 > 全量数据服务 > 系统管理API > 属性对比API”中查看。在调用该接口前请确保数据模型具有“系统版本”功能。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py index 582182e3bb..1e7d8f7cfb 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py @@ -1971,7 +1971,7 @@ def _compare_business_version_http_info(cls, request): def compare_version(self, request): """对比数据实例 - 通过此接口可以对比某个模型数据实例的不同版本的属性和关系。建议使用数据建模引擎(xDM Foundation,简称xDM-F)新增的差异对比功能,即使用instance-attrs-comparison和instance-relation-comparison接口,更多内容可在应用运行态的“数据服务管理 > 全量数据服务 > 系统管理API > 属性对比API”中查看。在调用该接口前请确保数据模型具有“系统版本”功能。。 + 通过此接口可以对比某个模型数据实例的不同版本的属性和关系。建议使用数据建模引擎(xDM Foundation,简称xDM-F)新增的差异对比功能,即使用instance-attrs-comparison和instance-relation-comparison接口,更多内容可在应用运行态的“数据服务管理 > 全量数据服务 > 系统管理API > 属性对比API”中查看。在调用该接口前请确保数据模型具有“系统版本”功能。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py index 40124a8a2c..266b3bbc47 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py @@ -33,7 +33,7 @@ def __init__(self, id=None, lifecycle_state=None, modifier=None): The model defined in huaweicloud sdk - :param id: 唯一标识。 + :param id: 数据实例ID。 :type id: str :param lifecycle_state: :type lifecycle_state: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` @@ -57,7 +57,7 @@ def __init__(self, id=None, lifecycle_state=None, modifier=None): def id(self): """Gets the id of this LifecycleManagedModelUpdateLifecycleStateDTO. - 唯一标识。 + 数据实例ID。 :return: The id of this LifecycleManagedModelUpdateLifecycleStateDTO. :rtype: str @@ -68,7 +68,7 @@ def id(self): def id(self, id): """Sets the id of this LifecycleManagedModelUpdateLifecycleStateDTO. - 唯一标识。 + 数据实例ID。 :param id: The id of this LifecycleManagedModelUpdateLifecycleStateDTO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py index b8e30a7d8c..4a8c3d72f4 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py @@ -43,7 +43,7 @@ def __init__(self, modifier=None, version_id=None, work_copy_type=None, custom_l :type modifier: str :param version_id: 版本对象ID。 :type version_id: str - :param work_copy_type: 关系的复制类型。 BOTH:复制当前M-V模型作为源端与目标端的关系。 CUSTOM:自定义复制当前M-V模型的关系。 NONE:不复制当前M-V模型的关系。 SOURCE:仅复制当前M-V模型作为源端的关系。 TARGET:仅复制当前M-V模型作为目标端的关系。 + :param work_copy_type: 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :type work_copy_type: str :param custom_link_set: 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 :type custom_link_set: list[str] @@ -122,7 +122,7 @@ def version_id(self, version_id): def work_copy_type(self): """Gets the work_copy_type of this MultiViewModelVersionViewCreateDTO. - 关系的复制类型。 BOTH:复制当前M-V模型作为源端与目标端的关系。 CUSTOM:自定义复制当前M-V模型的关系。 NONE:不复制当前M-V模型的关系。 SOURCE:仅复制当前M-V模型作为源端的关系。 TARGET:仅复制当前M-V模型作为目标端的关系。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :return: The work_copy_type of this MultiViewModelVersionViewCreateDTO. :rtype: str @@ -133,7 +133,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this MultiViewModelVersionViewCreateDTO. - 关系的复制类型。 BOTH:复制当前M-V模型作为源端与目标端的关系。 CUSTOM:自定义复制当前M-V模型的关系。 NONE:不复制当前M-V模型的关系。 SOURCE:仅复制当前M-V模型作为源端的关系。 TARGET:仅复制当前M-V模型作为目标端的关系。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :param work_copy_type: The work_copy_type of this MultiViewModelVersionViewCreateDTO. :type work_copy_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py index 5972cdc073..2ad3f1ff57 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py @@ -33,7 +33,7 @@ def __init__(self, clazz=None, id=None): :param clazz: 类名。 :type clazz: str - :param id: 唯一标识。 + :param id: 数据实例ID。 :type id: str """ @@ -73,7 +73,7 @@ def clazz(self, clazz): def id(self): """Gets the id of this ObjectReferenceParamDTO. - 唯一标识。 + 数据实例ID。 :return: The id of this ObjectReferenceParamDTO. :rtype: str @@ -84,7 +84,7 @@ def id(self): def id(self, id): """Sets the id of this ObjectReferenceParamDTO. - 唯一标识。 + 数据实例ID。 :param id: The id of this ObjectReferenceParamDTO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/requirements.txt b/huaweicloud-sdk-idmeclassicapi/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-idmeclassicapi/requirements.txt +++ b/huaweicloud-sdk-idmeclassicapi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-idmeclassicapi/setup.py b/huaweicloud-sdk-idmeclassicapi/setup.py index 57aac56544..b62cef473b 100644 --- a/huaweicloud-sdk-idmeclassicapi/setup.py +++ b/huaweicloud-sdk-idmeclassicapi/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidmeclassicapi" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iec/requirements.txt b/huaweicloud-sdk-iec/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-iec/requirements.txt +++ b/huaweicloud-sdk-iec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-iec/setup.py b/huaweicloud-sdk-iec/setup.py index 8c1684462f..d41a81637d 100644 --- a/huaweicloud-sdk-iec/setup.py +++ b/huaweicloud-sdk-iec/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiec" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ief/requirements.txt b/huaweicloud-sdk-ief/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ief/requirements.txt +++ b/huaweicloud-sdk-ief/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ief/setup.py b/huaweicloud-sdk-ief/setup.py index 14de95982e..b17634a1cd 100644 --- a/huaweicloud-sdk-ief/setup.py +++ b/huaweicloud-sdk-ief/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkief" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-image/requirements.txt b/huaweicloud-sdk-image/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-image/requirements.txt +++ b/huaweicloud-sdk-image/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-image/setup.py b/huaweicloud-sdk-image/setup.py index 30359b0e21..ac33101f64 100644 --- a/huaweicloud-sdk-image/setup.py +++ b/huaweicloud-sdk-image/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkimage" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-imagesearch/requirements.txt b/huaweicloud-sdk-imagesearch/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-imagesearch/requirements.txt +++ b/huaweicloud-sdk-imagesearch/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-imagesearch/setup.py b/huaweicloud-sdk-imagesearch/setup.py index 9d79332100..b4a8258c03 100644 --- a/huaweicloud-sdk-imagesearch/setup.py +++ b/huaweicloud-sdk-imagesearch/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkimagesearch" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ims/requirements.txt b/huaweicloud-sdk-ims/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ims/requirements.txt +++ b/huaweicloud-sdk-ims/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ims/setup.py b/huaweicloud-sdk-ims/setup.py index 27e31bb29b..8ce83e32cb 100644 --- a/huaweicloud-sdk-ims/setup.py +++ b/huaweicloud-sdk-ims/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkims" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotanalytics/requirements.txt b/huaweicloud-sdk-iotanalytics/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-iotanalytics/requirements.txt +++ b/huaweicloud-sdk-iotanalytics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-iotanalytics/setup.py b/huaweicloud-sdk-iotanalytics/setup.py index 95e2c40593..d9e24c7edb 100644 --- a/huaweicloud-sdk-iotanalytics/setup.py +++ b/huaweicloud-sdk-iotanalytics/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiotanalytics" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotda/requirements.txt b/huaweicloud-sdk-iotda/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-iotda/requirements.txt +++ b/huaweicloud-sdk-iotda/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-iotda/setup.py b/huaweicloud-sdk-iotda/setup.py index af3d331ea0..5a9627c325 100644 --- a/huaweicloud-sdk-iotda/setup.py +++ b/huaweicloud-sdk-iotda/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiotda" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotedge/requirements.txt b/huaweicloud-sdk-iotedge/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-iotedge/requirements.txt +++ b/huaweicloud-sdk-iotedge/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-iotedge/setup.py b/huaweicloud-sdk-iotedge/setup.py index 9c0d52fa86..bfb23a3ce7 100644 --- a/huaweicloud-sdk-iotedge/setup.py +++ b/huaweicloud-sdk-iotedge/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiotedge" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ivs/requirements.txt b/huaweicloud-sdk-ivs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ivs/requirements.txt +++ b/huaweicloud-sdk-ivs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ivs/setup.py b/huaweicloud-sdk-ivs/setup.py index 47599940d5..29761e9dd4 100644 --- a/huaweicloud-sdk-ivs/setup.py +++ b/huaweicloud-sdk-ivs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkivs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kafka/requirements.txt b/huaweicloud-sdk-kafka/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-kafka/requirements.txt +++ b/huaweicloud-sdk-kafka/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-kafka/setup.py b/huaweicloud-sdk-kafka/setup.py index 180df37cfe..c828c1832c 100644 --- a/huaweicloud-sdk-kafka/setup.py +++ b/huaweicloud-sdk-kafka/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkafka" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kms/requirements.txt b/huaweicloud-sdk-kms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-kms/requirements.txt +++ b/huaweicloud-sdk-kms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-kms/setup.py b/huaweicloud-sdk-kms/setup.py index 9bf7c8263e..3e847e290e 100644 --- a/huaweicloud-sdk-kms/setup.py +++ b/huaweicloud-sdk-kms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-koomessage/requirements.txt b/huaweicloud-sdk-koomessage/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-koomessage/requirements.txt +++ b/huaweicloud-sdk-koomessage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-koomessage/setup.py b/huaweicloud-sdk-koomessage/setup.py index 4c3a6c33fa..f2dc3cef24 100644 --- a/huaweicloud-sdk-koomessage/setup.py +++ b/huaweicloud-sdk-koomessage/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkoomessage" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kps/requirements.txt b/huaweicloud-sdk-kps/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-kps/requirements.txt +++ b/huaweicloud-sdk-kps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-kps/setup.py b/huaweicloud-sdk-kps/setup.py index d816e18b5f..4340bb68bf 100644 --- a/huaweicloud-sdk-kps/setup.py +++ b/huaweicloud-sdk-kps/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkps" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lakeformation/requirements.txt b/huaweicloud-sdk-lakeformation/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-lakeformation/requirements.txt +++ b/huaweicloud-sdk-lakeformation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-lakeformation/setup.py b/huaweicloud-sdk-lakeformation/setup.py index 86685027e8..aa8ffa24b4 100644 --- a/huaweicloud-sdk-lakeformation/setup.py +++ b/huaweicloud-sdk-lakeformation/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdklakeformation" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-live/requirements.txt b/huaweicloud-sdk-live/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-live/requirements.txt +++ b/huaweicloud-sdk-live/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-live/setup.py b/huaweicloud-sdk-live/setup.py index 84c7fa456e..f6666f259e 100644 --- a/huaweicloud-sdk-live/setup.py +++ b/huaweicloud-sdk-live/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdklive" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lts/requirements.txt b/huaweicloud-sdk-lts/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-lts/requirements.txt +++ b/huaweicloud-sdk-lts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-lts/setup.py b/huaweicloud-sdk-lts/setup.py index c852b82197..fc4c96500e 100644 --- a/huaweicloud-sdk-lts/setup.py +++ b/huaweicloud-sdk-lts/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdklts" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mapds/requirements.txt b/huaweicloud-sdk-mapds/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-mapds/requirements.txt +++ b/huaweicloud-sdk-mapds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-mapds/setup.py b/huaweicloud-sdk-mapds/setup.py index dcedc71503..195064aa45 100644 --- a/huaweicloud-sdk-mapds/setup.py +++ b/huaweicloud-sdk-mapds/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmapds" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mas/requirements.txt b/huaweicloud-sdk-mas/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-mas/requirements.txt +++ b/huaweicloud-sdk-mas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-mas/setup.py b/huaweicloud-sdk-mas/setup.py index f631c08f94..6e9a707b47 100644 --- a/huaweicloud-sdk-mas/setup.py +++ b/huaweicloud-sdk-mas/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmas" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-meeting/requirements.txt b/huaweicloud-sdk-meeting/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-meeting/requirements.txt +++ b/huaweicloud-sdk-meeting/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-meeting/setup.py b/huaweicloud-sdk-meeting/setup.py index aaf4c242e6..76244abac4 100644 --- a/huaweicloud-sdk-meeting/setup.py +++ b/huaweicloud-sdk-meeting/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmeeting" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py index 9a39d763db..a8272883d5 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py @@ -12,6 +12,7 @@ from huaweicloudsdkmetastudio.v1.model.animation_item import AnimationItem from huaweicloudsdkmetastudio.v1.model.asset_extra_meta import AssetExtraMeta from huaweicloudsdkmetastudio.v1.model.asset_file_info import AssetFileInfo +from huaweicloudsdkmetastudio.v1.model.audio_asset_meta import AudioAssetMeta from huaweicloudsdkmetastudio.v1.model.audit_result_admin_audit_result import AuditResultAdminAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result import AuditResultSystemAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result_errors import AuditResultSystemAuditResultErrors @@ -159,12 +160,12 @@ from huaweicloudsdkmetastudio.v1.model.human_model2_d_asset_meta import HumanModel2DAssetMeta from huaweicloudsdkmetastudio.v1.model.human_model_asset_meta import HumanModelAssetMeta from huaweicloudsdkmetastudio.v1.model.human_model_meta_properties import HumanModelMetaProperties -from huaweicloudsdkmetastudio.v1.model.human_position2_d import HumanPosition2D -from huaweicloudsdkmetastudio.v1.model.human_size2_d import HumanSize2D from huaweicloudsdkmetastudio.v1.model.iflytek_aiui_config import IflytekAiuiConfig from huaweicloudsdkmetastudio.v1.model.iflytek_spark import IflytekSpark +from huaweicloudsdkmetastudio.v1.model.image_asset_meta import ImageAssetMeta from huaweicloudsdkmetastudio.v1.model.image_layer_config import ImageLayerConfig from huaweicloudsdkmetastudio.v1.model.inference_action_mark_info import InferenceActionMarkInfo +from huaweicloudsdkmetastudio.v1.model.inference_eye_correction_mark_info import InferenceEyeCorrectionMarkInfo from huaweicloudsdkmetastudio.v1.model.inference_video_mark_info import InferenceVideoMarkInfo from huaweicloudsdkmetastudio.v1.model.input_info import InputInfo from huaweicloudsdkmetastudio.v1.model.interaction_rule_detail_info import InteractionRuleDetailInfo @@ -341,6 +342,7 @@ from huaweicloudsdkmetastudio.v1.model.training_job_basic_info import TrainingJobBasicInfo from huaweicloudsdkmetastudio.v1.model.training_job_info import TrainingJobInfo from huaweicloudsdkmetastudio.v1.model.trigger_process import TriggerProcess +from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_req import Update2dModelTrainingJobReq from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_request import Update2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_response import Update2dModelTrainingJobResponse from huaweicloudsdkmetastudio.v1.model.update_active_code_req import UpdateActiveCodeReq @@ -363,6 +365,7 @@ from huaweicloudsdkmetastudio.v1.model.update_video_script_request import UpdateVideoScriptRequest from huaweicloudsdkmetastudio.v1.model.update_video_script_response import UpdateVideoScriptResponse from huaweicloudsdkmetastudio.v1.model.update_video_scripts_req import UpdateVideoScriptsReq +from huaweicloudsdkmetastudio.v1.model.video_asset_meta import VideoAssetMeta from huaweicloudsdkmetastudio.v1.model.video_config import VideoConfig from huaweicloudsdkmetastudio.v1.model.video_layer_config import VideoLayerConfig from huaweicloudsdkmetastudio.v1.model.video_motion_capture_info import VideoMotionCaptureInfo diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py index 8985e57c5d..27b66dc76a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py @@ -785,9 +785,9 @@ def create_digital_asset_async(self, request): """创建资产 该接口用于在资产库中添加上传新的媒体资产。可上传的资产类型包括:分身数字人模型、背景图片、素材图片、素材视频、PPT等。 - * > 资产类型是IMAGE时,通过system_properties来区分背景图片(BACKGROUND_IMG)、素材图片(MATERIAL_IMG)。 - * > 资产类型是VIDEO时,通过system_properties来区分素材视频(MATERIAL_VIDEO)、名片视频(BUSSINESS_CARD_VIDEO)。 - * > MetaStudio平台生成的视频,system_properties带CREATED_BY_PLATFORM。 + > - 资产类型是IMAGE时,通过system_properties来区分背景图片(BACKGROUND_IMG)、素材图片(MATERIAL_IMG)。 + > - 资产类型是VIDEO时,通过system_properties来区分素材视频(MATERIAL_VIDEO)、名片视频(BUSSINESS_CARD_VIDEO)。 + > - MetaStudio平台生成的视频,system_properties带CREATED_BY_PLATFORM。 Please refer to HUAWEI cloud API Explorer for details. @@ -1063,8 +1063,6 @@ def _list_assets_http_info(self, request): query_params.append(('role', local_var_params['role'])) header_params = {} - if 'x_real_ip' in local_var_params: - header_params['X-REAL-IP'] = local_var_params['x_real_ip'] if 'x_app_user_id' in local_var_params: header_params['X-App-UserId'] = local_var_params['x_app_user_id'] @@ -3069,6 +3067,8 @@ def _list_robot_http_info(self, request): query_params.append(('offset', local_var_params['offset'])) if 'limit' in local_var_params: query_params.append(('limit', local_var_params['limit'])) + if 'room_id' in local_var_params: + query_params.append(('room_id', local_var_params['room_id'])) header_params = {} if 'x_app_user_id' in local_var_params: @@ -3653,9 +3653,9 @@ def _execute_smart_live_command_http_info(self, request): return http_info def list_smart_live_async(self, request): - """查询数字人智能直播任务列表 + """查询某个智能直播间下直播任务列表 - 该接口用于查询数字人智能直播任务列表。 + 该接口用于查询某个智能直播间的直播任务列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -3734,9 +3734,9 @@ def _list_smart_live_http_info(self, request): return http_info def list_smart_live_jobs_async(self, request): - """查询数字人智能直播任务列表 + """查询租户所有数字人直播任务列表 - 该接口用于查询数字人智能直播任务列表。 + 该接口用于查询租户所有数字人智能直播任务列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -5345,11 +5345,11 @@ def _confirm_training_segment_http_info(self, request): def create_training_advance_job_async(self, request): """创建高级版语音训练任务 - 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 - 仅支持zip包方式上传语音文件: - * 语音文件打包成zip上传:上传的训练数据为一个zip格式压缩文件,其中包含一段wav格式的长音频文件。 + 用户创建语音训练高级版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + + 语音文件为一段WAV格式的长音频文件,仅支持将语音文件打包成zip压缩格式上传。 - > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 + 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 Please refer to HUAWEI cloud API Explorer for details. @@ -5416,12 +5416,13 @@ def _create_training_advance_job_http_info(self, request): def create_training_basic_job_async(self, request): """创建基础版语音训练任务 - 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 支持2种方式上传语音文件: * 语音文件和文本文件打包成zip上传:语音文件已经切分成20个wav文件,每个语音文件对应一个txt文本文件,所有文件打包成zip文件。语音文件命名规则:0.wav~19.wav;文本文件命名规则:0.txt~19.txt。 * 语音文件和文本文件逐句上传:每次上传一句语料的语音文件和文本文件,再调用“确认在线录音结果”接口确认语音和文本内容是否一致。确认成功后再上传和确认下一句。 - > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 + 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 Please refer to HUAWEI cloud API Explorer for details. @@ -5488,12 +5489,13 @@ def _create_training_basic_job_http_info(self, request): def create_training_middle_job_async(self, request): """创建进阶版语音训练任务 - 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 用户创建语音训练进阶版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 支持2种方式上传语音文件: * 语音文件和文本文件打包成zip上传:语音文件已经切分成100个wav文件,每个语音文件对应一个txt文本文件,所有文件打包成zip文件。语音文件命名规则:0.wav~99.wav;文本文件命名规则:0.txt~99.txt。 * 语音文件和文本文件逐句上传:每次上传一句语料的语音文件和文本文件,再调用“确认在线录音结果”接口确认语音和文本内容是否一致。确认成功后再上传和确认下一句。 - > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 + 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 Please refer to HUAWEI cloud API Explorer for details. @@ -6211,8 +6213,6 @@ def _list2d_model_training_job_http_info(self, request): query_params.append(('offset', local_var_params['offset'])) if 'limit' in local_var_params: query_params.append(('limit', local_var_params['limit'])) - if 'state' in local_var_params: - query_params.append(('state', local_var_params['state'])) if 'sort_key' in local_var_params: query_params.append(('sort_key', local_var_params['sort_key'])) if 'sort_dir' in local_var_params: @@ -6221,6 +6221,10 @@ def _list2d_model_training_job_http_info(self, request): query_params.append(('create_until', local_var_params['create_until'])) if 'create_since' in local_var_params: query_params.append(('create_since', local_var_params['create_since'])) + if 'state' in local_var_params: + query_params.append(('state', local_var_params['state'])) + if 'query_project_id' in local_var_params: + query_params.append(('query_project_id', local_var_params['query_project_id'])) if 'batch_name' in local_var_params: query_params.append(('batch_name', local_var_params['batch_name'])) if 'tag' in local_var_params: @@ -6229,6 +6233,8 @@ def _list2d_model_training_job_http_info(self, request): query_params.append(('job_id', local_var_params['job_id'])) if 'name' in local_var_params: query_params.append(('name', local_var_params['name'])) + if 'model_resolution' in local_var_params: + query_params.append(('model_resolution', local_var_params['model_resolution'])) header_params = {} if 'x_app_user_id' in local_var_params: diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py index 2f36140552..2d48167232 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py @@ -785,9 +785,9 @@ def create_digital_asset(self, request): """创建资产 该接口用于在资产库中添加上传新的媒体资产。可上传的资产类型包括:分身数字人模型、背景图片、素材图片、素材视频、PPT等。 - * > 资产类型是IMAGE时,通过system_properties来区分背景图片(BACKGROUND_IMG)、素材图片(MATERIAL_IMG)。 - * > 资产类型是VIDEO时,通过system_properties来区分素材视频(MATERIAL_VIDEO)、名片视频(BUSSINESS_CARD_VIDEO)。 - * > MetaStudio平台生成的视频,system_properties带CREATED_BY_PLATFORM。 + > - 资产类型是IMAGE时,通过system_properties来区分背景图片(BACKGROUND_IMG)、素材图片(MATERIAL_IMG)。 + > - 资产类型是VIDEO时,通过system_properties来区分素材视频(MATERIAL_VIDEO)、名片视频(BUSSINESS_CARD_VIDEO)。 + > - MetaStudio平台生成的视频,system_properties带CREATED_BY_PLATFORM。 Please refer to HUAWEI cloud API Explorer for details. @@ -1063,8 +1063,6 @@ def _list_assets_http_info(cls, request): query_params.append(('role', local_var_params['role'])) header_params = {} - if 'x_real_ip' in local_var_params: - header_params['X-REAL-IP'] = local_var_params['x_real_ip'] if 'x_app_user_id' in local_var_params: header_params['X-App-UserId'] = local_var_params['x_app_user_id'] @@ -3069,6 +3067,8 @@ def _list_robot_http_info(cls, request): query_params.append(('offset', local_var_params['offset'])) if 'limit' in local_var_params: query_params.append(('limit', local_var_params['limit'])) + if 'room_id' in local_var_params: + query_params.append(('room_id', local_var_params['room_id'])) header_params = {} if 'x_app_user_id' in local_var_params: @@ -3653,9 +3653,9 @@ def _execute_smart_live_command_http_info(cls, request): return http_info def list_smart_live(self, request): - """查询数字人智能直播任务列表 + """查询某个智能直播间下直播任务列表 - 该接口用于查询数字人智能直播任务列表。 + 该接口用于查询某个智能直播间的直播任务列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -3734,9 +3734,9 @@ def _list_smart_live_http_info(cls, request): return http_info def list_smart_live_jobs(self, request): - """查询数字人智能直播任务列表 + """查询租户所有数字人直播任务列表 - 该接口用于查询数字人智能直播任务列表。 + 该接口用于查询租户所有数字人智能直播任务列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -5345,11 +5345,11 @@ def _confirm_training_segment_http_info(cls, request): def create_training_advance_job(self, request): """创建高级版语音训练任务 - 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 - 仅支持zip包方式上传语音文件: - * 语音文件打包成zip上传:上传的训练数据为一个zip格式压缩文件,其中包含一段wav格式的长音频文件。 + 用户创建语音训练高级版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + + 语音文件为一段WAV格式的长音频文件,仅支持将语音文件打包成zip压缩格式上传。 - > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 + 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 Please refer to HUAWEI cloud API Explorer for details. @@ -5416,12 +5416,13 @@ def _create_training_advance_job_http_info(cls, request): def create_training_basic_job(self, request): """创建基础版语音训练任务 - 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 支持2种方式上传语音文件: * 语音文件和文本文件打包成zip上传:语音文件已经切分成20个wav文件,每个语音文件对应一个txt文本文件,所有文件打包成zip文件。语音文件命名规则:0.wav~19.wav;文本文件命名规则:0.txt~19.txt。 * 语音文件和文本文件逐句上传:每次上传一句语料的语音文件和文本文件,再调用“确认在线录音结果”接口确认语音和文本内容是否一致。确认成功后再上传和确认下一句。 - > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 + 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 Please refer to HUAWEI cloud API Explorer for details. @@ -5488,12 +5489,13 @@ def _create_training_basic_job_http_info(cls, request): def create_training_middle_job(self, request): """创建进阶版语音训练任务 - 用户创建语音训练基础版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 用户创建语音训练进阶版任务,该接口会返回一个obs上传地址,用于上传语音文件。 + 支持2种方式上传语音文件: * 语音文件和文本文件打包成zip上传:语音文件已经切分成100个wav文件,每个语音文件对应一个txt文本文件,所有文件打包成zip文件。语音文件命名规则:0.wav~99.wav;文本文件命名规则:0.txt~99.txt。 * 语音文件和文本文件逐句上传:每次上传一句语料的语音文件和文本文件,再调用“确认在线录音结果”接口确认语音和文本内容是否一致。确认成功后再上传和确认下一句。 - > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 + 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。 Please refer to HUAWEI cloud API Explorer for details. @@ -6211,8 +6213,6 @@ def _list2d_model_training_job_http_info(cls, request): query_params.append(('offset', local_var_params['offset'])) if 'limit' in local_var_params: query_params.append(('limit', local_var_params['limit'])) - if 'state' in local_var_params: - query_params.append(('state', local_var_params['state'])) if 'sort_key' in local_var_params: query_params.append(('sort_key', local_var_params['sort_key'])) if 'sort_dir' in local_var_params: @@ -6221,6 +6221,10 @@ def _list2d_model_training_job_http_info(cls, request): query_params.append(('create_until', local_var_params['create_until'])) if 'create_since' in local_var_params: query_params.append(('create_since', local_var_params['create_since'])) + if 'state' in local_var_params: + query_params.append(('state', local_var_params['state'])) + if 'query_project_id' in local_var_params: + query_params.append(('query_project_id', local_var_params['query_project_id'])) if 'batch_name' in local_var_params: query_params.append(('batch_name', local_var_params['batch_name'])) if 'tag' in local_var_params: @@ -6229,6 +6233,8 @@ def _list2d_model_training_job_http_info(cls, request): query_params.append(('job_id', local_var_params['job_id'])) if 'name' in local_var_params: query_params.append(('name', local_var_params['name'])) + if 'model_resolution' in local_var_params: + query_params.append(('model_resolution', local_var_params['model_resolution'])) header_params = {} if 'x_app_user_id' in local_var_params: diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py index 87b1ebbe9c..2dd5705a7b 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py @@ -10,6 +10,7 @@ from huaweicloudsdkmetastudio.v1.model.animation_item import AnimationItem from huaweicloudsdkmetastudio.v1.model.asset_extra_meta import AssetExtraMeta from huaweicloudsdkmetastudio.v1.model.asset_file_info import AssetFileInfo +from huaweicloudsdkmetastudio.v1.model.audio_asset_meta import AudioAssetMeta from huaweicloudsdkmetastudio.v1.model.audit_result_admin_audit_result import AuditResultAdminAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result import AuditResultSystemAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result_errors import AuditResultSystemAuditResultErrors @@ -157,12 +158,12 @@ from huaweicloudsdkmetastudio.v1.model.human_model2_d_asset_meta import HumanModel2DAssetMeta from huaweicloudsdkmetastudio.v1.model.human_model_asset_meta import HumanModelAssetMeta from huaweicloudsdkmetastudio.v1.model.human_model_meta_properties import HumanModelMetaProperties -from huaweicloudsdkmetastudio.v1.model.human_position2_d import HumanPosition2D -from huaweicloudsdkmetastudio.v1.model.human_size2_d import HumanSize2D from huaweicloudsdkmetastudio.v1.model.iflytek_aiui_config import IflytekAiuiConfig from huaweicloudsdkmetastudio.v1.model.iflytek_spark import IflytekSpark +from huaweicloudsdkmetastudio.v1.model.image_asset_meta import ImageAssetMeta from huaweicloudsdkmetastudio.v1.model.image_layer_config import ImageLayerConfig from huaweicloudsdkmetastudio.v1.model.inference_action_mark_info import InferenceActionMarkInfo +from huaweicloudsdkmetastudio.v1.model.inference_eye_correction_mark_info import InferenceEyeCorrectionMarkInfo from huaweicloudsdkmetastudio.v1.model.inference_video_mark_info import InferenceVideoMarkInfo from huaweicloudsdkmetastudio.v1.model.input_info import InputInfo from huaweicloudsdkmetastudio.v1.model.interaction_rule_detail_info import InteractionRuleDetailInfo @@ -339,6 +340,7 @@ from huaweicloudsdkmetastudio.v1.model.training_job_basic_info import TrainingJobBasicInfo from huaweicloudsdkmetastudio.v1.model.training_job_info import TrainingJobInfo from huaweicloudsdkmetastudio.v1.model.trigger_process import TriggerProcess +from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_req import Update2dModelTrainingJobReq from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_request import Update2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_response import Update2dModelTrainingJobResponse from huaweicloudsdkmetastudio.v1.model.update_active_code_req import UpdateActiveCodeReq @@ -361,6 +363,7 @@ from huaweicloudsdkmetastudio.v1.model.update_video_script_request import UpdateVideoScriptRequest from huaweicloudsdkmetastudio.v1.model.update_video_script_response import UpdateVideoScriptResponse from huaweicloudsdkmetastudio.v1.model.update_video_scripts_req import UpdateVideoScriptsReq +from huaweicloudsdkmetastudio.v1.model.video_asset_meta import VideoAssetMeta from huaweicloudsdkmetastudio.v1.model.video_config import VideoConfig from huaweicloudsdkmetastudio.v1.model.video_layer_config import VideoLayerConfig from huaweicloudsdkmetastudio.v1.model.video_motion_capture_info import VideoMotionCaptureInfo diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/asset_extra_meta.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/asset_extra_meta.py index cfe4efcc08..fc28f3a7cb 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/asset_extra_meta.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/asset_extra_meta.py @@ -23,7 +23,10 @@ class AssetExtraMeta: 'animation_meta': 'AnimationAssetMeta', 'scene_meta': 'SceneAssetMeta', 'material_meta': 'MaterialAssetMeta', - 'human_model_2d_meta': 'HumanModel2DAssetMeta' + 'human_model_2d_meta': 'HumanModel2DAssetMeta', + 'image_meta': 'ImageAssetMeta', + 'video_meta': 'VideoAssetMeta', + 'audio_meta': 'AudioAssetMeta' } attribute_map = { @@ -33,10 +36,13 @@ class AssetExtraMeta: 'animation_meta': 'animation_meta', 'scene_meta': 'scene_meta', 'material_meta': 'material_meta', - 'human_model_2d_meta': 'human_model_2d_meta' + 'human_model_2d_meta': 'human_model_2d_meta', + 'image_meta': 'image_meta', + 'video_meta': 'video_meta', + 'audio_meta': 'audio_meta' } - def __init__(self, human_model_meta=None, voice_model_meta=None, ppt_meta=None, animation_meta=None, scene_meta=None, material_meta=None, human_model_2d_meta=None): + def __init__(self, human_model_meta=None, voice_model_meta=None, ppt_meta=None, animation_meta=None, scene_meta=None, material_meta=None, human_model_2d_meta=None, image_meta=None, video_meta=None, audio_meta=None): """AssetExtraMeta The model defined in huaweicloud sdk @@ -55,6 +61,12 @@ def __init__(self, human_model_meta=None, voice_model_meta=None, ppt_meta=None, :type material_meta: :class:`huaweicloudsdkmetastudio.v1.MaterialAssetMeta` :param human_model_2d_meta: :type human_model_2d_meta: :class:`huaweicloudsdkmetastudio.v1.HumanModel2DAssetMeta` + :param image_meta: + :type image_meta: :class:`huaweicloudsdkmetastudio.v1.ImageAssetMeta` + :param video_meta: + :type video_meta: :class:`huaweicloudsdkmetastudio.v1.VideoAssetMeta` + :param audio_meta: + :type audio_meta: :class:`huaweicloudsdkmetastudio.v1.AudioAssetMeta` """ @@ -66,6 +78,9 @@ def __init__(self, human_model_meta=None, voice_model_meta=None, ppt_meta=None, self._scene_meta = None self._material_meta = None self._human_model_2d_meta = None + self._image_meta = None + self._video_meta = None + self._audio_meta = None self.discriminator = None if human_model_meta is not None: @@ -82,6 +97,12 @@ def __init__(self, human_model_meta=None, voice_model_meta=None, ppt_meta=None, self.material_meta = material_meta if human_model_2d_meta is not None: self.human_model_2d_meta = human_model_2d_meta + if image_meta is not None: + self.image_meta = image_meta + if video_meta is not None: + self.video_meta = video_meta + if audio_meta is not None: + self.audio_meta = audio_meta @property def human_model_meta(self): @@ -209,6 +230,60 @@ def human_model_2d_meta(self, human_model_2d_meta): """ self._human_model_2d_meta = human_model_2d_meta + @property + def image_meta(self): + """Gets the image_meta of this AssetExtraMeta. + + :return: The image_meta of this AssetExtraMeta. + :rtype: :class:`huaweicloudsdkmetastudio.v1.ImageAssetMeta` + """ + return self._image_meta + + @image_meta.setter + def image_meta(self, image_meta): + """Sets the image_meta of this AssetExtraMeta. + + :param image_meta: The image_meta of this AssetExtraMeta. + :type image_meta: :class:`huaweicloudsdkmetastudio.v1.ImageAssetMeta` + """ + self._image_meta = image_meta + + @property + def video_meta(self): + """Gets the video_meta of this AssetExtraMeta. + + :return: The video_meta of this AssetExtraMeta. + :rtype: :class:`huaweicloudsdkmetastudio.v1.VideoAssetMeta` + """ + return self._video_meta + + @video_meta.setter + def video_meta(self, video_meta): + """Sets the video_meta of this AssetExtraMeta. + + :param video_meta: The video_meta of this AssetExtraMeta. + :type video_meta: :class:`huaweicloudsdkmetastudio.v1.VideoAssetMeta` + """ + self._video_meta = video_meta + + @property + def audio_meta(self): + """Gets the audio_meta of this AssetExtraMeta. + + :return: The audio_meta of this AssetExtraMeta. + :rtype: :class:`huaweicloudsdkmetastudio.v1.AudioAssetMeta` + """ + return self._audio_meta + + @audio_meta.setter + def audio_meta(self, audio_meta): + """Sets the audio_meta of this AssetExtraMeta. + + :param audio_meta: The audio_meta of this AssetExtraMeta. + :type audio_meta: :class:`huaweicloudsdkmetastudio.v1.AudioAssetMeta` + """ + self._audio_meta = audio_meta + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_asset_meta.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_asset_meta.py new file mode 100644 index 0000000000..42b21c0a89 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_asset_meta.py @@ -0,0 +1,256 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class AudioAssetMeta: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'duration': 'int', + 'audio_codec': 'str', + 'audio_bit_rate': 'int', + 'audio_channels': 'int', + 'sample': 'int', + 'error_info': 'ErrorResponse' + } + + attribute_map = { + 'duration': 'duration', + 'audio_codec': 'audio_codec', + 'audio_bit_rate': 'audio_bit_rate', + 'audio_channels': 'audio_channels', + 'sample': 'sample', + 'error_info': 'error_info' + } + + def __init__(self, duration=None, audio_codec=None, audio_bit_rate=None, audio_channels=None, sample=None, error_info=None): + """AudioAssetMeta + + The model defined in huaweicloud sdk + + :param duration: 时长,单位秒 + :type duration: int + :param audio_codec: 音频编码格式 + :type audio_codec: str + :param audio_bit_rate: 音频平均码率,单位kbps + :type audio_bit_rate: int + :param audio_channels: 音频声道数 + :type audio_channels: int + :param sample: 采样率,HZ + :type sample: int + :param error_info: + :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + + + + self._duration = None + self._audio_codec = None + self._audio_bit_rate = None + self._audio_channels = None + self._sample = None + self._error_info = None + self.discriminator = None + + if duration is not None: + self.duration = duration + if audio_codec is not None: + self.audio_codec = audio_codec + if audio_bit_rate is not None: + self.audio_bit_rate = audio_bit_rate + if audio_channels is not None: + self.audio_channels = audio_channels + if sample is not None: + self.sample = sample + if error_info is not None: + self.error_info = error_info + + @property + def duration(self): + """Gets the duration of this AudioAssetMeta. + + 时长,单位秒 + + :return: The duration of this AudioAssetMeta. + :rtype: int + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this AudioAssetMeta. + + 时长,单位秒 + + :param duration: The duration of this AudioAssetMeta. + :type duration: int + """ + self._duration = duration + + @property + def audio_codec(self): + """Gets the audio_codec of this AudioAssetMeta. + + 音频编码格式 + + :return: The audio_codec of this AudioAssetMeta. + :rtype: str + """ + return self._audio_codec + + @audio_codec.setter + def audio_codec(self, audio_codec): + """Sets the audio_codec of this AudioAssetMeta. + + 音频编码格式 + + :param audio_codec: The audio_codec of this AudioAssetMeta. + :type audio_codec: str + """ + self._audio_codec = audio_codec + + @property + def audio_bit_rate(self): + """Gets the audio_bit_rate of this AudioAssetMeta. + + 音频平均码率,单位kbps + + :return: The audio_bit_rate of this AudioAssetMeta. + :rtype: int + """ + return self._audio_bit_rate + + @audio_bit_rate.setter + def audio_bit_rate(self, audio_bit_rate): + """Sets the audio_bit_rate of this AudioAssetMeta. + + 音频平均码率,单位kbps + + :param audio_bit_rate: The audio_bit_rate of this AudioAssetMeta. + :type audio_bit_rate: int + """ + self._audio_bit_rate = audio_bit_rate + + @property + def audio_channels(self): + """Gets the audio_channels of this AudioAssetMeta. + + 音频声道数 + + :return: The audio_channels of this AudioAssetMeta. + :rtype: int + """ + return self._audio_channels + + @audio_channels.setter + def audio_channels(self, audio_channels): + """Sets the audio_channels of this AudioAssetMeta. + + 音频声道数 + + :param audio_channels: The audio_channels of this AudioAssetMeta. + :type audio_channels: int + """ + self._audio_channels = audio_channels + + @property + def sample(self): + """Gets the sample of this AudioAssetMeta. + + 采样率,HZ + + :return: The sample of this AudioAssetMeta. + :rtype: int + """ + return self._sample + + @sample.setter + def sample(self, sample): + """Sets the sample of this AudioAssetMeta. + + 采样率,HZ + + :param sample: The sample of this AudioAssetMeta. + :type sample: int + """ + self._sample = sample + + @property + def error_info(self): + """Gets the error_info of this AudioAssetMeta. + + :return: The error_info of this AudioAssetMeta. + :rtype: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + return self._error_info + + @error_info.setter + def error_info(self, error_info): + """Sets the error_info of this AudioAssetMeta. + + :param error_info: The error_info of this AudioAssetMeta. + :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + self._error_info = error_info + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AudioAssetMeta): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py index da0e0c343c..a6dd9689ca 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py @@ -18,41 +18,29 @@ class BackgroundConfigInfo: openapi_types = { 'background_type': 'str', - 'background_title': 'str', - 'human_position_2d': 'HumanPosition2D', - 'human_size_2d': 'HumanSize2D', - 'background_cover_url': 'str', 'background_config': 'str', + 'background_color_config': 'str', 'background_asset_id': 'str' } attribute_map = { 'background_type': 'background_type', - 'background_title': 'background_title', - 'human_position_2d': 'human_position_2d', - 'human_size_2d': 'human_size_2d', - 'background_cover_url': 'background_cover_url', 'background_config': 'background_config', + 'background_color_config': 'background_color_config', 'background_asset_id': 'background_asset_id' } - def __init__(self, background_type=None, background_title=None, human_position_2d=None, human_size_2d=None, background_cover_url=None, background_config=None, background_asset_id=None): + def __init__(self, background_type=None, background_config=None, background_color_config=None, background_asset_id=None): """BackgroundConfigInfo The model defined in huaweicloud sdk - :param background_type: 背景类型。 - IMAGE:图片,用于3D数字人演示素材讲解模式的图片或分身数字背景图片 - IMAGE_2D:图片,用于3D数字人主播播报模式的2D场景背景图片 - VIDEO:视频 - AUDIO:音频 > * 分身数字人视频制作仅支持IMAGE + :param background_type: 背景类型。 - IMAGE:图片背景,指定图片用作分身数字人背景。 - COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 :type background_type: str - :param background_title: 背景标题。 > * 分身数字人视频制作此参数不生效。 - :type background_title: str - :param human_position_2d: - :type human_position_2d: :class:`huaweicloudsdkmetastudio.v1.HumanPosition2D` - :param human_size_2d: - :type human_size_2d: :class:`huaweicloudsdkmetastudio.v1.HumanSize2D` - :param background_cover_url: 视频文件封面图片的下载URL。 演示素材为视频时有效。 > * 分身数字人视频制作此参数不生效。 - :type background_cover_url: str - :param background_config: 背景文件的URL。 > * 通过资产库查询获取,不支持外部URL。 + :param background_config: 背景文件的URL。 > * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 > * background_type=COLOR时需要填写。 :type background_config: str + :param background_color_config: 纯色背景的RGB颜色值。 > * background_type=IMAGE时需要填写。 + :type background_color_config: str :param background_asset_id: 背景资产ID。 > * 背景是背景图片时,填图片资产ID。 :type background_asset_id: str """ @@ -60,24 +48,16 @@ def __init__(self, background_type=None, background_title=None, human_position_2 self._background_type = None - self._background_title = None - self._human_position_2d = None - self._human_size_2d = None - self._background_cover_url = None self._background_config = None + self._background_color_config = None self._background_asset_id = None self.discriminator = None self.background_type = background_type - if background_title is not None: - self.background_title = background_title - if human_position_2d is not None: - self.human_position_2d = human_position_2d - if human_size_2d is not None: - self.human_size_2d = human_size_2d - if background_cover_url is not None: - self.background_cover_url = background_cover_url - self.background_config = background_config + if background_config is not None: + self.background_config = background_config + if background_color_config is not None: + self.background_color_config = background_color_config if background_asset_id is not None: self.background_asset_id = background_asset_id @@ -85,7 +65,7 @@ def __init__(self, background_type=None, background_title=None, human_position_2 def background_type(self): """Gets the background_type of this BackgroundConfigInfo. - 背景类型。 - IMAGE:图片,用于3D数字人演示素材讲解模式的图片或分身数字背景图片 - IMAGE_2D:图片,用于3D数字人主播播报模式的2D场景背景图片 - VIDEO:视频 - AUDIO:音频 > * 分身数字人视频制作仅支持IMAGE + 背景类型。 - IMAGE:图片背景,指定图片用作分身数字人背景。 - COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 :return: The background_type of this BackgroundConfigInfo. :rtype: str @@ -96,98 +76,18 @@ def background_type(self): def background_type(self, background_type): """Sets the background_type of this BackgroundConfigInfo. - 背景类型。 - IMAGE:图片,用于3D数字人演示素材讲解模式的图片或分身数字背景图片 - IMAGE_2D:图片,用于3D数字人主播播报模式的2D场景背景图片 - VIDEO:视频 - AUDIO:音频 > * 分身数字人视频制作仅支持IMAGE + 背景类型。 - IMAGE:图片背景,指定图片用作分身数字人背景。 - COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 :param background_type: The background_type of this BackgroundConfigInfo. :type background_type: str """ self._background_type = background_type - @property - def background_title(self): - """Gets the background_title of this BackgroundConfigInfo. - - 背景标题。 > * 分身数字人视频制作此参数不生效。 - - :return: The background_title of this BackgroundConfigInfo. - :rtype: str - """ - return self._background_title - - @background_title.setter - def background_title(self, background_title): - """Sets the background_title of this BackgroundConfigInfo. - - 背景标题。 > * 分身数字人视频制作此参数不生效。 - - :param background_title: The background_title of this BackgroundConfigInfo. - :type background_title: str - """ - self._background_title = background_title - - @property - def human_position_2d(self): - """Gets the human_position_2d of this BackgroundConfigInfo. - - :return: The human_position_2d of this BackgroundConfigInfo. - :rtype: :class:`huaweicloudsdkmetastudio.v1.HumanPosition2D` - """ - return self._human_position_2d - - @human_position_2d.setter - def human_position_2d(self, human_position_2d): - """Sets the human_position_2d of this BackgroundConfigInfo. - - :param human_position_2d: The human_position_2d of this BackgroundConfigInfo. - :type human_position_2d: :class:`huaweicloudsdkmetastudio.v1.HumanPosition2D` - """ - self._human_position_2d = human_position_2d - - @property - def human_size_2d(self): - """Gets the human_size_2d of this BackgroundConfigInfo. - - :return: The human_size_2d of this BackgroundConfigInfo. - :rtype: :class:`huaweicloudsdkmetastudio.v1.HumanSize2D` - """ - return self._human_size_2d - - @human_size_2d.setter - def human_size_2d(self, human_size_2d): - """Sets the human_size_2d of this BackgroundConfigInfo. - - :param human_size_2d: The human_size_2d of this BackgroundConfigInfo. - :type human_size_2d: :class:`huaweicloudsdkmetastudio.v1.HumanSize2D` - """ - self._human_size_2d = human_size_2d - - @property - def background_cover_url(self): - """Gets the background_cover_url of this BackgroundConfigInfo. - - 视频文件封面图片的下载URL。 演示素材为视频时有效。 > * 分身数字人视频制作此参数不生效。 - - :return: The background_cover_url of this BackgroundConfigInfo. - :rtype: str - """ - return self._background_cover_url - - @background_cover_url.setter - def background_cover_url(self, background_cover_url): - """Sets the background_cover_url of this BackgroundConfigInfo. - - 视频文件封面图片的下载URL。 演示素材为视频时有效。 > * 分身数字人视频制作此参数不生效。 - - :param background_cover_url: The background_cover_url of this BackgroundConfigInfo. - :type background_cover_url: str - """ - self._background_cover_url = background_cover_url - @property def background_config(self): """Gets the background_config of this BackgroundConfigInfo. - 背景文件的URL。 > * 通过资产库查询获取,不支持外部URL。 + 背景文件的URL。 > * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 > * background_type=COLOR时需要填写。 :return: The background_config of this BackgroundConfigInfo. :rtype: str @@ -198,13 +98,35 @@ def background_config(self): def background_config(self, background_config): """Sets the background_config of this BackgroundConfigInfo. - 背景文件的URL。 > * 通过资产库查询获取,不支持外部URL。 + 背景文件的URL。 > * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 > * background_type=COLOR时需要填写。 :param background_config: The background_config of this BackgroundConfigInfo. :type background_config: str """ self._background_config = background_config + @property + def background_color_config(self): + """Gets the background_color_config of this BackgroundConfigInfo. + + 纯色背景的RGB颜色值。 > * background_type=IMAGE时需要填写。 + + :return: The background_color_config of this BackgroundConfigInfo. + :rtype: str + """ + return self._background_color_config + + @background_color_config.setter + def background_color_config(self, background_color_config): + """Sets the background_color_config of this BackgroundConfigInfo. + + 纯色背景的RGB颜色值。 > * background_type=IMAGE时需要填写。 + + :param background_color_config: The background_color_config of this BackgroundConfigInfo. + :type background_color_config: str + """ + self._background_color_config = background_color_config + @property def background_asset_id(self): """Gets the background_asset_id of this BackgroundConfigInfo. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel2_d_digital_human_video_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel2_d_digital_human_video_request.py index a2a2cdc3d3..34c3d1b1ea 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel2_d_digital_human_video_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel2_d_digital_human_video_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this Cancel2DDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Cancel2DDigitalHumanVideoRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Cancel2DDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Cancel2DDigitalHumanVideoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel_photo_digital_human_video_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel_photo_digital_human_video_request.py index 5d7ecfc5c8..5d06ac286a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel_photo_digital_human_video_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/cancel_photo_digital_human_video_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this CancelPhotoDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CancelPhotoDigitalHumanVideoRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CancelPhotoDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CancelPhotoDigitalHumanVideoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/check_text_language_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/check_text_language_response.py index 40d0aa49d5..4b9a95a1d6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/check_text_language_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/check_text_language_response.py @@ -30,7 +30,7 @@ def __init__(self, result=None): The model defined in huaweicloud sdk - :param result: 语言检测状态 + :param result: 语言检测状态。 * MATCHED: 匹配 * UNMATCHED: 不匹配 :type result: str """ @@ -46,7 +46,7 @@ def __init__(self, result=None): def result(self): """Gets the result of this CheckTextLanguageResponse. - 语言检测状态 + 语言检测状态。 * MATCHED: 匹配 * UNMATCHED: 不匹配 :return: The result of this CheckTextLanguageResponse. :rtype: str @@ -57,7 +57,7 @@ def result(self): def result(self, result): """Sets the result of this CheckTextLanguageResponse. - 语言检测状态 + 语言检测状态。 * MATCHED: 匹配 * UNMATCHED: 不匹配 :param result: The result of this CheckTextLanguageResponse. :type result: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/commit_voice_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/commit_voice_training_job_request.py index 27b1488c33..9d150d3561 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/commit_voice_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/commit_voice_training_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, job_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param job_id: 任务id。 :type job_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, job_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this CommitVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CommitVoiceTrainingJobRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CommitVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CommitVoiceTrainingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/confirm_file_upload_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/confirm_file_upload_request.py index df50cedf32..c28ca5de64 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/confirm_file_upload_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/confirm_file_upload_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, file_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param file_id: 文件ID。 :type file_id: str @@ -58,7 +58,7 @@ def __init__(self, x_app_user_id=None, file_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this ConfirmFileUploadRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ConfirmFileUploadRequest. :rtype: str @@ -69,7 +69,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ConfirmFileUploadRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ConfirmFileUploadRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py index e96b81066d..2f618dc8d0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py @@ -33,7 +33,7 @@ def __init__(self, command=None, params=None, review_config=None): The model defined in huaweicloud sdk - :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :type command: str :param params: 命令参数。 :type params: object @@ -58,7 +58,7 @@ def __init__(self, command=None, params=None, review_config=None): def command(self): """Gets the command of this ControlSmartLiveReq. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :return: The command of this ControlSmartLiveReq. :rtype: str @@ -69,7 +69,7 @@ def command(self): def command(self, command): """Sets the command of this ControlSmartLiveReq. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :param command: The command of this ControlSmartLiveReq. :type command: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/copy_video_scripts_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/copy_video_scripts_request.py index ed95e0f5b6..82d547adff 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/copy_video_scripts_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/copy_video_scripts_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, script_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param script_id: 剧本ID。 :type script_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, script_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this CopyVideoScriptsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CopyVideoScriptsRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CopyVideoScriptsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CopyVideoScriptsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2_d_digital_human_video_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2_d_digital_human_video_request.py index 3737d766a0..5e36e49a6f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2_d_digital_human_video_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2_d_digital_human_video_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the Create2DDigitalHumanVideoRequest :type body: :class:`huaweicloudsdkmetastudio.v1.Create2DDigitalHumanVideoReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this Create2DDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Create2DDigitalHumanVideoRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Create2DDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Create2DDigitalHumanVideoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py index 140f5e9c65..fa04b4cd0e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py @@ -23,7 +23,8 @@ class Create2dModelTrainingJobReq: 'video_multipart_count': 'int', 'is_background_replacement': 'bool', 'batch_name': 'str', - 'tags': 'list[str]' + 'tags': 'list[str]', + 'model_version': 'str' } attribute_map = { @@ -33,10 +34,11 @@ class Create2dModelTrainingJobReq: 'video_multipart_count': 'video_multipart_count', 'is_background_replacement': 'is_background_replacement', 'batch_name': 'batch_name', - 'tags': 'tags' + 'tags': 'tags', + 'model_version': 'model_version' } - def __init__(self, name=None, contact=None, command_message=None, video_multipart_count=None, is_background_replacement=None, batch_name=None, tags=None): + def __init__(self, name=None, contact=None, command_message=None, video_multipart_count=None, is_background_replacement=None, batch_name=None, tags=None, model_version=None): """Create2dModelTrainingJobReq The model defined in huaweicloud sdk @@ -55,6 +57,8 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar :type batch_name: str :param tags: 分身数字人训练任务标签。 :type tags: list[str] + :param model_version: 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 > * V2版本已废弃不用 + :type model_version: str """ @@ -66,6 +70,7 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar self._is_background_replacement = None self._batch_name = None self._tags = None + self._model_version = None self.discriminator = None self.name = name @@ -81,6 +86,8 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar self.batch_name = batch_name if tags is not None: self.tags = tags + if model_version is not None: + self.model_version = model_version @property def name(self): @@ -236,6 +243,28 @@ def tags(self, tags): """ self._tags = tags + @property + def model_version(self): + """Gets the model_version of this Create2dModelTrainingJobReq. + + 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 > * V2版本已废弃不用 + + :return: The model_version of this Create2dModelTrainingJobReq. + :rtype: str + """ + return self._model_version + + @model_version.setter + def model_version(self, model_version): + """Sets the model_version of this Create2dModelTrainingJobReq. + + 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 > * V2版本已废弃不用 + + :param model_version: The model_version of this Create2dModelTrainingJobReq. + :type model_version: str + """ + self._model_version = model_version + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_request.py index 727142ccc8..3db7d387d0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the Create2dModelTrainingJobRequest :type body: :class:`huaweicloudsdkmetastudio.v1.Create2dModelTrainingJobReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this Create2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Create2dModelTrainingJobRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Create2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Create2dModelTrainingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py index a4b9a6b529..68a5de53cc 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateActiveCodeRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateActiveCodeRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateActiveCodeRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py index d8d5ab0a9b..52d3d9ae83 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateAssetbyReplicationInfoRequest :type body: :class:`huaweicloudsdkmetastudio.v1.ReplicationAssetInfo` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateAssetbyReplicationInfoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateAssetbyReplicationInfoRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateAssetbyReplicationInfoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateAssetbyReplicationInfoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_request.py index 7406138883..b9c619ef22 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateDialogUrlRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateDialogUrlReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateDialogUrlRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateDialogUrlRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateDialogUrlRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateDialogUrlRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request.py index b495ff1639..1453f9701d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateDigitalAssetRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateDigitalAssetRequestBody` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateDigitalAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateDigitalAssetRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateDigitalAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateDigitalAssetRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request_body.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request_body.py index 41acaa4dd5..1e7ebc42f3 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request_body.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_asset_request_body.py @@ -25,7 +25,8 @@ class CreateDigitalAssetRequestBody: 'tags': 'list[str]', 'asset_extra_meta': 'AssetExtraMeta', 'system_properties': 'list[SystemProperty]', - 'shared_config': 'SharedConfig' + 'shared_config': 'SharedConfig', + 'is_need_generate_cover': 'bool' } attribute_map = { @@ -37,10 +38,11 @@ class CreateDigitalAssetRequestBody: 'tags': 'tags', 'asset_extra_meta': 'asset_extra_meta', 'system_properties': 'system_properties', - 'shared_config': 'shared_config' + 'shared_config': 'shared_config', + 'is_need_generate_cover': 'is_need_generate_cover' } - def __init__(self, asset_name=None, asset_description=None, asset_type=None, asset_owner=None, review_config=None, tags=None, asset_extra_meta=None, system_properties=None, shared_config=None): + def __init__(self, asset_name=None, asset_description=None, asset_type=None, asset_owner=None, review_config=None, tags=None, asset_extra_meta=None, system_properties=None, shared_config=None, is_need_generate_cover=None): """CreateDigitalAssetRequestBody The model defined in huaweicloud sdk @@ -63,6 +65,8 @@ def __init__(self, asset_name=None, asset_description=None, asset_type=None, ass :type system_properties: list[:class:`huaweicloudsdkmetastudio.v1.SystemProperty`] :param shared_config: :type shared_config: :class:`huaweicloudsdkmetastudio.v1.SharedConfig` + :param is_need_generate_cover: 是否需要生成封面。 + :type is_need_generate_cover: bool """ @@ -76,6 +80,7 @@ def __init__(self, asset_name=None, asset_description=None, asset_type=None, ass self._asset_extra_meta = None self._system_properties = None self._shared_config = None + self._is_need_generate_cover = None self.discriminator = None self.asset_name = asset_name @@ -94,6 +99,8 @@ def __init__(self, asset_name=None, asset_description=None, asset_type=None, ass self.system_properties = system_properties if shared_config is not None: self.shared_config = shared_config + if is_need_generate_cover is not None: + self.is_need_generate_cover = is_need_generate_cover @property def asset_name(self): @@ -281,6 +288,28 @@ def shared_config(self, shared_config): """ self._shared_config = shared_config + @property + def is_need_generate_cover(self): + """Gets the is_need_generate_cover of this CreateDigitalAssetRequestBody. + + 是否需要生成封面。 + + :return: The is_need_generate_cover of this CreateDigitalAssetRequestBody. + :rtype: bool + """ + return self._is_need_generate_cover + + @is_need_generate_cover.setter + def is_need_generate_cover(self, is_need_generate_cover): + """Sets the is_need_generate_cover of this CreateDigitalAssetRequestBody. + + 是否需要生成封面。 + + :param is_need_generate_cover: The is_need_generate_cover of this CreateDigitalAssetRequestBody. + :type is_need_generate_cover: bool + """ + self._is_need_generate_cover = is_need_generate_cover + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_human_business_card_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_human_business_card_request.py index abb5479b60..f44004e955 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_human_business_card_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_digital_human_business_card_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateDigitalHumanBusinessCardRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateDigitalHumanBusinessCardReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateDigitalHumanBusinessCardRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateDigitalHumanBusinessCardRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_request.py index dd951f1a40..eeebba94a5 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateFileRequest :type body: :class:`huaweicloudsdkmetastudio.v1.FilesCreateReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateFileRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateFileRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateFileRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateFileRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_response.py index 5151bcfcd6..94b37679f4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_file_response.py @@ -36,7 +36,7 @@ def __init__(self, file_id=None, upload_url=None, x_request_id=None): :param file_id: 文件ID。 :type file_id: str - :param upload_url: 文件上传地址,有效期为24小时。 > * 调用OBS的[\"PUT上传\"](https://support.huaweicloud.com/api-obs/obs_04_0080.html)接口上传文件。 > * 调用上述接口时,Content-MD5头必须填写,填写的值跟file_md5中的值相同。 + :param upload_url: 文件上传地址,有效期为24小时。 > * [调用OBS的[“PUT上传”](https://support.huaweicloud.com/api-obs/obs_04_0080.html)接口上传文件。](tag:hc) > * [调用OBS的[“PUT上传”](https://support.huaweicloud.com/intl/zh-cn/api-obs/obs_04_0080.html)接口上传文件。](tag:hk) > * [调用OBS的“PUT上传”接口上传文件。](tag:cmcc) > * 调用上述接口时,Content-MD5头必须填写,填写的值跟file_md5中的值相同。 :type upload_url: str :param x_request_id: :type x_request_id: str @@ -82,7 +82,7 @@ def file_id(self, file_id): def upload_url(self): """Gets the upload_url of this CreateFileResponse. - 文件上传地址,有效期为24小时。 > * 调用OBS的[\"PUT上传\"](https://support.huaweicloud.com/api-obs/obs_04_0080.html)接口上传文件。 > * 调用上述接口时,Content-MD5头必须填写,填写的值跟file_md5中的值相同。 + 文件上传地址,有效期为24小时。 > * [调用OBS的[“PUT上传”](https://support.huaweicloud.com/api-obs/obs_04_0080.html)接口上传文件。](tag:hc) > * [调用OBS的[“PUT上传”](https://support.huaweicloud.com/intl/zh-cn/api-obs/obs_04_0080.html)接口上传文件。](tag:hk) > * [调用OBS的“PUT上传”接口上传文件。](tag:cmcc) > * 调用上述接口时,Content-MD5头必须填写,填写的值跟file_md5中的值相同。 :return: The upload_url of this CreateFileResponse. :rtype: str @@ -93,7 +93,7 @@ def upload_url(self): def upload_url(self, upload_url): """Sets the upload_url of this CreateFileResponse. - 文件上传地址,有效期为24小时。 > * 调用OBS的[\"PUT上传\"](https://support.huaweicloud.com/api-obs/obs_04_0080.html)接口上传文件。 > * 调用上述接口时,Content-MD5头必须填写,填写的值跟file_md5中的值相同。 + 文件上传地址,有效期为24小时。 > * [调用OBS的[“PUT上传”](https://support.huaweicloud.com/api-obs/obs_04_0080.html)接口上传文件。](tag:hc) > * [调用OBS的[“PUT上传”](https://support.huaweicloud.com/intl/zh-cn/api-obs/obs_04_0080.html)接口上传文件。](tag:hk) > * [调用OBS的“PUT上传”接口上传文件。](tag:cmcc) > * 调用上述接口时,Content-MD5头必须填写,填写的值跟file_md5中的值相同。 :param upload_url: The upload_url of this CreateFileResponse. :type upload_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_interaction_rule_group_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_interaction_rule_group_request.py index 1dfe8b1239..6db7a88608 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_interaction_rule_group_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_interaction_rule_group_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateInteractionRuleGroupRequest :type body: :class:`huaweicloudsdkmetastudio.v1.InteractionRuleGroup` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateInteractionRuleGroupRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateInteractionRuleGroupRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateInteractionRuleGroupRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateInteractionRuleGroupRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_once_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_once_code_request.py index af2a87373d..cd3f8eb957 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_once_code_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_once_code_request.py @@ -29,7 +29,7 @@ def __init__(self, x_app_user_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -45,7 +45,7 @@ def __init__(self, x_app_user_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateOnceCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateOnceCodeRequest. :rtype: str @@ -56,7 +56,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateOnceCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateOnceCodeRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_detection_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_detection_request.py index 8b323c5009..27e5732828 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_detection_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_detection_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreatePhotoDetectionRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreatePhotoDetectionReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreatePhotoDetectionRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreatePhotoDetectionRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreatePhotoDetectionRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreatePhotoDetectionRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_digital_human_video_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_digital_human_video_request.py index 106f431eee..14b082815d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_digital_human_video_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_photo_digital_human_video_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreatePhotoDigitalHumanVideoRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreatePhotoDigitalHumanVideoReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreatePhotoDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreatePhotoDigitalHumanVideoRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreatePhotoDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreatePhotoDigitalHumanVideoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_by_url_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_by_url_job_request.py index ac0d6ac061..27571cfbb2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_by_url_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_by_url_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreatePictureModelingByUrlJobRequest :type body: :class:`huaweicloudsdkmetastudio.v1.PictureModelingByUrlReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreatePictureModelingByUrlJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreatePictureModelingByUrlJobRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreatePictureModelingByUrlJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreatePictureModelingByUrlJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_job_request.py index 5e5240981a..4261f13760 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_picture_modeling_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreatePictureModelingJobRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreatePictureModelingJobRequestBody` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreatePictureModelingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreatePictureModelingJobRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreatePictureModelingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreatePictureModelingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_req.py index 60df653a4f..822dda1a13 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_req.py @@ -19,7 +19,7 @@ class CreateRobotReq: openapi_types = { 'name': 'str', 'app_type': 'int', - 'concurrency': 'int', + 'room_id': 'str', 'language': 'LanguageEnum', 'huawei_ei_cbs': 'HuaweiEiCbs', 'iflytek_aiui_config': 'IflytekAiuiConfig', @@ -30,7 +30,7 @@ class CreateRobotReq: attribute_map = { 'name': 'name', 'app_type': 'app_type', - 'concurrency': 'concurrency', + 'room_id': 'room_id', 'language': 'language', 'huawei_ei_cbs': 'huawei_ei_cbs', 'iflytek_aiui_config': 'iflytek_aiui_config', @@ -38,7 +38,7 @@ class CreateRobotReq: 'third_party_model_config': 'third_party_model_config' } - def __init__(self, name=None, app_type=None, concurrency=None, language=None, huawei_ei_cbs=None, iflytek_aiui_config=None, iflytek_spark=None, third_party_model_config=None): + def __init__(self, name=None, app_type=None, room_id=None, language=None, huawei_ei_cbs=None, iflytek_aiui_config=None, iflytek_spark=None, third_party_model_config=None): """CreateRobotReq The model defined in huaweicloud sdk @@ -47,8 +47,8 @@ def __init__(self, name=None, app_type=None, concurrency=None, language=None, hu :type name: str :param app_type: 对接第三方应用厂商类型。 > 0:科大讯飞AIUI;1:华为云CBS;2:科大讯飞星火交互认知大模型;5:第三方驱动;6:第三方语言模型 :type app_type: int - :param concurrency: 对话的并发数 - :type concurrency: int + :param room_id: 智能交互对话房间ID。 + :type room_id: str :param language: :type language: :class:`huaweicloudsdkmetastudio.v1.LanguageEnum` :param huawei_ei_cbs: @@ -65,7 +65,7 @@ def __init__(self, name=None, app_type=None, concurrency=None, language=None, hu self._name = None self._app_type = None - self._concurrency = None + self._room_id = None self._language = None self._huawei_ei_cbs = None self._iflytek_aiui_config = None @@ -75,7 +75,8 @@ def __init__(self, name=None, app_type=None, concurrency=None, language=None, hu self.name = name self.app_type = app_type - self.concurrency = concurrency + if room_id is not None: + self.room_id = room_id if language is not None: self.language = language if huawei_ei_cbs is not None: @@ -132,26 +133,26 @@ def app_type(self, app_type): self._app_type = app_type @property - def concurrency(self): - """Gets the concurrency of this CreateRobotReq. + def room_id(self): + """Gets the room_id of this CreateRobotReq. - 对话的并发数 + 智能交互对话房间ID。 - :return: The concurrency of this CreateRobotReq. - :rtype: int + :return: The room_id of this CreateRobotReq. + :rtype: str """ - return self._concurrency + return self._room_id - @concurrency.setter - def concurrency(self, concurrency): - """Sets the concurrency of this CreateRobotReq. + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this CreateRobotReq. - 对话的并发数 + 智能交互对话房间ID。 - :param concurrency: The concurrency of this CreateRobotReq. - :type concurrency: int + :param room_id: The room_id of this CreateRobotReq. + :type room_id: str """ - self._concurrency = concurrency + self._room_id = room_id @property def language(self): diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_request.py index 80008d8bb5..907e1a66c2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_robot_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateRobotRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateRobotReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateRobotRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateRobotRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py index 2748e2ad35..55fc568abf 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py @@ -97,7 +97,8 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod self.model_asset_id = model_asset_id if voice_config is not None: self.voice_config = voice_config - self.robot_id = robot_id + if robot_id is not None: + self.robot_id = robot_id if concurrency is not None: self.concurrency = concurrency if background_config is not None: diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_request.py index e32f86f697..09008292c2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateSmartChatRoomRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateSmartChatRoomReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateSmartChatRoomRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateSmartChatRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_request.py index 4bf0ba7df8..dbfd4b5e34 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateSmartLiveRoomRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateSmartLiveRoomReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateSmartLiveRoomRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateSmartLiveRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_request.py index d24938bfbf..b3aaf4db67 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateTrainingAdvanceJobRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateTrainingJobReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateTrainingAdvanceJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateTrainingAdvanceJobRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateTrainingAdvanceJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateTrainingAdvanceJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_response.py index c96d43a462..87e31cfe33 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_advance_job_response.py @@ -38,7 +38,7 @@ def __init__(self, job_id=None, training_data_uploading_url=None, segment_upload :param job_id: 任务id。 :type job_id: str - :param training_data_uploading_url: 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + :param training_data_uploading_url: 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :type training_data_uploading_url: str :param segment_uploading_url: :type segment_uploading_url: :class:`huaweicloudsdkmetastudio.v1.CreateTrainingJobRspSegmentUploadingUrl` @@ -89,7 +89,7 @@ def job_id(self, job_id): def training_data_uploading_url(self): """Gets the training_data_uploading_url of this CreateTrainingAdvanceJobResponse. - 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :return: The training_data_uploading_url of this CreateTrainingAdvanceJobResponse. :rtype: str @@ -100,7 +100,7 @@ def training_data_uploading_url(self): def training_data_uploading_url(self, training_data_uploading_url): """Sets the training_data_uploading_url of this CreateTrainingAdvanceJobResponse. - 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :param training_data_uploading_url: The training_data_uploading_url of this CreateTrainingAdvanceJobResponse. :type training_data_uploading_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_request.py index 93112c382b..ecaa77c3ba 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateTrainingBasicJobRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateTrainingJobReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateTrainingBasicJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateTrainingBasicJobRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateTrainingBasicJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateTrainingBasicJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_response.py index e67518bb91..7032634e73 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_basic_job_response.py @@ -38,7 +38,7 @@ def __init__(self, job_id=None, training_data_uploading_url=None, segment_upload :param job_id: 任务id。 :type job_id: str - :param training_data_uploading_url: 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + :param training_data_uploading_url: 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :type training_data_uploading_url: str :param segment_uploading_url: :type segment_uploading_url: :class:`huaweicloudsdkmetastudio.v1.CreateTrainingJobRspSegmentUploadingUrl` @@ -89,7 +89,7 @@ def job_id(self, job_id): def training_data_uploading_url(self): """Gets the training_data_uploading_url of this CreateTrainingBasicJobResponse. - 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :return: The training_data_uploading_url of this CreateTrainingBasicJobResponse. :rtype: str @@ -100,7 +100,7 @@ def training_data_uploading_url(self): def training_data_uploading_url(self, training_data_uploading_url): """Sets the training_data_uploading_url of this CreateTrainingBasicJobResponse. - 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :param training_data_uploading_url: The training_data_uploading_url of this CreateTrainingBasicJobResponse. :type training_data_uploading_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_job_rsp_segment_uploading_url.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_job_rsp_segment_uploading_url.py index 522a2fbf8f..7a6d3ca862 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_job_rsp_segment_uploading_url.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_job_rsp_segment_uploading_url.py @@ -31,9 +31,9 @@ def __init__(self, audio_uploading_url=None, txt_uploading_url=None): The model defined in huaweicloud sdk - :param audio_uploading_url: 音频上传的地址。 > * 通过该obs地址上传时需设置content-type为audio/wav + :param audio_uploading_url: 音频上传的地址。 通过该obs地址上传时,需设置content-type为audio/wav :type audio_uploading_url: list[str] - :param txt_uploading_url: 文本上传的地址。 > * 通过该obs地址上传时需设置content-type为text/plain + :param txt_uploading_url: 文本上传的地址。 通过该obs地址上传时需设置content-type为text/plain :type txt_uploading_url: list[str] """ @@ -52,7 +52,7 @@ def __init__(self, audio_uploading_url=None, txt_uploading_url=None): def audio_uploading_url(self): """Gets the audio_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. - 音频上传的地址。 > * 通过该obs地址上传时需设置content-type为audio/wav + 音频上传的地址。 通过该obs地址上传时,需设置content-type为audio/wav :return: The audio_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. :rtype: list[str] @@ -63,7 +63,7 @@ def audio_uploading_url(self): def audio_uploading_url(self, audio_uploading_url): """Sets the audio_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. - 音频上传的地址。 > * 通过该obs地址上传时需设置content-type为audio/wav + 音频上传的地址。 通过该obs地址上传时,需设置content-type为audio/wav :param audio_uploading_url: The audio_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. :type audio_uploading_url: list[str] @@ -74,7 +74,7 @@ def audio_uploading_url(self, audio_uploading_url): def txt_uploading_url(self): """Gets the txt_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. - 文本上传的地址。 > * 通过该obs地址上传时需设置content-type为text/plain + 文本上传的地址。 通过该obs地址上传时需设置content-type为text/plain :return: The txt_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. :rtype: list[str] @@ -85,7 +85,7 @@ def txt_uploading_url(self): def txt_uploading_url(self, txt_uploading_url): """Sets the txt_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. - 文本上传的地址。 > * 通过该obs地址上传时需设置content-type为text/plain + 文本上传的地址。 通过该obs地址上传时需设置content-type为text/plain :param txt_uploading_url: The txt_uploading_url of this CreateTrainingJobRspSegmentUploadingUrl. :type txt_uploading_url: list[str] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_request.py index 9a9a4ce296..00f538bc29 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateTrainingMiddleJobRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateTrainingJobReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateTrainingMiddleJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateTrainingMiddleJobRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateTrainingMiddleJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateTrainingMiddleJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_response.py index 5597a1b081..52ffb939c6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_training_middle_job_response.py @@ -38,7 +38,7 @@ def __init__(self, job_id=None, training_data_uploading_url=None, segment_upload :param job_id: 任务id。 :type job_id: str - :param training_data_uploading_url: 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + :param training_data_uploading_url: 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :type training_data_uploading_url: str :param segment_uploading_url: :type segment_uploading_url: :class:`huaweicloudsdkmetastudio.v1.CreateTrainingJobRspSegmentUploadingUrl` @@ -89,7 +89,7 @@ def job_id(self, job_id): def training_data_uploading_url(self): """Gets the training_data_uploading_url of this CreateTrainingMiddleJobResponse. - 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :return: The training_data_uploading_url of this CreateTrainingMiddleJobResponse. :rtype: str @@ -100,7 +100,7 @@ def training_data_uploading_url(self): def training_data_uploading_url(self, training_data_uploading_url): """Sets the training_data_uploading_url of this CreateTrainingMiddleJobResponse. - 上传的训练数据地址,用户需要将训练数据打成zip包后上传到该url,create_type为pakcage时设置。 > * 通过该obs地址上传时需设置content-type为application/zip + 上传训练数据的地址。训练数据需打包成zip文件后,上传至该url。 create_type取值为package时设置。 > 通过该obs地址上传时,需设置content-type为application/zip。 :param training_data_uploading_url: The training_data_uploading_url of this CreateTrainingMiddleJobResponse. :type training_data_uploading_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_tts_audition_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_tts_audition_request.py index a1d435911b..1e5e9c121d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_tts_audition_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_tts_audition_request.py @@ -35,7 +35,7 @@ def __init__(self, x_request_id=None, x_app_user_id=None, body=None): :param x_request_id: 请求requestId,用来标识一路请求,用于问题跟踪定位,建议使用uuId,若不携带,则后台自动生成 :type x_request_id: str - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateTtsAuditionRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateTtsAuditionRequestBody` @@ -81,7 +81,7 @@ def x_request_id(self, x_request_id): def x_app_user_id(self): """Gets the x_app_user_id of this CreateTtsAuditionRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateTtsAuditionRequest. :rtype: str @@ -92,7 +92,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateTtsAuditionRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateTtsAuditionRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_ttsa_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_ttsa_request.py index 2a992c30f1..6b9d29ac40 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_ttsa_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_ttsa_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateTtsaRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateTTSAReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateTtsaRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateTtsaRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateTtsaRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateTtsaRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_motion_capture_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_motion_capture_job_request.py index 5967d53df4..2ac8508bcd 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_motion_capture_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_motion_capture_job_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, x_user_privilege=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param x_user_privilege: 测试用户判断。 :type x_user_privilege: str @@ -59,7 +59,7 @@ def __init__(self, x_app_user_id=None, x_user_privilege=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateVideoMotionCaptureJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateVideoMotionCaptureJobRequest. :rtype: str @@ -70,7 +70,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateVideoMotionCaptureJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateVideoMotionCaptureJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_request.py index d8e1ec2863..2ac5636c2e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the CreateVideoScriptsRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateVideoScriptsReq` @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this CreateVideoScriptsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this CreateVideoScriptsRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this CreateVideoScriptsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this CreateVideoScriptsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete2d_model_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete2d_model_training_job_request.py index 7dfcc84a59..9bb51f94be 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete2d_model_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete2d_model_training_job_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this Delete2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Delete2dModelTrainingJobRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Delete2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Delete2dModelTrainingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py index b19db2675b..eec911b42f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the DeleteActiveCodeRequest :type body: list[str] @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteActiveCodeRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteActiveCodeRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_asset_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_asset_request.py index d6dc5829f5..95098fa351 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_asset_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_asset_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, asset_id=None, mode=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param asset_id: 资产ID。 :type asset_id: str @@ -58,7 +58,7 @@ def __init__(self, x_app_user_id=None, asset_id=None, mode=None): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteAssetRequest. :rtype: str @@ -69,7 +69,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteAssetRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_digital_human_business_card_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_digital_human_business_card_request.py index 594bf98fc8..63c359cbed 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_digital_human_business_card_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_digital_human_business_card_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteDigitalHumanBusinessCardRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteDigitalHumanBusinessCardRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_file_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_file_request.py index 3639bc4f13..f332e6c6f6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_file_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_file_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, file_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param file_id: 文件ID。 :type file_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, file_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteFileRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteFileRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteFileRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteFileRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_interaction_rule_group_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_interaction_rule_group_request.py index 4237445fc7..d807816a8c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_interaction_rule_group_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_interaction_rule_group_request.py @@ -33,7 +33,7 @@ def __init__(self, group_id=None, x_app_user_id=None): :param group_id: 互动规则库ID。 :type group_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def group_id(self, group_id): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteInteractionRuleGroupRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteInteractionRuleGroupRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteInteractionRuleGroupRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteInteractionRuleGroupRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_robot_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_robot_request.py index 05b5196fb6..d908c3e5af 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_robot_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_robot_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the DeleteRobotRequest :type body: list[str] @@ -52,7 +52,7 @@ def __init__(self, x_app_user_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteRobotRequest. :rtype: str @@ -63,7 +63,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteRobotRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_chat_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_chat_room_request.py index 128641a56d..bc0493f3e5 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_chat_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_chat_room_request.py @@ -31,9 +31,9 @@ def __init__(self, room_id=None, x_app_user_id=None): The model defined in huaweicloud sdk - :param room_id: 剧本ID。 + :param room_id: 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -51,7 +51,7 @@ def __init__(self, room_id=None, x_app_user_id=None): def room_id(self): """Gets the room_id of this DeleteSmartChatRoomRequest. - 剧本ID。 + 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :return: The room_id of this DeleteSmartChatRoomRequest. :rtype: str @@ -62,7 +62,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this DeleteSmartChatRoomRequest. - 剧本ID。 + 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :param room_id: The room_id of this DeleteSmartChatRoomRequest. :type room_id: str @@ -73,7 +73,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteSmartChatRoomRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteSmartChatRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_live_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_live_room_request.py index ac6474ad20..ae8823d83c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_live_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_smart_live_room_request.py @@ -33,7 +33,7 @@ def __init__(self, room_id=None, x_app_user_id=None): :param room_id: 剧本ID。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteSmartLiveRoomRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteSmartLiveRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_video_script_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_video_script_request.py index b07862dacf..b3885ca814 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_video_script_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_video_script_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, script_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param script_id: 剧本ID。 :type script_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, script_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteVideoScriptRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteVideoScriptRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteVideoScriptRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteVideoScriptRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_voice_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_voice_training_job_request.py index 8464c73d69..66a246fdd7 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_voice_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_voice_training_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, job_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param job_id: 任务id。 :type job_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, job_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this DeleteVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this DeleteVoiceTrainingJobRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this DeleteVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this DeleteVoiceTrainingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py index 461145898f..a4d25edb94 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py @@ -33,7 +33,7 @@ def __init__(self, command=None, command_message=None, comment_data=None): The model defined in huaweicloud sdk - :param command: 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 + :param command: 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 :type command: str :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO: 上传视频 :type command_message: str @@ -58,7 +58,7 @@ def __init__(self, command=None, command_message=None, comment_data=None): def command(self): """Gets the command of this Execute2dModelTrainingCommandByUserReq. - 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 + 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 :return: The command of this Execute2dModelTrainingCommandByUserReq. :rtype: str @@ -69,7 +69,7 @@ def command(self): def command(self, command): """Sets the command of this Execute2dModelTrainingCommandByUserReq. - 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 + 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 :param command: The command of this Execute2dModelTrainingCommandByUserReq. :type command: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_request.py index 093b56d974..b72a284706 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_request.py @@ -35,7 +35,7 @@ def __init__(self, job_id=None, x_app_user_id=None, body=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the Execute2dModelTrainingCommandByUserRequest :type body: :class:`huaweicloudsdkmetastudio.v1.Execute2dModelTrainingCommandByUserReq` @@ -80,7 +80,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this Execute2dModelTrainingCommandByUserRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Execute2dModelTrainingCommandByUserRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Execute2dModelTrainingCommandByUserRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Execute2dModelTrainingCommandByUserRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_request.py index f33b43cde6..e75b1ec46c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_request.py @@ -39,7 +39,7 @@ def __init__(self, room_id=None, job_id=None, x_app_user_id=None, body=None): :type room_id: str :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the ExecuteSmartLiveCommandRequest :type body: :class:`huaweicloudsdkmetastudio.v1.ControlSmartLiveReq` @@ -108,7 +108,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ExecuteSmartLiveCommandRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ExecuteSmartLiveCommandRequest. :rtype: str @@ -119,7 +119,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ExecuteSmartLiveCommandRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ExecuteSmartLiveCommandRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py index dae1b6d0e2..3dd457a784 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py @@ -38,7 +38,7 @@ def __init__(self, command_id=None, command=None, result=None, x_request_id=None :param command_id: 控制命令ID :type command_id: str - :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :type command: str :param result: 命令执行结果 :type result: str @@ -89,7 +89,7 @@ def command_id(self, command_id): def command(self): """Gets the command of this ExecuteSmartLiveCommandResponse. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :return: The command of this ExecuteSmartLiveCommandResponse. :rtype: str @@ -100,7 +100,7 @@ def command(self): def command(self, command): """Sets the command of this ExecuteSmartLiveCommandResponse. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :param command: The command of this ExecuteSmartLiveCommandResponse. :type command: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_video_motion_capture_command_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_video_motion_capture_command_request.py index c51233cc55..104a7e3d03 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_video_motion_capture_command_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_video_motion_capture_command_request.py @@ -35,7 +35,7 @@ def __init__(self, job_id=None, x_app_user_id=None, body=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the ExecuteVideoMotionCaptureCommandRequest :type body: :class:`huaweicloudsdkmetastudio.v1.ControlDigitalHumanLiveReq` @@ -80,7 +80,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ExecuteVideoMotionCaptureCommandRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ExecuteVideoMotionCaptureCommandRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ExecuteVideoMotionCaptureCommandRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ExecuteVideoMotionCaptureCommandRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/external_voice_asset_meta.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/external_voice_asset_meta.py index 6c93391fbd..668c5ca1d4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/external_voice_asset_meta.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/external_voice_asset_meta.py @@ -31,7 +31,7 @@ def __init__(self, provider=None, mobvoi_voice_meta=None): The model defined in huaweicloud sdk - :param provider: 第三方TTS供应商类型。 * XIMALAYA:喜马拉雅TTS * HUAWEI_EI: EI TTS * MOBVOI: 出门问问 TTSS + :param provider: 第三方TTS供应商类型。 * XIMALAYA:喜马拉雅TTS * HUAWEI_EI:EI TTS * MOBVOI:出门问问TTS :type provider: str :param mobvoi_voice_meta: :type mobvoi_voice_meta: :class:`huaweicloudsdkmetastudio.v1.MobvoiVoiceAssetMeta` @@ -51,7 +51,7 @@ def __init__(self, provider=None, mobvoi_voice_meta=None): def provider(self): """Gets the provider of this ExternalVoiceAssetMeta. - 第三方TTS供应商类型。 * XIMALAYA:喜马拉雅TTS * HUAWEI_EI: EI TTS * MOBVOI: 出门问问 TTSS + 第三方TTS供应商类型。 * XIMALAYA:喜马拉雅TTS * HUAWEI_EI:EI TTS * MOBVOI:出门问问TTS :return: The provider of this ExternalVoiceAssetMeta. :rtype: str @@ -62,7 +62,7 @@ def provider(self): def provider(self, provider): """Sets the provider of this ExternalVoiceAssetMeta. - 第三方TTS供应商类型。 * XIMALAYA:喜马拉雅TTS * HUAWEI_EI: EI TTS * MOBVOI: 出门问问 TTSS + 第三方TTS供应商类型。 * XIMALAYA:喜马拉雅TTS * HUAWEI_EI:EI TTS * MOBVOI:出门问问TTS :param provider: The provider of this ExternalVoiceAssetMeta. :type provider: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_position2_d.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_position2_d.py deleted file mode 100644 index 7a5a113bc1..0000000000 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/human_position2_d.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class HumanPosition2D: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'position': 'str', - 'position_x': 'int', - 'position_y': 'int' - } - - attribute_map = { - 'position': 'position', - 'position_x': 'position_x', - 'position_y': 'position_y' - } - - def __init__(self, position=None, position_x=None, position_y=None): - """HumanPosition2D - - The model defined in huaweicloud sdk - - :param position: 分身数字人在背景图片中的位置。 * LEFT: 左 * MIDDLE: 中 * RIGHT: 右 > 当position_x和position_y参数值存在时,position不生效 - :type position: str - :param position_x: 分身数字人X轴位置,即分身数字图片底边中心点像素的X轴的像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - :type position_x: int - :param position_y: 分身数字Y轴位置,即分身数字图片底边中心点像素的Y轴的像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - :type position_y: int - """ - - - - self._position = None - self._position_x = None - self._position_y = None - self.discriminator = None - - if position is not None: - self.position = position - if position_x is not None: - self.position_x = position_x - if position_y is not None: - self.position_y = position_y - - @property - def position(self): - """Gets the position of this HumanPosition2D. - - 分身数字人在背景图片中的位置。 * LEFT: 左 * MIDDLE: 中 * RIGHT: 右 > 当position_x和position_y参数值存在时,position不生效 - - :return: The position of this HumanPosition2D. - :rtype: str - """ - return self._position - - @position.setter - def position(self, position): - """Sets the position of this HumanPosition2D. - - 分身数字人在背景图片中的位置。 * LEFT: 左 * MIDDLE: 中 * RIGHT: 右 > 当position_x和position_y参数值存在时,position不生效 - - :param position: The position of this HumanPosition2D. - :type position: str - """ - self._position = position - - @property - def position_x(self): - """Gets the position_x of this HumanPosition2D. - - 分身数字人X轴位置,即分身数字图片底边中心点像素的X轴的像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - - :return: The position_x of this HumanPosition2D. - :rtype: int - """ - return self._position_x - - @position_x.setter - def position_x(self, position_x): - """Sets the position_x of this HumanPosition2D. - - 分身数字人X轴位置,即分身数字图片底边中心点像素的X轴的像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - - :param position_x: The position_x of this HumanPosition2D. - :type position_x: int - """ - self._position_x = position_x - - @property - def position_y(self): - """Gets the position_y of this HumanPosition2D. - - 分身数字Y轴位置,即分身数字图片底边中心点像素的Y轴的像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - - :return: The position_y of this HumanPosition2D. - :rtype: int - """ - return self._position_y - - @position_y.setter - def position_y(self, position_y): - """Sets the position_y of this HumanPosition2D. - - 分身数字Y轴位置,即分身数字图片底边中心点像素的Y轴的像素值。 > 横屏(16:9)背景图片像素为1920x1080;竖屏(9:16)背景图片像素为1080x1920。 - - :param position_y: The position_y of this HumanPosition2D. - :type position_y: int - """ - self._position_y = position_y - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, HumanPosition2D): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_asset_meta.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_asset_meta.py new file mode 100644 index 0000000000..f76163c75d --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_asset_meta.py @@ -0,0 +1,256 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ImageAssetMeta: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'codec': 'str', + 'width': 'int', + 'height': 'int', + 'size': 'float', + 'mode': 'str', + 'error_info': 'ErrorResponse' + } + + attribute_map = { + 'codec': 'codec', + 'width': 'width', + 'height': 'height', + 'size': 'size', + 'mode': 'mode', + 'error_info': 'error_info' + } + + def __init__(self, codec=None, width=None, height=None, size=None, mode=None, error_info=None): + """ImageAssetMeta + + The model defined in huaweicloud sdk + + :param codec: 图片编码格式,自动提取。 + :type codec: str + :param width: 图片宽度,自动提取 + :type width: int + :param height: 图片高度,自动提取 + :type height: int + :param size: 大小 + :type size: float + :param mode: Horizontal=横向;Vertical=纵向 + :type mode: str + :param error_info: + :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + + + + self._codec = None + self._width = None + self._height = None + self._size = None + self._mode = None + self._error_info = None + self.discriminator = None + + if codec is not None: + self.codec = codec + if width is not None: + self.width = width + if height is not None: + self.height = height + if size is not None: + self.size = size + if mode is not None: + self.mode = mode + if error_info is not None: + self.error_info = error_info + + @property + def codec(self): + """Gets the codec of this ImageAssetMeta. + + 图片编码格式,自动提取。 + + :return: The codec of this ImageAssetMeta. + :rtype: str + """ + return self._codec + + @codec.setter + def codec(self, codec): + """Sets the codec of this ImageAssetMeta. + + 图片编码格式,自动提取。 + + :param codec: The codec of this ImageAssetMeta. + :type codec: str + """ + self._codec = codec + + @property + def width(self): + """Gets the width of this ImageAssetMeta. + + 图片宽度,自动提取 + + :return: The width of this ImageAssetMeta. + :rtype: int + """ + return self._width + + @width.setter + def width(self, width): + """Sets the width of this ImageAssetMeta. + + 图片宽度,自动提取 + + :param width: The width of this ImageAssetMeta. + :type width: int + """ + self._width = width + + @property + def height(self): + """Gets the height of this ImageAssetMeta. + + 图片高度,自动提取 + + :return: The height of this ImageAssetMeta. + :rtype: int + """ + return self._height + + @height.setter + def height(self, height): + """Sets the height of this ImageAssetMeta. + + 图片高度,自动提取 + + :param height: The height of this ImageAssetMeta. + :type height: int + """ + self._height = height + + @property + def size(self): + """Gets the size of this ImageAssetMeta. + + 大小 + + :return: The size of this ImageAssetMeta. + :rtype: float + """ + return self._size + + @size.setter + def size(self, size): + """Sets the size of this ImageAssetMeta. + + 大小 + + :param size: The size of this ImageAssetMeta. + :type size: float + """ + self._size = size + + @property + def mode(self): + """Gets the mode of this ImageAssetMeta. + + Horizontal=横向;Vertical=纵向 + + :return: The mode of this ImageAssetMeta. + :rtype: str + """ + return self._mode + + @mode.setter + def mode(self, mode): + """Sets the mode of this ImageAssetMeta. + + Horizontal=横向;Vertical=纵向 + + :param mode: The mode of this ImageAssetMeta. + :type mode: str + """ + self._mode = mode + + @property + def error_info(self): + """Gets the error_info of this ImageAssetMeta. + + :return: The error_info of this ImageAssetMeta. + :rtype: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + return self._error_info + + @error_info.setter + def error_info(self, error_info): + """Sets the error_info of this ImageAssetMeta. + + :param error_info: The error_info of this ImageAssetMeta. + :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + self._error_info = error_info + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ImageAssetMeta): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/inference_eye_correction_mark_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/inference_eye_correction_mark_info.py new file mode 100644 index 0000000000..8086d8aa2a --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/inference_eye_correction_mark_info.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class InferenceEyeCorrectionMarkInfo: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'eye_correction_start_time': 'str', + 'eye_correction_end_time': 'str' + } + + attribute_map = { + 'eye_correction_start_time': 'eye_correction_start_time', + 'eye_correction_end_time': 'eye_correction_end_time' + } + + def __init__(self, eye_correction_start_time=None, eye_correction_end_time=None): + """InferenceEyeCorrectionMarkInfo + + The model defined in huaweicloud sdk + + :param eye_correction_start_time: 选取推理数据预处理眼神矫正起始时间。格式:“HH:MM:SS.mmm”。 + :type eye_correction_start_time: str + :param eye_correction_end_time: 选取推理数据预处理眼神矫正结束时间。格式:“HH:MM:SS.mmm”。 + :type eye_correction_end_time: str + """ + + + + self._eye_correction_start_time = None + self._eye_correction_end_time = None + self.discriminator = None + + if eye_correction_start_time is not None: + self.eye_correction_start_time = eye_correction_start_time + if eye_correction_end_time is not None: + self.eye_correction_end_time = eye_correction_end_time + + @property + def eye_correction_start_time(self): + """Gets the eye_correction_start_time of this InferenceEyeCorrectionMarkInfo. + + 选取推理数据预处理眼神矫正起始时间。格式:“HH:MM:SS.mmm”。 + + :return: The eye_correction_start_time of this InferenceEyeCorrectionMarkInfo. + :rtype: str + """ + return self._eye_correction_start_time + + @eye_correction_start_time.setter + def eye_correction_start_time(self, eye_correction_start_time): + """Sets the eye_correction_start_time of this InferenceEyeCorrectionMarkInfo. + + 选取推理数据预处理眼神矫正起始时间。格式:“HH:MM:SS.mmm”。 + + :param eye_correction_start_time: The eye_correction_start_time of this InferenceEyeCorrectionMarkInfo. + :type eye_correction_start_time: str + """ + self._eye_correction_start_time = eye_correction_start_time + + @property + def eye_correction_end_time(self): + """Gets the eye_correction_end_time of this InferenceEyeCorrectionMarkInfo. + + 选取推理数据预处理眼神矫正结束时间。格式:“HH:MM:SS.mmm”。 + + :return: The eye_correction_end_time of this InferenceEyeCorrectionMarkInfo. + :rtype: str + """ + return self._eye_correction_end_time + + @eye_correction_end_time.setter + def eye_correction_end_time(self, eye_correction_end_time): + """Sets the eye_correction_end_time of this InferenceEyeCorrectionMarkInfo. + + 选取推理数据预处理眼神矫正结束时间。格式:“HH:MM:SS.mmm”。 + + :param eye_correction_end_time: The eye_correction_end_time of this InferenceEyeCorrectionMarkInfo. + :type eye_correction_end_time: str + """ + self._eye_correction_end_time = eye_correction_end_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InferenceEyeCorrectionMarkInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py index 74de59a2cf..ace1689a79 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py @@ -20,45 +20,47 @@ class List2dModelTrainingJobRequest: 'x_app_user_id': 'str', 'offset': 'int', 'limit': 'int', - 'state': 'str', 'sort_key': 'str', 'sort_dir': 'str', 'create_until': 'str', 'create_since': 'str', + 'state': 'str', + 'query_project_id': 'str', 'batch_name': 'str', 'tag': 'str', 'job_id': 'str', - 'name': 'str' + 'name': 'str', + 'model_resolution': 'str' } attribute_map = { 'x_app_user_id': 'X-App-UserId', 'offset': 'offset', 'limit': 'limit', - 'state': 'state', 'sort_key': 'sort_key', 'sort_dir': 'sort_dir', 'create_until': 'create_until', 'create_since': 'create_since', + 'state': 'state', + 'query_project_id': 'query_project_id', 'batch_name': 'batch_name', 'tag': 'tag', 'job_id': 'job_id', - 'name': 'name' + 'name': 'name', + 'model_resolution': 'model_resolution' } - def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort_key=None, sort_dir=None, create_until=None, create_since=None, batch_name=None, tag=None, job_id=None, name=None): + def __init__(self, x_app_user_id=None, offset=None, limit=None, sort_key=None, sort_dir=None, create_until=None, create_since=None, state=None, query_project_id=None, batch_name=None, tag=None, job_id=None, name=None, model_resolution=None): """List2dModelTrainingJobRequest The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int :param limit: 每页显示的条目数量。 :type limit: int - :param state: 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED - :type state: str :param sort_key: 排序字段,目前只支持create_time。 :type sort_key: str :param sort_dir: 排序方式。 * asc:升序 * desc:降序 默认asc升序。 @@ -67,6 +69,10 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort :type create_until: str :param create_since: 过滤创建时间>=输入时间的记录。 :type create_since: str + :param state: 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED + :type state: str + :param query_project_id: 查询租户id。 + :type query_project_id: str :param batch_name: 任务批次名称。 :type batch_name: str :param tag: 任务标签。 @@ -75,6 +81,8 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort :type job_id: str :param name: 分身数字人模型名称 :type name: str + :param model_resolution: 模型分辨率 + :type model_resolution: str """ @@ -82,15 +90,17 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort self._x_app_user_id = None self._offset = None self._limit = None - self._state = None self._sort_key = None self._sort_dir = None self._create_until = None self._create_since = None + self._state = None + self._query_project_id = None self._batch_name = None self._tag = None self._job_id = None self._name = None + self._model_resolution = None self.discriminator = None if x_app_user_id is not None: @@ -99,8 +109,6 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort self.offset = offset if limit is not None: self.limit = limit - if state is not None: - self.state = state if sort_key is not None: self.sort_key = sort_key if sort_dir is not None: @@ -109,6 +117,10 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort self.create_until = create_until if create_since is not None: self.create_since = create_since + if state is not None: + self.state = state + if query_project_id is not None: + self.query_project_id = query_project_id if batch_name is not None: self.batch_name = batch_name if tag is not None: @@ -117,12 +129,14 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort self.job_id = job_id if name is not None: self.name = name + if model_resolution is not None: + self.model_resolution = model_resolution @property def x_app_user_id(self): """Gets the x_app_user_id of this List2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this List2dModelTrainingJobRequest. :rtype: str @@ -133,7 +147,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this List2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this List2dModelTrainingJobRequest. :type x_app_user_id: str @@ -184,28 +198,6 @@ def limit(self, limit): """ self._limit = limit - @property - def state(self): - """Gets the state of this List2dModelTrainingJobRequest. - - 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED - - :return: The state of this List2dModelTrainingJobRequest. - :rtype: str - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this List2dModelTrainingJobRequest. - - 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED - - :param state: The state of this List2dModelTrainingJobRequest. - :type state: str - """ - self._state = state - @property def sort_key(self): """Gets the sort_key of this List2dModelTrainingJobRequest. @@ -294,6 +286,50 @@ def create_since(self, create_since): """ self._create_since = create_since + @property + def state(self): + """Gets the state of this List2dModelTrainingJobRequest. + + 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED + + :return: The state of this List2dModelTrainingJobRequest. + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this List2dModelTrainingJobRequest. + + 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED + + :param state: The state of this List2dModelTrainingJobRequest. + :type state: str + """ + self._state = state + + @property + def query_project_id(self): + """Gets the query_project_id of this List2dModelTrainingJobRequest. + + 查询租户id。 + + :return: The query_project_id of this List2dModelTrainingJobRequest. + :rtype: str + """ + return self._query_project_id + + @query_project_id.setter + def query_project_id(self, query_project_id): + """Sets the query_project_id of this List2dModelTrainingJobRequest. + + 查询租户id。 + + :param query_project_id: The query_project_id of this List2dModelTrainingJobRequest. + :type query_project_id: str + """ + self._query_project_id = query_project_id + @property def batch_name(self): """Gets the batch_name of this List2dModelTrainingJobRequest. @@ -382,6 +418,28 @@ def name(self, name): """ self._name = name + @property + def model_resolution(self): + """Gets the model_resolution of this List2dModelTrainingJobRequest. + + 模型分辨率 + + :return: The model_resolution of this List2dModelTrainingJobRequest. + :rtype: str + """ + return self._model_resolution + + @model_resolution.setter + def model_resolution(self, model_resolution): + """Sets the model_resolution of this List2dModelTrainingJobRequest. + + 模型分辨率 + + :param model_resolution: The model_resolution of this List2dModelTrainingJobRequest. + :type model_resolution: str + """ + self._model_resolution = model_resolution + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py index eeca77926b..59f75e9c54 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py @@ -35,7 +35,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, robot_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -65,7 +65,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, robot_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ListActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListActiveCodeRequest. :rtype: str @@ -76,7 +76,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListActiveCodeRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py index f4da4b97b6..b3421da8f6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py @@ -17,7 +17,6 @@ class ListAssetsRequest: sensitive_list = [] openapi_types = { - 'x_real_ip': 'str', 'x_app_user_id': 'str', 'limit': 'int', 'offset': 'int', @@ -42,7 +41,6 @@ class ListAssetsRequest: } attribute_map = { - 'x_real_ip': 'X-REAL-IP', 'x_app_user_id': 'X-App-UserId', 'limit': 'limit', 'offset': 'offset', @@ -66,14 +64,12 @@ class ListAssetsRequest: 'role': 'role' } - def __init__(self, x_real_ip=None, x_app_user_id=None, limit=None, offset=None, name=None, tag=None, start_time=None, end_time=None, asset_type=None, sort_key=None, sort_dir=None, asset_source=None, asset_state=None, style_id=None, render_engine=None, sex=None, language=None, system_property=None, action_editable=None, is_movable=None, voice_provider=None, role=None): + def __init__(self, x_app_user_id=None, limit=None, offset=None, name=None, tag=None, start_time=None, end_time=None, asset_type=None, sort_key=None, sort_dir=None, asset_source=None, asset_state=None, style_id=None, render_engine=None, sex=None, language=None, system_property=None, action_editable=None, is_movable=None, voice_provider=None, role=None): """ListAssetsRequest The model defined in huaweicloud sdk - :param x_real_ip: 客户端IP - :type x_real_ip: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param limit: 每页显示的条目数量。 :type limit: int @@ -109,9 +105,9 @@ def __init__(self, x_real_ip=None, x_app_user_id=None, limit=None, offset=None, :type system_property: str :param action_editable: 动作是否可编辑。仅在分身数字人模型查询时有效。 :type action_editable: bool - :param is_movable: 分身数字人是否资产走动。仅在分身数字人模型查询时有效。 + :param is_movable: 分身数字人是否支持走动。仅在分身数字人模型查询时有效。 :type is_movable: bool - :param voice_provider: 可取值HUAWEI_METASTUDIO, MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色 + :param voice_provider: 取值:HUAWEI_METASTUDIO、MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色 :type voice_provider: str :param role: 角色。 SHARER:共享方,SHAREE:被共享方 :type role: str @@ -119,7 +115,6 @@ def __init__(self, x_real_ip=None, x_app_user_id=None, limit=None, offset=None, - self._x_real_ip = None self._x_app_user_id = None self._limit = None self._offset = None @@ -143,8 +138,6 @@ def __init__(self, x_real_ip=None, x_app_user_id=None, limit=None, offset=None, self._role = None self.discriminator = None - if x_real_ip is not None: - self.x_real_ip = x_real_ip if x_app_user_id is not None: self.x_app_user_id = x_app_user_id if limit is not None: @@ -188,33 +181,11 @@ def __init__(self, x_real_ip=None, x_app_user_id=None, limit=None, offset=None, if role is not None: self.role = role - @property - def x_real_ip(self): - """Gets the x_real_ip of this ListAssetsRequest. - - 客户端IP - - :return: The x_real_ip of this ListAssetsRequest. - :rtype: str - """ - return self._x_real_ip - - @x_real_ip.setter - def x_real_ip(self, x_real_ip): - """Sets the x_real_ip of this ListAssetsRequest. - - 客户端IP - - :param x_real_ip: The x_real_ip of this ListAssetsRequest. - :type x_real_ip: str - """ - self._x_real_ip = x_real_ip - @property def x_app_user_id(self): """Gets the x_app_user_id of this ListAssetsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListAssetsRequest. :rtype: str @@ -225,7 +196,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListAssetsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListAssetsRequest. :type x_app_user_id: str @@ -610,7 +581,7 @@ def action_editable(self, action_editable): def is_movable(self): """Gets the is_movable of this ListAssetsRequest. - 分身数字人是否资产走动。仅在分身数字人模型查询时有效。 + 分身数字人是否支持走动。仅在分身数字人模型查询时有效。 :return: The is_movable of this ListAssetsRequest. :rtype: bool @@ -621,7 +592,7 @@ def is_movable(self): def is_movable(self, is_movable): """Sets the is_movable of this ListAssetsRequest. - 分身数字人是否资产走动。仅在分身数字人模型查询时有效。 + 分身数字人是否支持走动。仅在分身数字人模型查询时有效。 :param is_movable: The is_movable of this ListAssetsRequest. :type is_movable: bool @@ -632,7 +603,7 @@ def is_movable(self, is_movable): def voice_provider(self): """Gets the voice_provider of this ListAssetsRequest. - 可取值HUAWEI_METASTUDIO, MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色 + 取值:HUAWEI_METASTUDIO、MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色 :return: The voice_provider of this ListAssetsRequest. :rtype: str @@ -643,7 +614,7 @@ def voice_provider(self): def voice_provider(self, voice_provider): """Sets the voice_provider of this ListAssetsRequest. - 可取值HUAWEI_METASTUDIO, MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色 + 取值:HUAWEI_METASTUDIO、MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色 :param voice_provider: The voice_provider of this ListAssetsRequest. :type voice_provider: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_business_card_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_business_card_request.py index f01c802415..81aefff9f3 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_business_card_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_business_card_request.py @@ -45,7 +45,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -101,7 +101,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort def x_app_user_id(self): """Gets the x_app_user_id of this ListDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListDigitalHumanBusinessCardRequest. :rtype: str @@ -112,7 +112,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListDigitalHumanBusinessCardRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_request.py index bf6b418741..3ce2d6f2bd 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_request.py @@ -49,7 +49,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -115,7 +115,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort def x_app_user_id(self): """Gets the x_app_user_id of this ListDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListDigitalHumanVideoRequest. :rtype: str @@ -126,7 +126,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListDigitalHumanVideoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_request.py index 6e8352981e..fdac7f25de 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_request.py @@ -39,7 +39,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, create_since=Non The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -80,7 +80,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, create_since=Non def x_app_user_id(self): """Gets the x_app_user_id of this ListInteractionRuleGroupsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListInteractionRuleGroupsRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListInteractionRuleGroupsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListInteractionRuleGroupsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_picture_modeling_jobs_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_picture_modeling_jobs_request.py index b8b8990779..e07ea2ea6b 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_picture_modeling_jobs_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_picture_modeling_jobs_request.py @@ -43,7 +43,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -94,7 +94,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort def x_app_user_id(self): """Gets the x_app_user_id of this ListPictureModelingJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListPictureModelingJobsRequest. :rtype: str @@ -105,7 +105,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListPictureModelingJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListPictureModelingJobsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_robot_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_robot_request.py index d4142bee5d..2a850d0d4e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_robot_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_robot_request.py @@ -19,26 +19,30 @@ class ListRobotRequest: openapi_types = { 'x_app_user_id': 'str', 'offset': 'int', - 'limit': 'int' + 'limit': 'int', + 'room_id': 'str' } attribute_map = { 'x_app_user_id': 'X-App-UserId', 'offset': 'offset', - 'limit': 'limit' + 'limit': 'limit', + 'room_id': 'room_id' } - def __init__(self, x_app_user_id=None, offset=None, limit=None): + def __init__(self, x_app_user_id=None, offset=None, limit=None, room_id=None): """ListRobotRequest The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int :param limit: 每页显示的条目数量。 :type limit: int + :param room_id: 智能交互对话房间ID。 + :type room_id: str """ @@ -46,6 +50,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None): self._x_app_user_id = None self._offset = None self._limit = None + self._room_id = None self.discriminator = None if x_app_user_id is not None: @@ -54,12 +59,14 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None): self.offset = offset if limit is not None: self.limit = limit + if room_id is not None: + self.room_id = room_id @property def x_app_user_id(self): """Gets the x_app_user_id of this ListRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListRobotRequest. :rtype: str @@ -70,7 +77,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListRobotRequest. :type x_app_user_id: str @@ -121,6 +128,28 @@ def limit(self, limit): """ self._limit = limit + @property + def room_id(self): + """Gets the room_id of this ListRobotRequest. + + 智能交互对话房间ID。 + + :return: The room_id of this ListRobotRequest. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this ListRobotRequest. + + 智能交互对话房间ID。 + + :param room_id: The room_id of this ListRobotRequest. + :type room_id: str + """ + self._room_id = room_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py index d722bd210d..8a65535ff7 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py @@ -41,7 +41,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, room_name=None, The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -87,7 +87,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, room_name=None, def x_app_user_id(self): """Gets the x_app_user_id of this ListSmartChatRoomsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListSmartChatRoomsRequest. :rtype: str @@ -98,7 +98,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListSmartChatRoomsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListSmartChatRoomsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_request.py index 7dee435ca5..0cb0e698bb 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_request.py @@ -45,7 +45,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -101,7 +101,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort def x_app_user_id(self): """Gets the x_app_user_id of this ListSmartLiveJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListSmartLiveJobsRequest. :rtype: str @@ -112,7 +112,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListSmartLiveJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListSmartLiveJobsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_request.py index 1bfb303c22..58e8558b04 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_request.py @@ -47,7 +47,7 @@ def __init__(self, room_id=None, x_app_user_id=None, offset=None, limit=None, st :param room_id: 剧本ID。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -122,7 +122,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this ListSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListSmartLiveRequest. :rtype: str @@ -133,7 +133,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListSmartLiveRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py index da1fafeadd..9533a14b3a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py @@ -49,7 +49,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, room_name=None, The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -115,7 +115,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, room_name=None, def x_app_user_id(self): """Gets the x_app_user_id of this ListSmartLiveRoomsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListSmartLiveRoomsRequest. :rtype: str @@ -126,7 +126,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListSmartLiveRoomsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListSmartLiveRoomsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_styles_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_styles_request.py index 7545643b1f..7f7b1a7963 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_styles_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_styles_request.py @@ -43,7 +43,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -94,7 +94,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, state=None, sort def x_app_user_id(self): """Gets the x_app_user_id of this ListStylesRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListStylesRequest. :rtype: str @@ -105,7 +105,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListStylesRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListStylesRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_ttsa_jobs_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_ttsa_jobs_request.py index 331a2e756b..2c98f14b1c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_ttsa_jobs_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_ttsa_jobs_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -59,7 +59,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None): def x_app_user_id(self): """Gets the x_app_user_id of this ListTtsaJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListTtsaJobsRequest. :rtype: str @@ -70,7 +70,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListTtsaJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListTtsaJobsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_motion_capture_jobs_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_motion_capture_jobs_request.py index d4714c55fe..f7f1ff4772 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_motion_capture_jobs_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_motion_capture_jobs_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -59,7 +59,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None): def x_app_user_id(self): """Gets the x_app_user_id of this ListVideoMotionCaptureJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListVideoMotionCaptureJobsRequest. :rtype: str @@ -70,7 +70,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListVideoMotionCaptureJobsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListVideoMotionCaptureJobsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py index 1dfa1f0924..c47a5ba7f0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py @@ -39,7 +39,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, name=None, scrip The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param offset: 偏移量,表示从此偏移量开始查询。 :type offset: int @@ -80,7 +80,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, name=None, scrip def x_app_user_id(self): """Gets the x_app_user_id of this ListVideoScriptsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListVideoScriptsRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListVideoScriptsRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListVideoScriptsRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_voice_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_voice_training_job_request.py index cc785b59d5..7323eb6a71 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_voice_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_voice_training_job_request.py @@ -53,7 +53,7 @@ def __init__(self, offset=None, limit=None, create_until=None, create_since=None :type create_until: str :param create_since: 过滤创建时间>=输入时间的记录。 :type create_since: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param state: 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=FAILED,WAITING :type state: str @@ -189,7 +189,7 @@ def create_since(self, create_since): def x_app_user_id(self): """Gets the x_app_user_id of this ListVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ListVoiceTrainingJobRequest. :rtype: str @@ -200,7 +200,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ListVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ListVoiceTrainingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py index d3858b790b..77cf7b0423 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py @@ -35,9 +35,9 @@ def __init__(self, timestamp=None, type=None, content=None): :param timestamp: 事件戳。从1970-01-01 00:00:00:000开始的毫秒数 :type timestamp: int - :param type: 事件类型。 + :param type: 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 :type type: int - :param content: 事件内容。 + :param content: 事件内容。<br>事件类型不同,content内容也不同,定义如下: - **type=1 弹幕信息** content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - **type=2 用户入场** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=3 用户点赞** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=4 用户送礼** content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=5 用户订阅** 暂未使用 - **type=6 房间观看人数** content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` :type content: str """ @@ -80,7 +80,7 @@ def timestamp(self, timestamp): def type(self): """Gets the type of this LiveEvent. - 事件类型。 + 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 :return: The type of this LiveEvent. :rtype: int @@ -91,7 +91,7 @@ def type(self): def type(self, type): """Sets the type of this LiveEvent. - 事件类型。 + 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 :param type: The type of this LiveEvent. :type type: int @@ -102,7 +102,7 @@ def type(self, type): def content(self): """Gets the content of this LiveEvent. - 事件内容。 + 事件内容。
事件类型不同,content内容也不同,定义如下: - **type=1 弹幕信息** content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - **type=2 用户入场** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=3 用户点赞** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=4 用户送礼** content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=5 用户订阅** 暂未使用 - **type=6 房间观看人数** content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` :return: The content of this LiveEvent. :rtype: str @@ -113,7 +113,7 @@ def content(self): def content(self, content): """Sets the content of this LiveEvent. - 事件内容。 + 事件内容。
事件类型不同,content内容也不同,定义如下: - **type=1 弹幕信息** content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - **type=2 用户入场** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=3 用户点赞** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=4 用户送礼** content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=5 用户订阅** 暂未使用 - **type=6 房间观看人数** content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` :param content: The content of this LiveEvent. :type content: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py index ccfdd4b2d0..9090900d91 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py @@ -37,11 +37,11 @@ def __init__(self, live_event_type_callback_url=None, auth_type=None, key=None, :param live_event_type_callback_url: 直播事件回调地址。https地址,需自带鉴权串。 :type live_event_type_callback_url: str - :param auth_type: 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) + :param auth_type: 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * RTMP_STREAM_STATE_CHANGE。 RTMP链接发生变化回调事件 * MEITUAN_DEFAULT。仅用于美团平台调用回调使用。 :type auth_type: str :param key: 密钥Key :type key: str - :param callback_event_type: 回调的直播事件类型列表 + :param callback_event_type: 回调的直播事件类型列表。 当前仅支持取值: SHOOT_SCRIPT_SWITCH,剧本段落切换事件。 RTMP_STREAM_STATE_CHANGE, RTMP链接发生变化回调事件。 回调事件结构体定义: * event_type: 事件类型。 * message: 事件描述。 SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值: CONNECTING 链路连接中, CONNECTED 链路已连接,DISCONNECTED 链路已断开,RECONNECTING 链路重连中, END 联络不再重连,链路已结束 :type callback_event_type: list[str] """ @@ -88,7 +88,7 @@ def live_event_type_callback_url(self, live_event_type_callback_url): def auth_type(self): """Gets the auth_type of this LiveEventCallBackConfig. - 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) + 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * RTMP_STREAM_STATE_CHANGE。 RTMP链接发生变化回调事件 * MEITUAN_DEFAULT。仅用于美团平台调用回调使用。 :return: The auth_type of this LiveEventCallBackConfig. :rtype: str @@ -99,7 +99,7 @@ def auth_type(self): def auth_type(self, auth_type): """Sets the auth_type of this LiveEventCallBackConfig. - 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) + 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * RTMP_STREAM_STATE_CHANGE。 RTMP链接发生变化回调事件 * MEITUAN_DEFAULT。仅用于美团平台调用回调使用。 :param auth_type: The auth_type of this LiveEventCallBackConfig. :type auth_type: str @@ -132,7 +132,7 @@ def key(self, key): def callback_event_type(self): """Gets the callback_event_type of this LiveEventCallBackConfig. - 回调的直播事件类型列表 + 回调的直播事件类型列表。 当前仅支持取值: SHOOT_SCRIPT_SWITCH,剧本段落切换事件。 RTMP_STREAM_STATE_CHANGE, RTMP链接发生变化回调事件。 回调事件结构体定义: * event_type: 事件类型。 * message: 事件描述。 SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值: CONNECTING 链路连接中, CONNECTED 链路已连接,DISCONNECTED 链路已断开,RECONNECTING 链路重连中, END 联络不再重连,链路已结束 :return: The callback_event_type of this LiveEventCallBackConfig. :rtype: list[str] @@ -143,7 +143,7 @@ def callback_event_type(self): def callback_event_type(self, callback_event_type): """Sets the callback_event_type of this LiveEventCallBackConfig. - 回调的直播事件类型列表 + 回调的直播事件类型列表。 当前仅支持取值: SHOOT_SCRIPT_SWITCH,剧本段落切换事件。 RTMP_STREAM_STATE_CHANGE, RTMP链接发生变化回调事件。 回调事件结构体定义: * event_type: 事件类型。 * message: 事件描述。 SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值: CONNECTING 链路连接中, CONNECTED 链路已连接,DISCONNECTED 链路已断开,RECONNECTING 链路重连中, END 联络不再重连,链路已结束 :param callback_event_type: The callback_event_type of this LiveEventCallBackConfig. :type callback_event_type: list[str] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py index d65a96860f..28af76f92c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py @@ -45,7 +45,7 @@ def __init__(self, room_id=None, job_id=None, x_app_user_id=None, auth_key=None, :type room_id: str :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param auth_key: 鉴权Key。通过HmacSHA256生成的鉴权key :type auth_key: str @@ -129,7 +129,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this LiveEventReportRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this LiveEventReportRequest. :rtype: str @@ -140,7 +140,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this LiveEventReportRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this LiveEventReportRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py index 79d72d08c7..383976d6ca 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py @@ -37,7 +37,7 @@ def __init__(self, operate_time=None, log_type=None, log_description=None, opera :param operate_time: 操作时间,格式遵循:RFC 3339。 例 “2020-07-30T10:43:17Z” :type operate_time: str - :param log_type: 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失败 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO: 标定视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO: 校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标定视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标定视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标定成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标定失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标定 + :param log_type: 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标记 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 :type log_type: str :param log_description: 日志描述。用于记录人工审核不通过时的审核意见和DHTS、DHPS上报的错误信息。 :type log_description: str @@ -88,7 +88,7 @@ def operate_time(self, operate_time): def log_type(self): """Gets the log_type of this OperationLogInfo. - 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失败 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO: 标定视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO: 校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标定视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标定视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标定成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标定失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标定 + 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标记 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 :return: The log_type of this OperationLogInfo. :rtype: str @@ -99,7 +99,7 @@ def log_type(self): def log_type(self, log_type): """Sets the log_type of this OperationLogInfo. - 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失败 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO: 标定视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO: 校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标定视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标定视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标定成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标定失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标定 + 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标记 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 :param log_type: The log_type of this OperationLogInfo. :type log_type: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_info.py index 2e3e543721..a7ebfbbd55 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_info.py @@ -20,17 +20,19 @@ class OutputInfo: 'face_addr': 'str', 'body_addr': 'str', 'audio_addr': 'str', - 'session_id': 'int' + 'session_id': 'int', + 'output_data_version': 'str' } attribute_map = { 'face_addr': 'face_addr', 'body_addr': 'body_addr', 'audio_addr': 'audio_addr', - 'session_id': 'session_id' + 'session_id': 'session_id', + 'output_data_version': 'output_data_version' } - def __init__(self, face_addr=None, body_addr=None, audio_addr=None, session_id=None): + def __init__(self, face_addr=None, body_addr=None, audio_addr=None, session_id=None, output_data_version=None): """OutputInfo The model defined in huaweicloud sdk @@ -43,6 +45,8 @@ def __init__(self, face_addr=None, body_addr=None, audio_addr=None, session_id=N :type audio_addr: str :param session_id: 会话ID。 :type session_id: int + :param output_data_version: 输出数据的格式版本,如请求中无此参数,则输出数据格式为1.0,可选值有: 1.0: 对应的输出为: 动作数据:75个骨骼旋转值 表情数据:52ARkit表情及参数 2.0: 对应的输出为: 动作数据:55个骨骼旋转值+骨骼3D坐标 表情数据:178个控制器的数据 + :type output_data_version: str """ @@ -51,6 +55,7 @@ def __init__(self, face_addr=None, body_addr=None, audio_addr=None, session_id=N self._body_addr = None self._audio_addr = None self._session_id = None + self._output_data_version = None self.discriminator = None if face_addr is not None: @@ -61,6 +66,8 @@ def __init__(self, face_addr=None, body_addr=None, audio_addr=None, session_id=N self.audio_addr = audio_addr if session_id is not None: self.session_id = session_id + if output_data_version is not None: + self.output_data_version = output_data_version @property def face_addr(self): @@ -150,6 +157,28 @@ def session_id(self, session_id): """ self._session_id = session_id + @property + def output_data_version(self): + """Gets the output_data_version of this OutputInfo. + + 输出数据的格式版本,如请求中无此参数,则输出数据格式为1.0,可选值有: 1.0: 对应的输出为: 动作数据:75个骨骼旋转值 表情数据:52ARkit表情及参数 2.0: 对应的输出为: 动作数据:55个骨骼旋转值+骨骼3D坐标 表情数据:178个控制器的数据 + + :return: The output_data_version of this OutputInfo. + :rtype: str + """ + return self._output_data_version + + @output_data_version.setter + def output_data_version(self, output_data_version): + """Sets the output_data_version of this OutputInfo. + + 输出数据的格式版本,如请求中无此参数,则输出数据格式为1.0,可选值有: 1.0: 对应的输出为: 动作数据:75个骨骼旋转值 表情数据:52ARkit表情及参数 2.0: 对应的输出为: 动作数据:55个骨骼旋转值+骨骼3D坐标 表情数据:178个控制器的数据 + + :param output_data_version: The output_data_version of this OutputInfo. + :type output_data_version: str + """ + self._output_data_version = output_data_version + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py index 2e9c6b20ed..86c84e9830 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py @@ -20,17 +20,19 @@ class PlayPolicy: 'repeat_count': 'int', 'auto_play_script': 'bool', 'play_mode': 'str', - 'random_play_mode': 'str' + 'random_play_mode': 'str', + 'need_independent_capture_client': 'bool' } attribute_map = { 'repeat_count': 'repeat_count', 'auto_play_script': 'auto_play_script', 'play_mode': 'play_mode', - 'random_play_mode': 'random_play_mode' + 'random_play_mode': 'random_play_mode', + 'need_independent_capture_client': 'need_independent_capture_client' } - def __init__(self, repeat_count=None, auto_play_script=None, play_mode=None, random_play_mode=None): + def __init__(self, repeat_count=None, auto_play_script=None, play_mode=None, random_play_mode=None, need_independent_capture_client=None): """PlayPolicy The model defined in huaweicloud sdk @@ -43,6 +45,8 @@ def __init__(self, repeat_count=None, auto_play_script=None, play_mode=None, ran :type play_mode: str :param random_play_mode: 随机播报模式。 * NONE: 不启动随机播报。 * SCENE: 按场景随机播报。场景内段落按顺序播报。 * SCRIPT_ITEM:按段落随机播报。场景按顺序播报。 * SCENE_AND_SCRIPT_ITEM: 场景和段落都随机播报。 :type random_play_mode: str + :param need_independent_capture_client: 是否需要独立采集端 + :type need_independent_capture_client: bool """ @@ -51,6 +55,7 @@ def __init__(self, repeat_count=None, auto_play_script=None, play_mode=None, ran self._auto_play_script = None self._play_mode = None self._random_play_mode = None + self._need_independent_capture_client = None self.discriminator = None if repeat_count is not None: @@ -61,6 +66,8 @@ def __init__(self, repeat_count=None, auto_play_script=None, play_mode=None, ran self.play_mode = play_mode if random_play_mode is not None: self.random_play_mode = random_play_mode + if need_independent_capture_client is not None: + self.need_independent_capture_client = need_independent_capture_client @property def repeat_count(self): @@ -150,6 +157,28 @@ def random_play_mode(self, random_play_mode): """ self._random_play_mode = random_play_mode + @property + def need_independent_capture_client(self): + """Gets the need_independent_capture_client of this PlayPolicy. + + 是否需要独立采集端 + + :return: The need_independent_capture_client of this PlayPolicy. + :rtype: bool + """ + return self._need_independent_capture_client + + @need_independent_capture_client.setter + def need_independent_capture_client(self, need_independent_capture_client): + """Sets the need_independent_capture_client of this PlayPolicy. + + 是否需要独立采集端 + + :param need_independent_capture_client: The need_independent_capture_client of this PlayPolicy. + :type need_independent_capture_client: bool + """ + self._need_independent_capture_client = need_independent_capture_client + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py index 2656099e62..b069d16779 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, active_code_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param active_code_id: 激活码ID。 :type active_code_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, active_code_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ResetActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ResetActiveCodeRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ResetActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ResetActiveCodeRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/restore_asset_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/restore_asset_request.py index 699fc3f92d..a49d64f06a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/restore_asset_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/restore_asset_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, asset_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param asset_id: 资产ID。 :type asset_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, asset_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this RestoreAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this RestoreAssetRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this RestoreAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this RestoreAssetRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/robot_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/robot_info.py index 7cb1ac9f6c..9d380698d7 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/robot_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/robot_info.py @@ -19,9 +19,9 @@ class RobotInfo: openapi_types = { 'robot_id': 'str', 'name': 'str', + 'room_id': 'str', 'app_id': 'str', 'app_type': 'int', - 'concurrency': 'int', 'language': 'LanguageEnum', 'create_time': 'str', 'update_time': 'str', @@ -35,9 +35,9 @@ class RobotInfo: attribute_map = { 'robot_id': 'robot_id', 'name': 'name', + 'room_id': 'room_id', 'app_id': 'app_id', 'app_type': 'app_type', - 'concurrency': 'concurrency', 'language': 'language', 'create_time': 'create_time', 'update_time': 'update_time', @@ -48,7 +48,7 @@ class RobotInfo: 'chat_rounds': 'chat_rounds' } - def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurrency=None, language=None, create_time=None, update_time=None, region=None, cbs_project_id=None, llm_url=None, is_stream=None, chat_rounds=None): + def __init__(self, robot_id=None, name=None, room_id=None, app_id=None, app_type=None, language=None, create_time=None, update_time=None, region=None, cbs_project_id=None, llm_url=None, is_stream=None, chat_rounds=None): """RobotInfo The model defined in huaweicloud sdk @@ -57,12 +57,12 @@ def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurr :type robot_id: str :param name: 应用名称。 :type name: str + :param room_id: 智能交互对话房间ID。 + :type room_id: str :param app_id: 第三方应用ID。 :type app_id: str :param app_type: 对接第三方应用厂商类型。 > 0:科大讯飞AIUI;1:华为云CBS;2:科大讯飞星火交互认知大模型;5:第三方驱动;6:第三方语言模型 :type app_type: int - :param concurrency: 对话的并发数 - :type concurrency: int :param language: :type language: :class:`huaweicloudsdkmetastudio.v1.LanguageEnum` :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 @@ -85,9 +85,9 @@ def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurr self._robot_id = None self._name = None + self._room_id = None self._app_id = None self._app_type = None - self._concurrency = None self._language = None self._create_time = None self._update_time = None @@ -102,12 +102,12 @@ def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurr self.robot_id = robot_id if name is not None: self.name = name + if room_id is not None: + self.room_id = room_id if app_id is not None: self.app_id = app_id if app_type is not None: self.app_type = app_type - if concurrency is not None: - self.concurrency = concurrency if language is not None: self.language = language if create_time is not None: @@ -169,6 +169,28 @@ def name(self, name): """ self._name = name + @property + def room_id(self): + """Gets the room_id of this RobotInfo. + + 智能交互对话房间ID。 + + :return: The room_id of this RobotInfo. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this RobotInfo. + + 智能交互对话房间ID。 + + :param room_id: The room_id of this RobotInfo. + :type room_id: str + """ + self._room_id = room_id + @property def app_id(self): """Gets the app_id of this RobotInfo. @@ -213,28 +235,6 @@ def app_type(self, app_type): """ self._app_type = app_type - @property - def concurrency(self): - """Gets the concurrency of this RobotInfo. - - 对话的并发数 - - :return: The concurrency of this RobotInfo. - :rtype: int - """ - return self._concurrency - - @concurrency.setter - def concurrency(self, concurrency): - """Sets the concurrency of this RobotInfo. - - 对话的并发数 - - :param concurrency: The concurrency of this RobotInfo. - :type concurrency: int - """ - self._concurrency = concurrency - @property def language(self): """Gets the language of this RobotInfo. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_request.py index 9b152e7843..588942a1c0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_request.py @@ -35,7 +35,7 @@ def __init__(self, job_id=None, x_app_user_id=None, show_script=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param show_script: 是否需要返回剧本参数配置。 :type show_script: bool @@ -80,7 +80,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this Show2DDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Show2DDigitalHumanVideoRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Show2DDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Show2DDigitalHumanVideoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_request.py index 7233c208d6..74e37474df 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this Show2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Show2dModelTrainingJobRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Show2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Show2dModelTrainingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py index 17429fd75a..23414c654c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py @@ -31,6 +31,8 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'tags': 'list[str]', 'model_version': 'str', 'matting_type': 'str', + 'model_resolution': 'str', + 'app_user_id': 'str', 'training_video_download_url': 'str', 'id_card_image1_download_url': 'str', 'id_card_image2_download_url': 'str', @@ -43,8 +45,9 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'markable_video_download_url': 'str', 'inference_data_process_video_mark_info': 'InferenceVideoMarkInfo', 'inference_data_process_action_mark_info': 'InferenceActionMarkInfo', + 'inference_data_process_eye_correction_mark_info': 'InferenceEyeCorrectionMarkInfo', 'is_background_replacement': 'bool', - 'model_resolution': 'str', + 'worker_type': 'list[str]', 'x_request_id': 'str' } @@ -62,6 +65,8 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'tags': 'tags', 'model_version': 'model_version', 'matting_type': 'matting_type', + 'model_resolution': 'model_resolution', + 'app_user_id': 'app_user_id', 'training_video_download_url': 'training_video_download_url', 'id_card_image1_download_url': 'id_card_image1_download_url', 'id_card_image2_download_url': 'id_card_image2_download_url', @@ -74,12 +79,13 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'markable_video_download_url': 'markable_video_download_url', 'inference_data_process_video_mark_info': 'inference_data_process_video_mark_info', 'inference_data_process_action_mark_info': 'inference_data_process_action_mark_info', + 'inference_data_process_eye_correction_mark_info': 'inference_data_process_eye_correction_mark_info', 'is_background_replacement': 'is_background_replacement', - 'model_resolution': 'model_resolution', + 'worker_type': 'worker_type', 'x_request_id': 'X-Request-Id' } - def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None, training_video_download_url=None, id_card_image1_download_url=None, id_card_image2_download_url=None, grant_file_download_url=None, operation_logs=None, comment_logs=None, is_mask_file_uploaded=None, mask_file_download_url=None, verify_video_download_url=None, markable_video_download_url=None, inference_data_process_video_mark_info=None, inference_data_process_action_mark_info=None, is_background_replacement=None, model_resolution=None, x_request_id=None): + def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None, model_resolution=None, app_user_id=None, training_video_download_url=None, id_card_image1_download_url=None, id_card_image2_download_url=None, grant_file_download_url=None, operation_logs=None, comment_logs=None, is_mask_file_uploaded=None, mask_file_download_url=None, verify_video_download_url=None, markable_video_download_url=None, inference_data_process_video_mark_info=None, inference_data_process_action_mark_info=None, inference_data_process_eye_correction_mark_info=None, is_background_replacement=None, worker_type=None, x_request_id=None): """Show2dModelTrainingJobResponse The model defined in huaweicloud sdk @@ -88,7 +94,7 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type job_id: str :param name: 分身数字人模型名称。该名称会作为资产库中分身数字人模型资产名称。 :type name: str - :param state: 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS: 完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回 * JOB_PENDING:挂起 * JOB_FINISH:结束,最终状态,不可再做改变 + :param state: 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 :type state: str :param asset_id: 模型资产ID。 :type asset_id: str @@ -106,10 +112,14 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type batch_name: str :param tags: 分身数字人训练任务标签。 :type tags: list[str] - :param model_version: 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 + :param model_version: 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 :type model_version: str :param matting_type: 抠图类型。默认是AI。 * AI:AI抠图 * MANUAL:人工抠图 :type matting_type: str + :param model_resolution: 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + :type model_resolution: str + :param app_user_id: 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 + :type app_user_id: str :param training_video_download_url: 分身数字人训练视频下载URL。24小时内有效。 :type training_video_download_url: str :param id_card_image1_download_url: 身份证正面照片下载URL。24小时内有效。 @@ -134,10 +144,12 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type inference_data_process_video_mark_info: :class:`huaweicloudsdkmetastudio.v1.InferenceVideoMarkInfo` :param inference_data_process_action_mark_info: :type inference_data_process_action_mark_info: :class:`huaweicloudsdkmetastudio.v1.InferenceActionMarkInfo` + :param inference_data_process_eye_correction_mark_info: + :type inference_data_process_eye_correction_mark_info: :class:`huaweicloudsdkmetastudio.v1.InferenceEyeCorrectionMarkInfo` :param is_background_replacement: 分身数字人是否需要背景替换。需要背景替换的分身数字人训练视频需要绿幕拍摄。 :type is_background_replacement: bool - :param model_resolution: 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 - :type model_resolution: str + :param worker_type: 转编译任务机型 + :type worker_type: list[str] :param x_request_id: :type x_request_id: str """ @@ -157,6 +169,8 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self._tags = None self._model_version = None self._matting_type = None + self._model_resolution = None + self._app_user_id = None self._training_video_download_url = None self._id_card_image1_download_url = None self._id_card_image2_download_url = None @@ -169,8 +183,9 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self._markable_video_download_url = None self._inference_data_process_video_mark_info = None self._inference_data_process_action_mark_info = None + self._inference_data_process_eye_correction_mark_info = None self._is_background_replacement = None - self._model_resolution = None + self._worker_type = None self._x_request_id = None self.discriminator = None @@ -197,6 +212,10 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self.model_version = model_version if matting_type is not None: self.matting_type = matting_type + if model_resolution is not None: + self.model_resolution = model_resolution + if app_user_id is not None: + self.app_user_id = app_user_id if training_video_download_url is not None: self.training_video_download_url = training_video_download_url if id_card_image1_download_url is not None: @@ -221,10 +240,12 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self.inference_data_process_video_mark_info = inference_data_process_video_mark_info if inference_data_process_action_mark_info is not None: self.inference_data_process_action_mark_info = inference_data_process_action_mark_info + if inference_data_process_eye_correction_mark_info is not None: + self.inference_data_process_eye_correction_mark_info = inference_data_process_eye_correction_mark_info if is_background_replacement is not None: self.is_background_replacement = is_background_replacement - if model_resolution is not None: - self.model_resolution = model_resolution + if worker_type is not None: + self.worker_type = worker_type if x_request_id is not None: self.x_request_id = x_request_id @@ -276,7 +297,7 @@ def name(self, name): def state(self): """Gets the state of this Show2dModelTrainingJobResponse. - 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS: 完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回 * JOB_PENDING:挂起 * JOB_FINISH:结束,最终状态,不可再做改变 + 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 :return: The state of this Show2dModelTrainingJobResponse. :rtype: str @@ -287,7 +308,7 @@ def state(self): def state(self, state): """Sets the state of this Show2dModelTrainingJobResponse. - 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS: 完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回 * JOB_PENDING:挂起 * JOB_FINISH:结束,最终状态,不可再做改变 + 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 :param state: The state of this Show2dModelTrainingJobResponse. :type state: str @@ -474,7 +495,7 @@ def tags(self, tags): def model_version(self): """Gets the model_version of this Show2dModelTrainingJobResponse. - 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 + 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 :return: The model_version of this Show2dModelTrainingJobResponse. :rtype: str @@ -485,7 +506,7 @@ def model_version(self): def model_version(self, model_version): """Sets the model_version of this Show2dModelTrainingJobResponse. - 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 + 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 :param model_version: The model_version of this Show2dModelTrainingJobResponse. :type model_version: str @@ -514,6 +535,50 @@ def matting_type(self, matting_type): """ self._matting_type = matting_type + @property + def model_resolution(self): + """Gets the model_resolution of this Show2dModelTrainingJobResponse. + + 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + + :return: The model_resolution of this Show2dModelTrainingJobResponse. + :rtype: str + """ + return self._model_resolution + + @model_resolution.setter + def model_resolution(self, model_resolution): + """Sets the model_resolution of this Show2dModelTrainingJobResponse. + + 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + + :param model_resolution: The model_resolution of this Show2dModelTrainingJobResponse. + :type model_resolution: str + """ + self._model_resolution = model_resolution + + @property + def app_user_id(self): + """Gets the app_user_id of this Show2dModelTrainingJobResponse. + + 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 + + :return: The app_user_id of this Show2dModelTrainingJobResponse. + :rtype: str + """ + return self._app_user_id + + @app_user_id.setter + def app_user_id(self, app_user_id): + """Sets the app_user_id of this Show2dModelTrainingJobResponse. + + 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 + + :param app_user_id: The app_user_id of this Show2dModelTrainingJobResponse. + :type app_user_id: str + """ + self._app_user_id = app_user_id + @property def training_video_download_url(self): """Gets the training_video_download_url of this Show2dModelTrainingJobResponse. @@ -770,6 +835,24 @@ def inference_data_process_action_mark_info(self, inference_data_process_action_ """ self._inference_data_process_action_mark_info = inference_data_process_action_mark_info + @property + def inference_data_process_eye_correction_mark_info(self): + """Gets the inference_data_process_eye_correction_mark_info of this Show2dModelTrainingJobResponse. + + :return: The inference_data_process_eye_correction_mark_info of this Show2dModelTrainingJobResponse. + :rtype: :class:`huaweicloudsdkmetastudio.v1.InferenceEyeCorrectionMarkInfo` + """ + return self._inference_data_process_eye_correction_mark_info + + @inference_data_process_eye_correction_mark_info.setter + def inference_data_process_eye_correction_mark_info(self, inference_data_process_eye_correction_mark_info): + """Sets the inference_data_process_eye_correction_mark_info of this Show2dModelTrainingJobResponse. + + :param inference_data_process_eye_correction_mark_info: The inference_data_process_eye_correction_mark_info of this Show2dModelTrainingJobResponse. + :type inference_data_process_eye_correction_mark_info: :class:`huaweicloudsdkmetastudio.v1.InferenceEyeCorrectionMarkInfo` + """ + self._inference_data_process_eye_correction_mark_info = inference_data_process_eye_correction_mark_info + @property def is_background_replacement(self): """Gets the is_background_replacement of this Show2dModelTrainingJobResponse. @@ -793,26 +876,26 @@ def is_background_replacement(self, is_background_replacement): self._is_background_replacement = is_background_replacement @property - def model_resolution(self): - """Gets the model_resolution of this Show2dModelTrainingJobResponse. + def worker_type(self): + """Gets the worker_type of this Show2dModelTrainingJobResponse. - 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + 转编译任务机型 - :return: The model_resolution of this Show2dModelTrainingJobResponse. - :rtype: str + :return: The worker_type of this Show2dModelTrainingJobResponse. + :rtype: list[str] """ - return self._model_resolution + return self._worker_type - @model_resolution.setter - def model_resolution(self, model_resolution): - """Sets the model_resolution of this Show2dModelTrainingJobResponse. + @worker_type.setter + def worker_type(self, worker_type): + """Sets the worker_type of this Show2dModelTrainingJobResponse. - 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + 转编译任务机型 - :param model_resolution: The model_resolution of this Show2dModelTrainingJobResponse. - :type model_resolution: str + :param worker_type: The worker_type of this Show2dModelTrainingJobResponse. + :type worker_type: list[str] """ - self._model_resolution = model_resolution + self._worker_type = worker_type @property def x_request_id(self): diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py index 0e8c99f878..315e49559f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, active_code_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param active_code_id: 激活码ID。 :type active_code_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, active_code_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ShowActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowActiveCodeRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowActiveCodeRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py index ff4e2e5c27..023a9a92b0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, asset_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param asset_id: 资产ID。 :type asset_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, asset_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ShowAssetReplicationInfoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowAssetReplicationInfoRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowAssetReplicationInfoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowAssetReplicationInfoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_request.py index 05d2b54817..f510e5d67c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, asset_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param asset_id: 资产ID。 :type asset_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, asset_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ShowAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowAssetRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowAssetRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_digital_human_business_card_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_digital_human_business_card_request.py index 0204d84167..0b49685a4a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_digital_human_business_card_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_digital_human_business_card_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowDigitalHumanBusinessCardRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowDigitalHumanBusinessCardRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_detection_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_detection_request.py index 28d0db037f..5d079c22ac 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_detection_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_detection_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowPhotoDetectionRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowPhotoDetectionRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowPhotoDetectionRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowPhotoDetectionRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_request.py index 0d1c6126c3..4c698769d5 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_request.py @@ -35,7 +35,7 @@ def __init__(self, job_id=None, x_app_user_id=None, show_script=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param show_script: 是否需要返回剧本参数配置。 :type show_script: bool @@ -80,7 +80,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowPhotoDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowPhotoDigitalHumanVideoRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowPhotoDigitalHumanVideoRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowPhotoDigitalHumanVideoRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_picture_modeling_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_picture_modeling_job_request.py index 378f469a6a..a2aba804ec 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_picture_modeling_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_picture_modeling_job_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowPictureModelingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowPictureModelingJobRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowPictureModelingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowPictureModelingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_request.py index 70531e3bdf..8d79c2f32f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, robot_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param robot_id: 应用ID。 :type robot_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, robot_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ShowRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowRobotRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowRobotRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_response.py index 924b916b7a..99241dc4a4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_robot_response.py @@ -20,9 +20,9 @@ class ShowRobotResponse(SdkResponse): openapi_types = { 'robot_id': 'str', 'name': 'str', + 'room_id': 'str', 'app_id': 'str', 'app_type': 'int', - 'concurrency': 'int', 'language': 'LanguageEnum', 'create_time': 'str', 'update_time': 'str', @@ -37,9 +37,9 @@ class ShowRobotResponse(SdkResponse): attribute_map = { 'robot_id': 'robot_id', 'name': 'name', + 'room_id': 'room_id', 'app_id': 'app_id', 'app_type': 'app_type', - 'concurrency': 'concurrency', 'language': 'language', 'create_time': 'create_time', 'update_time': 'update_time', @@ -51,7 +51,7 @@ class ShowRobotResponse(SdkResponse): 'x_request_id': 'X-Request-Id' } - def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurrency=None, language=None, create_time=None, update_time=None, region=None, cbs_project_id=None, llm_url=None, is_stream=None, chat_rounds=None, x_request_id=None): + def __init__(self, robot_id=None, name=None, room_id=None, app_id=None, app_type=None, language=None, create_time=None, update_time=None, region=None, cbs_project_id=None, llm_url=None, is_stream=None, chat_rounds=None, x_request_id=None): """ShowRobotResponse The model defined in huaweicloud sdk @@ -60,12 +60,12 @@ def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurr :type robot_id: str :param name: 应用名称。 :type name: str + :param room_id: 智能交互对话房间ID。 + :type room_id: str :param app_id: 第三方应用ID。 :type app_id: str :param app_type: 对接第三方应用厂商类型。 > 0:科大讯飞AIUI;1:华为云CBS;2:科大讯飞星火交互认知大模型;5:第三方驱动;6:第三方语言模型 :type app_type: int - :param concurrency: 对话的并发数 - :type concurrency: int :param language: :type language: :class:`huaweicloudsdkmetastudio.v1.LanguageEnum` :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 @@ -90,9 +90,9 @@ def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurr self._robot_id = None self._name = None + self._room_id = None self._app_id = None self._app_type = None - self._concurrency = None self._language = None self._create_time = None self._update_time = None @@ -108,12 +108,12 @@ def __init__(self, robot_id=None, name=None, app_id=None, app_type=None, concurr self.robot_id = robot_id if name is not None: self.name = name + if room_id is not None: + self.room_id = room_id if app_id is not None: self.app_id = app_id if app_type is not None: self.app_type = app_type - if concurrency is not None: - self.concurrency = concurrency if language is not None: self.language = language if create_time is not None: @@ -177,6 +177,28 @@ def name(self, name): """ self._name = name + @property + def room_id(self): + """Gets the room_id of this ShowRobotResponse. + + 智能交互对话房间ID。 + + :return: The room_id of this ShowRobotResponse. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this ShowRobotResponse. + + 智能交互对话房间ID。 + + :param room_id: The room_id of this ShowRobotResponse. + :type room_id: str + """ + self._room_id = room_id + @property def app_id(self): """Gets the app_id of this ShowRobotResponse. @@ -221,28 +243,6 @@ def app_type(self, app_type): """ self._app_type = app_type - @property - def concurrency(self): - """Gets the concurrency of this ShowRobotResponse. - - 对话的并发数 - - :return: The concurrency of this ShowRobotResponse. - :rtype: int - """ - return self._concurrency - - @concurrency.setter - def concurrency(self, concurrency): - """Sets the concurrency of this ShowRobotResponse. - - 对话的并发数 - - :param concurrency: The concurrency of this ShowRobotResponse. - :type concurrency: int - """ - self._concurrency = concurrency - @property def language(self): """Gets the language of this ShowRobotResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py index 7218c5f214..418b83069e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, room_id=None, job_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param room_id: 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :type room_id: str @@ -57,7 +57,7 @@ def __init__(self, x_app_user_id=None, room_id=None, job_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ShowSmartChatJobRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowSmartChatJobRequest. :rtype: str @@ -68,7 +68,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowSmartChatJobRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowSmartChatJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_request.py index 441607b1a9..9b92b67c5d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_request.py @@ -31,9 +31,9 @@ def __init__(self, room_id=None, x_app_user_id=None): The model defined in huaweicloud sdk - :param room_id: 剧本ID。 + :param room_id: 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -51,7 +51,7 @@ def __init__(self, room_id=None, x_app_user_id=None): def room_id(self): """Gets the room_id of this ShowSmartChatRoomRequest. - 剧本ID。 + 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :return: The room_id of this ShowSmartChatRoomRequest. :rtype: str @@ -62,7 +62,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this ShowSmartChatRoomRequest. - 剧本ID。 + 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :param room_id: The room_id of this ShowSmartChatRoomRequest. :type room_id: str @@ -73,7 +73,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowSmartChatRoomRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowSmartChatRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py index cd33859e89..537897500d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py @@ -123,7 +123,8 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod self.model_asset_id = model_asset_id if voice_config is not None: self.voice_config = voice_config - self.robot_id = robot_id + if robot_id is not None: + self.robot_id = robot_id if concurrency is not None: self.concurrency = concurrency if background_config is not None: diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_request.py index cc2481af41..bc4ae4fc13 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_request.py @@ -37,7 +37,7 @@ def __init__(self, room_id=None, job_id=None, x_app_user_id=None): :type room_id: str :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -101,7 +101,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowSmartLiveRequest. :rtype: str @@ -112,7 +112,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowSmartLiveRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py index 75d04133a9..034f5d0c69 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py @@ -96,7 +96,7 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type stream_duration: float :param block_reason: 封禁信息 :type block_reason: str - :param cover_url: 直播间封面图UR + :param cover_url: 直播间封面图URL :type cover_url: str :param co_streamer_config: :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` @@ -490,7 +490,7 @@ def block_reason(self, block_reason): def cover_url(self): """Gets the cover_url of this ShowSmartLiveResponse. - 直播间封面图UR + 直播间封面图URL :return: The cover_url of this ShowSmartLiveResponse. :rtype: str @@ -501,7 +501,7 @@ def cover_url(self): def cover_url(self, cover_url): """Sets the cover_url of this ShowSmartLiveResponse. - 直播间封面图UR + 直播间封面图URL :param cover_url: The cover_url of this ShowSmartLiveResponse. :type cover_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_request.py index f51b9edd26..305240d58d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_request.py @@ -33,7 +33,7 @@ def __init__(self, room_id=None, x_app_user_id=None): :param room_id: 剧本ID。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowSmartLiveRoomRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowSmartLiveRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_tts_audition_file_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_tts_audition_file_request.py index 93ce712338..27e557d05c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_tts_audition_file_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_tts_audition_file_request.py @@ -35,7 +35,7 @@ def __init__(self, x_request_id=None, x_app_user_id=None, job_id=None): :param x_request_id: 请求requestId,用来标识一路请求,用于问题跟踪定位,建议使用uuId,若不携带,则后台自动生成 :type x_request_id: str - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param job_id: 任务ID。 :type job_id: str @@ -80,7 +80,7 @@ def x_request_id(self, x_request_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowTtsAuditionFileRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowTtsAuditionFileRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowTtsAuditionFileRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowTtsAuditionFileRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_motion_capture_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_motion_capture_job_request.py index fdb72bc064..2a5d532d6d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_motion_capture_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_motion_capture_job_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this ShowVideoMotionCaptureJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowVideoMotionCaptureJobRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowVideoMotionCaptureJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowVideoMotionCaptureJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_request.py index 4480385b03..3dcb404908 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, script_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param script_id: 剧本ID。 :type script_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, script_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ShowVideoScriptRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowVideoScriptRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowVideoScriptRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowVideoScriptRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_request.py index 32c811b287..5917eb843f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_request.py @@ -31,7 +31,7 @@ def __init__(self, x_app_user_id=None, job_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param job_id: 任务id。 :type job_id: str @@ -51,7 +51,7 @@ def __init__(self, x_app_user_id=None, job_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this ShowVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this ShowVoiceTrainingJobRequest. :rtype: str @@ -62,7 +62,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this ShowVoiceTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this ShowVoiceTrainingJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py index 19dfe761f2..27f3ebcfa9 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py @@ -93,7 +93,7 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type stream_duration: float :param block_reason: 封禁信息 :type block_reason: str - :param cover_url: 直播间封面图UR + :param cover_url: 直播间封面图URL :type cover_url: str :param co_streamer_config: :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` @@ -482,7 +482,7 @@ def block_reason(self, block_reason): def cover_url(self): """Gets the cover_url of this SmartLiveJob. - 直播间封面图UR + 直播间封面图URL :return: The cover_url of this SmartLiveJob. :rtype: str @@ -493,7 +493,7 @@ def cover_url(self): def cover_url(self, cover_url): """Sets the cover_url of this SmartLiveJob. - 直播间封面图UR + 直播间封面图URL :param cover_url: The cover_url of this SmartLiveJob. :type cover_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py index 50df06f644..f959106c77 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py @@ -93,7 +93,7 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None :type last_job_start_time: str :param last_job_end_time: 结束直播时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :type last_job_end_time: str - :param last_job_status: 当前直播状态 - WAITING:任务等待执行 - PROCESSING:任务执行中 - SUCCEED:任务处理成功 - FAILED:任务处理时变 - CANCELED:任务取消 + :param last_job_status: 当前直播状态 - WAITING:任务等待执行 - PROCESSING:任务执行中 - SUCCEED:任务处理成功 - FAILED:任务处理时变 - CANCELED:任务取消 - BLOCKED:任务被冻结 :type last_job_status: str """ @@ -501,7 +501,7 @@ def last_job_end_time(self, last_job_end_time): def last_job_status(self): """Gets the last_job_status of this SmartLiveRoomBaseInfo. - 当前直播状态 - WAITING:任务等待执行 - PROCESSING:任务执行中 - SUCCEED:任务处理成功 - FAILED:任务处理时变 - CANCELED:任务取消 + 当前直播状态 - WAITING:任务等待执行 - PROCESSING:任务执行中 - SUCCEED:任务处理成功 - FAILED:任务处理时变 - CANCELED:任务取消 - BLOCKED:任务被冻结 :return: The last_job_status of this SmartLiveRoomBaseInfo. :rtype: str @@ -512,7 +512,7 @@ def last_job_status(self): def last_job_status(self, last_job_status): """Sets the last_job_status of this SmartLiveRoomBaseInfo. - 当前直播状态 - WAITING:任务等待执行 - PROCESSING:任务执行中 - SUCCEED:任务处理成功 - FAILED:任务处理时变 - CANCELED:任务取消 + 当前直播状态 - WAITING:任务等待执行 - PROCESSING:任务执行中 - SUCCEED:任务处理成功 - FAILED:任务处理时变 - CANCELED:任务取消 - BLOCKED:任务被冻结 :param last_job_status: The last_job_status of this SmartLiveRoomBaseInfo. :type last_job_status: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py index 89a86fba88..44882abbb0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, room_id=None, robot_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param room_id: 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :type room_id: str @@ -57,7 +57,7 @@ def __init__(self, x_app_user_id=None, room_id=None, robot_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this StartSmartChatJobRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this StartSmartChatJobRequest. :rtype: str @@ -68,7 +68,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this StartSmartChatJobRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this StartSmartChatJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_request.py index 2d2732b7e7..8f708086d0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_request.py @@ -35,7 +35,7 @@ def __init__(self, room_id=None, x_app_user_id=None, body=None): :param room_id: 剧本ID。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the StartSmartLiveRequest :type body: :class:`huaweicloudsdkmetastudio.v1.StartSmartLiveReq` @@ -80,7 +80,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this StartSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this StartSmartLiveRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this StartSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this StartSmartLiveRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py index 0378971afd..96f0bd5648 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, room_id=None, job_id=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param room_id: 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :type room_id: str @@ -57,7 +57,7 @@ def __init__(self, x_app_user_id=None, room_id=None, job_id=None): def x_app_user_id(self): """Gets the x_app_user_id of this StopSmartChatJobRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this StopSmartChatJobRequest. :rtype: str @@ -68,7 +68,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this StopSmartChatJobRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this StopSmartChatJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_live_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_live_request.py index f9d7a48826..9b6aede284 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_live_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_live_request.py @@ -37,7 +37,7 @@ def __init__(self, room_id=None, job_id=None, x_app_user_id=None): :type room_id: str :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -101,7 +101,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this StopSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this StopSmartLiveRequest. :rtype: str @@ -112,7 +112,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this StopSmartLiveRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this StopSmartLiveRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_video_motion_capture_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_video_motion_capture_job_request.py index acd3d41464..9fcf701bfc 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_video_motion_capture_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_video_motion_capture_job_request.py @@ -33,7 +33,7 @@ def __init__(self, job_id=None, x_app_user_id=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str """ @@ -73,7 +73,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this StopVideoMotionCaptureJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this StopVideoMotionCaptureJobRequest. :rtype: str @@ -84,7 +84,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this StopVideoMotionCaptureJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this StopVideoMotionCaptureJobRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py index 29aab3e3fa..f5c4dd332f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py @@ -47,9 +47,9 @@ def __init__(self, dx=None, dy=None, font_name=None, font_size=None, h=None, w=N :type font_name: str :param font_size: 字体大小。 取值范围:[4, 120] :type font_size: int - :param h: 字幕框高度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 + :param h: 字幕框高度 > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 :type h: int - :param w: 字幕框宽度 + :param w: 字幕框宽度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 :type w: int """ @@ -168,7 +168,7 @@ def font_size(self, font_size): def h(self): """Gets the h of this SubtitleConfig. - 字幕框高度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 + 字幕框高度 > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 :return: The h of this SubtitleConfig. :rtype: int @@ -179,7 +179,7 @@ def h(self): def h(self, h): """Sets the h of this SubtitleConfig. - 字幕框高度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 + 字幕框高度 > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 :param h: The h of this SubtitleConfig. :type h: int @@ -190,7 +190,7 @@ def h(self, h): def w(self): """Gets the w of this SubtitleConfig. - 字幕框宽度 + 字幕框宽度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 :return: The w of this SubtitleConfig. :rtype: int @@ -201,7 +201,7 @@ def w(self): def w(self, w): """Sets the w of this SubtitleConfig. - 字幕框宽度 + 字幕框宽度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 :param w: The w of this SubtitleConfig. :type w: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py index baaab9e90a..76f1359c44 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py @@ -29,7 +29,9 @@ class TrainingJobBasicInfo: 'batch_name': 'str', 'tags': 'list[str]', 'model_version': 'str', - 'matting_type': 'str' + 'matting_type': 'str', + 'model_resolution': 'str', + 'app_user_id': 'str' } attribute_map = { @@ -45,10 +47,12 @@ class TrainingJobBasicInfo: 'batch_name': 'batch_name', 'tags': 'tags', 'model_version': 'model_version', - 'matting_type': 'matting_type' + 'matting_type': 'matting_type', + 'model_resolution': 'model_resolution', + 'app_user_id': 'app_user_id' } - def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None): + def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None, model_resolution=None, app_user_id=None): """TrainingJobBasicInfo The model defined in huaweicloud sdk @@ -57,7 +61,7 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type job_id: str :param name: 分身数字人模型名称。该名称会作为资产库中分身数字人模型资产名称。 :type name: str - :param state: 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS: 完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回 * JOB_PENDING:挂起 * JOB_FINISH:结束,最终状态,不可再做改变 + :param state: 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 :type state: str :param asset_id: 模型资产ID。 :type asset_id: str @@ -75,10 +79,14 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type batch_name: str :param tags: 分身数字人训练任务标签。 :type tags: list[str] - :param model_version: 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 + :param model_version: 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 :type model_version: str :param matting_type: 抠图类型。默认是AI。 * AI:AI抠图 * MANUAL:人工抠图 :type matting_type: str + :param model_resolution: 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + :type model_resolution: str + :param app_user_id: 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 + :type app_user_id: str """ @@ -96,6 +104,8 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self._tags = None self._model_version = None self._matting_type = None + self._model_resolution = None + self._app_user_id = None self.discriminator = None self.job_id = job_id @@ -121,6 +131,10 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self.model_version = model_version if matting_type is not None: self.matting_type = matting_type + if model_resolution is not None: + self.model_resolution = model_resolution + if app_user_id is not None: + self.app_user_id = app_user_id @property def job_id(self): @@ -170,7 +184,7 @@ def name(self, name): def state(self): """Gets the state of this TrainingJobBasicInfo. - 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS: 完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回 * JOB_PENDING:挂起 * JOB_FINISH:结束,最终状态,不可再做改变 + 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 :return: The state of this TrainingJobBasicInfo. :rtype: str @@ -181,7 +195,7 @@ def state(self): def state(self, state): """Sets the state of this TrainingJobBasicInfo. - 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS: 完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回 * JOB_PENDING:挂起 * JOB_FINISH:结束,最终状态,不可再做改变 + 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 :param state: The state of this TrainingJobBasicInfo. :type state: str @@ -368,7 +382,7 @@ def tags(self, tags): def model_version(self): """Gets the model_version of this TrainingJobBasicInfo. - 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 + 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 :return: The model_version of this TrainingJobBasicInfo. :rtype: str @@ -379,7 +393,7 @@ def model_version(self): def model_version(self, model_version): """Sets the model_version of this TrainingJobBasicInfo. - 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 + 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 :param model_version: The model_version of this TrainingJobBasicInfo. :type model_version: str @@ -408,6 +422,50 @@ def matting_type(self, matting_type): """ self._matting_type = matting_type + @property + def model_resolution(self): + """Gets the model_resolution of this TrainingJobBasicInfo. + + 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + + :return: The model_resolution of this TrainingJobBasicInfo. + :rtype: str + """ + return self._model_resolution + + @model_resolution.setter + def model_resolution(self, model_resolution): + """Sets the model_resolution of this TrainingJobBasicInfo. + + 分身数字人模型分辨率。默认是1080P。 * 1080P:1080P。支持1080P及720P的视频输出。 * 4K:4K。支持4K、1080P及720P的视频输出。 + + :param model_resolution: The model_resolution of this TrainingJobBasicInfo. + :type model_resolution: str + """ + self._model_resolution = model_resolution + + @property + def app_user_id(self): + """Gets the app_user_id of this TrainingJobBasicInfo. + + 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 + + :return: The app_user_id of this TrainingJobBasicInfo. + :rtype: str + """ + return self._app_user_id + + @app_user_id.setter + def app_user_id(self, app_user_id): + """Sets the app_user_id of this TrainingJobBasicInfo. + + 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 + + :param app_user_id: The app_user_id of this TrainingJobBasicInfo. + :type app_user_id: str + """ + self._app_user_id = app_user_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py new file mode 100644 index 0000000000..2479513f35 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py @@ -0,0 +1,289 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class Update2dModelTrainingJobReq: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'name': 'str', + 'contact': 'str', + 'command_message': 'str', + 'video_multipart_count': 'int', + 'is_background_replacement': 'bool', + 'batch_name': 'str', + 'tags': 'list[str]' + } + + attribute_map = { + 'name': 'name', + 'contact': 'contact', + 'command_message': 'command_message', + 'video_multipart_count': 'video_multipart_count', + 'is_background_replacement': 'is_background_replacement', + 'batch_name': 'batch_name', + 'tags': 'tags' + } + + def __init__(self, name=None, contact=None, command_message=None, video_multipart_count=None, is_background_replacement=None, batch_name=None, tags=None): + """Update2dModelTrainingJobReq + + The model defined in huaweicloud sdk + + :param name: 分身数字人模型名称。该名称会作为资产库中分身数字人模型资产名称。 + :type name: str + :param contact: 分身数字人训练任务创建者联系方式,如手机或邮箱等。 + :type contact: str + :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + :type command_message: str + :param video_multipart_count: 训练视频上传分片数。 + :type video_multipart_count: int + :param is_background_replacement: 分身数字人是否需要背景替换。需要背景替换的分身数字人训练视频需要绿幕拍摄。 + :type is_background_replacement: bool + :param batch_name: 分身数字人训练任务的批次名称。 + :type batch_name: str + :param tags: 分身数字人训练任务标签。 + :type tags: list[str] + """ + + + + self._name = None + self._contact = None + self._command_message = None + self._video_multipart_count = None + self._is_background_replacement = None + self._batch_name = None + self._tags = None + self.discriminator = None + + if name is not None: + self.name = name + if contact is not None: + self.contact = contact + if command_message is not None: + self.command_message = command_message + if video_multipart_count is not None: + self.video_multipart_count = video_multipart_count + if is_background_replacement is not None: + self.is_background_replacement = is_background_replacement + if batch_name is not None: + self.batch_name = batch_name + if tags is not None: + self.tags = tags + + @property + def name(self): + """Gets the name of this Update2dModelTrainingJobReq. + + 分身数字人模型名称。该名称会作为资产库中分身数字人模型资产名称。 + + :return: The name of this Update2dModelTrainingJobReq. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Update2dModelTrainingJobReq. + + 分身数字人模型名称。该名称会作为资产库中分身数字人模型资产名称。 + + :param name: The name of this Update2dModelTrainingJobReq. + :type name: str + """ + self._name = name + + @property + def contact(self): + """Gets the contact of this Update2dModelTrainingJobReq. + + 分身数字人训练任务创建者联系方式,如手机或邮箱等。 + + :return: The contact of this Update2dModelTrainingJobReq. + :rtype: str + """ + return self._contact + + @contact.setter + def contact(self, contact): + """Sets the contact of this Update2dModelTrainingJobReq. + + 分身数字人训练任务创建者联系方式,如手机或邮箱等。 + + :param contact: The contact of this Update2dModelTrainingJobReq. + :type contact: str + """ + self._contact = contact + + @property + def command_message(self): + """Gets the command_message of this Update2dModelTrainingJobReq. + + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + + :return: The command_message of this Update2dModelTrainingJobReq. + :rtype: str + """ + return self._command_message + + @command_message.setter + def command_message(self, command_message): + """Sets the command_message of this Update2dModelTrainingJobReq. + + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + + :param command_message: The command_message of this Update2dModelTrainingJobReq. + :type command_message: str + """ + self._command_message = command_message + + @property + def video_multipart_count(self): + """Gets the video_multipart_count of this Update2dModelTrainingJobReq. + + 训练视频上传分片数。 + + :return: The video_multipart_count of this Update2dModelTrainingJobReq. + :rtype: int + """ + return self._video_multipart_count + + @video_multipart_count.setter + def video_multipart_count(self, video_multipart_count): + """Sets the video_multipart_count of this Update2dModelTrainingJobReq. + + 训练视频上传分片数。 + + :param video_multipart_count: The video_multipart_count of this Update2dModelTrainingJobReq. + :type video_multipart_count: int + """ + self._video_multipart_count = video_multipart_count + + @property + def is_background_replacement(self): + """Gets the is_background_replacement of this Update2dModelTrainingJobReq. + + 分身数字人是否需要背景替换。需要背景替换的分身数字人训练视频需要绿幕拍摄。 + + :return: The is_background_replacement of this Update2dModelTrainingJobReq. + :rtype: bool + """ + return self._is_background_replacement + + @is_background_replacement.setter + def is_background_replacement(self, is_background_replacement): + """Sets the is_background_replacement of this Update2dModelTrainingJobReq. + + 分身数字人是否需要背景替换。需要背景替换的分身数字人训练视频需要绿幕拍摄。 + + :param is_background_replacement: The is_background_replacement of this Update2dModelTrainingJobReq. + :type is_background_replacement: bool + """ + self._is_background_replacement = is_background_replacement + + @property + def batch_name(self): + """Gets the batch_name of this Update2dModelTrainingJobReq. + + 分身数字人训练任务的批次名称。 + + :return: The batch_name of this Update2dModelTrainingJobReq. + :rtype: str + """ + return self._batch_name + + @batch_name.setter + def batch_name(self, batch_name): + """Sets the batch_name of this Update2dModelTrainingJobReq. + + 分身数字人训练任务的批次名称。 + + :param batch_name: The batch_name of this Update2dModelTrainingJobReq. + :type batch_name: str + """ + self._batch_name = batch_name + + @property + def tags(self): + """Gets the tags of this Update2dModelTrainingJobReq. + + 分身数字人训练任务标签。 + + :return: The tags of this Update2dModelTrainingJobReq. + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this Update2dModelTrainingJobReq. + + 分身数字人训练任务标签。 + + :param tags: The tags of this Update2dModelTrainingJobReq. + :type tags: list[str] + """ + self._tags = tags + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Update2dModelTrainingJobReq): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_request.py index 882c9d4aa5..fb49348a0f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_request.py @@ -19,7 +19,7 @@ class Update2dModelTrainingJobRequest: openapi_types = { 'job_id': 'str', 'x_app_user_id': 'str', - 'body': 'Create2dModelTrainingJobReq' + 'body': 'Update2dModelTrainingJobReq' } attribute_map = { @@ -35,10 +35,10 @@ def __init__(self, job_id=None, x_app_user_id=None, body=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the Update2dModelTrainingJobRequest - :type body: :class:`huaweicloudsdkmetastudio.v1.Create2dModelTrainingJobReq` + :type body: :class:`huaweicloudsdkmetastudio.v1.Update2dModelTrainingJobReq` """ @@ -80,7 +80,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this Update2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this Update2dModelTrainingJobRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this Update2dModelTrainingJobRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this Update2dModelTrainingJobRequest. :type x_app_user_id: str @@ -103,7 +103,7 @@ def body(self): """Gets the body of this Update2dModelTrainingJobRequest. :return: The body of this Update2dModelTrainingJobRequest. - :rtype: :class:`huaweicloudsdkmetastudio.v1.Create2dModelTrainingJobReq` + :rtype: :class:`huaweicloudsdkmetastudio.v1.Update2dModelTrainingJobReq` """ return self._body @@ -112,7 +112,7 @@ def body(self, body): """Sets the body of this Update2dModelTrainingJobRequest. :param body: The body of this Update2dModelTrainingJobRequest. - :type body: :class:`huaweicloudsdkmetastudio.v1.Create2dModelTrainingJobReq` + :type body: :class:`huaweicloudsdkmetastudio.v1.Update2dModelTrainingJobReq` """ self._body = body diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py index ba09f525db..45e1071ea5 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, active_code_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param active_code_id: 激活码ID。 :type active_code_id: str @@ -58,7 +58,7 @@ def __init__(self, x_app_user_id=None, active_code_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateActiveCodeRequest. :rtype: str @@ -69,7 +69,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateActiveCodeRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateActiveCodeRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_asset_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_asset_request.py index 11ab42c6a7..3469fb5e87 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_asset_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_asset_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, asset_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param asset_id: 资产ID。 :type asset_id: str @@ -58,7 +58,7 @@ def __init__(self, x_app_user_id=None, asset_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateDigitalAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateDigitalAssetRequest. :rtype: str @@ -69,7 +69,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateDigitalAssetRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateDigitalAssetRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_human_business_card_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_human_business_card_request.py index 4b2962ab1c..d6e45eb5a2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_human_business_card_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_digital_human_business_card_request.py @@ -35,7 +35,7 @@ def __init__(self, job_id=None, x_app_user_id=None, body=None): :param job_id: 任务ID。 :type job_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the UpdateDigitalHumanBusinessCardRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateDigitalHumanBusinessCardReq` @@ -80,7 +80,7 @@ def job_id(self, job_id): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateDigitalHumanBusinessCardRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateDigitalHumanBusinessCardRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateDigitalHumanBusinessCardRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_request.py index 88326c2df6..d25c2a05f8 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, group_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param group_id: 互动规则库ID。 :type group_id: str @@ -58,7 +58,7 @@ def __init__(self, x_app_user_id=None, group_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateInteractionRuleGroupRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateInteractionRuleGroupRequest. :rtype: str @@ -69,7 +69,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateInteractionRuleGroupRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateInteractionRuleGroupRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_req.py index 83e30a63e7..a205fc1fc4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_req.py @@ -19,7 +19,7 @@ class UpdateRobotReq: openapi_types = { 'name': 'str', 'app_type': 'int', - 'concurrency': 'int', + 'room_id': 'str', 'language': 'LanguageEnum', 'huawei_ei_cbs': 'HuaweiEiCbs', 'iflytek_aiui_config': 'IflytekAiuiConfig', @@ -30,7 +30,7 @@ class UpdateRobotReq: attribute_map = { 'name': 'name', 'app_type': 'app_type', - 'concurrency': 'concurrency', + 'room_id': 'room_id', 'language': 'language', 'huawei_ei_cbs': 'huawei_ei_cbs', 'iflytek_aiui_config': 'iflytek_aiui_config', @@ -38,7 +38,7 @@ class UpdateRobotReq: 'third_party_model_config': 'third_party_model_config' } - def __init__(self, name=None, app_type=None, concurrency=None, language=None, huawei_ei_cbs=None, iflytek_aiui_config=None, iflytek_spark=None, third_party_model_config=None): + def __init__(self, name=None, app_type=None, room_id=None, language=None, huawei_ei_cbs=None, iflytek_aiui_config=None, iflytek_spark=None, third_party_model_config=None): """UpdateRobotReq The model defined in huaweicloud sdk @@ -47,8 +47,8 @@ def __init__(self, name=None, app_type=None, concurrency=None, language=None, hu :type name: str :param app_type: 对接第三方应用厂商类型。 > 0:科大讯飞AIUI;1:华为云CBS;2:科大讯飞星火交互认知大模型;5:第三方驱动;6:第三方语言模型 :type app_type: int - :param concurrency: 对话的并发数 - :type concurrency: int + :param room_id: 智能交互对话房间ID。 + :type room_id: str :param language: :type language: :class:`huaweicloudsdkmetastudio.v1.LanguageEnum` :param huawei_ei_cbs: @@ -65,7 +65,7 @@ def __init__(self, name=None, app_type=None, concurrency=None, language=None, hu self._name = None self._app_type = None - self._concurrency = None + self._room_id = None self._language = None self._huawei_ei_cbs = None self._iflytek_aiui_config = None @@ -77,8 +77,8 @@ def __init__(self, name=None, app_type=None, concurrency=None, language=None, hu self.name = name if app_type is not None: self.app_type = app_type - if concurrency is not None: - self.concurrency = concurrency + if room_id is not None: + self.room_id = room_id if language is not None: self.language = language if huawei_ei_cbs is not None: @@ -135,26 +135,26 @@ def app_type(self, app_type): self._app_type = app_type @property - def concurrency(self): - """Gets the concurrency of this UpdateRobotReq. + def room_id(self): + """Gets the room_id of this UpdateRobotReq. - 对话的并发数 + 智能交互对话房间ID。 - :return: The concurrency of this UpdateRobotReq. - :rtype: int + :return: The room_id of this UpdateRobotReq. + :rtype: str """ - return self._concurrency + return self._room_id - @concurrency.setter - def concurrency(self, concurrency): - """Sets the concurrency of this UpdateRobotReq. + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this UpdateRobotReq. - 对话的并发数 + 智能交互对话房间ID。 - :param concurrency: The concurrency of this UpdateRobotReq. - :type concurrency: int + :param room_id: The room_id of this UpdateRobotReq. + :type room_id: str """ - self._concurrency = concurrency + self._room_id = room_id @property def language(self): diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_request.py index 39ab912192..917cb8134c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_robot_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, robot_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param robot_id: 应用ID。 :type robot_id: str @@ -58,7 +58,7 @@ def __init__(self, x_app_user_id=None, robot_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateRobotRequest. :rtype: str @@ -69,7 +69,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateRobotRequest. - 开发者应用作为资产权属的可选字段。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateRobotRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_request.py index e82e69b69e..e1661ac216 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_request.py @@ -33,9 +33,9 @@ def __init__(self, room_id=None, x_app_user_id=None, body=None): The model defined in huaweicloud sdk - :param room_id: 剧本ID。 + :param room_id: 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the UpdateSmartChatRoomRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateSmartChatRoomReq` @@ -58,7 +58,7 @@ def __init__(self, room_id=None, x_app_user_id=None, body=None): def room_id(self): """Gets the room_id of this UpdateSmartChatRoomRequest. - 剧本ID。 + 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :return: The room_id of this UpdateSmartChatRoomRequest. :rtype: str @@ -69,7 +69,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this UpdateSmartChatRoomRequest. - 剧本ID。 + 智能交互对话ID。获取方法请参考[创建智能交互对话](CreateSmartChatRoom.xml)。 :param room_id: The room_id of this UpdateSmartChatRoomRequest. :type room_id: str @@ -80,7 +80,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateSmartChatRoomRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateSmartChatRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateSmartChatRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py index 2ac9dc85e6..bab4052926 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py @@ -123,7 +123,8 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod self.model_asset_id = model_asset_id if voice_config is not None: self.voice_config = voice_config - self.robot_id = robot_id + if robot_id is not None: + self.robot_id = robot_id if concurrency is not None: self.concurrency = concurrency if background_config is not None: diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_request.py index beae64e86b..c25bcba176 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_request.py @@ -35,7 +35,7 @@ def __init__(self, room_id=None, x_app_user_id=None, body=None): :param room_id: 剧本ID。 :type room_id: str - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param body: Body of the UpdateSmartLiveRoomRequest :type body: :class:`huaweicloudsdkmetastudio.v1.CreateSmartLiveRoomReq` @@ -80,7 +80,7 @@ def room_id(self, room_id): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateSmartLiveRoomRequest. :rtype: str @@ -91,7 +91,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateSmartLiveRoomRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateSmartLiveRoomRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_script_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_script_request.py index fbe89eb31b..677ed7ad4f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_script_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_script_request.py @@ -33,7 +33,7 @@ def __init__(self, x_app_user_id=None, script_id=None, body=None): The model defined in huaweicloud sdk - :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :param x_app_user_id: 第三方用户ID。不允许输入中文。 :type x_app_user_id: str :param script_id: 剧本ID。 :type script_id: str @@ -58,7 +58,7 @@ def __init__(self, x_app_user_id=None, script_id=None, body=None): def x_app_user_id(self): """Gets the x_app_user_id of this UpdateVideoScriptRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :return: The x_app_user_id of this UpdateVideoScriptRequest. :rtype: str @@ -69,7 +69,7 @@ def x_app_user_id(self): def x_app_user_id(self, x_app_user_id): """Sets the x_app_user_id of this UpdateVideoScriptRequest. - 第三方用户ID。 > * 不允许输入中文。 + 第三方用户ID。不允许输入中文。 :param x_app_user_id: The x_app_user_id of this UpdateVideoScriptRequest. :type x_app_user_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_asset_meta.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_asset_meta.py new file mode 100644 index 0000000000..52131e0beb --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_asset_meta.py @@ -0,0 +1,430 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class VideoAssetMeta: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'video_codec': 'str', + 'width': 'int', + 'height': 'int', + 'frame_rate': 'str', + 'video_bit_rate': 'int', + 'duration': 'int', + 'audio_codec': 'str', + 'audio_bit_rate': 'int', + 'audio_channels': 'int', + 'sample': 'int', + 'mode': 'str', + 'error_info': 'ErrorResponse' + } + + attribute_map = { + 'video_codec': 'video_codec', + 'width': 'width', + 'height': 'height', + 'frame_rate': 'frame_rate', + 'video_bit_rate': 'video_bit_rate', + 'duration': 'duration', + 'audio_codec': 'audio_codec', + 'audio_bit_rate': 'audio_bit_rate', + 'audio_channels': 'audio_channels', + 'sample': 'sample', + 'mode': 'mode', + 'error_info': 'error_info' + } + + def __init__(self, video_codec=None, width=None, height=None, frame_rate=None, video_bit_rate=None, duration=None, audio_codec=None, audio_bit_rate=None, audio_channels=None, sample=None, mode=None, error_info=None): + """VideoAssetMeta + + The model defined in huaweicloud sdk + + :param video_codec: 视频编码格式 + :type video_codec: str + :param width: 视频宽度 + :type width: int + :param height: 视频高度 + :type height: int + :param frame_rate: 帧率 + :type frame_rate: str + :param video_bit_rate: 视频平均码率,单位kbps + :type video_bit_rate: int + :param duration: 时长,单位秒 + :type duration: int + :param audio_codec: 音频编码格式 + :type audio_codec: str + :param audio_bit_rate: 音频平均码率,单位kbps + :type audio_bit_rate: int + :param audio_channels: 音频声道数 + :type audio_channels: int + :param sample: 采样率,HZ + :type sample: int + :param mode: Horizontal=横向;Vertical=纵向 + :type mode: str + :param error_info: + :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + + + + self._video_codec = None + self._width = None + self._height = None + self._frame_rate = None + self._video_bit_rate = None + self._duration = None + self._audio_codec = None + self._audio_bit_rate = None + self._audio_channels = None + self._sample = None + self._mode = None + self._error_info = None + self.discriminator = None + + if video_codec is not None: + self.video_codec = video_codec + if width is not None: + self.width = width + if height is not None: + self.height = height + if frame_rate is not None: + self.frame_rate = frame_rate + if video_bit_rate is not None: + self.video_bit_rate = video_bit_rate + if duration is not None: + self.duration = duration + if audio_codec is not None: + self.audio_codec = audio_codec + if audio_bit_rate is not None: + self.audio_bit_rate = audio_bit_rate + if audio_channels is not None: + self.audio_channels = audio_channels + if sample is not None: + self.sample = sample + if mode is not None: + self.mode = mode + if error_info is not None: + self.error_info = error_info + + @property + def video_codec(self): + """Gets the video_codec of this VideoAssetMeta. + + 视频编码格式 + + :return: The video_codec of this VideoAssetMeta. + :rtype: str + """ + return self._video_codec + + @video_codec.setter + def video_codec(self, video_codec): + """Sets the video_codec of this VideoAssetMeta. + + 视频编码格式 + + :param video_codec: The video_codec of this VideoAssetMeta. + :type video_codec: str + """ + self._video_codec = video_codec + + @property + def width(self): + """Gets the width of this VideoAssetMeta. + + 视频宽度 + + :return: The width of this VideoAssetMeta. + :rtype: int + """ + return self._width + + @width.setter + def width(self, width): + """Sets the width of this VideoAssetMeta. + + 视频宽度 + + :param width: The width of this VideoAssetMeta. + :type width: int + """ + self._width = width + + @property + def height(self): + """Gets the height of this VideoAssetMeta. + + 视频高度 + + :return: The height of this VideoAssetMeta. + :rtype: int + """ + return self._height + + @height.setter + def height(self, height): + """Sets the height of this VideoAssetMeta. + + 视频高度 + + :param height: The height of this VideoAssetMeta. + :type height: int + """ + self._height = height + + @property + def frame_rate(self): + """Gets the frame_rate of this VideoAssetMeta. + + 帧率 + + :return: The frame_rate of this VideoAssetMeta. + :rtype: str + """ + return self._frame_rate + + @frame_rate.setter + def frame_rate(self, frame_rate): + """Sets the frame_rate of this VideoAssetMeta. + + 帧率 + + :param frame_rate: The frame_rate of this VideoAssetMeta. + :type frame_rate: str + """ + self._frame_rate = frame_rate + + @property + def video_bit_rate(self): + """Gets the video_bit_rate of this VideoAssetMeta. + + 视频平均码率,单位kbps + + :return: The video_bit_rate of this VideoAssetMeta. + :rtype: int + """ + return self._video_bit_rate + + @video_bit_rate.setter + def video_bit_rate(self, video_bit_rate): + """Sets the video_bit_rate of this VideoAssetMeta. + + 视频平均码率,单位kbps + + :param video_bit_rate: The video_bit_rate of this VideoAssetMeta. + :type video_bit_rate: int + """ + self._video_bit_rate = video_bit_rate + + @property + def duration(self): + """Gets the duration of this VideoAssetMeta. + + 时长,单位秒 + + :return: The duration of this VideoAssetMeta. + :rtype: int + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this VideoAssetMeta. + + 时长,单位秒 + + :param duration: The duration of this VideoAssetMeta. + :type duration: int + """ + self._duration = duration + + @property + def audio_codec(self): + """Gets the audio_codec of this VideoAssetMeta. + + 音频编码格式 + + :return: The audio_codec of this VideoAssetMeta. + :rtype: str + """ + return self._audio_codec + + @audio_codec.setter + def audio_codec(self, audio_codec): + """Sets the audio_codec of this VideoAssetMeta. + + 音频编码格式 + + :param audio_codec: The audio_codec of this VideoAssetMeta. + :type audio_codec: str + """ + self._audio_codec = audio_codec + + @property + def audio_bit_rate(self): + """Gets the audio_bit_rate of this VideoAssetMeta. + + 音频平均码率,单位kbps + + :return: The audio_bit_rate of this VideoAssetMeta. + :rtype: int + """ + return self._audio_bit_rate + + @audio_bit_rate.setter + def audio_bit_rate(self, audio_bit_rate): + """Sets the audio_bit_rate of this VideoAssetMeta. + + 音频平均码率,单位kbps + + :param audio_bit_rate: The audio_bit_rate of this VideoAssetMeta. + :type audio_bit_rate: int + """ + self._audio_bit_rate = audio_bit_rate + + @property + def audio_channels(self): + """Gets the audio_channels of this VideoAssetMeta. + + 音频声道数 + + :return: The audio_channels of this VideoAssetMeta. + :rtype: int + """ + return self._audio_channels + + @audio_channels.setter + def audio_channels(self, audio_channels): + """Sets the audio_channels of this VideoAssetMeta. + + 音频声道数 + + :param audio_channels: The audio_channels of this VideoAssetMeta. + :type audio_channels: int + """ + self._audio_channels = audio_channels + + @property + def sample(self): + """Gets the sample of this VideoAssetMeta. + + 采样率,HZ + + :return: The sample of this VideoAssetMeta. + :rtype: int + """ + return self._sample + + @sample.setter + def sample(self, sample): + """Sets the sample of this VideoAssetMeta. + + 采样率,HZ + + :param sample: The sample of this VideoAssetMeta. + :type sample: int + """ + self._sample = sample + + @property + def mode(self): + """Gets the mode of this VideoAssetMeta. + + Horizontal=横向;Vertical=纵向 + + :return: The mode of this VideoAssetMeta. + :rtype: str + """ + return self._mode + + @mode.setter + def mode(self, mode): + """Sets the mode of this VideoAssetMeta. + + Horizontal=横向;Vertical=纵向 + + :param mode: The mode of this VideoAssetMeta. + :type mode: str + """ + self._mode = mode + + @property + def error_info(self): + """Gets the error_info of this VideoAssetMeta. + + :return: The error_info of this VideoAssetMeta. + :rtype: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + return self._error_info + + @error_info.setter + def error_info(self, error_info): + """Sets the error_info of this VideoAssetMeta. + + :param error_info: The error_info of this VideoAssetMeta. + :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` + """ + self._error_info = error_info + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, VideoAssetMeta): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/requirements.txt b/huaweicloud-sdk-metastudio/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-metastudio/requirements.txt +++ b/huaweicloud-sdk-metastudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-metastudio/setup.py b/huaweicloud-sdk-metastudio/setup.py index b0a2c8651e..16fa147ddc 100644 --- a/huaweicloud-sdk-metastudio/setup.py +++ b/huaweicloud-sdk-metastudio/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmetastudio" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-moderation/requirements.txt b/huaweicloud-sdk-moderation/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-moderation/requirements.txt +++ b/huaweicloud-sdk-moderation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-moderation/setup.py b/huaweicloud-sdk-moderation/setup.py index a7a6a3df90..1191f46d36 100644 --- a/huaweicloud-sdk-moderation/setup.py +++ b/huaweicloud-sdk-moderation/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmoderation" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mpc/requirements.txt b/huaweicloud-sdk-mpc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-mpc/requirements.txt +++ b/huaweicloud-sdk-mpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-mpc/setup.py b/huaweicloud-sdk-mpc/setup.py index ae95208f49..c00ffa588b 100644 --- a/huaweicloud-sdk-mpc/setup.py +++ b/huaweicloud-sdk-mpc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmpc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mrs/requirements.txt b/huaweicloud-sdk-mrs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-mrs/requirements.txt +++ b/huaweicloud-sdk-mrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-mrs/setup.py b/huaweicloud-sdk-mrs/setup.py index 8e8578d781..6eae8c47e4 100644 --- a/huaweicloud-sdk-mrs/setup.py +++ b/huaweicloud-sdk-mrs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmrs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-msgsms/requirements.txt b/huaweicloud-sdk-msgsms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-msgsms/requirements.txt +++ b/huaweicloud-sdk-msgsms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-msgsms/setup.py b/huaweicloud-sdk-msgsms/setup.py index c9ff40e1e7..4e02bd18d2 100644 --- a/huaweicloud-sdk-msgsms/setup.py +++ b/huaweicloud-sdk-msgsms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmsgsms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mssi/requirements.txt b/huaweicloud-sdk-mssi/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-mssi/requirements.txt +++ b/huaweicloud-sdk-mssi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-mssi/setup.py b/huaweicloud-sdk-mssi/setup.py index 676389f4ef..b114af1d0e 100644 --- a/huaweicloud-sdk-mssi/setup.py +++ b/huaweicloud-sdk-mssi/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmssi" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nat/requirements.txt b/huaweicloud-sdk-nat/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-nat/requirements.txt +++ b/huaweicloud-sdk-nat/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-nat/setup.py b/huaweicloud-sdk-nat/setup.py index 83ebcd9179..0446913a21 100644 --- a/huaweicloud-sdk-nat/setup.py +++ b/huaweicloud-sdk-nat/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdknat" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nlp/requirements.txt b/huaweicloud-sdk-nlp/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-nlp/requirements.txt +++ b/huaweicloud-sdk-nlp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-nlp/setup.py b/huaweicloud-sdk-nlp/setup.py index 8e449b61de..def4cb8cc9 100644 --- a/huaweicloud-sdk-nlp/setup.py +++ b/huaweicloud-sdk-nlp/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdknlp" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-obs/requirements.txt b/huaweicloud-sdk-obs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-obs/requirements.txt +++ b/huaweicloud-sdk-obs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-obs/setup.py b/huaweicloud-sdk-obs/setup.py index baf85dbb33..6d302285b2 100644 --- a/huaweicloud-sdk-obs/setup.py +++ b/huaweicloud-sdk-obs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkobs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py index ee3fb72ad4..57abcffcf9 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py @@ -39,7 +39,7 @@ def __init__(self, image=None, url=None, return_portrait_image=None, return_port :param image: 与url二选一。图像数据,base64编码。图片尺寸不小于15像素,最长边不超过8192像素,支持JPG/PNG/BMP/TIF格式。 :type image: str - :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param return_portrait_image: 是否返回头像内容开关,可选值如下所示: - true: 返回身份证头像照片的 base64 编码 - false: 不返回身份证头像照片的 base64 编码 未传入该参数时默认为“false”,即不返回身份证头像照片的 base64 编码。 :type return_portrait_image: bool @@ -95,7 +95,7 @@ def image(self, image): def url(self): """Gets the url of this CambodianIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this CambodianIdCardRequestBody. :rtype: str @@ -106,7 +106,7 @@ def url(self): def url(self, url): """Sets the url of this CambodianIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this CambodianIdCardRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/colombia_id_card_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/colombia_id_card_request_body.py index 38c7002856..b0bf15a91d 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/colombia_id_card_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/colombia_id_card_request_body.py @@ -33,7 +33,7 @@ def __init__(self, image=None, url=None): :param image: 与url二选一。 图像数据,base64编码,要求base64编码后大小不超过10M。图片最短边不小于15像素,最长边不超过8192像素,支持JPG/PNG/BMP/TIFF格式。 :type image: str - :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str """ @@ -74,7 +74,7 @@ def image(self, image): def url(self): """Gets the url of this ColombiaIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this ColombiaIdCardRequestBody. :rtype: str @@ -85,7 +85,7 @@ def url(self): def url(self, url): """Sets the url of this ColombiaIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this ColombiaIdCardRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/exit_entry_permit_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/exit_entry_permit_request_body.py index 61b413a952..69e1de88e4 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/exit_entry_permit_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/exit_entry_permit_request_body.py @@ -37,7 +37,7 @@ def __init__(self, image=None, url=None, return_portrait_image=None, return_port :param image: 与url二选一。图像数据,base64编码,要求base64编码后大小不超过10M。图片最小边不小于15像素,最长边不超过8192像素。支持JPG/PNG/BMP/TIFF格式。 :type image: str - :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param return_portrait_image: 是否返回头像内容开关,可选值如下所示: - true: 返回通行证头像照片的 base64 编码 - false: 不返回通行证头像照片的 base64 编码 未传入该参数时默认为“false”,即不返回身份证头像照片的 base64 编码。 :type return_portrait_image: bool @@ -88,7 +88,7 @@ def image(self, image): def url(self): """Gets the url of this ExitEntryPermitRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this ExitEntryPermitRequestBody. :rtype: str @@ -99,7 +99,7 @@ def url(self): def url(self, url): """Sets the url of this ExitEntryPermitRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this ExitEntryPermitRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_table_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_table_request_body.py index 4c9e585618..9f68af2fc7 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_table_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_table_request_body.py @@ -43,9 +43,9 @@ def __init__(self, image=None, url=None, return_text_location=None, return_char_ The model defined in huaweicloud sdk - :param image: 与url二选一 图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + :param image: 与url二选一 图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :type image: str - :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param return_text_location: 返回文本块坐标及单元格坐标信息,可选值如下所示: - true:返回文本块和单元格坐标 - false:不返回 > 说明: - 如果未传入该参数时默认为false,即不返回。 :type return_text_location: bool @@ -94,7 +94,7 @@ def __init__(self, image=None, url=None, return_text_location=None, return_char_ def image(self): """Gets the image of this GeneralTableRequestBody. - 与url二选一 图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :return: The image of this GeneralTableRequestBody. :rtype: str @@ -105,7 +105,7 @@ def image(self): def image(self, image): """Sets the image of this GeneralTableRequestBody. - 与url二选一 图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :param image: The image of this GeneralTableRequestBody. :type image: str @@ -116,7 +116,7 @@ def image(self, image): def url(self): """Gets the url of this GeneralTableRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this GeneralTableRequestBody. :rtype: str @@ -127,7 +127,7 @@ def url(self): def url(self, url): """Sets the url of this GeneralTableRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this GeneralTableRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_text_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_text_request_body.py index 8f7a56ae87..94bfdbc6e1 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_text_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/general_text_request_body.py @@ -41,9 +41,9 @@ def __init__(self, image=None, url=None, detect_direction=None, quick_mode=None, The model defined in huaweicloud sdk - :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px。支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px。支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :type image: str - :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param detect_direction: 图片朝向检测开关,可选值包括: - true:检测图片朝向; - false:不检测图片朝向。 > 说明: - 支持任意角度的图片朝向检测。未传入该参数时默认为false,即不检测图片朝向。 :type detect_direction: bool @@ -87,7 +87,7 @@ def __init__(self, image=None, url=None, detect_direction=None, quick_mode=None, def image(self): """Gets the image of this GeneralTextRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px。支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px。支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :return: The image of this GeneralTextRequestBody. :rtype: str @@ -98,7 +98,7 @@ def image(self): def image(self, image): """Sets the image of this GeneralTextRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px。支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px。支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :param image: The image of this GeneralTextRequestBody. :type image: str @@ -109,7 +109,7 @@ def image(self, image): def url(self): """Gets the url of this GeneralTextRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this GeneralTextRequestBody. :rtype: str @@ -120,7 +120,7 @@ def url(self): def url(self, url): """Sets the url of this GeneralTextRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this GeneralTextRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/hk_id_card_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/hk_id_card_request_body.py index cbd96a9ea3..b78c26c718 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/hk_id_card_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/hk_id_card_request_body.py @@ -37,7 +37,7 @@ def __init__(self, image=None, url=None, return_portrait_image=None, return_port :param image: 与url二选一。图像数据,base64编码,要求base64编码后大小不超过10M。图片最小边不小于15像素,最长边不超过8192像素。支持JPG/PNG/BMP/TIFF格式。 :type image: str - :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param return_portrait_image: 是否返回头像内容开关,可选值如下所示: - true: 返回身份证头像照片的 base64 编码 - false: 不返回身份证头像照片的 base64 编码 未传入该参数时默认为“false”,即不返回身份证头像照片的 base64 编码。 :type return_portrait_image: bool @@ -88,7 +88,7 @@ def image(self, image): def url(self): """Gets the url of this HkIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this HkIdCardRequestBody. :rtype: str @@ -99,7 +99,7 @@ def url(self): def url(self, url): """Sets the url of this HkIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this HkIdCardRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/macao_id_card_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/macao_id_card_request_body.py index a639b4e8cd..f53263e721 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/macao_id_card_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/macao_id_card_request_body.py @@ -37,7 +37,7 @@ def __init__(self, image=None, url=None, side=None, return_portrait_image=None): :param image: 与url二选一。图像数据,base64编码,要求base64编码后大小不超过10M。图片最小边不小于15像素,最长边不超过8192像素。支持JPG/PNG/BMP/TIFF格式。 图片Base64编码示例 如/9j/4AAQSkZJRgABAg...,带有多余前缀会产生The image format is not supported报错。 :type image: str - :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param side: front:身份证正面 back:身份证背面 如果参数值为空或无该参数,系统自动识别,建议填写,准确率更高。 :type side: str @@ -88,7 +88,7 @@ def image(self, image): def url(self): """Gets the url of this MacaoIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this MacaoIdCardRequestBody. :rtype: str @@ -99,7 +99,7 @@ def url(self): def url(self, url): """Sets the url of this MacaoIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this MacaoIdCardRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/mainland_travel_permit_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/mainland_travel_permit_request_body.py index 076632f1b7..3a76302a11 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/mainland_travel_permit_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/mainland_travel_permit_request_body.py @@ -37,7 +37,7 @@ def __init__(self, image=None, url=None, return_portrait_image=None, return_port :param image: 与url二选一。图像数据,base64编码,图片尺寸不小于15×15像素,最长边不超过8192像素,支持JPG/PNG/BMP/TIFF格式。 :type image: str - :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param return_portrait_image: 是否返回头像内容开关,可选值如下所示: - true: 返回通行证头像照片的 base64 编码 - false: 不返回通行证头像照片的 base64 编码 未传入该参数时默认为“false”,即不返回身份证头像照片的 base64 编码。 :type return_portrait_image: bool @@ -88,7 +88,7 @@ def image(self, image): def url(self): """Gets the url of this MainlandTravelPermitRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this MainlandTravelPermitRequestBody. :rtype: str @@ -99,7 +99,7 @@ def url(self): def url(self, url): """Sets the url of this MainlandTravelPermitRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this MainlandTravelPermitRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/passport_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/passport_request_body.py index b2c9198772..b38fcdd190 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/passport_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/passport_request_body.py @@ -33,9 +33,9 @@ def __init__(self, image=None, url=None, country_code=None): The model defined in huaweicloud sdk - :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :type image: str - :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) 。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param country_code: 输入值为护照颁发国的国家码,根据国家码选择对应的护照识别服务。 - 若输入中未选此字段,服务会根据自己识别判断的护照类型匹配相应的护照识别服务。 - 若选择值为GENERAL,则选择护照机器码识别。 - 若选择值为CHN,则选择中国护照全字段识别。 :type country_code: str @@ -59,7 +59,7 @@ def __init__(self, image=None, url=None, country_code=None): def image(self): """Gets the image of this PassportRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :return: The image of this PassportRequestBody. :rtype: str @@ -70,7 +70,7 @@ def image(self): def image(self, image): """Sets the image of this PassportRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :param image: The image of this PassportRequestBody. :type image: str @@ -81,7 +81,7 @@ def image(self, image): def url(self): """Gets the url of this PassportRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) 。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this PassportRequestBody. :rtype: str @@ -92,7 +92,7 @@ def url(self): def url(self, url): """Sets the url of this PassportRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) 。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this PassportRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_colombia_id_card_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_colombia_id_card_request.py index 10cbe47748..c96f7279a5 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_colombia_id_card_request.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_colombia_id_card_request.py @@ -31,7 +31,7 @@ def __init__(self, enterprise_project_id=None, body=None): The model defined in huaweicloud sdk - :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :type enterprise_project_id: str :param body: Body of the RecognizeColombiaIdCardRequest :type body: :class:`huaweicloudsdkocr.v1.ColombiaIdCardRequestBody` @@ -52,7 +52,7 @@ def __init__(self, enterprise_project_id=None, body=None): def enterprise_project_id(self): """Gets the enterprise_project_id of this RecognizeColombiaIdCardRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :return: The enterprise_project_id of this RecognizeColombiaIdCardRequest. :rtype: str @@ -63,7 +63,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this RecognizeColombiaIdCardRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :param enterprise_project_id: The enterprise_project_id of this RecognizeColombiaIdCardRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_table_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_table_request.py index bfef10de47..14b7fb36fa 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_table_request.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_table_request.py @@ -31,7 +31,7 @@ def __init__(self, enterprise_project_id=None, body=None): The model defined in huaweicloud sdk - :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :type enterprise_project_id: str :param body: Body of the RecognizeGeneralTableRequest :type body: :class:`huaweicloudsdkocr.v1.GeneralTableRequestBody` @@ -52,7 +52,7 @@ def __init__(self, enterprise_project_id=None, body=None): def enterprise_project_id(self): """Gets the enterprise_project_id of this RecognizeGeneralTableRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :return: The enterprise_project_id of this RecognizeGeneralTableRequest. :rtype: str @@ -63,7 +63,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this RecognizeGeneralTableRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :param enterprise_project_id: The enterprise_project_id of this RecognizeGeneralTableRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_text_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_text_request.py index 67914fbb94..1659ecebe6 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_text_request.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_general_text_request.py @@ -31,7 +31,7 @@ def __init__(self, enterprise_project_id=None, body=None): The model defined in huaweicloud sdk - :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :type enterprise_project_id: str :param body: Body of the RecognizeGeneralTextRequest :type body: :class:`huaweicloudsdkocr.v1.GeneralTextRequestBody` @@ -52,7 +52,7 @@ def __init__(self, enterprise_project_id=None, body=None): def enterprise_project_id(self): """Gets the enterprise_project_id of this RecognizeGeneralTextRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :return: The enterprise_project_id of this RecognizeGeneralTextRequest. :rtype: str @@ -63,7 +63,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this RecognizeGeneralTextRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :param enterprise_project_id: The enterprise_project_id of this RecognizeGeneralTextRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_passport_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_passport_request.py index 7b681b9077..72248d7621 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_passport_request.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_passport_request.py @@ -31,7 +31,7 @@ def __init__(self, enterprise_project_id=None, body=None): The model defined in huaweicloud sdk - :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :type enterprise_project_id: str :param body: Body of the RecognizePassportRequest :type body: :class:`huaweicloudsdkocr.v1.PassportRequestBody` @@ -52,7 +52,7 @@ def __init__(self, enterprise_project_id=None, body=None): def enterprise_project_id(self): """Gets the enterprise_project_id of this RecognizePassportRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :return: The enterprise_project_id of this RecognizePassportRequest. :rtype: str @@ -63,7 +63,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this RecognizePassportRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :param enterprise_project_id: The enterprise_project_id of this RecognizePassportRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_idcard_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_idcard_request.py index b0ea673ab5..b1dd4ff3da 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_idcard_request.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_idcard_request.py @@ -31,7 +31,7 @@ def __init__(self, enterprise_project_id=None, body=None): The model defined in huaweicloud sdk - :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-2#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :type enterprise_project_id: str :param body: Body of the RecognizeThailandIdcardRequest :type body: :class:`huaweicloudsdkocr.v1.ThailandIdcardRequestBody` @@ -52,7 +52,7 @@ def __init__(self, enterprise_project_id=None, body=None): def enterprise_project_id(self): """Gets the enterprise_project_id of this RecognizeThailandIdcardRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-2#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :return: The enterprise_project_id of this RecognizeThailandIdcardRequest. :rtype: str @@ -63,7 +63,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this RecognizeThailandIdcardRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-2#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :param enterprise_project_id: The enterprise_project_id of this RecognizeThailandIdcardRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_license_plate_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_license_plate_request.py index c1acf5879b..52ab26a6a4 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_license_plate_request.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_license_plate_request.py @@ -31,7 +31,7 @@ def __init__(self, enterprise_project_id=None, body=None): The model defined in huaweicloud sdk - :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-2#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :type enterprise_project_id: str :param body: Body of the RecognizeThailandLicensePlateRequest :type body: :class:`huaweicloudsdkocr.v1.ThailandLicensePlateRequestBody` @@ -52,7 +52,7 @@ def __init__(self, enterprise_project_id=None, body=None): def enterprise_project_id(self): """Gets the enterprise_project_id of this RecognizeThailandLicensePlateRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-2#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :return: The enterprise_project_id of this RecognizeThailandLicensePlateRequest. :rtype: str @@ -63,7 +63,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this RecognizeThailandLicensePlateRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-2#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :param enterprise_project_id: The enterprise_project_id of this RecognizeThailandLicensePlateRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_web_image_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_web_image_request.py index 53b121cb83..ec0047e6c3 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_web_image_request.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_web_image_request.py @@ -31,7 +31,7 @@ def __init__(self, enterprise_project_id=None, body=None): The model defined in huaweicloud sdk - :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :type enterprise_project_id: str :param body: Body of the RecognizeWebImageRequest :type body: :class:`huaweicloudsdkocr.v1.WebImageRequestBody` @@ -52,7 +52,7 @@ def __init__(self, enterprise_project_id=None, body=None): def enterprise_project_id(self): """Gets the enterprise_project_id of this RecognizeWebImageRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :return: The enterprise_project_id of this RecognizeWebImageRequest. :rtype: str @@ -63,7 +63,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this RecognizeWebImageRequest. - 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 :param enterprise_project_id: The enterprise_project_id of this RecognizeWebImageRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_idcard_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_idcard_request_body.py index a9ccb81fa3..fa8db7138d 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_idcard_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_idcard_request_body.py @@ -43,7 +43,7 @@ def __init__(self, image=None, url=None, side=None, return_portrait_image=None, :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 :type image: str - :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param side: - front:身份证正面 - back:身份证背面 如果参数值为空或无该参数,系统自动识别,建议填写,准确率更高。 :type side: str @@ -109,7 +109,7 @@ def image(self, image): def url(self): """Gets the url of this ThailandIdcardRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this ThailandIdcardRequestBody. :rtype: str @@ -120,7 +120,7 @@ def url(self): def url(self, url): """Sets the url of this ThailandIdcardRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this ThailandIdcardRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_license_plate_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_license_plate_request_body.py index f86891922e..ff518ed2ad 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_license_plate_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/thailand_license_plate_request_body.py @@ -33,7 +33,7 @@ def __init__(self, image=None, url=None): :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 :type image: str - :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str """ @@ -74,7 +74,7 @@ def image(self, image): def url(self): """Gets the url of this ThailandLicensePlateRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this ThailandLicensePlateRequestBody. :rtype: str @@ -85,7 +85,7 @@ def url(self): def url(self, url): """Sets the url of this ThailandLicensePlateRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this ThailandLicensePlateRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/vietnam_id_card_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/vietnam_id_card_request_body.py index 56401055cd..defb55b975 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/vietnam_id_card_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/vietnam_id_card_request_body.py @@ -43,7 +43,7 @@ def __init__(self, image=None, url=None, side=None, return_portrait_image=None, :param image: 与url二选一。 图像数据,base64编码,要求base64编码后大小不超过10M。图片最小边不小于15像素,最长边不超过8192像素。支持JPG/PNG/BMP/TIFF格式。 :type image: str - :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param side: 证件图片正反面信息。可选值包括: - front:越南身份证正面 - back:越南身份证背面 如果参数值为空或无该参数,系统自动识别,建议填写,准确率更高。 :type side: str @@ -109,7 +109,7 @@ def image(self, image): def url(self): """Gets the url of this VietnamIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this VietnamIdCardRequestBody. :rtype: str @@ -120,7 +120,7 @@ def url(self): def url(self, url): """Sets the url of this VietnamIdCardRequestBody. - 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/en-us/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一。 图片的url路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)>。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this VietnamIdCardRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/web_image_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/web_image_request_body.py index 5170ebc992..f3bcf51580 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/web_image_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/web_image_request_body.py @@ -39,9 +39,9 @@ def __init__(self, image=None, url=None, detect_direction=None, extract_type=Non The model defined in huaweicloud sdk - :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过30000px,支持JPEG、JPG、PNG、BMP、TIFF、GIF、WEBP格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过30000px,支持JPEG、JPG、PNG、BMP、TIFF、GIF、WEBP格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :type image: str - :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str :param detect_direction: 图片朝向检测开关,可选值包括: - true:检测图片朝向; - false:不检测图片朝向。 > 说明: - 支持任意角度的图片朝向检测。未传入该参数时默认为false,即不检测图片朝向。 :type detect_direction: bool @@ -80,7 +80,7 @@ def __init__(self, image=None, url=None, detect_direction=None, extract_type=Non def image(self): """Gets the image of this WebImageRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过30000px,支持JPEG、JPG、PNG、BMP、TIFF、GIF、WEBP格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过30000px,支持JPEG、JPG、PNG、BMP、TIFF、GIF、WEBP格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :return: The image of this WebImageRequestBody. :rtype: str @@ -91,7 +91,7 @@ def image(self): def image(self, image): """Sets the image of this WebImageRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过30000px,支持JPEG、JPG、PNG、BMP、TIFF、GIF、WEBP格式。 图片文件Base64编码字符串,点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)查看详细获取方式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过30000px,支持JPEG、JPG、PNG、BMP、TIFF、GIF、WEBP格式。 图片文件Base64编码字符串,[点击[这里](https://support.huaweicloud.com/ocr_faq/ocr_01_0032.html)](tag:hc)[点击[这里](https://support.huaweicloud.com/intl/zh-cn/ocr_faq/ocr_01_0032.html)](tag:hk)查看详细获取方式。 :param image: The image of this WebImageRequestBody. :type image: str @@ -102,7 +102,7 @@ def image(self, image): def url(self): """Gets the url of this WebImageRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this WebImageRequestBody. :rtype: str @@ -113,7 +113,7 @@ def url(self): def url(self, url): """Sets the url of this WebImageRequestBody. - 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,[详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。](tag:hc)[详情参见[配置OBS访问权限](https://support.huaweicloud.com/intl/zh-cn/api-ocr/ocr_03_0132.html)。](tag:hk) > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this WebImageRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/requirements.txt b/huaweicloud-sdk-ocr/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ocr/requirements.txt +++ b/huaweicloud-sdk-ocr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ocr/setup.py b/huaweicloud-sdk-ocr/setup.py index 2afb1d7171..db2f599cb4 100644 --- a/huaweicloud-sdk-ocr/setup.py +++ b/huaweicloud-sdk-ocr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkocr" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-octopus/requirements.txt b/huaweicloud-sdk-octopus/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-octopus/requirements.txt +++ b/huaweicloud-sdk-octopus/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-octopus/setup.py b/huaweicloud-sdk-octopus/setup.py index e8a38b12ef..7734552f58 100644 --- a/huaweicloud-sdk-octopus/setup.py +++ b/huaweicloud-sdk-octopus/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoctopus" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oms/requirements.txt b/huaweicloud-sdk-oms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-oms/requirements.txt +++ b/huaweicloud-sdk-oms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-oms/setup.py b/huaweicloud-sdk-oms/setup.py index f733bc0295..684c12ea8f 100644 --- a/huaweicloud-sdk-oms/setup.py +++ b/huaweicloud-sdk-oms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-optverse/requirements.txt b/huaweicloud-sdk-optverse/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-optverse/requirements.txt +++ b/huaweicloud-sdk-optverse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-optverse/setup.py b/huaweicloud-sdk-optverse/setup.py index f3c5787794..00ba1b5cd8 100644 --- a/huaweicloud-sdk-optverse/setup.py +++ b/huaweicloud-sdk-optverse/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoptverse" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-organizations/requirements.txt b/huaweicloud-sdk-organizations/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-organizations/requirements.txt +++ b/huaweicloud-sdk-organizations/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-organizations/setup.py b/huaweicloud-sdk-organizations/setup.py index b491e67667..5af892e6a5 100644 --- a/huaweicloud-sdk-organizations/setup.py +++ b/huaweicloud-sdk-organizations/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkorganizations" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-orgid/requirements.txt b/huaweicloud-sdk-orgid/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-orgid/requirements.txt +++ b/huaweicloud-sdk-orgid/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-orgid/setup.py b/huaweicloud-sdk-orgid/setup.py index 3bc3c79894..642e22d93f 100644 --- a/huaweicloud-sdk-orgid/setup.py +++ b/huaweicloud-sdk-orgid/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkorgid" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oroas/requirements.txt b/huaweicloud-sdk-oroas/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-oroas/requirements.txt +++ b/huaweicloud-sdk-oroas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-oroas/setup.py b/huaweicloud-sdk-oroas/setup.py index 8039e5a31a..68d0ebbdcd 100644 --- a/huaweicloud-sdk-oroas/setup.py +++ b/huaweicloud-sdk-oroas/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoroas" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-osm/requirements.txt b/huaweicloud-sdk-osm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-osm/requirements.txt +++ b/huaweicloud-sdk-osm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-osm/setup.py b/huaweicloud-sdk-osm/setup.py index 15320b588b..3c14eb8e1f 100644 --- a/huaweicloud-sdk-osm/setup.py +++ b/huaweicloud-sdk-osm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkosm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-pangulargemodels/requirements.txt b/huaweicloud-sdk-pangulargemodels/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-pangulargemodels/requirements.txt +++ b/huaweicloud-sdk-pangulargemodels/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-pangulargemodels/setup.py b/huaweicloud-sdk-pangulargemodels/setup.py index 660c3b4195..3607d3dd8f 100644 --- a/huaweicloud-sdk-pangulargemodels/setup.py +++ b/huaweicloud-sdk-pangulargemodels/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkpangulargemodels" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-projectman/requirements.txt b/huaweicloud-sdk-projectman/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-projectman/requirements.txt +++ b/huaweicloud-sdk-projectman/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-projectman/setup.py b/huaweicloud-sdk-projectman/setup.py index e52acdaf16..f69c08c0c6 100644 --- a/huaweicloud-sdk-projectman/setup.py +++ b/huaweicloud-sdk-projectman/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkprojectman" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rabbitmq/requirements.txt b/huaweicloud-sdk-rabbitmq/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-rabbitmq/requirements.txt +++ b/huaweicloud-sdk-rabbitmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-rabbitmq/setup.py b/huaweicloud-sdk-rabbitmq/setup.py index 56ae0ab24e..d57a970128 100644 --- a/huaweicloud-sdk-rabbitmq/setup.py +++ b/huaweicloud-sdk-rabbitmq/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrabbitmq" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ram/requirements.txt b/huaweicloud-sdk-ram/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ram/requirements.txt +++ b/huaweicloud-sdk-ram/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ram/setup.py b/huaweicloud-sdk-ram/setup.py index 4742b32781..f1e746f959 100644 --- a/huaweicloud-sdk-ram/setup.py +++ b/huaweicloud-sdk-ram/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkram" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/region/rds_region.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/region/rds_region.py index 1b05506b1c..21e7c6e890 100644 --- a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/region/rds_region.py +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/region/rds_region.py @@ -56,6 +56,8 @@ class RdsRegion: "https://rds.eu-west-0.myhuaweicloud.com") MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", "https://rds.my-kualalumpur-1.myhuaweicloud.com") + RU_MOSCOW_1 = Region("ru-moscow-1", + "https://rds.ru-moscow-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -83,6 +85,7 @@ class RdsRegion: "eu-west-101": EU_WEST_101, "eu-west-0": EU_WEST_0, "my-kualalumpur-1": MY_KUALALUMPUR_1, + "ru-moscow-1": RU_MOSCOW_1, } @classmethod diff --git a/huaweicloud-sdk-rds/requirements.txt b/huaweicloud-sdk-rds/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-rds/requirements.txt +++ b/huaweicloud-sdk-rds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-rds/setup.py b/huaweicloud-sdk-rds/setup.py index 56cd5dc155..2ddaed440d 100644 --- a/huaweicloud-sdk-rds/setup.py +++ b/huaweicloud-sdk-rds/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrds" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-res/requirements.txt b/huaweicloud-sdk-res/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-res/requirements.txt +++ b/huaweicloud-sdk-res/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-res/setup.py b/huaweicloud-sdk-res/setup.py index 0982b8f32b..64999e638d 100644 --- a/huaweicloud-sdk-res/setup.py +++ b/huaweicloud-sdk-res/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkres" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rgc/requirements.txt b/huaweicloud-sdk-rgc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-rgc/requirements.txt +++ b/huaweicloud-sdk-rgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-rgc/setup.py b/huaweicloud-sdk-rgc/setup.py index 031ed8093b..c66c0d5bd0 100644 --- a/huaweicloud-sdk-rgc/setup.py +++ b/huaweicloud-sdk-rgc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrgc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rms/requirements.txt b/huaweicloud-sdk-rms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-rms/requirements.txt +++ b/huaweicloud-sdk-rms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-rms/setup.py b/huaweicloud-sdk-rms/setup.py index 8d6af44bba..c798416cda 100644 --- a/huaweicloud-sdk-rms/setup.py +++ b/huaweicloud-sdk-rms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rocketmq/requirements.txt b/huaweicloud-sdk-rocketmq/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-rocketmq/requirements.txt +++ b/huaweicloud-sdk-rocketmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-rocketmq/setup.py b/huaweicloud-sdk-rocketmq/setup.py index 72245ca8c2..1b2fc23764 100644 --- a/huaweicloud-sdk-rocketmq/setup.py +++ b/huaweicloud-sdk-rocketmq/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrocketmq" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-roma/requirements.txt b/huaweicloud-sdk-roma/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-roma/requirements.txt +++ b/huaweicloud-sdk-roma/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-roma/setup.py b/huaweicloud-sdk-roma/setup.py index 74db5d565f..7d86f4135e 100644 --- a/huaweicloud-sdk-roma/setup.py +++ b/huaweicloud-sdk-roma/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkroma" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sa/requirements.txt b/huaweicloud-sdk-sa/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-sa/requirements.txt +++ b/huaweicloud-sdk-sa/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-sa/setup.py b/huaweicloud-sdk-sa/setup.py index 23afe979a3..0fdde936ff 100644 --- a/huaweicloud-sdk-sa/setup.py +++ b/huaweicloud-sdk-sa/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksa" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-scm/requirements.txt b/huaweicloud-sdk-scm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-scm/requirements.txt +++ b/huaweicloud-sdk-scm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-scm/setup.py b/huaweicloud-sdk-scm/setup.py index 3bcb9b4615..e2dedbbb14 100644 --- a/huaweicloud-sdk-scm/setup.py +++ b/huaweicloud-sdk-scm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkscm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sdrs/requirements.txt b/huaweicloud-sdk-sdrs/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-sdrs/requirements.txt +++ b/huaweicloud-sdk-sdrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-sdrs/setup.py b/huaweicloud-sdk-sdrs/setup.py index 62c4d77620..f92e889cfe 100644 --- a/huaweicloud-sdk-sdrs/setup.py +++ b/huaweicloud-sdk-sdrs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksdrs" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-secmaster/requirements.txt b/huaweicloud-sdk-secmaster/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-secmaster/requirements.txt +++ b/huaweicloud-sdk-secmaster/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-secmaster/setup.py b/huaweicloud-sdk-secmaster/setup.py index 652eddee24..47deea0fc5 100644 --- a/huaweicloud-sdk-secmaster/setup.py +++ b/huaweicloud-sdk-secmaster/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksecmaster" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-servicestage/requirements.txt b/huaweicloud-sdk-servicestage/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-servicestage/requirements.txt +++ b/huaweicloud-sdk-servicestage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-servicestage/setup.py b/huaweicloud-sdk-servicestage/setup.py index 4d14486ef2..0088bb8b05 100644 --- a/huaweicloud-sdk-servicestage/setup.py +++ b/huaweicloud-sdk-servicestage/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkservicestage" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sfsturbo/requirements.txt b/huaweicloud-sdk-sfsturbo/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-sfsturbo/requirements.txt +++ b/huaweicloud-sdk-sfsturbo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-sfsturbo/setup.py b/huaweicloud-sdk-sfsturbo/setup.py index 7bb1f3ee95..425a171c46 100644 --- a/huaweicloud-sdk-sfsturbo/setup.py +++ b/huaweicloud-sdk-sfsturbo/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksfsturbo" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sis/requirements.txt b/huaweicloud-sdk-sis/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-sis/requirements.txt +++ b/huaweicloud-sdk-sis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-sis/setup.py b/huaweicloud-sdk-sis/setup.py index a22e44edb8..08457dc043 100644 --- a/huaweicloud-sdk-sis/setup.py +++ b/huaweicloud-sdk-sis/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksis" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-smn/requirements.txt b/huaweicloud-sdk-smn/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-smn/requirements.txt +++ b/huaweicloud-sdk-smn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-smn/setup.py b/huaweicloud-sdk-smn/setup.py index 79e3e2b0d4..aefa71cce1 100644 --- a/huaweicloud-sdk-smn/setup.py +++ b/huaweicloud-sdk-smn/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksmn" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sms/requirements.txt b/huaweicloud-sdk-sms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-sms/requirements.txt +++ b/huaweicloud-sdk-sms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-sms/setup.py b/huaweicloud-sdk-sms/setup.py index 19a95d5814..5b15a0a659 100644 --- a/huaweicloud-sdk-sms/setup.py +++ b/huaweicloud-sdk-sms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sts/LICENSE b/huaweicloud-sdk-sts/LICENSE new file mode 100644 index 0000000000..808e3296c0 --- /dev/null +++ b/huaweicloud-sdk-sts/LICENSE @@ -0,0 +1,13 @@ +Copyright (c) Huawei Technologies Co., Ltd. 2020-present. All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/huaweicloud-sdk-sts/README_PYPI.md b/huaweicloud-sdk-sts/README_PYPI.md new file mode 100644 index 0000000000..9711543c73 --- /dev/null +++ b/huaweicloud-sdk-sts/README_PYPI.md @@ -0,0 +1 @@ +See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3). \ No newline at end of file diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/__init__.py b/huaweicloud-sdk-sts/huaweicloudsdksts/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/__init__.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/__init__.py new file mode 100644 index 0000000000..2d61573bc9 --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/__init__.py @@ -0,0 +1,13 @@ +# coding: utf-8 + +from __future__ import absolute_import + +from huaweicloudsdksts.v1.sts_client import StsClient +from huaweicloudsdksts.v1.sts_async_client import StsAsyncClient + +from huaweicloudsdksts.v1.model.decode_authorization_message_req import DecodeAuthorizationMessageReq +from huaweicloudsdksts.v1.model.decode_authorization_message_request import DecodeAuthorizationMessageRequest +from huaweicloudsdksts.v1.model.decode_authorization_message_response import DecodeAuthorizationMessageResponse +from huaweicloudsdksts.v1.model.get_caller_identity_request import GetCallerIdentityRequest +from huaweicloudsdksts.v1.model.get_caller_identity_response import GetCallerIdentityResponse + diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/__init__.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/__init__.py new file mode 100644 index 0000000000..ebbf8679df --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/__init__.py @@ -0,0 +1,10 @@ +# coding: utf-8 + +from __future__ import absolute_import + +# import models into model package +from huaweicloudsdksts.v1.model.decode_authorization_message_req import DecodeAuthorizationMessageReq +from huaweicloudsdksts.v1.model.decode_authorization_message_request import DecodeAuthorizationMessageRequest +from huaweicloudsdksts.v1.model.decode_authorization_message_response import DecodeAuthorizationMessageResponse +from huaweicloudsdksts.v1.model.get_caller_identity_request import GetCallerIdentityRequest +from huaweicloudsdksts.v1.model.get_caller_identity_response import GetCallerIdentityResponse diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_req.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_req.py new file mode 100644 index 0000000000..c03eae7afa --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_req.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DecodeAuthorizationMessageReq: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'encoded_message': 'str' + } + + attribute_map = { + 'encoded_message': 'encoded_message' + } + + def __init__(self, encoded_message=None): + """DecodeAuthorizationMessageReq + + The model defined in huaweicloud sdk + + :param encoded_message: 加密的鉴权失败原因。 + :type encoded_message: str + """ + + + + self._encoded_message = None + self.discriminator = None + + self.encoded_message = encoded_message + + @property + def encoded_message(self): + """Gets the encoded_message of this DecodeAuthorizationMessageReq. + + 加密的鉴权失败原因。 + + :return: The encoded_message of this DecodeAuthorizationMessageReq. + :rtype: str + """ + return self._encoded_message + + @encoded_message.setter + def encoded_message(self, encoded_message): + """Sets the encoded_message of this DecodeAuthorizationMessageReq. + + 加密的鉴权失败原因。 + + :param encoded_message: The encoded_message of this DecodeAuthorizationMessageReq. + :type encoded_message: str + """ + self._encoded_message = encoded_message + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DecodeAuthorizationMessageReq): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_request.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_request.py new file mode 100644 index 0000000000..cbf90877cd --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_request.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DecodeAuthorizationMessageRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + sensitive_list.append('x_security_token') + + openapi_types = { + 'x_security_token': 'str', + 'body': 'DecodeAuthorizationMessageReq' + } + + attribute_map = { + 'x_security_token': 'X-Security-Token', + 'body': 'body' + } + + def __init__(self, x_security_token=None, body=None): + """DecodeAuthorizationMessageRequest + + The model defined in huaweicloud sdk + + :param x_security_token: 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 + :type x_security_token: str + :param body: Body of the DecodeAuthorizationMessageRequest + :type body: :class:`huaweicloudsdksts.v1.DecodeAuthorizationMessageReq` + """ + + + + self._x_security_token = None + self._body = None + self.discriminator = None + + if x_security_token is not None: + self.x_security_token = x_security_token + if body is not None: + self.body = body + + @property + def x_security_token(self): + """Gets the x_security_token of this DecodeAuthorizationMessageRequest. + + 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 + + :return: The x_security_token of this DecodeAuthorizationMessageRequest. + :rtype: str + """ + return self._x_security_token + + @x_security_token.setter + def x_security_token(self, x_security_token): + """Sets the x_security_token of this DecodeAuthorizationMessageRequest. + + 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 + + :param x_security_token: The x_security_token of this DecodeAuthorizationMessageRequest. + :type x_security_token: str + """ + self._x_security_token = x_security_token + + @property + def body(self): + """Gets the body of this DecodeAuthorizationMessageRequest. + + :return: The body of this DecodeAuthorizationMessageRequest. + :rtype: :class:`huaweicloudsdksts.v1.DecodeAuthorizationMessageReq` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this DecodeAuthorizationMessageRequest. + + :param body: The body of this DecodeAuthorizationMessageRequest. + :type body: :class:`huaweicloudsdksts.v1.DecodeAuthorizationMessageReq` + """ + self._body = body + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DecodeAuthorizationMessageRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_response.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_response.py new file mode 100644 index 0000000000..cb58ac5a77 --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/decode_authorization_message_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DecodeAuthorizationMessageResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'decoded_message': 'str' + } + + attribute_map = { + 'decoded_message': 'decoded_message' + } + + def __init__(self, decoded_message=None): + """DecodeAuthorizationMessageResponse + + The model defined in huaweicloud sdk + + :param decoded_message: 鉴权失败原因的明文。 + :type decoded_message: str + """ + + super(DecodeAuthorizationMessageResponse, self).__init__() + + self._decoded_message = None + self.discriminator = None + + if decoded_message is not None: + self.decoded_message = decoded_message + + @property + def decoded_message(self): + """Gets the decoded_message of this DecodeAuthorizationMessageResponse. + + 鉴权失败原因的明文。 + + :return: The decoded_message of this DecodeAuthorizationMessageResponse. + :rtype: str + """ + return self._decoded_message + + @decoded_message.setter + def decoded_message(self, decoded_message): + """Sets the decoded_message of this DecodeAuthorizationMessageResponse. + + 鉴权失败原因的明文。 + + :param decoded_message: The decoded_message of this DecodeAuthorizationMessageResponse. + :type decoded_message: str + """ + self._decoded_message = decoded_message + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DecodeAuthorizationMessageResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_request.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_request.py new file mode 100644 index 0000000000..8e56b405be --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_request.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class GetCallerIdentityRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + sensitive_list.append('x_security_token') + + openapi_types = { + 'x_security_token': 'str' + } + + attribute_map = { + 'x_security_token': 'X-Security-Token' + } + + def __init__(self, x_security_token=None): + """GetCallerIdentityRequest + + The model defined in huaweicloud sdk + + :param x_security_token: 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 + :type x_security_token: str + """ + + + + self._x_security_token = None + self.discriminator = None + + if x_security_token is not None: + self.x_security_token = x_security_token + + @property + def x_security_token(self): + """Gets the x_security_token of this GetCallerIdentityRequest. + + 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 + + :return: The x_security_token of this GetCallerIdentityRequest. + :rtype: str + """ + return self._x_security_token + + @x_security_token.setter + def x_security_token(self, x_security_token): + """Sets the x_security_token of this GetCallerIdentityRequest. + + 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 + + :param x_security_token: The x_security_token of this GetCallerIdentityRequest. + :type x_security_token: str + """ + self._x_security_token = x_security_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GetCallerIdentityRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_response.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_response.py new file mode 100644 index 0000000000..3c718ccc17 --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/model/get_caller_identity_response.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class GetCallerIdentityResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'account_id': 'str', + 'principal_urn': 'str', + 'principal_id': 'str' + } + + attribute_map = { + 'account_id': 'account_id', + 'principal_urn': 'principal_urn', + 'principal_id': 'principal_id' + } + + def __init__(self, account_id=None, principal_urn=None, principal_id=None): + """GetCallerIdentityResponse + + The model defined in huaweicloud sdk + + :param account_id: 华为云账号ID。 + :type account_id: str + :param principal_urn: 主体URN。 + :type principal_urn: str + :param principal_id: 主体ID。 + :type principal_id: str + """ + + super(GetCallerIdentityResponse, self).__init__() + + self._account_id = None + self._principal_urn = None + self._principal_id = None + self.discriminator = None + + if account_id is not None: + self.account_id = account_id + if principal_urn is not None: + self.principal_urn = principal_urn + if principal_id is not None: + self.principal_id = principal_id + + @property + def account_id(self): + """Gets the account_id of this GetCallerIdentityResponse. + + 华为云账号ID。 + + :return: The account_id of this GetCallerIdentityResponse. + :rtype: str + """ + return self._account_id + + @account_id.setter + def account_id(self, account_id): + """Sets the account_id of this GetCallerIdentityResponse. + + 华为云账号ID。 + + :param account_id: The account_id of this GetCallerIdentityResponse. + :type account_id: str + """ + self._account_id = account_id + + @property + def principal_urn(self): + """Gets the principal_urn of this GetCallerIdentityResponse. + + 主体URN。 + + :return: The principal_urn of this GetCallerIdentityResponse. + :rtype: str + """ + return self._principal_urn + + @principal_urn.setter + def principal_urn(self, principal_urn): + """Sets the principal_urn of this GetCallerIdentityResponse. + + 主体URN。 + + :param principal_urn: The principal_urn of this GetCallerIdentityResponse. + :type principal_urn: str + """ + self._principal_urn = principal_urn + + @property + def principal_id(self): + """Gets the principal_id of this GetCallerIdentityResponse. + + 主体ID。 + + :return: The principal_id of this GetCallerIdentityResponse. + :rtype: str + """ + return self._principal_id + + @principal_id.setter + def principal_id(self, principal_id): + """Sets the principal_id of this GetCallerIdentityResponse. + + 主体ID。 + + :param principal_id: The principal_id of this GetCallerIdentityResponse. + :type principal_id: str + """ + self._principal_id = principal_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GetCallerIdentityResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/__init__.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py new file mode 100644 index 0000000000..a8b4418a65 --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +from huaweicloudsdkcore.region.region import Region +from huaweicloudsdkcore.region.provider import RegionProviderChain + +class StsRegion: + _PROVIDER = RegionProviderChain.get_default_region_provider_chain("STS") + + CN_NORTH_4 = Region("cn-north-4", + "https://sts.cn-north-4.myhuaweicloud.com") + CN_SOUTH_1 = Region("cn-south-1", + "https://sts.cn-south-1.myhuaweicloud.com") + CN_EAST_3 = Region("cn-east-3", + "https://sts.cn-east-3.myhuaweicloud.com") + CN_NORTH_9 = Region("cn-north-9", + "https://sts.cn-north-9.myhuaweicloud.com") + CN_SOUTHWEST_2 = Region("cn-southwest-2", + "https://sts.cn-southwest-2.myhuaweicloud.com") + AP_SOUTHEAST_1 = Region("ap-southeast-1", + "https://sts.ap-southeast-1.myhuaweicloud.com") + AP_SOUTHEAST_3 = Region("ap-southeast-3", + "https://sts.ap-southeast-3.myhuaweicloud.com") + AP_SOUTHEAST_2 = Region("ap-southeast-2", + "https://sts.ap-southeast-2.myhuaweicloud.com") + SA_BRAZIL_1 = Region("sa-brazil-1", + "https://sts.sa-brazil-1.myhuaweicloud.com") + LA_SOUTH_2 = Region("la-south-2", + "https://sts.la-south-2.myhuaweicloud.com") + AF_SOUTH_1 = Region("af-south-1", + "https://sts.af-south-1.myhuaweicloud.com") + AP_SOUTHEAST_4 = Region("ap-southeast-4", + "https://sts.ap-southeast-4.myhuaweicloud.com") + TR_WEST_1 = Region("tr-west-1", + "https://sts.tr-west-1.myhuaweicloud.com") + CN_SOUTH_4 = Region("cn-south-4", + "https://sts.cn-south-4.myhuaweicloud.com") + + static_fields = { + "cn-north-4": CN_NORTH_4, + "cn-south-1": CN_SOUTH_1, + "cn-east-3": CN_EAST_3, + "cn-north-9": CN_NORTH_9, + "cn-southwest-2": CN_SOUTHWEST_2, + "ap-southeast-1": AP_SOUTHEAST_1, + "ap-southeast-3": AP_SOUTHEAST_3, + "ap-southeast-2": AP_SOUTHEAST_2, + "sa-brazil-1": SA_BRAZIL_1, + "la-south-2": LA_SOUTH_2, + "af-south-1": AF_SOUTH_1, + "ap-southeast-4": AP_SOUTHEAST_4, + "tr-west-1": TR_WEST_1, + "cn-south-4": CN_SOUTH_4, + } + + @classmethod + def value_of(cls, region_id, static_fields=None): + if not region_id: + raise KeyError("Unexpected empty parameter: region_id") + + fields = static_fields or cls.static_fields + + region = cls._PROVIDER.get_region(region_id) + if region: + return region + + if region_id in fields: + return fields.get(region_id) + + raise KeyError("region_id '%s' is not in the following supported regions of service 'Sts': [%s]" % ( + region_id, ", ".join(sorted(fields.keys())))) diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_async_client.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_async_client.py new file mode 100644 index 0000000000..d4be4d58aa --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_async_client.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +from __future__ import absolute_import + +import importlib +import warnings + +from huaweicloudsdkcore.client import Client, ClientBuilder +from huaweicloudsdkcore.utils import http_utils +from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest +try: + from huaweicloudsdkcore.invoker.invoker import AsyncInvoker +except ImportError as e: + warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdksts'") + + +class StsAsyncClient(Client): + def __init__(self): + super(StsAsyncClient, self).__init__() + self.model_package = importlib.import_module("huaweicloudsdksts.v1.model") + + @classmethod + def new_builder(cls, clazz=None): + if not clazz: + client_builder = ClientBuilder(cls) + else: + if clazz.__name__ != "StsAsyncClient": + raise TypeError("client type error, support client type is StsAsyncClient") + client_builder = ClientBuilder(clazz) + + + + return client_builder + + def decode_authorization_message_async(self, request): + """解密鉴权失败的原因 + + 解密鉴权失败的原因。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DecodeAuthorizationMessage + :type request: :class:`huaweicloudsdksts.v1.DecodeAuthorizationMessageRequest` + :rtype: :class:`huaweicloudsdksts.v1.DecodeAuthorizationMessageResponse` + """ + http_info = self._decode_authorization_message_http_info(request) + return self._call_api(**http_info) + + def decode_authorization_message_async_invoker(self, request): + http_info = self._decode_authorization_message_http_info(request) + return AsyncInvoker(self, http_info) + + def _decode_authorization_message_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v5/decode-authorization-message", + "request_type": request.__class__.__name__, + "response_type": "DecodeAuthorizationMessageResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_security_token' in local_var_params: + header_params['X-Security-Token'] = local_var_params['x_security_token'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = ['AccessKeySignature'] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def get_caller_identity_async(self, request): + """获取调用者身份信息 + + 获取调用者(华为云用户,代理等)身份信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for GetCallerIdentity + :type request: :class:`huaweicloudsdksts.v1.GetCallerIdentityRequest` + :rtype: :class:`huaweicloudsdksts.v1.GetCallerIdentityResponse` + """ + http_info = self._get_caller_identity_http_info(request) + return self._call_api(**http_info) + + def get_caller_identity_async_invoker(self, request): + http_info = self._get_caller_identity_http_info(request) + return AsyncInvoker(self, http_info) + + def _get_caller_identity_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v5/caller-identity", + "request_type": request.__class__.__name__, + "response_type": "GetCallerIdentityResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_security_token' in local_var_params: + header_params['X-Security-Token'] = local_var_params['x_security_token'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = ['AccessKeySignature'] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def _call_api(self, **kwargs): + try: + kwargs["async_request"] = True + return self.do_http_request(**kwargs) + except TypeError: + import inspect + params = inspect.signature(self.do_http_request).parameters + http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} + return self.do_http_request(**http_info) + + def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, + post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, + collection_formats=None, request_type=None): + """Makes the HTTP request and returns deserialized data. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be + placed in the request header. + :param body: Request body. + :param post_params: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param cname: Used for obs endpoint. + :param auth_settings: Auth Settings names for the request. + :param response_type: Response data type. + :param response_headers: Header should be added to response data. + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :param request_type: Request data type. + :return: + Return the response directly. + """ + return self.do_http_request( + method=method, + resource_path=resource_path, + path_params=path_params, + query_params=query_params, + header_params=header_params, + body=body, + post_params=post_params, + cname=cname, + response_type=response_type, + response_headers=response_headers, + collection_formats=collection_formats, + request_type=request_type, + async_request=True) diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_client.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_client.py new file mode 100644 index 0000000000..0405882e33 --- /dev/null +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/sts_client.py @@ -0,0 +1,211 @@ +# coding: utf-8 + +from __future__ import absolute_import + +import importlib +import warnings + +from huaweicloudsdkcore.client import Client, ClientBuilder +from huaweicloudsdkcore.utils import http_utils +from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest +try: + from huaweicloudsdkcore.invoker.invoker import SyncInvoker +except ImportError as e: + warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdksts'") + + +class StsClient(Client): + def __init__(self): + super(StsClient, self).__init__() + self.model_package = importlib.import_module("huaweicloudsdksts.v1.model") + + @classmethod + def new_builder(cls, clazz=None): + if not clazz: + client_builder = ClientBuilder(cls) + else: + if clazz.__name__ != "StsClient": + raise TypeError("client type error, support client type is StsClient") + client_builder = ClientBuilder(clazz) + + + + return client_builder + + def decode_authorization_message(self, request): + """解密鉴权失败的原因 + + 解密鉴权失败的原因。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DecodeAuthorizationMessage + :type request: :class:`huaweicloudsdksts.v1.DecodeAuthorizationMessageRequest` + :rtype: :class:`huaweicloudsdksts.v1.DecodeAuthorizationMessageResponse` + """ + http_info = self._decode_authorization_message_http_info(request) + return self._call_api(**http_info) + + def decode_authorization_message_invoker(self, request): + http_info = self._decode_authorization_message_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _decode_authorization_message_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v5/decode-authorization-message", + "request_type": request.__class__.__name__, + "response_type": "DecodeAuthorizationMessageResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_security_token' in local_var_params: + header_params['X-Security-Token'] = local_var_params['x_security_token'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = ['AccessKeySignature'] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def get_caller_identity(self, request): + """获取调用者身份信息 + + 获取调用者(华为云用户,代理等)身份信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for GetCallerIdentity + :type request: :class:`huaweicloudsdksts.v1.GetCallerIdentityRequest` + :rtype: :class:`huaweicloudsdksts.v1.GetCallerIdentityResponse` + """ + http_info = self._get_caller_identity_http_info(request) + return self._call_api(**http_info) + + def get_caller_identity_invoker(self, request): + http_info = self._get_caller_identity_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _get_caller_identity_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v5/caller-identity", + "request_type": request.__class__.__name__, + "response_type": "GetCallerIdentityResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_security_token' in local_var_params: + header_params['X-Security-Token'] = local_var_params['x_security_token'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = ['AccessKeySignature'] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def _call_api(self, **kwargs): + try: + return self.do_http_request(**kwargs) + except TypeError: + import inspect + params = inspect.signature(self.do_http_request).parameters + http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} + return self.do_http_request(**http_info) + + def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, + post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, + collection_formats=None, request_type=None): + """Makes the HTTP request and returns deserialized data. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be placed in the request header. + :param body: Request body. + :param post_params: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param cname: Used for obs endpoint. + :param auth_settings: Auth Settings names for the request. + :param response_type: Response data type. + :param response_headers: Header should be added to response data. + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :param request_type: Request data type. + :return: + Return the response directly. + """ + return self.do_http_request( + method=method, + resource_path=resource_path, + path_params=path_params, + query_params=query_params, + header_params=header_params, + body=body, + post_params=post_params, + cname=cname, + response_type=response_type, + response_headers=response_headers, + collection_formats=collection_formats, + request_type=request_type) diff --git a/huaweicloud-sdk-sts/requirements.txt b/huaweicloud-sdk-sts/requirements.txt new file mode 100644 index 0000000000..7d04975426 --- /dev/null +++ b/huaweicloud-sdk-sts/requirements.txt @@ -0,0 +1 @@ +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-sts/setup.py b/huaweicloud-sdk-sts/setup.py new file mode 100644 index 0000000000..0da1f579b4 --- /dev/null +++ b/huaweicloud-sdk-sts/setup.py @@ -0,0 +1,55 @@ +# coding: utf-8 +from os import path + +from setuptools import setup, find_packages + +NAME = "huaweicloudsdksts" +VERSION = "3.1.92" +AUTHOR = "HuaweiCloud SDK" +AUTHOR_EMAIL = "hwcloudsdk@huawei.com" +URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" + +DESCRIPTION = "STS" +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: + LONG_DESCRIPTION = f.read() + +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] + +OPTIONS = { + 'bdist_wheel': { + 'universal': True + } +} + +setup( + name=NAME, + version=VERSION, + options=OPTIONS, + description=DESCRIPTION, + long_description=LONG_DESCRIPTION, + long_description_content_type='text/markdown', + author=AUTHOR, + author_email=AUTHOR_EMAIL, + license="Apache LICENSE 2.0", + url=URL, + keywords=["huaweicloud", "sdk", "STS"], + packages=find_packages(exclude=["tests*"]), + install_requires=REQUIRES, + python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*", + include_package_data=True, + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: Apache Software License', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Topic :: Software Development' + ] +) diff --git a/huaweicloud-sdk-swr/requirements.txt b/huaweicloud-sdk-swr/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-swr/requirements.txt +++ b/huaweicloud-sdk-swr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-swr/setup.py b/huaweicloud-sdk-swr/setup.py index b526f64569..8c74911b46 100644 --- a/huaweicloud-sdk-swr/setup.py +++ b/huaweicloud-sdk-swr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkswr" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tics/requirements.txt b/huaweicloud-sdk-tics/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-tics/requirements.txt +++ b/huaweicloud-sdk-tics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-tics/setup.py b/huaweicloud-sdk-tics/setup.py index d74fa7f329..6d52813fab 100644 --- a/huaweicloud-sdk-tics/setup.py +++ b/huaweicloud-sdk-tics/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdktics" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tms/huaweicloudsdktms/v1/model/delete_tag_request.py b/huaweicloud-sdk-tms/huaweicloudsdktms/v1/model/delete_tag_request.py index 0dd281c4d4..32f224b84a 100644 --- a/huaweicloud-sdk-tms/huaweicloudsdktms/v1/model/delete_tag_request.py +++ b/huaweicloud-sdk-tms/huaweicloudsdktms/v1/model/delete_tag_request.py @@ -17,28 +17,35 @@ class DeleteTagRequest: sensitive_list = [] openapi_types = { - 'key': 'str' + 'key': 'str', + 'value': 'str' } attribute_map = { - 'key': 'key' + 'key': 'key', + 'value': 'value' } - def __init__(self, key=None): + def __init__(self, key=None, value=None): """DeleteTagRequest The model defined in huaweicloud sdk :param key: 键。 最大长度36个字符。 字符集:A-Z,a-z , 0-9,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 :type key: str + :param value: 值。 最大长度43个字符,可以为空字符串。 字符集:A-Z,a-z , 0-9,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 + :type value: str """ self._key = None + self._value = None self.discriminator = None self.key = key + if value is not None: + self.value = value @property def key(self): @@ -62,6 +69,28 @@ def key(self, key): """ self._key = key + @property + def value(self): + """Gets the value of this DeleteTagRequest. + + 值。 最大长度43个字符,可以为空字符串。 字符集:A-Z,a-z , 0-9,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 + + :return: The value of this DeleteTagRequest. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this DeleteTagRequest. + + 值。 最大长度43个字符,可以为空字符串。 字符集:A-Z,a-z , 0-9,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 + + :param value: The value of this DeleteTagRequest. + :type value: str + """ + self._value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-tms/requirements.txt b/huaweicloud-sdk-tms/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-tms/requirements.txt +++ b/huaweicloud-sdk-tms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-tms/setup.py b/huaweicloud-sdk-tms/setup.py index 0b3c0728f1..b46863ae21 100644 --- a/huaweicloud-sdk-tms/setup.py +++ b/huaweicloud-sdk-tms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdktms" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ugo/requirements.txt b/huaweicloud-sdk-ugo/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-ugo/requirements.txt +++ b/huaweicloud-sdk-ugo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-ugo/setup.py b/huaweicloud-sdk-ugo/setup.py index f21dd29802..1500a4c804 100644 --- a/huaweicloud-sdk-ugo/setup.py +++ b/huaweicloud-sdk-ugo/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkugo" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vas/requirements.txt b/huaweicloud-sdk-vas/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-vas/requirements.txt +++ b/huaweicloud-sdk-vas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-vas/setup.py b/huaweicloud-sdk-vas/setup.py index 53eab165d6..1c911fda98 100644 --- a/huaweicloud-sdk-vas/setup.py +++ b/huaweicloud-sdk-vas/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvas" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vcm/requirements.txt b/huaweicloud-sdk-vcm/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-vcm/requirements.txt +++ b/huaweicloud-sdk-vcm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-vcm/setup.py b/huaweicloud-sdk-vcm/setup.py index 835607176d..04b7ca5cd1 100644 --- a/huaweicloud-sdk-vcm/setup.py +++ b/huaweicloud-sdk-vcm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvcm" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vod/requirements.txt b/huaweicloud-sdk-vod/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-vod/requirements.txt +++ b/huaweicloud-sdk-vod/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-vod/setup.py b/huaweicloud-sdk-vod/setup.py index 1c6a77a806..d7833179e3 100644 --- a/huaweicloud-sdk-vod/setup.py +++ b/huaweicloud-sdk-vod/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvod" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpc/requirements.txt b/huaweicloud-sdk-vpc/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-vpc/requirements.txt +++ b/huaweicloud-sdk-vpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-vpc/setup.py b/huaweicloud-sdk-vpc/setup.py index bb618e8ae4..28fa7f72ac 100644 --- a/huaweicloud-sdk-vpc/setup.py +++ b/huaweicloud-sdk-vpc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvpc" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpcep/requirements.txt b/huaweicloud-sdk-vpcep/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-vpcep/requirements.txt +++ b/huaweicloud-sdk-vpcep/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-vpcep/setup.py b/huaweicloud-sdk-vpcep/setup.py index be1ab3613a..56e3d0e748 100644 --- a/huaweicloud-sdk-vpcep/setup.py +++ b/huaweicloud-sdk-vpcep/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvpcep" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpn/requirements.txt b/huaweicloud-sdk-vpn/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-vpn/requirements.txt +++ b/huaweicloud-sdk-vpn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-vpn/setup.py b/huaweicloud-sdk-vpn/setup.py index 3dc3eaddba..3cfeb33570 100644 --- a/huaweicloud-sdk-vpn/setup.py +++ b/huaweicloud-sdk-vpn/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvpn" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-waf/requirements.txt b/huaweicloud-sdk-waf/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-waf/requirements.txt +++ b/huaweicloud-sdk-waf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-waf/setup.py b/huaweicloud-sdk-waf/setup.py index 65442c2944..4537639851 100644 --- a/huaweicloud-sdk-waf/setup.py +++ b/huaweicloud-sdk-waf/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkwaf" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py b/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py index fb19a07c58..e9b9ea51d2 100644 --- a/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py +++ b/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py @@ -24,6 +24,8 @@ class WorkspaceRegion: "https://workspace.ap-southeast-3.myhuaweicloud.com") CN_NORTH_9 = Region("cn-north-9", "https://workspace.cn-north-9.myhuaweicloud.com") + AP_SOUTHEAST_1 = Region("ap-southeast-1", + "https://workspace.ap-southeast-1.myhuaweicloud.com") static_fields = { "cn-east-3": CN_EAST_3, @@ -35,6 +37,7 @@ class WorkspaceRegion: "la-north-2": LA_NORTH_2, "ap-southeast-3": AP_SOUTHEAST_3, "cn-north-9": CN_NORTH_9, + "ap-southeast-1": AP_SOUTHEAST_1, } @classmethod diff --git a/huaweicloud-sdk-workspace/requirements.txt b/huaweicloud-sdk-workspace/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-workspace/requirements.txt +++ b/huaweicloud-sdk-workspace/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-workspace/setup.py b/huaweicloud-sdk-workspace/setup.py index df5319ffa8..f90fb6dd64 100644 --- a/huaweicloud-sdk-workspace/setup.py +++ b/huaweicloud-sdk-workspace/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkworkspace" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspaceapp/requirements.txt b/huaweicloud-sdk-workspaceapp/requirements.txt index da7a70dd1d..7d04975426 100644 --- a/huaweicloud-sdk-workspaceapp/requirements.txt +++ b/huaweicloud-sdk-workspaceapp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.91 \ No newline at end of file +huaweicloudsdkcore >= 3.1.92 \ No newline at end of file diff --git a/huaweicloud-sdk-workspaceapp/setup.py b/huaweicloud-sdk-workspaceapp/setup.py index facd162829..26ccdc1765 100644 --- a/huaweicloud-sdk-workspaceapp/setup.py +++ b/huaweicloud-sdk-workspaceapp/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkworkspaceapp" -VERSION = "3.1.91" +VERSION = "3.1.92" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.91"] +REQUIRES = ["huaweicloudsdkcore>=3.1.92"] OPTIONS = { 'bdist_wheel': {