yandexcloud 0.287.0__py3-none-any.whl → 0.289.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/access/access_pb2.pyi +288 -0
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +63 -0
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +53 -0
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +67 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +55 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +122 -0
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +195 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +122 -0
- yandex/cloud/ai/llm/v1alpha/llm_pb2.pyi +121 -0
- yandex/cloud/ai/llm/v1alpha/llm_service_pb2.pyi +280 -0
- yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +364 -0
- yandex/cloud/ai/ocr/v1/ocr_service_pb2.pyi +92 -0
- yandex/cloud/ai/stt/v2/stt_service_pb2.pyi +299 -0
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +1437 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.pyi +26 -0
- yandex/cloud/ai/translate/v2/translation_pb2.pyi +55 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +272 -0
- yandex/cloud/ai/tts/v3/tts_pb2.pyi +474 -0
- yandex/cloud/ai/tts/v3/tts_service_pb2.pyi +8 -0
- yandex/cloud/ai/vision/v1/classification_pb2.pyi +55 -0
- yandex/cloud/ai/vision/v1/face_detection_pb2.pyi +51 -0
- yandex/cloud/ai/vision/v1/image_copy_search_pb2.pyi +63 -0
- yandex/cloud/ai/vision/v1/primitives_pb2.pyi +51 -0
- yandex/cloud/ai/vision/v1/text_detection_pb2.pyi +196 -0
- yandex/cloud/ai/vision/v1/vision_service_pb2.pyi +284 -0
- yandex/cloud/ai/vision/v2/image_classifier_pb2.pyi +159 -0
- yandex/cloud/ai/vision/v2/image_classifier_service_pb2.pyi +8 -0
- yandex/cloud/ai/vision/v2/image_pb2.pyi +57 -0
- yandex/cloud/api/operation_pb2.pyi +47 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +944 -0
- yandex/cloud/apploadbalancer/v1/backend_group_service_pb2.pyi +558 -0
- yandex/cloud/apploadbalancer/v1/http_router_pb2.pyi +92 -0
- yandex/cloud/apploadbalancer/v1/http_router_service_pb2.pyi +389 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +837 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +1073 -0
- yandex/cloud/apploadbalancer/v1/logging_pb2.pyi +117 -0
- yandex/cloud/apploadbalancer/v1/payload_pb2.pyi +31 -0
- yandex/cloud/apploadbalancer/v1/target_group_pb2.pyi +117 -0
- yandex/cloud/apploadbalancer/v1/target_group_service_pb2.pyi +450 -0
- yandex/cloud/apploadbalancer/v1/tls_pb2.pyi +34 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +798 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +501 -0
- yandex/cloud/audittrails/v1/trail_pb2.pyi +449 -0
- yandex/cloud/audittrails/v1/trail_service_pb2.pyi +363 -0
- yandex/cloud/backup/v1/backup_pb2.pyi +468 -0
- yandex/cloud/backup/v1/backup_service_pb2.pyi +454 -0
- yandex/cloud/backup/v1/policy_pb2.pyi +742 -0
- yandex/cloud/backup/v1/policy_service_pb2.py +8 -8
- yandex/cloud/backup/v1/policy_service_pb2.pyi +342 -0
- yandex/cloud/backup/v1/provider_service_pb2.pyi +90 -0
- yandex/cloud/backup/v1/resource_pb2.pyi +273 -0
- yandex/cloud/backup/v1/resource_service_pb2.pyi +357 -0
- yandex/cloud/billing/v1/billable_object_pb2.pyi +65 -0
- yandex/cloud/billing/v1/billing_account_pb2.pyi +62 -0
- yandex/cloud/billing/v1/billing_account_service_pb2.pyi +190 -0
- yandex/cloud/billing/v1/budget_pb2.pyi +409 -0
- yandex/cloud/billing/v1/budget_service_pb2.pyi +151 -0
- yandex/cloud/billing/v1/customer_pb2.pyi +79 -0
- yandex/cloud/billing/v1/customer_service_pb2.pyi +187 -0
- yandex/cloud/billing/v1/service_pb2.pyi +37 -0
- yandex/cloud/billing/v1/service_service_pb2.pyi +96 -0
- yandex/cloud/billing/v1/sku_pb2.pyi +173 -0
- yandex/cloud/billing/v1/sku_service_pb2.pyi +128 -0
- yandex/cloud/cdn/v1/cache_service_pb2.pyi +95 -0
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +54 -0
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +252 -0
- yandex/cloud/cdn/v1/origin_pb2.pyi +186 -0
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +262 -0
- yandex/cloud/cdn/v1/provider_service_pb2.pyi +86 -0
- yandex/cloud/cdn/v1/raw_logs_pb2.pyi +80 -0
- yandex/cloud/cdn/v1/raw_logs_service_pb2.pyi +207 -0
- yandex/cloud/cdn/v1/resource_pb2.pyi +1067 -0
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +401 -0
- yandex/cloud/cdn/v1/rule_pb2.pyi +45 -0
- yandex/cloud/cdn/v1/rule_service_pb2.pyi +211 -0
- yandex/cloud/certificatemanager/v1/certificate_content_service_pb2.pyi +87 -0
- yandex/cloud/certificatemanager/v1/certificate_pb2.pyi +381 -0
- yandex/cloud/certificatemanager/v1/certificate_service_pb2.pyi +515 -0
- yandex/cloud/compute/v1/disk_pb2.pyi +202 -0
- yandex/cloud/compute/v1/disk_placement_group_pb2.pyi +143 -0
- yandex/cloud/compute/v1/disk_placement_group_service_pb2.pyi +425 -0
- yandex/cloud/compute/v1/disk_service_pb2.pyi +561 -0
- yandex/cloud/compute/v1/disk_type_pb2.pyi +39 -0
- yandex/cloud/compute/v1/disk_type_service_pb2.pyi +86 -0
- yandex/cloud/compute/v1/filesystem_pb2.pyi +137 -0
- yandex/cloud/compute/v1/filesystem_service_pb2.pyi +394 -0
- yandex/cloud/compute/v1/gpu_cluster_pb2.pyi +139 -0
- yandex/cloud/compute/v1/gpu_cluster_service_pb2.pyi +439 -0
- yandex/cloud/compute/v1/host_group_pb2.pyi +224 -0
- yandex/cloud/compute/v1/host_group_service_pb2.pyi +556 -0
- yandex/cloud/compute/v1/host_type_pb2.pyi +48 -0
- yandex/cloud/compute/v1/host_type_service_pb2.pyi +87 -0
- yandex/cloud/compute/v1/image_pb2.pyi +188 -0
- yandex/cloud/compute/v1/image_service_pb2.pyi +430 -0
- yandex/cloud/compute/v1/instance_pb2.pyi +798 -0
- yandex/cloud/compute/v1/instance_service_pb2.pyi +1806 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +2064 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_service_pb2.pyi +1004 -0
- yandex/cloud/compute/v1/maintenance_pb2.pyi +38 -0
- yandex/cloud/compute/v1/placement_group_pb2.pyi +115 -0
- yandex/cloud/compute/v1/placement_group_service_pb2.pyi +423 -0
- yandex/cloud/compute/v1/snapshot_pb2.pyi +139 -0
- yandex/cloud/compute/v1/snapshot_schedule_pb2.pyi +221 -0
- yandex/cloud/compute/v1/snapshot_schedule_service_pb2.pyi +678 -0
- yandex/cloud/compute/v1/snapshot_service_pb2.pyi +350 -0
- yandex/cloud/compute/v1/zone_pb2.pyi +63 -0
- yandex/cloud/compute/v1/zone_service_pb2.pyi +84 -0
- yandex/cloud/containerregistry/v1/blob_pb2.pyi +45 -0
- yandex/cloud/containerregistry/v1/image_pb2.pyi +75 -0
- yandex/cloud/containerregistry/v1/image_service_pb2.pyi +160 -0
- yandex/cloud/containerregistry/v1/ip_permission_pb2.pyi +95 -0
- yandex/cloud/containerregistry/v1/lifecycle_policy_pb2.pyi +131 -0
- yandex/cloud/containerregistry/v1/lifecycle_policy_service_pb2.pyi +479 -0
- yandex/cloud/containerregistry/v1/registry_pb2.pyi +103 -0
- yandex/cloud/containerregistry/v1/registry_service_pb2.pyi +386 -0
- yandex/cloud/containerregistry/v1/repository_pb2.pyi +35 -0
- yandex/cloud/containerregistry/v1/repository_service_pb2.pyi +202 -0
- yandex/cloud/containerregistry/v1/scan_policy_pb2.pyi +140 -0
- yandex/cloud/containerregistry/v1/scan_policy_service_pb2.pyi +177 -0
- yandex/cloud/containerregistry/v1/scanner_pb2.pyi +254 -0
- yandex/cloud/containerregistry/v1/scanner_service_pb2.pyi +234 -0
- yandex/cloud/dataproc/manager/v1/job_pb2.pyi +608 -0
- yandex/cloud/dataproc/manager/v1/job_service_pb2.pyi +201 -0
- yandex/cloud/dataproc/manager/v1/manager_service_pb2.pyi +449 -0
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +351 -0
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +764 -0
- yandex/cloud/dataproc/v1/common_pb2.pyi +75 -0
- yandex/cloud/dataproc/v1/job_pb2.pyi +526 -0
- yandex/cloud/dataproc/v1/job_service_pb2.pyi +250 -0
- yandex/cloud/dataproc/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/dataproc/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/dataproc/v1/subcluster_pb2.pyi +248 -0
- yandex/cloud/dataproc/v1/subcluster_service_pb2.pyi +301 -0
- yandex/cloud/datasphere/v1/app_token_service_pb2.pyi +27 -0
- yandex/cloud/datasphere/v1/folder_budget_service_pb2.pyi +101 -0
- yandex/cloud/datasphere/v1/node_execution_error_details_pb2.pyi +41 -0
- yandex/cloud/datasphere/v1/node_service_pb2.pyi +104 -0
- yandex/cloud/datasphere/v1/project_data_service_pb2.pyi +122 -0
- yandex/cloud/datasphere/v1/project_pb2.pyi +149 -0
- yandex/cloud/datasphere/v1/project_service_pb2.pyi +606 -0
- yandex/cloud/datasphere/v2/community_pb2.pyi +75 -0
- yandex/cloud/datasphere/v2/community_service_pb2.pyi +384 -0
- yandex/cloud/datasphere/v2/dataset_pb2.pyi +159 -0
- yandex/cloud/datasphere/v2/dataset_service_pb2.pyi +47 -0
- yandex/cloud/datasphere/v2/docker_image_service_pb2.pyi +29 -0
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +484 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +694 -0
- yandex/cloud/datasphere/v2/project_pb2.pyi +265 -0
- yandex/cloud/datasphere/v2/project_service_pb2.pyi +815 -0
- yandex/cloud/datasphere/v2/resource_types_pb2.pyi +46 -0
- yandex/cloud/datasphere/v2/restrictions_pb2.pyi +127 -0
- yandex/cloud/datasphere/v2/s3_service_pb2.pyi +47 -0
- yandex/cloud/datasphere/v2/secret_pb2.pyi +102 -0
- yandex/cloud/datasphere/v2/user_pb2.pyi +43 -0
- yandex/cloud/datatransfer/v1/endpoint/clickhouse_pb2.pyi +295 -0
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +324 -0
- yandex/cloud/datatransfer/v1/endpoint/kafka_pb2.pyi +294 -0
- yandex/cloud/datatransfer/v1/endpoint/metrika_pb2.pyi +84 -0
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +191 -0
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +261 -0
- yandex/cloud/datatransfer/v1/endpoint/parsers_pb2.pyi +91 -0
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +326 -0
- yandex/cloud/datatransfer/v1/endpoint/serializers_pb2.pyi +105 -0
- yandex/cloud/datatransfer/v1/endpoint/ydb_pb2.pyi +154 -0
- yandex/cloud/datatransfer/v1/endpoint/yds_pb2.pyi +155 -0
- yandex/cloud/datatransfer/v1/endpoint_pb2.pyi +144 -0
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +262 -0
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +689 -0
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +338 -0
- yandex/cloud/dns/v1/dns_zone_pb2.pyi +163 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2.pyi +655 -0
- yandex/cloud/endpoint/api_endpoint_pb2.pyi +29 -0
- yandex/cloud/endpoint/api_endpoint_service_pb2.pyi +66 -0
- yandex/cloud/iam/v1/api_key_pb2.pyi +61 -0
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +293 -0
- yandex/cloud/iam/v1/awscompatibility/access_key_pb2.pyi +61 -0
- yandex/cloud/iam/v1/awscompatibility/access_key_service_pb2.pyi +283 -0
- yandex/cloud/iam/v1/iam_token_service_pb2.pyi +80 -0
- yandex/cloud/iam/v1/key_pb2.pyi +90 -0
- yandex/cloud/iam/v1/key_service_pb2.pyi +320 -0
- yandex/cloud/iam/v1/resource_pb2.pyi +33 -0
- yandex/cloud/iam/v1/role_pb2.pyi +33 -0
- yandex/cloud/iam/v1/role_service_pb2.pyi +92 -0
- yandex/cloud/iam/v1/service_account_pb2.pyi +75 -0
- yandex/cloud/iam/v1/service_account_service_pb2.pyi +335 -0
- yandex/cloud/iam/v1/service_control_pb2.pyi +98 -0
- yandex/cloud/iam/v1/service_control_service_pb2.pyi +310 -0
- yandex/cloud/iam/v1/user_account_pb2.pyi +133 -0
- yandex/cloud/iam/v1/user_account_service_pb2.pyi +27 -0
- yandex/cloud/iam/v1/yandex_passport_user_account_service_pb2.pyi +27 -0
- yandex/cloud/iot/broker/v1/broker_data_service_pb2.pyi +45 -0
- yandex/cloud/iot/broker/v1/broker_pb2.pyi +209 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.pyi +627 -0
- yandex/cloud/iot/devices/v1/device_data_service_pb2.pyi +45 -0
- yandex/cloud/iot/devices/v1/device_pb2.pyi +233 -0
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +670 -0
- yandex/cloud/iot/devices/v1/registry_data_service_pb2.pyi +45 -0
- yandex/cloud/iot/devices/v1/registry_pb2.pyi +291 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2.pyi +849 -0
- yandex/cloud/k8s/v1/cluster_pb2.pyi +610 -0
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +904 -0
- yandex/cloud/k8s/v1/maintenance_pb2.pyi +132 -0
- yandex/cloud/k8s/v1/node_group_pb2.pyi +365 -0
- yandex/cloud/k8s/v1/node_group_service_pb2.pyi +566 -0
- yandex/cloud/k8s/v1/node_pb2.pyi +784 -0
- yandex/cloud/k8s/v1/version_pb2.pyi +68 -0
- yandex/cloud/k8s/v1/version_service_pb2.pyi +64 -0
- yandex/cloud/kms/v1/asymmetricencryption/asymmetric_encryption_crypto_service_pb2.pyi +92 -0
- yandex/cloud/kms/v1/asymmetricencryption/asymmetric_encryption_key_pb2.pyi +149 -0
- yandex/cloud/kms/v1/asymmetricencryption/asymmetric_encryption_key_service_pb2.pyi +335 -0
- yandex/cloud/kms/v1/asymmetricsignature/asymmetric_signature_crypto_service_pb2.pyi +140 -0
- yandex/cloud/kms/v1/asymmetricsignature/asymmetric_signature_key_pb2.pyi +189 -0
- yandex/cloud/kms/v1/asymmetricsignature/asymmetric_signature_key_service_pb2.pyi +335 -0
- yandex/cloud/kms/v1/symmetric_crypto_service_pb2.pyi +270 -0
- yandex/cloud/kms/v1/symmetric_key_pb2.pyi +260 -0
- yandex/cloud/kms/v1/symmetric_key_service_pb2.pyi +591 -0
- yandex/cloud/loadbalancer/v1/health_check_pb2.pyi +102 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +364 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +747 -0
- yandex/cloud/loadbalancer/v1/target_group_pb2.pyi +109 -0
- yandex/cloud/loadbalancer/v1/target_group_service_pb2.pyi +434 -0
- yandex/cloud/loadtesting/agent/v1/agent_pb2.pyi +26 -0
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.py +10 -10
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.pyi +83 -0
- yandex/cloud/loadtesting/agent/v1/agent_service_pb2.pyi +79 -0
- yandex/cloud/loadtesting/agent/v1/job_service_pb2.pyi +309 -0
- yandex/cloud/loadtesting/agent/v1/monitoring_service_pb2.pyi +102 -0
- yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +181 -0
- yandex/cloud/loadtesting/agent/v1/test_service_pb2.pyi +105 -0
- yandex/cloud/loadtesting/agent/v1/trail_service_pb2.pyi +178 -0
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.pyi +91 -0
- yandex/cloud/loadtesting/api/v1/agent/create_compute_instance_pb2.pyi +120 -0
- yandex/cloud/loadtesting/api/v1/agent/status_pb2.pyi +97 -0
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.pyi +301 -0
- yandex/cloud/loadtesting/api/v1/common/quantiles_pb2.pyi +61 -0
- yandex/cloud/loadtesting/api/v1/common/tag_pb2.pyi +33 -0
- yandex/cloud/loadtesting/api/v1/config/config_pb2.pyi +53 -0
- yandex/cloud/loadtesting/api/v1/config_service_pb2.pyi +165 -0
- yandex/cloud/loadtesting/api/v1/report/status_pb2.pyi +45 -0
- yandex/cloud/loadtesting/api/v1/report/table/report_pb2.pyi +79 -0
- yandex/cloud/loadtesting/api/v1/report_service_pb2.pyi +78 -0
- yandex/cloud/loadtesting/api/v1/test/agent_selector_pb2.pyi +42 -0
- yandex/cloud/loadtesting/api/v1/test/artifact_settings_pb2.pyi +61 -0
- yandex/cloud/loadtesting/api/v1/test/details_pb2.pyi +54 -0
- yandex/cloud/loadtesting/api/v1/test/file_pointer_pb2.pyi +34 -0
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.pyi +37 -0
- yandex/cloud/loadtesting/api/v1/test/object_storage_pb2.pyi +33 -0
- yandex/cloud/loadtesting/api/v1/test/single_agent_configuration_pb2.pyi +74 -0
- yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +96 -0
- yandex/cloud/loadtesting/api/v1/test/summary_pb2.pyi +96 -0
- yandex/cloud/loadtesting/api/v1/test/test_pb2.pyi +65 -0
- yandex/cloud/loadtesting/api/v1/test_service_pb2.pyi +233 -0
- yandex/cloud/lockbox/v1/payload_pb2.pyi +61 -0
- yandex/cloud/lockbox/v1/payload_service_pb2.pyi +31 -0
- yandex/cloud/lockbox/v1/secret_pb2.pyi +209 -0
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +634 -0
- yandex/cloud/logging/v1/export_pb2.pyi +121 -0
- yandex/cloud/logging/v1/export_service_pb2.pyi +474 -0
- yandex/cloud/logging/v1/log_entry_pb2.pyi +289 -0
- yandex/cloud/logging/v1/log_group_pb2.pyi +143 -0
- yandex/cloud/logging/v1/log_group_service_pb2.pyi +479 -0
- yandex/cloud/logging/v1/log_ingestion_service_pb2.pyi +98 -0
- yandex/cloud/logging/v1/log_reading_service_pb2.pyi +171 -0
- yandex/cloud/logging/v1/log_resource_pb2.pyi +65 -0
- yandex/cloud/logging/v1/sink_pb2.pyi +124 -0
- yandex/cloud/logging/v1/sink_service_pb2.pyi +390 -0
- yandex/cloud/marketplace/licensemanager/v1/instance_pb2.pyi +135 -0
- yandex/cloud/marketplace/licensemanager/v1/instance_service_pb2.pyi +102 -0
- yandex/cloud/marketplace/licensemanager/v1/lock_pb2.pyi +99 -0
- yandex/cloud/marketplace/licensemanager/v1/lock_service_pb2.pyi +230 -0
- yandex/cloud/marketplace/licensemanager/v1/template_pb2.pyi +107 -0
- yandex/cloud/marketplace/metering/v1/image_product_usage_service_pb2.pyi +64 -0
- yandex/cloud/marketplace/metering/v1/usage_record_pb2.pyi +111 -0
- yandex/cloud/marketplace/v1/metering/image_product_usage_service_pb2.pyi +64 -0
- yandex/cloud/marketplace/v1/metering/usage_record_pb2.pyi +111 -0
- yandex/cloud/mdb/clickhouse/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/clickhouse/v1/backup_service_pb2.py +9 -3
- yandex/cloud/mdb/clickhouse/v1/backup_service_pb2.pyi +125 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +747 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +130 -130
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +2274 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1473 -0
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/clickhouse/v1/database_service_pb2.pyi +184 -0
- yandex/cloud/mdb/clickhouse/v1/format_schema_pb2.pyi +67 -0
- yandex/cloud/mdb/clickhouse/v1/format_schema_service_pb2.pyi +246 -0
- yandex/cloud/mdb/clickhouse/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/clickhouse/v1/ml_model_pb2.pyi +63 -0
- yandex/cloud/mdb/clickhouse/v1/ml_model_service_pb2.pyi +241 -0
- yandex/cloud/mdb/clickhouse/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/clickhouse/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1717 -0
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.pyi +353 -0
- yandex/cloud/mdb/clickhouse/v1/version_pb2.pyi +43 -0
- yandex/cloud/mdb/clickhouse/v1/versions_service_pb2.pyi +67 -0
- yandex/cloud/mdb/elasticsearch/v1/auth_pb2.pyi +139 -0
- yandex/cloud/mdb/elasticsearch/v1/auth_service_pb2.pyi +247 -0
- yandex/cloud/mdb/elasticsearch/v1/backup_pb2.pyi +69 -0
- yandex/cloud/mdb/elasticsearch/v1/backup_service_pb2.pyi +87 -0
- yandex/cloud/mdb/elasticsearch/v1/cluster_pb2.pyi +544 -0
- yandex/cloud/mdb/elasticsearch/v1/cluster_service_pb2.pyi +1422 -0
- yandex/cloud/mdb/elasticsearch/v1/config/elasticsearch_pb2.pyi +105 -0
- yandex/cloud/mdb/elasticsearch/v1/extension_pb2.pyi +67 -0
- yandex/cloud/mdb/elasticsearch/v1/extension_service_pb2.pyi +223 -0
- yandex/cloud/mdb/elasticsearch/v1/maintenance_pb2.pyi +115 -0
- yandex/cloud/mdb/elasticsearch/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/elasticsearch/v1/resource_preset_service_pb2.pyi +85 -0
- yandex/cloud/mdb/elasticsearch/v1/user_pb2.pyi +53 -0
- yandex/cloud/mdb/elasticsearch/v1/user_service_pb2.pyi +247 -0
- yandex/cloud/mdb/greenplum/v1/backup_pb2.pyi +110 -0
- yandex/cloud/mdb/greenplum/v1/backup_service_pb2.pyi +122 -0
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +519 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +1274 -0
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +961 -0
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +101 -0
- yandex/cloud/mdb/greenplum/v1/hba_rule_service_pb2.pyi +184 -0
- yandex/cloud/mdb/greenplum/v1/host_pb2.pyi +127 -0
- yandex/cloud/mdb/greenplum/v1/maintenance_pb2.pyi +145 -0
- yandex/cloud/mdb/greenplum/v1/pxf_pb2.py +37 -37
- yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +539 -0
- yandex/cloud/mdb/greenplum/v1/pxf_service_pb2.py +22 -22
- yandex/cloud/mdb/greenplum/v1/pxf_service_pb2.pyi +164 -0
- yandex/cloud/mdb/greenplum/v1/resource_preset_pb2.pyi +89 -0
- yandex/cloud/mdb/greenplum/v1/resource_preset_service_pb2.pyi +91 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +844 -0
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2.pyi +915 -0
- yandex/cloud/mdb/kafka/v1/common_pb2.pyi +71 -0
- yandex/cloud/mdb/kafka/v1/connector_pb2.pyi +690 -0
- yandex/cloud/mdb/kafka/v1/connector_service_pb2.pyi +342 -0
- yandex/cloud/mdb/kafka/v1/maintenance_pb2.pyi +115 -0
- yandex/cloud/mdb/kafka/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/kafka/v1/resource_preset_service_pb2.pyi +85 -0
- yandex/cloud/mdb/kafka/v1/topic_pb2.pyi +375 -0
- yandex/cloud/mdb/kafka/v1/topic_service_pb2.pyi +252 -0
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +137 -0
- yandex/cloud/mdb/kafka/v1/user_service_pb2.pyi +360 -0
- yandex/cloud/mdb/mongodb/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/mongodb/v1/backup_service_pb2.pyi +121 -0
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +1890 -0
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +3146 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.pyi +536 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.pyi +522 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.pyi +693 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.pyi +781 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.pyi +693 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.pyi +794 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.pyi +699 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.pyi +794 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.pyi +699 -0
- yandex/cloud/mdb/mongodb/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/mongodb/v1/database_service_pb2.pyi +184 -0
- yandex/cloud/mdb/mongodb/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/mongodb/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/mongodb/v1/resource_preset_service_pb2.pyi +84 -0
- yandex/cloud/mdb/mongodb/v1/user_pb2.pyi +91 -0
- yandex/cloud/mdb/mongodb/v1/user_service_pb2.pyi +347 -0
- yandex/cloud/mdb/mysql/v1/backup_pb2.pyi +111 -0
- yandex/cloud/mdb/mysql/v1/backup_service_pb2.pyi +129 -0
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +601 -0
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +1537 -0
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +1023 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +969 -0
- yandex/cloud/mdb/mysql/v1/database_pb2.pyi +52 -0
- yandex/cloud/mdb/mysql/v1/database_service_pb2.pyi +192 -0
- yandex/cloud/mdb/mysql/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/mysql/v1/resource_preset_pb2.pyi +49 -0
- yandex/cloud/mdb/mysql/v1/resource_preset_service_pb2.pyi +86 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +357 -0
- yandex/cloud/mdb/mysql/v1/user_service_pb2.pyi +378 -0
- yandex/cloud/mdb/mysql/v1alpha/backup_pb2.pyi +53 -0
- yandex/cloud/mdb/mysql/v1alpha/backup_service_pb2.pyi +89 -0
- yandex/cloud/mdb/mysql/v1alpha/cluster_pb2.pyi +470 -0
- yandex/cloud/mdb/mysql/v1alpha/cluster_service_pb2.pyi +1025 -0
- yandex/cloud/mdb/mysql/v1alpha/config/mysql5_7_pb2.pyi +87 -0
- yandex/cloud/mdb/mysql/v1alpha/database_pb2.pyi +49 -0
- yandex/cloud/mdb/mysql/v1alpha/database_service_pb2.pyi +184 -0
- yandex/cloud/mdb/mysql/v1alpha/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/mysql/v1alpha/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/mysql/v1alpha/user_pb2.pyi +185 -0
- yandex/cloud/mdb/mysql/v1alpha/user_service_pb2.pyi +312 -0
- yandex/cloud/mdb/opensearch/v1/auth_pb2.pyi +69 -0
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +69 -0
- yandex/cloud/mdb/opensearch/v1/backup_service_pb2.pyi +91 -0
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +726 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +1827 -0
- yandex/cloud/mdb/opensearch/v1/config/opensearch_pb2.pyi +63 -0
- yandex/cloud/mdb/opensearch/v1/maintenance_pb2.pyi +155 -0
- yandex/cloud/mdb/opensearch/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/opensearch/v1/resource_preset_service_pb2.pyi +87 -0
- yandex/cloud/mdb/postgresql/v1/backup_pb2.pyi +139 -0
- yandex/cloud/mdb/postgresql/v1/backup_service_pb2.pyi +125 -0
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +935 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +1708 -0
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.pyi +507 -0
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.pyi +507 -0
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.pyi +516 -0
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.pyi +516 -0
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.pyi +458 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.pyi +931 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.pyi +923 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.pyi +975 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.pyi +967 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.pyi +999 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.pyi +991 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.pyi +1053 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.pyi +1051 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +1081 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +1079 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +1091 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +1083 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +1093 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +1085 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.pyi +651 -0
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +150 -0
- yandex/cloud/mdb/postgresql/v1/database_service_pb2.pyi +260 -0
- yandex/cloud/mdb/postgresql/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/postgresql/v1/perf_diag_pb2.pyi +462 -0
- yandex/cloud/mdb/postgresql/v1/perf_diag_service_pb2.pyi +139 -0
- yandex/cloud/mdb/postgresql/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/postgresql/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +534 -0
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +396 -0
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +65 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2.pyi +89 -0
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +610 -0
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +1686 -0
- yandex/cloud/mdb/redis/v1/config/redis5_0_pb2.pyi +204 -0
- yandex/cloud/mdb/redis/v1/config/redis6_0_pb2.pyi +204 -0
- yandex/cloud/mdb/redis/v1/config/redis6_2_pb2.pyi +210 -0
- yandex/cloud/mdb/redis/v1/config/redis7_0_pb2.pyi +210 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +210 -0
- yandex/cloud/mdb/redis/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/redis/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/redis/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/sqlserver/v1/backup_pb2.pyi +62 -0
- yandex/cloud/mdb/sqlserver/v1/backup_service_pb2.pyi +90 -0
- yandex/cloud/mdb/sqlserver/v1/cluster_pb2.pyi +571 -0
- yandex/cloud/mdb/sqlserver/v1/cluster_service_pb2.pyi +1226 -0
- yandex/cloud/mdb/sqlserver/v1/config/sqlserver2016sp2_pb2.pyi +231 -0
- yandex/cloud/mdb/sqlserver/v1/config/sqlserver2017_pb2.pyi +231 -0
- yandex/cloud/mdb/sqlserver/v1/config/sqlserver2019_pb2.pyi +231 -0
- yandex/cloud/mdb/sqlserver/v1/database_pb2.pyi +52 -0
- yandex/cloud/mdb/sqlserver/v1/database_service_pb2.pyi +384 -0
- yandex/cloud/mdb/sqlserver/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/sqlserver/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/sqlserver/v1/user_pb2.pyi +185 -0
- yandex/cloud/mdb/sqlserver/v1/user_service_pb2.pyi +368 -0
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +641 -0
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +122 -0
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +377 -0
- yandex/cloud/monitoring/v3/downsampling_pb2.pyi +118 -0
- yandex/cloud/monitoring/v3/parametrization_pb2.pyi +256 -0
- yandex/cloud/monitoring/v3/text_widget_pb2.pyi +29 -0
- yandex/cloud/monitoring/v3/title_widget_pb2.pyi +69 -0
- yandex/cloud/monitoring/v3/unit_format_pb2.pyi +480 -0
- yandex/cloud/monitoring/v3/widget_pb2.pyi +82 -0
- yandex/cloud/oauth/claims_pb2.pyi +136 -0
- yandex/cloud/operation/operation_pb2.pyi +89 -0
- yandex/cloud/operation/operation_service_pb2.pyi +43 -0
- yandex/cloud/organizationmanager/v1/group_mapping_pb2.pyi +57 -0
- yandex/cloud/organizationmanager/v1/group_mapping_service_pb2.pyi +305 -0
- yandex/cloud/organizationmanager/v1/group_pb2.pyi +51 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +464 -0
- yandex/cloud/organizationmanager/v1/organization_pb2.pyi +73 -0
- yandex/cloud/organizationmanager/v1/organization_service_pb2.pyi +231 -0
- yandex/cloud/organizationmanager/v1/os_login_service_pb2.pyi +421 -0
- yandex/cloud/organizationmanager/v1/saml/certificate_pb2.pyi +53 -0
- yandex/cloud/organizationmanager/v1/saml/certificate_service_pb2.pyi +298 -0
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +179 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +625 -0
- yandex/cloud/organizationmanager/v1/ssh_certificate_service_pb2.pyi +62 -0
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +133 -0
- yandex/cloud/organizationmanager/v1/user_service_pb2.pyi +150 -0
- yandex/cloud/organizationmanager/v1/user_ssh_key_pb2.pyi +53 -0
- yandex/cloud/organizationmanager/v1/user_ssh_key_service_pb2.pyi +194 -0
- yandex/cloud/quota/quota_pb2.pyi +88 -0
- yandex/cloud/reference/reference_pb2.pyi +77 -0
- yandex/cloud/resourcemanager/v1/cloud_pb2.pyi +73 -0
- yandex/cloud/resourcemanager/v1/cloud_service_pb2.pyi +360 -0
- yandex/cloud/resourcemanager/v1/folder_pb2.pyi +109 -0
- yandex/cloud/resourcemanager/v1/folder_service_pb2.pyi +364 -0
- yandex/cloud/serverless/apigateway/v1/apigateway_pb2.py +24 -21
- yandex/cloud/serverless/apigateway/v1/apigateway_pb2.pyi +332 -0
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2.py +53 -48
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2.pyi +618 -0
- yandex/cloud/serverless/apigateway/websocket/v1/connection_pb2.pyi +71 -0
- yandex/cloud/serverless/apigateway/websocket/v1/connection_service_pb2.pyi +113 -0
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +538 -0
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +668 -0
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +607 -0
- yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +1073 -0
- yandex/cloud/serverless/functions/v1/network_service_pb2.pyi +312 -0
- yandex/cloud/serverless/mdbproxy/v1/proxy_pb2.pyi +163 -0
- yandex/cloud/serverless/mdbproxy/v1/proxy_service_pb2.pyi +359 -0
- yandex/cloud/serverless/triggers/v1/predicate_pb2.pyi +80 -0
- yandex/cloud/serverless/triggers/v1/trigger_pb2.pyi +1109 -0
- yandex/cloud/serverless/triggers/v1/trigger_service_pb2.pyi +439 -0
- yandex/cloud/speechsense/v1/audio_pb2.pyi +204 -0
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +161 -0
- yandex/cloud/speechsense/v1/text_pb2.pyi +70 -0
- yandex/cloud/storage/v1/bucket_pb2.pyi +1465 -0
- yandex/cloud/storage/v1/bucket_service_pb2.pyi +540 -0
- yandex/cloud/validation_pb2.pyi +53 -0
- yandex/cloud/video/v1/channel_pb2.pyi +79 -0
- yandex/cloud/video/v1/channel_service_pb2.pyi +259 -0
- yandex/cloud/video/v1/episode_pb2.pyi +140 -0
- yandex/cloud/video/v1/episode_service_pb2.pyi +451 -0
- yandex/cloud/video/v1/stream_line_pb2.pyi +305 -0
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +563 -0
- yandex/cloud/video/v1/stream_pb2.pyi +197 -0
- yandex/cloud/video/v1/stream_service_pb2.pyi +396 -0
- yandex/cloud/video/v1/thumbnail_pb2.pyi +39 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +184 -0
- yandex/cloud/video/v1/video_pb2.pyi +211 -0
- yandex/cloud/video/v1/video_service_pb2.pyi +464 -0
- yandex/cloud/vpc/v1/address_pb2.pyi +226 -0
- yandex/cloud/vpc/v1/address_service_pb2.pyi +491 -0
- yandex/cloud/vpc/v1/gateway_pb2.pyi +92 -0
- yandex/cloud/vpc/v1/gateway_service_pb2.pyi +403 -0
- yandex/cloud/vpc/v1/network_pb2.pyi +79 -0
- yandex/cloud/vpc/v1/network_service_pb2.pyi +547 -0
- yandex/cloud/vpc/v1/route_table_pb2.pyi +136 -0
- yandex/cloud/vpc/v1/route_table_service_pb2.pyi +381 -0
- yandex/cloud/vpc/v1/security_group_pb2.pyi +266 -0
- yandex/cloud/vpc/v1/security_group_service_pb2.pyi +591 -0
- yandex/cloud/vpc/v1/subnet_pb2.pyi +155 -0
- yandex/cloud/vpc/v1/subnet_service_pb2.pyi +593 -0
- yandex/cloud/ydb/v1/backup_pb2.pyi +353 -0
- yandex/cloud/ydb/v1/backup_service_pb2.pyi +166 -0
- yandex/cloud/ydb/v1/database_pb2.pyi +577 -0
- yandex/cloud/ydb/v1/database_service_pb2.pyi +550 -0
- yandex/cloud/ydb/v1/location_pb2.pyi +29 -0
- yandex/cloud/ydb/v1/location_service_pb2.pyi +83 -0
- yandex/cloud/ydb/v1/resource_preset_pb2.pyi +32 -0
- yandex/cloud/ydb/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/ydb/v1/storage_type_pb2.pyi +32 -0
- yandex/cloud/ydb/v1/storage_type_service_pb2.pyi +83 -0
- yandexcloud/_auth_fabric.py +46 -41
- yandexcloud/_auth_plugin.py +36 -18
- yandexcloud/_backoff.py +8 -7
- yandexcloud/_channels.py +27 -13
- yandexcloud/_helpers.py +15 -29
- yandexcloud/_operation_waiter.py +32 -18
- yandexcloud/_retry_interceptor.py +39 -22
- yandexcloud/_sdk.py +81 -32
- yandexcloud/_wrappers/__init__.py +9 -2
- yandexcloud/_wrappers/dataproc/__init__.py +11 -10
- yandexcloud/auth.py +10 -2
- yandexcloud/operations.py +22 -7
- {yandexcloud-0.287.0.dist-info → yandexcloud-0.289.0.dist-info}/AUTHORS +2 -3
- {yandexcloud-0.287.0.dist-info → yandexcloud-0.289.0.dist-info}/METADATA +4 -4
- {yandexcloud-0.287.0.dist-info → yandexcloud-0.289.0.dist-info}/RECORD +565 -26
- {yandexcloud-0.287.0.dist-info → yandexcloud-0.289.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.287.0.dist-info → yandexcloud-0.289.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.287.0.dist-info → yandexcloud-0.289.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1465 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.struct_pb2
|
|
13
|
+
import google.protobuf.timestamp_pb2
|
|
14
|
+
import google.protobuf.wrappers_pb2
|
|
15
|
+
import sys
|
|
16
|
+
import typing
|
|
17
|
+
|
|
18
|
+
if sys.version_info >= (3, 10):
|
|
19
|
+
import typing as typing_extensions
|
|
20
|
+
else:
|
|
21
|
+
import typing_extensions
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
24
|
+
|
|
25
|
+
class _Versioning:
|
|
26
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
27
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
28
|
+
|
|
29
|
+
class _VersioningEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Versioning.ValueType], builtins.type):
|
|
30
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
31
|
+
VERSIONING_UNSPECIFIED: _Versioning.ValueType # 0
|
|
32
|
+
VERSIONING_DISABLED: _Versioning.ValueType # 1
|
|
33
|
+
"""The bucket is unversioned, i.e. versioning has never been enabled for the bucket, including at its creation.
|
|
34
|
+
Objects that are stored in the bucket have a version ID of `null`.
|
|
35
|
+
|
|
36
|
+
To enable versioning, change status to `VERSIONING_ENABLED` via a [BucketService.Update] request. Note that this
|
|
37
|
+
action is irreversible, and a bucket with versioning enabled can never return to `VERSIONING_DISABLED` state.
|
|
38
|
+
"""
|
|
39
|
+
VERSIONING_ENABLED: _Versioning.ValueType # 2
|
|
40
|
+
"""Bucket versioning is enabled, i.e. all new objects are versioned and given a unique version ID, and objects that
|
|
41
|
+
already existed at the time versioning was enabled will be versioned and given a unique version ID when modified
|
|
42
|
+
by future requests.
|
|
43
|
+
|
|
44
|
+
To suspend versioning, change status to `VERSIONING_SUSPENDED` via a [BucketService.Update] request. You cannot
|
|
45
|
+
disable versioning altogether for a bucket that already had it enabled; objects that had version IDs will keep
|
|
46
|
+
them.
|
|
47
|
+
"""
|
|
48
|
+
VERSIONING_SUSPENDED: _Versioning.ValueType # 3
|
|
49
|
+
"""Bucket versioning is suspended, i.e. new objects are not versioned, but objects that already existed at the time
|
|
50
|
+
versioning was suspended are still versioned and keep their version IDs.
|
|
51
|
+
|
|
52
|
+
To resume versioning, change status to `VERSIONING_ENABLED` via a [BucketService.Update] request.
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
class Versioning(_Versioning, metaclass=_VersioningEnumTypeWrapper): ...
|
|
56
|
+
|
|
57
|
+
VERSIONING_UNSPECIFIED: Versioning.ValueType # 0
|
|
58
|
+
VERSIONING_DISABLED: Versioning.ValueType # 1
|
|
59
|
+
"""The bucket is unversioned, i.e. versioning has never been enabled for the bucket, including at its creation.
|
|
60
|
+
Objects that are stored in the bucket have a version ID of `null`.
|
|
61
|
+
|
|
62
|
+
To enable versioning, change status to `VERSIONING_ENABLED` via a [BucketService.Update] request. Note that this
|
|
63
|
+
action is irreversible, and a bucket with versioning enabled can never return to `VERSIONING_DISABLED` state.
|
|
64
|
+
"""
|
|
65
|
+
VERSIONING_ENABLED: Versioning.ValueType # 2
|
|
66
|
+
"""Bucket versioning is enabled, i.e. all new objects are versioned and given a unique version ID, and objects that
|
|
67
|
+
already existed at the time versioning was enabled will be versioned and given a unique version ID when modified
|
|
68
|
+
by future requests.
|
|
69
|
+
|
|
70
|
+
To suspend versioning, change status to `VERSIONING_SUSPENDED` via a [BucketService.Update] request. You cannot
|
|
71
|
+
disable versioning altogether for a bucket that already had it enabled; objects that had version IDs will keep
|
|
72
|
+
them.
|
|
73
|
+
"""
|
|
74
|
+
VERSIONING_SUSPENDED: Versioning.ValueType # 3
|
|
75
|
+
"""Bucket versioning is suspended, i.e. new objects are not versioned, but objects that already existed at the time
|
|
76
|
+
versioning was suspended are still versioned and keep their version IDs.
|
|
77
|
+
|
|
78
|
+
To resume versioning, change status to `VERSIONING_ENABLED` via a [BucketService.Update] request.
|
|
79
|
+
"""
|
|
80
|
+
global___Versioning = Versioning
|
|
81
|
+
|
|
82
|
+
@typing.final
|
|
83
|
+
class Bucket(google.protobuf.message.Message):
|
|
84
|
+
"""A bucket resource.
|
|
85
|
+
For details about the concept, see [documentation](/docs/storage/concepts/bucket).
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
89
|
+
|
|
90
|
+
ID_FIELD_NUMBER: builtins.int
|
|
91
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
92
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
93
|
+
ANONYMOUS_ACCESS_FLAGS_FIELD_NUMBER: builtins.int
|
|
94
|
+
DEFAULT_STORAGE_CLASS_FIELD_NUMBER: builtins.int
|
|
95
|
+
VERSIONING_FIELD_NUMBER: builtins.int
|
|
96
|
+
MAX_SIZE_FIELD_NUMBER: builtins.int
|
|
97
|
+
POLICY_FIELD_NUMBER: builtins.int
|
|
98
|
+
ACL_FIELD_NUMBER: builtins.int
|
|
99
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
100
|
+
CORS_FIELD_NUMBER: builtins.int
|
|
101
|
+
WEBSITE_SETTINGS_FIELD_NUMBER: builtins.int
|
|
102
|
+
LIFECYCLE_RULES_FIELD_NUMBER: builtins.int
|
|
103
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
104
|
+
OBJECT_LOCK_FIELD_NUMBER: builtins.int
|
|
105
|
+
ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
106
|
+
id: builtins.str
|
|
107
|
+
"""ID of the bucket. Always equal to [name], which has priority."""
|
|
108
|
+
name: builtins.str
|
|
109
|
+
"""Name of the bucket.
|
|
110
|
+
|
|
111
|
+
The name is unique within the platform. For naming limitations and rules, see
|
|
112
|
+
[documentation](/docs/storage/concepts/bucket#naming).
|
|
113
|
+
"""
|
|
114
|
+
folder_id: builtins.str
|
|
115
|
+
"""ID of the folder that the bucket belongs to."""
|
|
116
|
+
default_storage_class: builtins.str
|
|
117
|
+
"""Default storage class for objects in the bucket. Supported classes are standard storage (`STANDARD`), cold storage
|
|
118
|
+
(`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms).
|
|
119
|
+
For details, see [documentation](/docs/storage/concepts/storage-class).
|
|
120
|
+
"""
|
|
121
|
+
versioning: global___Versioning.ValueType
|
|
122
|
+
"""Bucket versioning status.
|
|
123
|
+
For details, see [documentation](/docs/storage/concepts/versioning).
|
|
124
|
+
"""
|
|
125
|
+
max_size: builtins.int
|
|
126
|
+
"""Maximum size of the bucket, in bytes.
|
|
127
|
+
For details, see [documentation](/docs/storage/operations/buckets/limit-max-volume).
|
|
128
|
+
"""
|
|
129
|
+
@property
|
|
130
|
+
def anonymous_access_flags(self) -> global___AnonymousAccessFlags:
|
|
131
|
+
"""Flags for configuring public (anonymous) access to the bucket's content and settings.
|
|
132
|
+
For details, see [documentation](/docs/storage/concepts/bucket#bucket-access).
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def policy(self) -> google.protobuf.struct_pb2.Struct:
|
|
137
|
+
"""Bucket policies that set permissions for actions with the bucket, its objects, and groups of objects.
|
|
138
|
+
For details, see [documentation](/docs/storage/concepts/policy).
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def acl(self) -> global___ACL:
|
|
143
|
+
"""Access control list (ACL) of the bucket.
|
|
144
|
+
For details, see [documentation](/docs/storage/concepts/acl).
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
149
|
+
"""Creation timestamp."""
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
def cors(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CorsRule]:
|
|
153
|
+
"""List of rules for cross-domain requests to objects in the bucket (cross-origin resource sharing, CORS).
|
|
154
|
+
For details, see [documentation](/docs/storage/concepts/cors).
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def website_settings(self) -> global___WebsiteSettings:
|
|
159
|
+
"""Configuration for hosting a static website in the bucket.
|
|
160
|
+
For details, see [documentation](/docs/storage/concepts/hosting).
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def lifecycle_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LifecycleRule]:
|
|
165
|
+
"""List of object lifecycle rules for the bucket.
|
|
166
|
+
For details, see [documentation](/docs/storage/concepts/lifecycles).
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def tags(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Tag]:
|
|
171
|
+
"""List of tags for the bucket.
|
|
172
|
+
For details, see [documentation](/docs/resource-manager/concepts/labels).
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
def object_lock(self) -> global___ObjectLock:
|
|
177
|
+
"""Configuration for object lock on the bucket.
|
|
178
|
+
For details about the concept, see [documentation](/docs/storage/concepts/object-lock).
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
@property
|
|
182
|
+
def encryption(self) -> global___Encryption:
|
|
183
|
+
"""Configuration for bucket's encryption
|
|
184
|
+
For detauls, see [documentation](/docs/storage/concepts/encryption)
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
def __init__(
|
|
188
|
+
self,
|
|
189
|
+
*,
|
|
190
|
+
id: builtins.str = ...,
|
|
191
|
+
name: builtins.str = ...,
|
|
192
|
+
folder_id: builtins.str = ...,
|
|
193
|
+
anonymous_access_flags: global___AnonymousAccessFlags | None = ...,
|
|
194
|
+
default_storage_class: builtins.str = ...,
|
|
195
|
+
versioning: global___Versioning.ValueType = ...,
|
|
196
|
+
max_size: builtins.int = ...,
|
|
197
|
+
policy: google.protobuf.struct_pb2.Struct | None = ...,
|
|
198
|
+
acl: global___ACL | None = ...,
|
|
199
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
200
|
+
cors: collections.abc.Iterable[global___CorsRule] | None = ...,
|
|
201
|
+
website_settings: global___WebsiteSettings | None = ...,
|
|
202
|
+
lifecycle_rules: collections.abc.Iterable[global___LifecycleRule] | None = ...,
|
|
203
|
+
tags: collections.abc.Iterable[global___Tag] | None = ...,
|
|
204
|
+
object_lock: global___ObjectLock | None = ...,
|
|
205
|
+
encryption: global___Encryption | None = ...,
|
|
206
|
+
) -> None: ...
|
|
207
|
+
def HasField(self, field_name: typing.Literal["acl", b"acl", "anonymous_access_flags", b"anonymous_access_flags", "created_at", b"created_at", "encryption", b"encryption", "object_lock", b"object_lock", "policy", b"policy", "website_settings", b"website_settings"]) -> builtins.bool: ...
|
|
208
|
+
def ClearField(self, field_name: typing.Literal["acl", b"acl", "anonymous_access_flags", b"anonymous_access_flags", "cors", b"cors", "created_at", b"created_at", "default_storage_class", b"default_storage_class", "encryption", b"encryption", "folder_id", b"folder_id", "id", b"id", "lifecycle_rules", b"lifecycle_rules", "max_size", b"max_size", "name", b"name", "object_lock", b"object_lock", "policy", b"policy", "tags", b"tags", "versioning", b"versioning", "website_settings", b"website_settings"]) -> None: ...
|
|
209
|
+
|
|
210
|
+
global___Bucket = Bucket
|
|
211
|
+
|
|
212
|
+
@typing.final
|
|
213
|
+
class Tag(google.protobuf.message.Message):
|
|
214
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
215
|
+
|
|
216
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
217
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
218
|
+
key: builtins.str
|
|
219
|
+
"""Key of the bucket tag."""
|
|
220
|
+
value: builtins.str
|
|
221
|
+
"""Value of the bucket tag."""
|
|
222
|
+
def __init__(
|
|
223
|
+
self,
|
|
224
|
+
*,
|
|
225
|
+
key: builtins.str = ...,
|
|
226
|
+
value: builtins.str = ...,
|
|
227
|
+
) -> None: ...
|
|
228
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
229
|
+
|
|
230
|
+
global___Tag = Tag
|
|
231
|
+
|
|
232
|
+
@typing.final
|
|
233
|
+
class ACL(google.protobuf.message.Message):
|
|
234
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
235
|
+
|
|
236
|
+
@typing.final
|
|
237
|
+
class Grant(google.protobuf.message.Message):
|
|
238
|
+
"""A grant resource, used to specify the permission granted and the grantee."""
|
|
239
|
+
|
|
240
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
241
|
+
|
|
242
|
+
class _Permission:
|
|
243
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
244
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
245
|
+
|
|
246
|
+
class _PermissionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ACL.Grant._Permission.ValueType], builtins.type):
|
|
247
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
248
|
+
PERMISSION_UNSPECIFIED: ACL.Grant._Permission.ValueType # 0
|
|
249
|
+
PERMISSION_FULL_CONTROL: ACL.Grant._Permission.ValueType # 1
|
|
250
|
+
"""Allows grantee the `PERMISSION_WRITE`, `PERMISSION_WRITE_ACP`, `PERMISSION_READ`, and `PERMISSION_READ_ACP`
|
|
251
|
+
on the bucket.
|
|
252
|
+
|
|
253
|
+
Maps to `x-amz-grant-full-control` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of
|
|
254
|
+
Amazon S3-compatible HTTP API.
|
|
255
|
+
"""
|
|
256
|
+
PERMISSION_WRITE: ACL.Grant._Permission.ValueType # 2
|
|
257
|
+
"""Allows grantee to create new objects in the bucket. For the bucket and object owners of existing objects, also
|
|
258
|
+
allows deletions and overwrites of those objects.
|
|
259
|
+
|
|
260
|
+
Maps to `x-amz-grant-write` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon
|
|
261
|
+
S3-compatible HTTP API.
|
|
262
|
+
"""
|
|
263
|
+
PERMISSION_WRITE_ACP: ACL.Grant._Permission.ValueType # 3
|
|
264
|
+
"""Allows grantee to write the ACL for the bucket.
|
|
265
|
+
|
|
266
|
+
Maps to `x-amz-grant-write-acp` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of
|
|
267
|
+
Amazon S3-compatible HTTP API.
|
|
268
|
+
"""
|
|
269
|
+
PERMISSION_READ: ACL.Grant._Permission.ValueType # 4
|
|
270
|
+
"""Allows grantee to list the objects in the bucket.
|
|
271
|
+
|
|
272
|
+
Maps to `x-amz-grant-read` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon
|
|
273
|
+
S3-compatible HTTP API.
|
|
274
|
+
"""
|
|
275
|
+
PERMISSION_READ_ACP: ACL.Grant._Permission.ValueType # 5
|
|
276
|
+
"""Allows grantee to read the bucket ACL
|
|
277
|
+
|
|
278
|
+
Maps to `x-amz-grant-read-acp` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of
|
|
279
|
+
Amazon S3-compatible HTTP API.
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
class Permission(_Permission, metaclass=_PermissionEnumTypeWrapper): ...
|
|
283
|
+
PERMISSION_UNSPECIFIED: ACL.Grant.Permission.ValueType # 0
|
|
284
|
+
PERMISSION_FULL_CONTROL: ACL.Grant.Permission.ValueType # 1
|
|
285
|
+
"""Allows grantee the `PERMISSION_WRITE`, `PERMISSION_WRITE_ACP`, `PERMISSION_READ`, and `PERMISSION_READ_ACP`
|
|
286
|
+
on the bucket.
|
|
287
|
+
|
|
288
|
+
Maps to `x-amz-grant-full-control` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of
|
|
289
|
+
Amazon S3-compatible HTTP API.
|
|
290
|
+
"""
|
|
291
|
+
PERMISSION_WRITE: ACL.Grant.Permission.ValueType # 2
|
|
292
|
+
"""Allows grantee to create new objects in the bucket. For the bucket and object owners of existing objects, also
|
|
293
|
+
allows deletions and overwrites of those objects.
|
|
294
|
+
|
|
295
|
+
Maps to `x-amz-grant-write` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon
|
|
296
|
+
S3-compatible HTTP API.
|
|
297
|
+
"""
|
|
298
|
+
PERMISSION_WRITE_ACP: ACL.Grant.Permission.ValueType # 3
|
|
299
|
+
"""Allows grantee to write the ACL for the bucket.
|
|
300
|
+
|
|
301
|
+
Maps to `x-amz-grant-write-acp` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of
|
|
302
|
+
Amazon S3-compatible HTTP API.
|
|
303
|
+
"""
|
|
304
|
+
PERMISSION_READ: ACL.Grant.Permission.ValueType # 4
|
|
305
|
+
"""Allows grantee to list the objects in the bucket.
|
|
306
|
+
|
|
307
|
+
Maps to `x-amz-grant-read` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon
|
|
308
|
+
S3-compatible HTTP API.
|
|
309
|
+
"""
|
|
310
|
+
PERMISSION_READ_ACP: ACL.Grant.Permission.ValueType # 5
|
|
311
|
+
"""Allows grantee to read the bucket ACL
|
|
312
|
+
|
|
313
|
+
Maps to `x-amz-grant-read-acp` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of
|
|
314
|
+
Amazon S3-compatible HTTP API.
|
|
315
|
+
"""
|
|
316
|
+
|
|
317
|
+
class _GrantType:
|
|
318
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
319
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
320
|
+
|
|
321
|
+
class _GrantTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ACL.Grant._GrantType.ValueType], builtins.type):
|
|
322
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
323
|
+
GRANT_TYPE_UNSPECIFIED: ACL.Grant._GrantType.ValueType # 0
|
|
324
|
+
GRANT_TYPE_ACCOUNT: ACL.Grant._GrantType.ValueType # 1
|
|
325
|
+
"""A grantee is an [account on the platform](/docs/iam/concepts/#accounts).
|
|
326
|
+
|
|
327
|
+
For this grantee type, you need to specify the user ID in [Bucket.acl.grants.grantee_id] field. To get user ID, see
|
|
328
|
+
[instruction](/docs/iam/operations/users/get).
|
|
329
|
+
|
|
330
|
+
Maps to using `id="*"` value for `x-amz-grant-*` header ([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput)
|
|
331
|
+
method of Amazon S3-compatible HTTP API).
|
|
332
|
+
"""
|
|
333
|
+
GRANT_TYPE_ALL_AUTHENTICATED_USERS: ACL.Grant._GrantType.ValueType # 2
|
|
334
|
+
"""Grantees are all authenticated users, both from your clouds and other users' clouds. Access
|
|
335
|
+
permission to this group allows any account on the platform to access the resource via a signed (authenticated)
|
|
336
|
+
request.
|
|
337
|
+
|
|
338
|
+
Maps to using `uri="http://acs.amazonaws.com/groups/global/AuthenticatedUsers"` value for `x-amz-grant-*`
|
|
339
|
+
header ([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon S3-compatible HTTP API).
|
|
340
|
+
"""
|
|
341
|
+
GRANT_TYPE_ALL_USERS: ACL.Grant._GrantType.ValueType # 3
|
|
342
|
+
"""Grantees are all internet users. Access permission to this group allows anyone in the world access to the
|
|
343
|
+
resource via signed (authenticated) or unsigned (anonymous) requests.
|
|
344
|
+
|
|
345
|
+
Maps to using `uri="http://acs.amazonaws.com/groups/global/AllUsers"` value for `x-amz-grant-*` header
|
|
346
|
+
([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon S3-compatible HTTP API).
|
|
347
|
+
"""
|
|
348
|
+
|
|
349
|
+
class GrantType(_GrantType, metaclass=_GrantTypeEnumTypeWrapper): ...
|
|
350
|
+
GRANT_TYPE_UNSPECIFIED: ACL.Grant.GrantType.ValueType # 0
|
|
351
|
+
GRANT_TYPE_ACCOUNT: ACL.Grant.GrantType.ValueType # 1
|
|
352
|
+
"""A grantee is an [account on the platform](/docs/iam/concepts/#accounts).
|
|
353
|
+
|
|
354
|
+
For this grantee type, you need to specify the user ID in [Bucket.acl.grants.grantee_id] field. To get user ID, see
|
|
355
|
+
[instruction](/docs/iam/operations/users/get).
|
|
356
|
+
|
|
357
|
+
Maps to using `id="*"` value for `x-amz-grant-*` header ([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput)
|
|
358
|
+
method of Amazon S3-compatible HTTP API).
|
|
359
|
+
"""
|
|
360
|
+
GRANT_TYPE_ALL_AUTHENTICATED_USERS: ACL.Grant.GrantType.ValueType # 2
|
|
361
|
+
"""Grantees are all authenticated users, both from your clouds and other users' clouds. Access
|
|
362
|
+
permission to this group allows any account on the platform to access the resource via a signed (authenticated)
|
|
363
|
+
request.
|
|
364
|
+
|
|
365
|
+
Maps to using `uri="http://acs.amazonaws.com/groups/global/AuthenticatedUsers"` value for `x-amz-grant-*`
|
|
366
|
+
header ([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon S3-compatible HTTP API).
|
|
367
|
+
"""
|
|
368
|
+
GRANT_TYPE_ALL_USERS: ACL.Grant.GrantType.ValueType # 3
|
|
369
|
+
"""Grantees are all internet users. Access permission to this group allows anyone in the world access to the
|
|
370
|
+
resource via signed (authenticated) or unsigned (anonymous) requests.
|
|
371
|
+
|
|
372
|
+
Maps to using `uri="http://acs.amazonaws.com/groups/global/AllUsers"` value for `x-amz-grant-*` header
|
|
373
|
+
([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon S3-compatible HTTP API).
|
|
374
|
+
"""
|
|
375
|
+
|
|
376
|
+
PERMISSION_FIELD_NUMBER: builtins.int
|
|
377
|
+
GRANT_TYPE_FIELD_NUMBER: builtins.int
|
|
378
|
+
GRANTEE_ID_FIELD_NUMBER: builtins.int
|
|
379
|
+
permission: global___ACL.Grant.Permission.ValueType
|
|
380
|
+
"""Permission granted by the grant."""
|
|
381
|
+
grant_type: global___ACL.Grant.GrantType.ValueType
|
|
382
|
+
"""The grantee type for the grant."""
|
|
383
|
+
grantee_id: builtins.str
|
|
384
|
+
"""ID of the account who is a grantee. Required when the [grant_type] is `GRANT_TYPE_ACCOUNT`."""
|
|
385
|
+
def __init__(
|
|
386
|
+
self,
|
|
387
|
+
*,
|
|
388
|
+
permission: global___ACL.Grant.Permission.ValueType = ...,
|
|
389
|
+
grant_type: global___ACL.Grant.GrantType.ValueType = ...,
|
|
390
|
+
grantee_id: builtins.str = ...,
|
|
391
|
+
) -> None: ...
|
|
392
|
+
def ClearField(self, field_name: typing.Literal["grant_type", b"grant_type", "grantee_id", b"grantee_id", "permission", b"permission"]) -> None: ...
|
|
393
|
+
|
|
394
|
+
GRANTS_FIELD_NUMBER: builtins.int
|
|
395
|
+
@property
|
|
396
|
+
def grants(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ACL.Grant]:
|
|
397
|
+
"""List of permissions granted and the grantees."""
|
|
398
|
+
|
|
399
|
+
def __init__(
|
|
400
|
+
self,
|
|
401
|
+
*,
|
|
402
|
+
grants: collections.abc.Iterable[global___ACL.Grant] | None = ...,
|
|
403
|
+
) -> None: ...
|
|
404
|
+
def ClearField(self, field_name: typing.Literal["grants", b"grants"]) -> None: ...
|
|
405
|
+
|
|
406
|
+
global___ACL = ACL
|
|
407
|
+
|
|
408
|
+
@typing.final
|
|
409
|
+
class AnonymousAccessFlags(google.protobuf.message.Message):
|
|
410
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
411
|
+
|
|
412
|
+
READ_FIELD_NUMBER: builtins.int
|
|
413
|
+
LIST_FIELD_NUMBER: builtins.int
|
|
414
|
+
CONFIG_READ_FIELD_NUMBER: builtins.int
|
|
415
|
+
@property
|
|
416
|
+
def read(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
417
|
+
"""Specifies whether public (anonymous) access to read objects in the bucket is enabled."""
|
|
418
|
+
|
|
419
|
+
@property
|
|
420
|
+
def list(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
421
|
+
"""Specifies whether public (anonymous) access to the list of objects in the bucket is enabled."""
|
|
422
|
+
|
|
423
|
+
@property
|
|
424
|
+
def config_read(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
425
|
+
"""Specifies whether public (anonymous) access to read [CORS](/docs/storage/concepts/cors),
|
|
426
|
+
[static website hosting](/docs/storage/concepts/hosting), and
|
|
427
|
+
[object lifecycles](/docs/storage/concepts/lifecycles) settings of the bucket is enabled.
|
|
428
|
+
"""
|
|
429
|
+
|
|
430
|
+
def __init__(
|
|
431
|
+
self,
|
|
432
|
+
*,
|
|
433
|
+
read: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
434
|
+
list: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
435
|
+
config_read: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
436
|
+
) -> None: ...
|
|
437
|
+
def HasField(self, field_name: typing.Literal["config_read", b"config_read", "list", b"list", "read", b"read"]) -> builtins.bool: ...
|
|
438
|
+
def ClearField(self, field_name: typing.Literal["config_read", b"config_read", "list", b"list", "read", b"read"]) -> None: ...
|
|
439
|
+
|
|
440
|
+
global___AnonymousAccessFlags = AnonymousAccessFlags
|
|
441
|
+
|
|
442
|
+
@typing.final
|
|
443
|
+
class CorsRule(google.protobuf.message.Message):
|
|
444
|
+
"""A CORS rule resource.
|
|
445
|
+
For details about the concept, see [documentation](/docs/storage/concepts/cors).
|
|
446
|
+
"""
|
|
447
|
+
|
|
448
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
449
|
+
|
|
450
|
+
class _Method:
|
|
451
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
452
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
453
|
+
|
|
454
|
+
class _MethodEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[CorsRule._Method.ValueType], builtins.type):
|
|
455
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
456
|
+
METHOD_UNSPECIFIED: CorsRule._Method.ValueType # 0
|
|
457
|
+
METHOD_GET: CorsRule._Method.ValueType # 1
|
|
458
|
+
"""HTTP `GET` method."""
|
|
459
|
+
METHOD_HEAD: CorsRule._Method.ValueType # 2
|
|
460
|
+
"""HTTP `HEAD` method."""
|
|
461
|
+
METHOD_POST: CorsRule._Method.ValueType # 3
|
|
462
|
+
"""HTTP `POST` method."""
|
|
463
|
+
METHOD_PUT: CorsRule._Method.ValueType # 4
|
|
464
|
+
"""HTTP `PUT` method."""
|
|
465
|
+
METHOD_DELETE: CorsRule._Method.ValueType # 5
|
|
466
|
+
"""HTTP `DELETE` method."""
|
|
467
|
+
|
|
468
|
+
class Method(_Method, metaclass=_MethodEnumTypeWrapper):
|
|
469
|
+
"""List of HTTP methods that are allowed by the CORS rule.
|
|
470
|
+
|
|
471
|
+
When a client sends a CORS-preflight `options` request with the `Access-Control-Request-Method` header (see
|
|
472
|
+
S3-compatible API reference](/docs/storage/s3/api-ref/object/options)), the specified method is checked against the
|
|
473
|
+
list of the allowed methods. If there is a match, all the allowed methods are listed in the
|
|
474
|
+
`Access-Control-Allow-Methods` header of the response.
|
|
475
|
+
"""
|
|
476
|
+
|
|
477
|
+
METHOD_UNSPECIFIED: CorsRule.Method.ValueType # 0
|
|
478
|
+
METHOD_GET: CorsRule.Method.ValueType # 1
|
|
479
|
+
"""HTTP `GET` method."""
|
|
480
|
+
METHOD_HEAD: CorsRule.Method.ValueType # 2
|
|
481
|
+
"""HTTP `HEAD` method."""
|
|
482
|
+
METHOD_POST: CorsRule.Method.ValueType # 3
|
|
483
|
+
"""HTTP `POST` method."""
|
|
484
|
+
METHOD_PUT: CorsRule.Method.ValueType # 4
|
|
485
|
+
"""HTTP `PUT` method."""
|
|
486
|
+
METHOD_DELETE: CorsRule.Method.ValueType # 5
|
|
487
|
+
"""HTTP `DELETE` method."""
|
|
488
|
+
|
|
489
|
+
ID_FIELD_NUMBER: builtins.int
|
|
490
|
+
ALLOWED_METHODS_FIELD_NUMBER: builtins.int
|
|
491
|
+
ALLOWED_HEADERS_FIELD_NUMBER: builtins.int
|
|
492
|
+
ALLOWED_ORIGINS_FIELD_NUMBER: builtins.int
|
|
493
|
+
EXPOSE_HEADERS_FIELD_NUMBER: builtins.int
|
|
494
|
+
MAX_AGE_SECONDS_FIELD_NUMBER: builtins.int
|
|
495
|
+
id: builtins.str
|
|
496
|
+
"""ID of the CORS rule."""
|
|
497
|
+
@property
|
|
498
|
+
def allowed_methods(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___CorsRule.Method.ValueType]:
|
|
499
|
+
"""List of HTTP methods allowed by the CORS rule.
|
|
500
|
+
|
|
501
|
+
When a client sends a CORS-preflight `options` request with the `Access-Control-Request-Method` header (see
|
|
502
|
+
[S3-compatible API reference](/docs/storage/s3/api-ref/object/options)), the specified method is checked against
|
|
503
|
+
the list of the allowed methods. If there is a match, all the allowed methods are listed in the
|
|
504
|
+
`Access-Control-Allow-Methods` header of the response.
|
|
505
|
+
"""
|
|
506
|
+
|
|
507
|
+
@property
|
|
508
|
+
def allowed_headers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
509
|
+
"""List of HTTP headers allowed by the CORS rule.
|
|
510
|
+
|
|
511
|
+
When a client sends a CORS-preflight `options` request with the `Access-Control-Request-Headers` header (see
|
|
512
|
+
[S3-compatible API reference](/docs/storage/s3/api-ref/object/options)), the specified headers are checked against
|
|
513
|
+
the list of the allowed headers. If there is a match, the specified headers that are allowed are listed in the
|
|
514
|
+
`Access-Control-Allow-Headers` header of the response.
|
|
515
|
+
|
|
516
|
+
Each string in the list can contain at most one `*` wildcard character that matches 0 or more characters.
|
|
517
|
+
For example, `x-amz-*` value will allow all Amazon S3-compatible headers.
|
|
518
|
+
"""
|
|
519
|
+
|
|
520
|
+
@property
|
|
521
|
+
def allowed_origins(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
522
|
+
"""List of request origins allowed by the CORS rule.
|
|
523
|
+
|
|
524
|
+
Each string in the list can contain at most one `*` wildcard character that matches 0 or more characters.
|
|
525
|
+
For example, `http://*.example.com` value will allow requests originating from all subdomains of `example.com`.
|
|
526
|
+
"""
|
|
527
|
+
|
|
528
|
+
@property
|
|
529
|
+
def expose_headers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
530
|
+
"""List of headers contained in responses to CORS requests that can be accessed by applications."""
|
|
531
|
+
|
|
532
|
+
@property
|
|
533
|
+
def max_age_seconds(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
534
|
+
"""Time in seconds that a client can cache the response to a CORS-preflight request as identified by the
|
|
535
|
+
object requested, the HTTP method, and the origin.
|
|
536
|
+
"""
|
|
537
|
+
|
|
538
|
+
def __init__(
|
|
539
|
+
self,
|
|
540
|
+
*,
|
|
541
|
+
id: builtins.str = ...,
|
|
542
|
+
allowed_methods: collections.abc.Iterable[global___CorsRule.Method.ValueType] | None = ...,
|
|
543
|
+
allowed_headers: collections.abc.Iterable[builtins.str] | None = ...,
|
|
544
|
+
allowed_origins: collections.abc.Iterable[builtins.str] | None = ...,
|
|
545
|
+
expose_headers: collections.abc.Iterable[builtins.str] | None = ...,
|
|
546
|
+
max_age_seconds: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
547
|
+
) -> None: ...
|
|
548
|
+
def HasField(self, field_name: typing.Literal["max_age_seconds", b"max_age_seconds"]) -> builtins.bool: ...
|
|
549
|
+
def ClearField(self, field_name: typing.Literal["allowed_headers", b"allowed_headers", "allowed_methods", b"allowed_methods", "allowed_origins", b"allowed_origins", "expose_headers", b"expose_headers", "id", b"id", "max_age_seconds", b"max_age_seconds"]) -> None: ...
|
|
550
|
+
|
|
551
|
+
global___CorsRule = CorsRule
|
|
552
|
+
|
|
553
|
+
@typing.final
|
|
554
|
+
class WebsiteSettings(google.protobuf.message.Message):
|
|
555
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
556
|
+
|
|
557
|
+
class _Protocol:
|
|
558
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
559
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
560
|
+
|
|
561
|
+
class _ProtocolEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[WebsiteSettings._Protocol.ValueType], builtins.type):
|
|
562
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
563
|
+
PROTOCOL_UNSPECIFIED: WebsiteSettings._Protocol.ValueType # 0
|
|
564
|
+
PROTOCOL_HTTP: WebsiteSettings._Protocol.ValueType # 1
|
|
565
|
+
"""`http` scheme."""
|
|
566
|
+
PROTOCOL_HTTPS: WebsiteSettings._Protocol.ValueType # 2
|
|
567
|
+
"""`https` scheme."""
|
|
568
|
+
|
|
569
|
+
class Protocol(_Protocol, metaclass=_ProtocolEnumTypeWrapper): ...
|
|
570
|
+
PROTOCOL_UNSPECIFIED: WebsiteSettings.Protocol.ValueType # 0
|
|
571
|
+
PROTOCOL_HTTP: WebsiteSettings.Protocol.ValueType # 1
|
|
572
|
+
"""`http` scheme."""
|
|
573
|
+
PROTOCOL_HTTPS: WebsiteSettings.Protocol.ValueType # 2
|
|
574
|
+
"""`https` scheme."""
|
|
575
|
+
|
|
576
|
+
@typing.final
|
|
577
|
+
class Scheme(google.protobuf.message.Message):
|
|
578
|
+
"""A configuration resource for redirecting all requests sent to the website."""
|
|
579
|
+
|
|
580
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
581
|
+
|
|
582
|
+
PROTOCOL_FIELD_NUMBER: builtins.int
|
|
583
|
+
HOSTNAME_FIELD_NUMBER: builtins.int
|
|
584
|
+
protocol: global___WebsiteSettings.Protocol.ValueType
|
|
585
|
+
"""Scheme of the redirect URI."""
|
|
586
|
+
hostname: builtins.str
|
|
587
|
+
"""Hostname of the redirect URI."""
|
|
588
|
+
def __init__(
|
|
589
|
+
self,
|
|
590
|
+
*,
|
|
591
|
+
protocol: global___WebsiteSettings.Protocol.ValueType = ...,
|
|
592
|
+
hostname: builtins.str = ...,
|
|
593
|
+
) -> None: ...
|
|
594
|
+
def ClearField(self, field_name: typing.Literal["hostname", b"hostname", "protocol", b"protocol"]) -> None: ...
|
|
595
|
+
|
|
596
|
+
@typing.final
|
|
597
|
+
class Condition(google.protobuf.message.Message):
|
|
598
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
599
|
+
|
|
600
|
+
HTTP_ERROR_CODE_RETURNED_EQUALS_FIELD_NUMBER: builtins.int
|
|
601
|
+
KEY_PREFIX_EQUALS_FIELD_NUMBER: builtins.int
|
|
602
|
+
http_error_code_returned_equals: builtins.str
|
|
603
|
+
"""HTTP status code (number only) that must match for the redirect to apply."""
|
|
604
|
+
key_prefix_equals: builtins.str
|
|
605
|
+
"""Prefix of the object key from which requests are redirected."""
|
|
606
|
+
def __init__(
|
|
607
|
+
self,
|
|
608
|
+
*,
|
|
609
|
+
http_error_code_returned_equals: builtins.str = ...,
|
|
610
|
+
key_prefix_equals: builtins.str = ...,
|
|
611
|
+
) -> None: ...
|
|
612
|
+
def ClearField(self, field_name: typing.Literal["http_error_code_returned_equals", b"http_error_code_returned_equals", "key_prefix_equals", b"key_prefix_equals"]) -> None: ...
|
|
613
|
+
|
|
614
|
+
@typing.final
|
|
615
|
+
class Redirect(google.protobuf.message.Message):
|
|
616
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
617
|
+
|
|
618
|
+
HOSTNAME_FIELD_NUMBER: builtins.int
|
|
619
|
+
HTTP_REDIRECT_CODE_FIELD_NUMBER: builtins.int
|
|
620
|
+
PROTOCOL_FIELD_NUMBER: builtins.int
|
|
621
|
+
REPLACE_KEY_PREFIX_WITH_FIELD_NUMBER: builtins.int
|
|
622
|
+
REPLACE_KEY_WITH_FIELD_NUMBER: builtins.int
|
|
623
|
+
hostname: builtins.str
|
|
624
|
+
"""Hostname of the redirect URI."""
|
|
625
|
+
http_redirect_code: builtins.str
|
|
626
|
+
"""HTTP status code of the redirect response.
|
|
627
|
+
|
|
628
|
+
Default value: `"301"`.
|
|
629
|
+
"""
|
|
630
|
+
protocol: global___WebsiteSettings.Protocol.ValueType
|
|
631
|
+
"""Scheme of the redirect URI."""
|
|
632
|
+
replace_key_prefix_with: builtins.str
|
|
633
|
+
"""Substitution for the prefix of the object key specified in [Condition.key_prefix_equals].
|
|
634
|
+
|
|
635
|
+
At most one of [replace_key_prefix_with] and [replace_key_with] can be specified.
|
|
636
|
+
"""
|
|
637
|
+
replace_key_with: builtins.str
|
|
638
|
+
"""New object key.
|
|
639
|
+
|
|
640
|
+
At most one of [replace_key_with] and [replace_key_prefix_with] can be specified.
|
|
641
|
+
"""
|
|
642
|
+
def __init__(
|
|
643
|
+
self,
|
|
644
|
+
*,
|
|
645
|
+
hostname: builtins.str = ...,
|
|
646
|
+
http_redirect_code: builtins.str = ...,
|
|
647
|
+
protocol: global___WebsiteSettings.Protocol.ValueType = ...,
|
|
648
|
+
replace_key_prefix_with: builtins.str = ...,
|
|
649
|
+
replace_key_with: builtins.str = ...,
|
|
650
|
+
) -> None: ...
|
|
651
|
+
def ClearField(self, field_name: typing.Literal["hostname", b"hostname", "http_redirect_code", b"http_redirect_code", "protocol", b"protocol", "replace_key_prefix_with", b"replace_key_prefix_with", "replace_key_with", b"replace_key_with"]) -> None: ...
|
|
652
|
+
|
|
653
|
+
@typing.final
|
|
654
|
+
class RoutingRule(google.protobuf.message.Message):
|
|
655
|
+
"""List of redirect rules."""
|
|
656
|
+
|
|
657
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
658
|
+
|
|
659
|
+
CONDITION_FIELD_NUMBER: builtins.int
|
|
660
|
+
REDIRECT_FIELD_NUMBER: builtins.int
|
|
661
|
+
@property
|
|
662
|
+
def condition(self) -> global___WebsiteSettings.Condition:
|
|
663
|
+
"""Redirect condition."""
|
|
664
|
+
|
|
665
|
+
@property
|
|
666
|
+
def redirect(self) -> global___WebsiteSettings.Redirect:
|
|
667
|
+
"""Redirect instructions."""
|
|
668
|
+
|
|
669
|
+
def __init__(
|
|
670
|
+
self,
|
|
671
|
+
*,
|
|
672
|
+
condition: global___WebsiteSettings.Condition | None = ...,
|
|
673
|
+
redirect: global___WebsiteSettings.Redirect | None = ...,
|
|
674
|
+
) -> None: ...
|
|
675
|
+
def HasField(self, field_name: typing.Literal["condition", b"condition", "redirect", b"redirect"]) -> builtins.bool: ...
|
|
676
|
+
def ClearField(self, field_name: typing.Literal["condition", b"condition", "redirect", b"redirect"]) -> None: ...
|
|
677
|
+
|
|
678
|
+
INDEX_FIELD_NUMBER: builtins.int
|
|
679
|
+
ERROR_FIELD_NUMBER: builtins.int
|
|
680
|
+
REDIRECT_ALL_REQUESTS_FIELD_NUMBER: builtins.int
|
|
681
|
+
ROUTING_RULES_FIELD_NUMBER: builtins.int
|
|
682
|
+
index: builtins.str
|
|
683
|
+
"""Key of the index page object that is returned when a response is made to the root of the website.
|
|
684
|
+
|
|
685
|
+
Either [index] or [redirect_all_requests] must be specified in order for the bucket to host a static website.
|
|
686
|
+
|
|
687
|
+
If specified, the index page object must be located in the root of the bucket.
|
|
688
|
+
"""
|
|
689
|
+
error: builtins.str
|
|
690
|
+
"""Key of the error page object that is returned when an error occurs."""
|
|
691
|
+
@property
|
|
692
|
+
def redirect_all_requests(self) -> global___WebsiteSettings.Scheme:
|
|
693
|
+
"""Configuration for redirecting all requests sent to the website.
|
|
694
|
+
|
|
695
|
+
Either [redirect_all_requests] or [index] must be specified in order for the bucket to host a static website.
|
|
696
|
+
If [redirect_all_requests] is specified, it must be the only field in [Bucket.website_settings].
|
|
697
|
+
"""
|
|
698
|
+
|
|
699
|
+
@property
|
|
700
|
+
def routing_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WebsiteSettings.RoutingRule]:
|
|
701
|
+
"""List of redirect rules."""
|
|
702
|
+
|
|
703
|
+
def __init__(
|
|
704
|
+
self,
|
|
705
|
+
*,
|
|
706
|
+
index: builtins.str = ...,
|
|
707
|
+
error: builtins.str = ...,
|
|
708
|
+
redirect_all_requests: global___WebsiteSettings.Scheme | None = ...,
|
|
709
|
+
routing_rules: collections.abc.Iterable[global___WebsiteSettings.RoutingRule] | None = ...,
|
|
710
|
+
) -> None: ...
|
|
711
|
+
def HasField(self, field_name: typing.Literal["redirect_all_requests", b"redirect_all_requests"]) -> builtins.bool: ...
|
|
712
|
+
def ClearField(self, field_name: typing.Literal["error", b"error", "index", b"index", "redirect_all_requests", b"redirect_all_requests", "routing_rules", b"routing_rules"]) -> None: ...
|
|
713
|
+
|
|
714
|
+
global___WebsiteSettings = WebsiteSettings
|
|
715
|
+
|
|
716
|
+
@typing.final
|
|
717
|
+
class LifecycleRule(google.protobuf.message.Message):
|
|
718
|
+
"""An object lifecycle rule resource for the bucket.
|
|
719
|
+
For details about the concept, see [documentation](/docs/storage/concepts/lifecycles).
|
|
720
|
+
"""
|
|
721
|
+
|
|
722
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
723
|
+
|
|
724
|
+
@typing.final
|
|
725
|
+
class AfterDays(google.protobuf.message.Message):
|
|
726
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
727
|
+
|
|
728
|
+
DAYS_AFTER_EXPIRATION_FIELD_NUMBER: builtins.int
|
|
729
|
+
@property
|
|
730
|
+
def days_after_expiration(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
731
|
+
"""Time period, in number of days from the start of the multipart upload, after which the incomplete upload is
|
|
732
|
+
aborted.
|
|
733
|
+
"""
|
|
734
|
+
|
|
735
|
+
def __init__(
|
|
736
|
+
self,
|
|
737
|
+
*,
|
|
738
|
+
days_after_expiration: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
739
|
+
) -> None: ...
|
|
740
|
+
def HasField(self, field_name: typing.Literal["days_after_expiration", b"days_after_expiration"]) -> builtins.bool: ...
|
|
741
|
+
def ClearField(self, field_name: typing.Literal["days_after_expiration", b"days_after_expiration"]) -> None: ...
|
|
742
|
+
|
|
743
|
+
@typing.final
|
|
744
|
+
class NoncurrentDeleteMarkers(google.protobuf.message.Message):
|
|
745
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
746
|
+
|
|
747
|
+
NONCURRENT_DAYS_FIELD_NUMBER: builtins.int
|
|
748
|
+
@property
|
|
749
|
+
def noncurrent_days(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
750
|
+
"""Time period, in number of days since the version of a delete marker was classified as non-current, after which
|
|
751
|
+
the delete marker expires.
|
|
752
|
+
"""
|
|
753
|
+
|
|
754
|
+
def __init__(
|
|
755
|
+
self,
|
|
756
|
+
*,
|
|
757
|
+
noncurrent_days: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
758
|
+
) -> None: ...
|
|
759
|
+
def HasField(self, field_name: typing.Literal["noncurrent_days", b"noncurrent_days"]) -> builtins.bool: ...
|
|
760
|
+
def ClearField(self, field_name: typing.Literal["noncurrent_days", b"noncurrent_days"]) -> None: ...
|
|
761
|
+
|
|
762
|
+
@typing.final
|
|
763
|
+
class NoncurrentExpiration(google.protobuf.message.Message):
|
|
764
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
765
|
+
|
|
766
|
+
NONCURRENT_DAYS_FIELD_NUMBER: builtins.int
|
|
767
|
+
@property
|
|
768
|
+
def noncurrent_days(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
769
|
+
"""Time period, in number of days since the version of an object was classified as non-current, after which the
|
|
770
|
+
version expires.
|
|
771
|
+
"""
|
|
772
|
+
|
|
773
|
+
def __init__(
|
|
774
|
+
self,
|
|
775
|
+
*,
|
|
776
|
+
noncurrent_days: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
777
|
+
) -> None: ...
|
|
778
|
+
def HasField(self, field_name: typing.Literal["noncurrent_days", b"noncurrent_days"]) -> builtins.bool: ...
|
|
779
|
+
def ClearField(self, field_name: typing.Literal["noncurrent_days", b"noncurrent_days"]) -> None: ...
|
|
780
|
+
|
|
781
|
+
@typing.final
|
|
782
|
+
class NoncurrentTransition(google.protobuf.message.Message):
|
|
783
|
+
"""List of transition rules for non-current versions of objects in a bucket with versioning enabled
|
|
784
|
+
([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`).
|
|
785
|
+
|
|
786
|
+
At transition, the non-current version of the object is transitioned to the specified storage class.
|
|
787
|
+
"""
|
|
788
|
+
|
|
789
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
790
|
+
|
|
791
|
+
NONCURRENT_DAYS_FIELD_NUMBER: builtins.int
|
|
792
|
+
STORAGE_CLASS_FIELD_NUMBER: builtins.int
|
|
793
|
+
storage_class: builtins.str
|
|
794
|
+
"""Storage class to which a non-current version of an object is transitioned from standard storage.
|
|
795
|
+
|
|
796
|
+
The only supported class is cold storage (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms). Transitions from cold
|
|
797
|
+
to standard storage and transitions to or from ice storage are not allowed.
|
|
798
|
+
"""
|
|
799
|
+
@property
|
|
800
|
+
def noncurrent_days(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
801
|
+
"""Time period, in number of days since the version of an object was classified as non-current, after which the
|
|
802
|
+
version is transitioned.
|
|
803
|
+
"""
|
|
804
|
+
|
|
805
|
+
def __init__(
|
|
806
|
+
self,
|
|
807
|
+
*,
|
|
808
|
+
noncurrent_days: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
809
|
+
storage_class: builtins.str = ...,
|
|
810
|
+
) -> None: ...
|
|
811
|
+
def HasField(self, field_name: typing.Literal["noncurrent_days", b"noncurrent_days"]) -> builtins.bool: ...
|
|
812
|
+
def ClearField(self, field_name: typing.Literal["noncurrent_days", b"noncurrent_days", "storage_class", b"storage_class"]) -> None: ...
|
|
813
|
+
|
|
814
|
+
@typing.final
|
|
815
|
+
class Transition(google.protobuf.message.Message):
|
|
816
|
+
"""List of transition rules.
|
|
817
|
+
|
|
818
|
+
The transition of an object is described as follows.
|
|
819
|
+
|
|
820
|
+
For the unversioned bucket ([Bucket.versioning] is `VERSIONING_DISABLED`), the object is transitioned to the
|
|
821
|
+
specified storage class.
|
|
822
|
+
|
|
823
|
+
For the bucket with versioning enabled ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended
|
|
824
|
+
(`VERSIONING_SUSPENDED`), the current version of the object is transitioned to the specified storage class.
|
|
825
|
+
"""
|
|
826
|
+
|
|
827
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
828
|
+
|
|
829
|
+
DATE_FIELD_NUMBER: builtins.int
|
|
830
|
+
DAYS_FIELD_NUMBER: builtins.int
|
|
831
|
+
STORAGE_CLASS_FIELD_NUMBER: builtins.int
|
|
832
|
+
storage_class: builtins.str
|
|
833
|
+
"""Storage class to which an object is transitioned from standard storage.
|
|
834
|
+
|
|
835
|
+
The only supported class is cold storage (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms). Transitions from cold
|
|
836
|
+
to standard storage and transitions to or from ice storage are not allowed.
|
|
837
|
+
"""
|
|
838
|
+
@property
|
|
839
|
+
def date(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
840
|
+
"""Specific date of object transition.
|
|
841
|
+
|
|
842
|
+
The rule continues to apply even after the date has passed, i.e. any new objects created in the bucket are
|
|
843
|
+
transitioned immediately.
|
|
844
|
+
|
|
845
|
+
At most one of [date] and [days] fields can be specified.
|
|
846
|
+
"""
|
|
847
|
+
|
|
848
|
+
@property
|
|
849
|
+
def days(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
850
|
+
"""Time period, in number of days from the creation or modification of the object, after which an object is
|
|
851
|
+
transitioned.
|
|
852
|
+
|
|
853
|
+
At most one of [days] and [date] fields can be specified.
|
|
854
|
+
"""
|
|
855
|
+
|
|
856
|
+
def __init__(
|
|
857
|
+
self,
|
|
858
|
+
*,
|
|
859
|
+
date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
860
|
+
days: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
861
|
+
storage_class: builtins.str = ...,
|
|
862
|
+
) -> None: ...
|
|
863
|
+
def HasField(self, field_name: typing.Literal["date", b"date", "days", b"days"]) -> builtins.bool: ...
|
|
864
|
+
def ClearField(self, field_name: typing.Literal["date", b"date", "days", b"days", "storage_class", b"storage_class"]) -> None: ...
|
|
865
|
+
|
|
866
|
+
@typing.final
|
|
867
|
+
class Expiration(google.protobuf.message.Message):
|
|
868
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
869
|
+
|
|
870
|
+
DATE_FIELD_NUMBER: builtins.int
|
|
871
|
+
DAYS_FIELD_NUMBER: builtins.int
|
|
872
|
+
EXPIRED_OBJECT_DELETE_MARKER_FIELD_NUMBER: builtins.int
|
|
873
|
+
@property
|
|
874
|
+
def date(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
875
|
+
"""Specific date of object expiration.
|
|
876
|
+
|
|
877
|
+
The rule continues to apply even after the date has passed, i.e. any new objects created in the bucket expire
|
|
878
|
+
immediately.
|
|
879
|
+
|
|
880
|
+
Exactly one of [date], [days], and [expired_object_delete_marker] fields can be specified.
|
|
881
|
+
"""
|
|
882
|
+
|
|
883
|
+
@property
|
|
884
|
+
def days(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
885
|
+
"""Time period, in number of days from the creation or modification of the object, after which an object expires.
|
|
886
|
+
|
|
887
|
+
Exactly one of [days], [date], and [expired_object_delete_marker] fields can be specified.
|
|
888
|
+
"""
|
|
889
|
+
|
|
890
|
+
@property
|
|
891
|
+
def expired_object_delete_marker(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
892
|
+
"""Indicates whether a delete marker of an object with no non-current versions (referred to as an expired object
|
|
893
|
+
delete marker) is removed at the object's expiration.
|
|
894
|
+
|
|
895
|
+
Exactly one of [expired_object_delete_marker], [date], and [days] fields can be specified.
|
|
896
|
+
"""
|
|
897
|
+
|
|
898
|
+
def __init__(
|
|
899
|
+
self,
|
|
900
|
+
*,
|
|
901
|
+
date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
902
|
+
days: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
903
|
+
expired_object_delete_marker: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
904
|
+
) -> None: ...
|
|
905
|
+
def HasField(self, field_name: typing.Literal["date", b"date", "days", b"days", "expired_object_delete_marker", b"expired_object_delete_marker"]) -> builtins.bool: ...
|
|
906
|
+
def ClearField(self, field_name: typing.Literal["date", b"date", "days", b"days", "expired_object_delete_marker", b"expired_object_delete_marker"]) -> None: ...
|
|
907
|
+
|
|
908
|
+
@typing.final
|
|
909
|
+
class RuleFilter(google.protobuf.message.Message):
|
|
910
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
911
|
+
|
|
912
|
+
@typing.final
|
|
913
|
+
class And(google.protobuf.message.Message):
|
|
914
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
915
|
+
|
|
916
|
+
PREFIX_FIELD_NUMBER: builtins.int
|
|
917
|
+
OBJECT_SIZE_GREATER_THAN_FIELD_NUMBER: builtins.int
|
|
918
|
+
OBJECT_SIZE_LESS_THAN_FIELD_NUMBER: builtins.int
|
|
919
|
+
TAG_FIELD_NUMBER: builtins.int
|
|
920
|
+
prefix: builtins.str
|
|
921
|
+
@property
|
|
922
|
+
def object_size_greater_than(self) -> google.protobuf.wrappers_pb2.Int64Value: ...
|
|
923
|
+
@property
|
|
924
|
+
def object_size_less_than(self) -> google.protobuf.wrappers_pb2.Int64Value: ...
|
|
925
|
+
@property
|
|
926
|
+
def tag(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Tag]: ...
|
|
927
|
+
def __init__(
|
|
928
|
+
self,
|
|
929
|
+
*,
|
|
930
|
+
prefix: builtins.str = ...,
|
|
931
|
+
object_size_greater_than: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
932
|
+
object_size_less_than: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
933
|
+
tag: collections.abc.Iterable[global___Tag] | None = ...,
|
|
934
|
+
) -> None: ...
|
|
935
|
+
def HasField(self, field_name: typing.Literal["object_size_greater_than", b"object_size_greater_than", "object_size_less_than", b"object_size_less_than"]) -> builtins.bool: ...
|
|
936
|
+
def ClearField(self, field_name: typing.Literal["object_size_greater_than", b"object_size_greater_than", "object_size_less_than", b"object_size_less_than", "prefix", b"prefix", "tag", b"tag"]) -> None: ...
|
|
937
|
+
|
|
938
|
+
PREFIX_FIELD_NUMBER: builtins.int
|
|
939
|
+
OBJECT_SIZE_GREATER_THAN_FIELD_NUMBER: builtins.int
|
|
940
|
+
OBJECT_SIZE_LESS_THAN_FIELD_NUMBER: builtins.int
|
|
941
|
+
TAG_FIELD_NUMBER: builtins.int
|
|
942
|
+
AND_OPERATOR_FIELD_NUMBER: builtins.int
|
|
943
|
+
prefix: builtins.str
|
|
944
|
+
"""Key prefix that the object must have in order for the rule to apply."""
|
|
945
|
+
@property
|
|
946
|
+
def object_size_greater_than(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
947
|
+
"""Size that the object must be greater."""
|
|
948
|
+
|
|
949
|
+
@property
|
|
950
|
+
def object_size_less_than(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
951
|
+
"""Size that the object must be less t."""
|
|
952
|
+
|
|
953
|
+
@property
|
|
954
|
+
def tag(self) -> global___Tag:
|
|
955
|
+
"""Tags that the object's tag set must have for the rule to apply."""
|
|
956
|
+
|
|
957
|
+
@property
|
|
958
|
+
def and_operator(self) -> global___LifecycleRule.RuleFilter.And:
|
|
959
|
+
"""Apply a logical AND to all of the predicates configured inside the And operator."""
|
|
960
|
+
|
|
961
|
+
def __init__(
|
|
962
|
+
self,
|
|
963
|
+
*,
|
|
964
|
+
prefix: builtins.str = ...,
|
|
965
|
+
object_size_greater_than: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
966
|
+
object_size_less_than: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
967
|
+
tag: global___Tag | None = ...,
|
|
968
|
+
and_operator: global___LifecycleRule.RuleFilter.And | None = ...,
|
|
969
|
+
) -> None: ...
|
|
970
|
+
def HasField(self, field_name: typing.Literal["and_operator", b"and_operator", "object_size_greater_than", b"object_size_greater_than", "object_size_less_than", b"object_size_less_than", "tag", b"tag"]) -> builtins.bool: ...
|
|
971
|
+
def ClearField(self, field_name: typing.Literal["and_operator", b"and_operator", "object_size_greater_than", b"object_size_greater_than", "object_size_less_than", b"object_size_less_than", "prefix", b"prefix", "tag", b"tag"]) -> None: ...
|
|
972
|
+
|
|
973
|
+
ID_FIELD_NUMBER: builtins.int
|
|
974
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
975
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
976
|
+
EXPIRATION_FIELD_NUMBER: builtins.int
|
|
977
|
+
TRANSITIONS_FIELD_NUMBER: builtins.int
|
|
978
|
+
ABORT_INCOMPLETE_MULTIPART_UPLOAD_FIELD_NUMBER: builtins.int
|
|
979
|
+
NONCURRENT_EXPIRATION_FIELD_NUMBER: builtins.int
|
|
980
|
+
NONCURRENT_TRANSITIONS_FIELD_NUMBER: builtins.int
|
|
981
|
+
NONCURRENT_DELETE_MARKERS_FIELD_NUMBER: builtins.int
|
|
982
|
+
enabled: builtins.bool
|
|
983
|
+
"""Indicates whether the rule is in effect."""
|
|
984
|
+
@property
|
|
985
|
+
def id(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
986
|
+
"""ID of the rule. Provided by the client or generated at creation time."""
|
|
987
|
+
|
|
988
|
+
@property
|
|
989
|
+
def filter(self) -> global___LifecycleRule.RuleFilter:
|
|
990
|
+
"""Filter that identifies the objects to which the rule applies.
|
|
991
|
+
|
|
992
|
+
If not specified, the rule applies to all objects in the bucket.
|
|
993
|
+
"""
|
|
994
|
+
|
|
995
|
+
@property
|
|
996
|
+
def expiration(self) -> global___LifecycleRule.Expiration:
|
|
997
|
+
"""Expiration rule.
|
|
998
|
+
|
|
999
|
+
The expiration of an object is described as follows.
|
|
1000
|
+
|
|
1001
|
+
For the unversioned bucket ([Bucket.versioning] is `VERSIONING_DISABLED`), the object is deleted and cannot be
|
|
1002
|
+
recovered.
|
|
1003
|
+
|
|
1004
|
+
For the bucket with versioning enabled ([Bucket.versioning] is `VERSIONING_ENABLED`), the current version of the
|
|
1005
|
+
object (if it exists and is not a delete marker) is retained as a non-current version, and a delete marker becomes
|
|
1006
|
+
the current version of the object.
|
|
1007
|
+
|
|
1008
|
+
For the bucket with versioning suspended ([Bucket.versioning] is `VERSIONING_SUSPENDED`), the current version of
|
|
1009
|
+
the object is retained as a non-current version if it is not a delete marker, or is removed otherwise, and a
|
|
1010
|
+
delete marker becomes the current version of the object.
|
|
1011
|
+
"""
|
|
1012
|
+
|
|
1013
|
+
@property
|
|
1014
|
+
def transitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LifecycleRule.Transition]:
|
|
1015
|
+
"""List of transition rules.
|
|
1016
|
+
|
|
1017
|
+
The transition of an object is described as follows.
|
|
1018
|
+
|
|
1019
|
+
For the unversioned bucket ([Bucket.versioning] is `VERSIONING_DISABLED`), the object is transitioned to the
|
|
1020
|
+
specified storage class.
|
|
1021
|
+
|
|
1022
|
+
For the bucket with versioning enabled ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended
|
|
1023
|
+
(`VERSIONING_SUSPENDED`), the current version of the object is transitioned to the specified storage class.
|
|
1024
|
+
"""
|
|
1025
|
+
|
|
1026
|
+
@property
|
|
1027
|
+
def abort_incomplete_multipart_upload(self) -> global___LifecycleRule.AfterDays:
|
|
1028
|
+
"""Configuration for aborting incomplete [multipart uploads](/docs/storage/concepts/multipart)."""
|
|
1029
|
+
|
|
1030
|
+
@property
|
|
1031
|
+
def noncurrent_expiration(self) -> global___LifecycleRule.NoncurrentExpiration:
|
|
1032
|
+
"""Expiration rule for non-current versions of objects in a bucket with versioning enabled ([Bucket.versioning] is
|
|
1033
|
+
`VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`).
|
|
1034
|
+
|
|
1035
|
+
At expiration, the non-current version of the object is deleted and cannot be recovered.
|
|
1036
|
+
"""
|
|
1037
|
+
|
|
1038
|
+
@property
|
|
1039
|
+
def noncurrent_transitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LifecycleRule.NoncurrentTransition]:
|
|
1040
|
+
"""List of transition rules for non-current versions of objects in a bucket with versioning enabled
|
|
1041
|
+
([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`).
|
|
1042
|
+
|
|
1043
|
+
At transition, the non-current version of the object is transitioned to the specified storage class.
|
|
1044
|
+
"""
|
|
1045
|
+
|
|
1046
|
+
@property
|
|
1047
|
+
def noncurrent_delete_markers(self) -> global___LifecycleRule.NoncurrentDeleteMarkers:
|
|
1048
|
+
"""Expiration rule for non-current delete markers of an objects in a bucket with versioning
|
|
1049
|
+
enabled ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`).
|
|
1050
|
+
Works in the same way as noncurrent_expiration rule, but only for delete markers.
|
|
1051
|
+
|
|
1052
|
+
At expiration, the non-current delete marker of the object is deleted and cannot be recovered.
|
|
1053
|
+
"""
|
|
1054
|
+
|
|
1055
|
+
def __init__(
|
|
1056
|
+
self,
|
|
1057
|
+
*,
|
|
1058
|
+
id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
1059
|
+
enabled: builtins.bool = ...,
|
|
1060
|
+
filter: global___LifecycleRule.RuleFilter | None = ...,
|
|
1061
|
+
expiration: global___LifecycleRule.Expiration | None = ...,
|
|
1062
|
+
transitions: collections.abc.Iterable[global___LifecycleRule.Transition] | None = ...,
|
|
1063
|
+
abort_incomplete_multipart_upload: global___LifecycleRule.AfterDays | None = ...,
|
|
1064
|
+
noncurrent_expiration: global___LifecycleRule.NoncurrentExpiration | None = ...,
|
|
1065
|
+
noncurrent_transitions: collections.abc.Iterable[global___LifecycleRule.NoncurrentTransition] | None = ...,
|
|
1066
|
+
noncurrent_delete_markers: global___LifecycleRule.NoncurrentDeleteMarkers | None = ...,
|
|
1067
|
+
) -> None: ...
|
|
1068
|
+
def HasField(self, field_name: typing.Literal["abort_incomplete_multipart_upload", b"abort_incomplete_multipart_upload", "expiration", b"expiration", "filter", b"filter", "id", b"id", "noncurrent_delete_markers", b"noncurrent_delete_markers", "noncurrent_expiration", b"noncurrent_expiration"]) -> builtins.bool: ...
|
|
1069
|
+
def ClearField(self, field_name: typing.Literal["abort_incomplete_multipart_upload", b"abort_incomplete_multipart_upload", "enabled", b"enabled", "expiration", b"expiration", "filter", b"filter", "id", b"id", "noncurrent_delete_markers", b"noncurrent_delete_markers", "noncurrent_expiration", b"noncurrent_expiration", "noncurrent_transitions", b"noncurrent_transitions", "transitions", b"transitions"]) -> None: ...
|
|
1070
|
+
|
|
1071
|
+
global___LifecycleRule = LifecycleRule
|
|
1072
|
+
|
|
1073
|
+
@typing.final
|
|
1074
|
+
class Counters(google.protobuf.message.Message):
|
|
1075
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1076
|
+
|
|
1077
|
+
SIMPLE_OBJECT_SIZE_FIELD_NUMBER: builtins.int
|
|
1078
|
+
SIMPLE_OBJECT_COUNT_FIELD_NUMBER: builtins.int
|
|
1079
|
+
OBJECTS_PARTS_SIZE_FIELD_NUMBER: builtins.int
|
|
1080
|
+
OBJECTS_PARTS_COUNT_FIELD_NUMBER: builtins.int
|
|
1081
|
+
MULTIPART_OBJECTS_SIZE_FIELD_NUMBER: builtins.int
|
|
1082
|
+
MULTIPART_OBJECTS_COUNT_FIELD_NUMBER: builtins.int
|
|
1083
|
+
ACTIVE_MULTIPART_COUNT_FIELD_NUMBER: builtins.int
|
|
1084
|
+
simple_object_size: builtins.int
|
|
1085
|
+
"""Total size of objects uploaded in single operation, in bytes."""
|
|
1086
|
+
simple_object_count: builtins.int
|
|
1087
|
+
"""Number of objects uploaded in single operation."""
|
|
1088
|
+
objects_parts_size: builtins.int
|
|
1089
|
+
"""Total size of uploaded parts in incomplete multipart uploads, in bytes."""
|
|
1090
|
+
objects_parts_count: builtins.int
|
|
1091
|
+
"""Number of uploaded parts in incomplete multipart uploads."""
|
|
1092
|
+
multipart_objects_size: builtins.int
|
|
1093
|
+
"""Total size of objects uploaded in multiple parts, in bytes."""
|
|
1094
|
+
multipart_objects_count: builtins.int
|
|
1095
|
+
"""Number of objects uploaded in multiple parts."""
|
|
1096
|
+
active_multipart_count: builtins.int
|
|
1097
|
+
"""Number of incomplete multipart uploads."""
|
|
1098
|
+
def __init__(
|
|
1099
|
+
self,
|
|
1100
|
+
*,
|
|
1101
|
+
simple_object_size: builtins.int = ...,
|
|
1102
|
+
simple_object_count: builtins.int = ...,
|
|
1103
|
+
objects_parts_size: builtins.int = ...,
|
|
1104
|
+
objects_parts_count: builtins.int = ...,
|
|
1105
|
+
multipart_objects_size: builtins.int = ...,
|
|
1106
|
+
multipart_objects_count: builtins.int = ...,
|
|
1107
|
+
active_multipart_count: builtins.int = ...,
|
|
1108
|
+
) -> None: ...
|
|
1109
|
+
def ClearField(self, field_name: typing.Literal["active_multipart_count", b"active_multipart_count", "multipart_objects_count", b"multipart_objects_count", "multipart_objects_size", b"multipart_objects_size", "objects_parts_count", b"objects_parts_count", "objects_parts_size", b"objects_parts_size", "simple_object_count", b"simple_object_count", "simple_object_size", b"simple_object_size"]) -> None: ...
|
|
1110
|
+
|
|
1111
|
+
global___Counters = Counters
|
|
1112
|
+
|
|
1113
|
+
@typing.final
|
|
1114
|
+
class OptionalSizeByClass(google.protobuf.message.Message):
|
|
1115
|
+
"""A resource for size of available space in a bucket for a storage class."""
|
|
1116
|
+
|
|
1117
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1118
|
+
|
|
1119
|
+
STORAGE_CLASS_FIELD_NUMBER: builtins.int
|
|
1120
|
+
CLASS_SIZE_FIELD_NUMBER: builtins.int
|
|
1121
|
+
storage_class: builtins.str
|
|
1122
|
+
"""Storage class. Supported classes are standard storage (`STANDARD`), cold storage (`COLD`, `STANDARD_IA`, `NEARLINE`
|
|
1123
|
+
all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms).
|
|
1124
|
+
For details, see [documentation](/docs/storage/concepts/storage-class).
|
|
1125
|
+
"""
|
|
1126
|
+
@property
|
|
1127
|
+
def class_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1128
|
+
"""Size of available space in the bucket for the storage class."""
|
|
1129
|
+
|
|
1130
|
+
def __init__(
|
|
1131
|
+
self,
|
|
1132
|
+
*,
|
|
1133
|
+
storage_class: builtins.str = ...,
|
|
1134
|
+
class_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1135
|
+
) -> None: ...
|
|
1136
|
+
def HasField(self, field_name: typing.Literal["class_size", b"class_size"]) -> builtins.bool: ...
|
|
1137
|
+
def ClearField(self, field_name: typing.Literal["class_size", b"class_size", "storage_class", b"storage_class"]) -> None: ...
|
|
1138
|
+
|
|
1139
|
+
global___OptionalSizeByClass = OptionalSizeByClass
|
|
1140
|
+
|
|
1141
|
+
@typing.final
|
|
1142
|
+
class SizeByClass(google.protobuf.message.Message):
|
|
1143
|
+
"""A resource for size of used space in a bucket for a storage class."""
|
|
1144
|
+
|
|
1145
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1146
|
+
|
|
1147
|
+
STORAGE_CLASS_FIELD_NUMBER: builtins.int
|
|
1148
|
+
CLASS_SIZE_FIELD_NUMBER: builtins.int
|
|
1149
|
+
storage_class: builtins.str
|
|
1150
|
+
"""Storage class. Supported classes are standard storage (`STANDARD`), cold storage (`COLD`, `STANDARD_IA`, `NEARLINE`
|
|
1151
|
+
all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms).
|
|
1152
|
+
For details, see [documentation](/docs/storage/concepts/storage-class).
|
|
1153
|
+
"""
|
|
1154
|
+
class_size: builtins.int
|
|
1155
|
+
"""Size of used space in the bucket for the storage class."""
|
|
1156
|
+
def __init__(
|
|
1157
|
+
self,
|
|
1158
|
+
*,
|
|
1159
|
+
storage_class: builtins.str = ...,
|
|
1160
|
+
class_size: builtins.int = ...,
|
|
1161
|
+
) -> None: ...
|
|
1162
|
+
def ClearField(self, field_name: typing.Literal["class_size", b"class_size", "storage_class", b"storage_class"]) -> None: ...
|
|
1163
|
+
|
|
1164
|
+
global___SizeByClass = SizeByClass
|
|
1165
|
+
|
|
1166
|
+
@typing.final
|
|
1167
|
+
class CountersByClass(google.protobuf.message.Message):
|
|
1168
|
+
"""A resource for object-related statistics for a storage class by type of upload (simple vs. multipart)."""
|
|
1169
|
+
|
|
1170
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1171
|
+
|
|
1172
|
+
STORAGE_CLASS_FIELD_NUMBER: builtins.int
|
|
1173
|
+
COUNTERS_FIELD_NUMBER: builtins.int
|
|
1174
|
+
storage_class: builtins.str
|
|
1175
|
+
"""Storage class. Supported classes are standard storage (`STANDARD`), cold storage (`COLD`, `STANDARD_IA`, `NEARLINE`
|
|
1176
|
+
all synonyms), and ice storage (`ice` and `GLACIER` are synonyms).
|
|
1177
|
+
For details, see [documentation](/docs/storage/concepts/storage-class).
|
|
1178
|
+
"""
|
|
1179
|
+
@property
|
|
1180
|
+
def counters(self) -> global___Counters:
|
|
1181
|
+
"""Object-related statistics for the storage class by type of upload."""
|
|
1182
|
+
|
|
1183
|
+
def __init__(
|
|
1184
|
+
self,
|
|
1185
|
+
*,
|
|
1186
|
+
storage_class: builtins.str = ...,
|
|
1187
|
+
counters: global___Counters | None = ...,
|
|
1188
|
+
) -> None: ...
|
|
1189
|
+
def HasField(self, field_name: typing.Literal["counters", b"counters"]) -> builtins.bool: ...
|
|
1190
|
+
def ClearField(self, field_name: typing.Literal["counters", b"counters", "storage_class", b"storage_class"]) -> None: ...
|
|
1191
|
+
|
|
1192
|
+
global___CountersByClass = CountersByClass
|
|
1193
|
+
|
|
1194
|
+
@typing.final
|
|
1195
|
+
class BucketStats(google.protobuf.message.Message):
|
|
1196
|
+
"""A bucket statistics resource."""
|
|
1197
|
+
|
|
1198
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1199
|
+
|
|
1200
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1201
|
+
MAX_SIZE_FIELD_NUMBER: builtins.int
|
|
1202
|
+
USED_SIZE_FIELD_NUMBER: builtins.int
|
|
1203
|
+
STORAGE_CLASS_MAX_SIZES_FIELD_NUMBER: builtins.int
|
|
1204
|
+
STORAGE_CLASS_USED_SIZES_FIELD_NUMBER: builtins.int
|
|
1205
|
+
STORAGE_CLASS_COUNTERS_FIELD_NUMBER: builtins.int
|
|
1206
|
+
DEFAULT_STORAGE_CLASS_FIELD_NUMBER: builtins.int
|
|
1207
|
+
ANONYMOUS_ACCESS_FLAGS_FIELD_NUMBER: builtins.int
|
|
1208
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
1209
|
+
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
1210
|
+
name: builtins.str
|
|
1211
|
+
"""Name of the bucket."""
|
|
1212
|
+
used_size: builtins.int
|
|
1213
|
+
"""Size of used space in the bucket, in bytes."""
|
|
1214
|
+
@property
|
|
1215
|
+
def max_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1216
|
+
"""Maximum size of the bucket, in bytes."""
|
|
1217
|
+
|
|
1218
|
+
@property
|
|
1219
|
+
def storage_class_max_sizes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OptionalSizeByClass]:
|
|
1220
|
+
"""Size of available space in the bucket by storage class, in bytes."""
|
|
1221
|
+
|
|
1222
|
+
@property
|
|
1223
|
+
def storage_class_used_sizes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SizeByClass]:
|
|
1224
|
+
"""Size of used space in the bucket by storage class, in bytes."""
|
|
1225
|
+
|
|
1226
|
+
@property
|
|
1227
|
+
def storage_class_counters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CountersByClass]:
|
|
1228
|
+
"""Object-related statistics by storage class and type of upload (simple vs. multipart), in bytes."""
|
|
1229
|
+
|
|
1230
|
+
@property
|
|
1231
|
+
def default_storage_class(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
1232
|
+
"""Default storage class for objects in the bucket. Supported classes are standard storage (`STANDARD`), cold storage
|
|
1233
|
+
(`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms).
|
|
1234
|
+
For details, see [documentation](/docs/storage/concepts/storage-class).
|
|
1235
|
+
"""
|
|
1236
|
+
|
|
1237
|
+
@property
|
|
1238
|
+
def anonymous_access_flags(self) -> global___AnonymousAccessFlags:
|
|
1239
|
+
"""Flags for configuring public (anonymous) access to the bucket's content and settings.
|
|
1240
|
+
For details, see [documentation](/docs/storage/concepts/bucket#bucket-access).
|
|
1241
|
+
"""
|
|
1242
|
+
|
|
1243
|
+
@property
|
|
1244
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1245
|
+
"""Bucket creation timestamp."""
|
|
1246
|
+
|
|
1247
|
+
@property
|
|
1248
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1249
|
+
"""Bucket latest update timestamp."""
|
|
1250
|
+
|
|
1251
|
+
def __init__(
|
|
1252
|
+
self,
|
|
1253
|
+
*,
|
|
1254
|
+
name: builtins.str = ...,
|
|
1255
|
+
max_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1256
|
+
used_size: builtins.int = ...,
|
|
1257
|
+
storage_class_max_sizes: collections.abc.Iterable[global___OptionalSizeByClass] | None = ...,
|
|
1258
|
+
storage_class_used_sizes: collections.abc.Iterable[global___SizeByClass] | None = ...,
|
|
1259
|
+
storage_class_counters: collections.abc.Iterable[global___CountersByClass] | None = ...,
|
|
1260
|
+
default_storage_class: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
1261
|
+
anonymous_access_flags: global___AnonymousAccessFlags | None = ...,
|
|
1262
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
1263
|
+
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
1264
|
+
) -> None: ...
|
|
1265
|
+
def HasField(self, field_name: typing.Literal["anonymous_access_flags", b"anonymous_access_flags", "created_at", b"created_at", "default_storage_class", b"default_storage_class", "max_size", b"max_size", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
1266
|
+
def ClearField(self, field_name: typing.Literal["anonymous_access_flags", b"anonymous_access_flags", "created_at", b"created_at", "default_storage_class", b"default_storage_class", "max_size", b"max_size", "name", b"name", "storage_class_counters", b"storage_class_counters", "storage_class_max_sizes", b"storage_class_max_sizes", "storage_class_used_sizes", b"storage_class_used_sizes", "updated_at", b"updated_at", "used_size", b"used_size"]) -> None: ...
|
|
1267
|
+
|
|
1268
|
+
global___BucketStats = BucketStats
|
|
1269
|
+
|
|
1270
|
+
@typing.final
|
|
1271
|
+
class HTTPSConfig(google.protobuf.message.Message):
|
|
1272
|
+
"""A resource for HTTPS configuration of a bucket."""
|
|
1273
|
+
|
|
1274
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1275
|
+
|
|
1276
|
+
class _SourceType:
|
|
1277
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1278
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1279
|
+
|
|
1280
|
+
class _SourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[HTTPSConfig._SourceType.ValueType], builtins.type):
|
|
1281
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1282
|
+
SOURCE_TYPE_UNSPECIFIED: HTTPSConfig._SourceType.ValueType # 0
|
|
1283
|
+
SOURCE_TYPE_SELF_MANAGED: HTTPSConfig._SourceType.ValueType # 1
|
|
1284
|
+
"""Your certificate, uploaded directly."""
|
|
1285
|
+
SOURCE_TYPE_MANAGED_BY_CERTIFICATE_MANAGER: HTTPSConfig._SourceType.ValueType # 2
|
|
1286
|
+
"""Certificate managed by Certificate Manager."""
|
|
1287
|
+
|
|
1288
|
+
class SourceType(_SourceType, metaclass=_SourceTypeEnumTypeWrapper):
|
|
1289
|
+
"""A resource for type of TLS certificate source."""
|
|
1290
|
+
|
|
1291
|
+
SOURCE_TYPE_UNSPECIFIED: HTTPSConfig.SourceType.ValueType # 0
|
|
1292
|
+
SOURCE_TYPE_SELF_MANAGED: HTTPSConfig.SourceType.ValueType # 1
|
|
1293
|
+
"""Your certificate, uploaded directly."""
|
|
1294
|
+
SOURCE_TYPE_MANAGED_BY_CERTIFICATE_MANAGER: HTTPSConfig.SourceType.ValueType # 2
|
|
1295
|
+
"""Certificate managed by Certificate Manager."""
|
|
1296
|
+
|
|
1297
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1298
|
+
SOURCE_TYPE_FIELD_NUMBER: builtins.int
|
|
1299
|
+
ISSUER_FIELD_NUMBER: builtins.int
|
|
1300
|
+
SUBJECT_FIELD_NUMBER: builtins.int
|
|
1301
|
+
DNS_NAMES_FIELD_NUMBER: builtins.int
|
|
1302
|
+
NOT_BEFORE_FIELD_NUMBER: builtins.int
|
|
1303
|
+
NOT_AFTER_FIELD_NUMBER: builtins.int
|
|
1304
|
+
CERTIFICATE_ID_FIELD_NUMBER: builtins.int
|
|
1305
|
+
name: builtins.str
|
|
1306
|
+
"""Name of the bucket."""
|
|
1307
|
+
source_type: global___HTTPSConfig.SourceType.ValueType
|
|
1308
|
+
"""Type of TLS certificate source."""
|
|
1309
|
+
certificate_id: builtins.str
|
|
1310
|
+
"""ID of the TLS certificate in Certificate Manager.
|
|
1311
|
+
|
|
1312
|
+
To get information about the certificate from Certificate Manager, make a
|
|
1313
|
+
[yandex.cloud.certificatemanager.v1.CertificateService.Get] request.
|
|
1314
|
+
"""
|
|
1315
|
+
@property
|
|
1316
|
+
def issuer(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
1317
|
+
"""Issuer of the TLS certificate."""
|
|
1318
|
+
|
|
1319
|
+
@property
|
|
1320
|
+
def subject(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
1321
|
+
"""Subject of the TLS certificate."""
|
|
1322
|
+
|
|
1323
|
+
@property
|
|
1324
|
+
def dns_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1325
|
+
"""List of DNS names of the TLS certificate (Subject Alternative Name field)."""
|
|
1326
|
+
|
|
1327
|
+
@property
|
|
1328
|
+
def not_before(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1329
|
+
"""Start of the TLS certificate validity period (Not Before field)."""
|
|
1330
|
+
|
|
1331
|
+
@property
|
|
1332
|
+
def not_after(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1333
|
+
"""End of the TLS certificate validity period (Not After field)"""
|
|
1334
|
+
|
|
1335
|
+
def __init__(
|
|
1336
|
+
self,
|
|
1337
|
+
*,
|
|
1338
|
+
name: builtins.str = ...,
|
|
1339
|
+
source_type: global___HTTPSConfig.SourceType.ValueType = ...,
|
|
1340
|
+
issuer: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
1341
|
+
subject: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
1342
|
+
dns_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1343
|
+
not_before: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
1344
|
+
not_after: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
1345
|
+
certificate_id: builtins.str = ...,
|
|
1346
|
+
) -> None: ...
|
|
1347
|
+
def HasField(self, field_name: typing.Literal["issuer", b"issuer", "not_after", b"not_after", "not_before", b"not_before", "subject", b"subject"]) -> builtins.bool: ...
|
|
1348
|
+
def ClearField(self, field_name: typing.Literal["certificate_id", b"certificate_id", "dns_names", b"dns_names", "issuer", b"issuer", "name", b"name", "not_after", b"not_after", "not_before", b"not_before", "source_type", b"source_type", "subject", b"subject"]) -> None: ...
|
|
1349
|
+
|
|
1350
|
+
global___HTTPSConfig = HTTPSConfig
|
|
1351
|
+
|
|
1352
|
+
@typing.final
|
|
1353
|
+
class ObjectLock(google.protobuf.message.Message):
|
|
1354
|
+
"""A resource for Object Lock configuration of a bucket.
|
|
1355
|
+
For details about the concept, see [documentation](/docs/storage/concepts/object-lock).
|
|
1356
|
+
"""
|
|
1357
|
+
|
|
1358
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1359
|
+
|
|
1360
|
+
class _ObjectLockStatus:
|
|
1361
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1362
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1363
|
+
|
|
1364
|
+
class _ObjectLockStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ObjectLock._ObjectLockStatus.ValueType], builtins.type):
|
|
1365
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1366
|
+
OBJECT_LOCK_STATUS_UNSPECIFIED: ObjectLock._ObjectLockStatus.ValueType # 0
|
|
1367
|
+
OBJECT_LOCK_STATUS_DISABLED: ObjectLock._ObjectLockStatus.ValueType # 1
|
|
1368
|
+
OBJECT_LOCK_STATUS_ENABLED: ObjectLock._ObjectLockStatus.ValueType # 2
|
|
1369
|
+
|
|
1370
|
+
class ObjectLockStatus(_ObjectLockStatus, metaclass=_ObjectLockStatusEnumTypeWrapper):
|
|
1371
|
+
"""Activity status of the object lock settings on the bucket"""
|
|
1372
|
+
|
|
1373
|
+
OBJECT_LOCK_STATUS_UNSPECIFIED: ObjectLock.ObjectLockStatus.ValueType # 0
|
|
1374
|
+
OBJECT_LOCK_STATUS_DISABLED: ObjectLock.ObjectLockStatus.ValueType # 1
|
|
1375
|
+
OBJECT_LOCK_STATUS_ENABLED: ObjectLock.ObjectLockStatus.ValueType # 2
|
|
1376
|
+
|
|
1377
|
+
@typing.final
|
|
1378
|
+
class DefaultRetention(google.protobuf.message.Message):
|
|
1379
|
+
"""Default lock configuration for added objects"""
|
|
1380
|
+
|
|
1381
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1382
|
+
|
|
1383
|
+
class _Mode:
|
|
1384
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1385
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1386
|
+
|
|
1387
|
+
class _ModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ObjectLock.DefaultRetention._Mode.ValueType], builtins.type):
|
|
1388
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1389
|
+
MODE_UNSPECIFIED: ObjectLock.DefaultRetention._Mode.ValueType # 0
|
|
1390
|
+
MODE_GOVERNANCE: ObjectLock.DefaultRetention._Mode.ValueType # 1
|
|
1391
|
+
MODE_COMPLIANCE: ObjectLock.DefaultRetention._Mode.ValueType # 2
|
|
1392
|
+
|
|
1393
|
+
class Mode(_Mode, metaclass=_ModeEnumTypeWrapper):
|
|
1394
|
+
"""Lock type"""
|
|
1395
|
+
|
|
1396
|
+
MODE_UNSPECIFIED: ObjectLock.DefaultRetention.Mode.ValueType # 0
|
|
1397
|
+
MODE_GOVERNANCE: ObjectLock.DefaultRetention.Mode.ValueType # 1
|
|
1398
|
+
MODE_COMPLIANCE: ObjectLock.DefaultRetention.Mode.ValueType # 2
|
|
1399
|
+
|
|
1400
|
+
MODE_FIELD_NUMBER: builtins.int
|
|
1401
|
+
DAYS_FIELD_NUMBER: builtins.int
|
|
1402
|
+
YEARS_FIELD_NUMBER: builtins.int
|
|
1403
|
+
mode: global___ObjectLock.DefaultRetention.Mode.ValueType
|
|
1404
|
+
days: builtins.int
|
|
1405
|
+
"""Number of days for locking"""
|
|
1406
|
+
years: builtins.int
|
|
1407
|
+
"""Number of years for locking"""
|
|
1408
|
+
def __init__(
|
|
1409
|
+
self,
|
|
1410
|
+
*,
|
|
1411
|
+
mode: global___ObjectLock.DefaultRetention.Mode.ValueType = ...,
|
|
1412
|
+
days: builtins.int = ...,
|
|
1413
|
+
years: builtins.int = ...,
|
|
1414
|
+
) -> None: ...
|
|
1415
|
+
def HasField(self, field_name: typing.Literal["days", b"days", "period", b"period", "years", b"years"]) -> builtins.bool: ...
|
|
1416
|
+
def ClearField(self, field_name: typing.Literal["days", b"days", "mode", b"mode", "period", b"period", "years", b"years"]) -> None: ...
|
|
1417
|
+
def WhichOneof(self, oneof_group: typing.Literal["period", b"period"]) -> typing.Literal["days", "years"] | None: ...
|
|
1418
|
+
|
|
1419
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
1420
|
+
DEFAULT_RETENTION_FIELD_NUMBER: builtins.int
|
|
1421
|
+
status: global___ObjectLock.ObjectLockStatus.ValueType
|
|
1422
|
+
@property
|
|
1423
|
+
def default_retention(self) -> global___ObjectLock.DefaultRetention: ...
|
|
1424
|
+
def __init__(
|
|
1425
|
+
self,
|
|
1426
|
+
*,
|
|
1427
|
+
status: global___ObjectLock.ObjectLockStatus.ValueType = ...,
|
|
1428
|
+
default_retention: global___ObjectLock.DefaultRetention | None = ...,
|
|
1429
|
+
) -> None: ...
|
|
1430
|
+
def HasField(self, field_name: typing.Literal["default_retention", b"default_retention"]) -> builtins.bool: ...
|
|
1431
|
+
def ClearField(self, field_name: typing.Literal["default_retention", b"default_retention", "status", b"status"]) -> None: ...
|
|
1432
|
+
|
|
1433
|
+
global___ObjectLock = ObjectLock
|
|
1434
|
+
|
|
1435
|
+
@typing.final
|
|
1436
|
+
class Encryption(google.protobuf.message.Message):
|
|
1437
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1438
|
+
|
|
1439
|
+
@typing.final
|
|
1440
|
+
class EncryptionRule(google.protobuf.message.Message):
|
|
1441
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1442
|
+
|
|
1443
|
+
KMS_MASTER_KEY_ID_FIELD_NUMBER: builtins.int
|
|
1444
|
+
SSE_ALGORITHM_FIELD_NUMBER: builtins.int
|
|
1445
|
+
kms_master_key_id: builtins.str
|
|
1446
|
+
sse_algorithm: builtins.str
|
|
1447
|
+
def __init__(
|
|
1448
|
+
self,
|
|
1449
|
+
*,
|
|
1450
|
+
kms_master_key_id: builtins.str = ...,
|
|
1451
|
+
sse_algorithm: builtins.str = ...,
|
|
1452
|
+
) -> None: ...
|
|
1453
|
+
def ClearField(self, field_name: typing.Literal["kms_master_key_id", b"kms_master_key_id", "sse_algorithm", b"sse_algorithm"]) -> None: ...
|
|
1454
|
+
|
|
1455
|
+
RULES_FIELD_NUMBER: builtins.int
|
|
1456
|
+
@property
|
|
1457
|
+
def rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Encryption.EncryptionRule]: ...
|
|
1458
|
+
def __init__(
|
|
1459
|
+
self,
|
|
1460
|
+
*,
|
|
1461
|
+
rules: collections.abc.Iterable[global___Encryption.EncryptionRule] | None = ...,
|
|
1462
|
+
) -> None: ...
|
|
1463
|
+
def ClearField(self, field_name: typing.Literal["rules", b"rules"]) -> None: ...
|
|
1464
|
+
|
|
1465
|
+
global___Encryption = Encryption
|