yandexcloud 0.286.0__py3-none-any.whl → 0.288.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.

Potentially problematic release.


This version of yandexcloud might be problematic. Click here for more details.

@@ -15,7 +15,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
15
15
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/mdb/greenplum/v1/pxf.proto\x12\x1dyandex.cloud.mdb.greenplum.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\xc5\x04\n\tPXFConfig\x12\x42\n\x12\x63onnection_timeout\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x35-600\x12>\n\x0eupload_timeout\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x35-600\x12<\n\x0bmax_threads\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\n\xfa\xc7\x31\x06\x31-1024\x12\x42\n\x1epool_allow_core_thread_timeout\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12?\n\x0epool_core_size\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\n\xfa\xc7\x31\x06\x31-1024\x12\x41\n\x13pool_queue_capacity\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12>\n\rpool_max_size\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\n\xfa\xc7\x31\x06\x31-1024\x12\x36\n\x03xmx\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x36\x34-16384\x12\x36\n\x03xms\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x36\x34-16384\"\xd9\x01\n\x0cPXFConfigSet\x12H\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32(.yandex.cloud.mdb.greenplum.v1.PXFConfigB\x04\xe8\xc7\x31\x01\x12=\n\x0buser_config\x18\x02 \x01(\x0b\x32(.yandex.cloud.mdb.greenplum.v1.PXFConfig\x12@\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32(.yandex.cloud.mdb.greenplum.v1.PXFConfig\"\x9d\x01\n\x0fPXFDatasourceS3\x12\x1d\n\naccess_key\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x1d\n\nsecret_key\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12/\n\x0b\x66\x61st_upload\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1b\n\x08\x65ndpoint\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=200\"\xa6\x05\n\x11PXFDatasourceJDBC\x12\x18\n\x06\x64river\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x16\n\x03url\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x17\n\x04user\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x1b\n\x08password\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x46\n\x14statement_batch_size\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0b\xfa\xc7\x31\x07\x35\x30-1000\x12G\n\x14statement_fetch_size\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x35\x30-10000\x12G\n\x17statement_query_timeout\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x35-600\x12\x30\n\x0cpool_enabled\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x42\n\x11pool_maximum_size\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\n\xfa\xc7\x31\x06\x31\x30-200\x12M\n\x17pool_connection_timeout\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0f\xfa\xc7\x31\x0b\x35\x30\x30\x30-600000\x12G\n\x11pool_idle_timeout\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0f\xfa\xc7\x31\x0b\x35\x30\x30\x30-600000\x12\x41\n\x11pool_minimum_idle\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x30-200\"^\n\x11PXFDatasourceCore\x12\x1d\n\ndefault_fs\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12*\n\x16security_auth_to_local\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\xcf\x02\n\x15PXFDatasourceKerberos\x12*\n\x06\x65nable\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1a\n\x07primary\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x19\n\x05realm\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\'\n\x0bkdc_servers\x18\x04 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12\x1f\n\x0c\x61\x64min_server\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12!\n\x0e\x64\x65\x66\x61ult_domain\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x66\n\rkeytab_base64\x18\x07 \x01(\tBO\xf2\xc7\x31@^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\x8a\xc8\x31\x07<=65536\"\xad\x01\n\x1cPXFDatasourceHDFSDfsNamenode\x12\x1f\n\x0brpc_address\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\'\n\x13service_rpc_address\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12 \n\x0chttp_address\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12!\n\rhttps_address\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\xa7\x03\n\x14PXFDatasourceHDFSDfs\x12\x41\n\x1dha_automatic_failover_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x1a\x62lock_access_token_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x15use_datanode_hostname\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x62\n\tnamenodes\x18\x04 \x03(\x0b\x32\x42.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSDfs.NamenodesEntryB\x0b\x82\xc8\x31\x07<=10000\x1am\n\x0eNamenodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSDfsNamenode:\x02\x38\x01\"\x96\x02\n\x19PXFDatasourceHDFSYarnHaRm\x12\x1f\n\x17resourcemanager_address\x18\x01 \x01(\t\x12)\n!resourcemanager_scheduler_address\x18\x02 \x01(\t\x12\x30\n(resourcemanager_resource_tracker_address\x18\x03 \x01(\t\x12%\n\x1dresourcemanager_admin_address\x18\x04 \x01(\t\x12&\n\x1eresourcemanager_webapp_address\x18\x05 \x01(\t\x12,\n$resourcemanager_webapp_https_address\x18\x06 \x01(\t\"\xe7\x03\n\x15PXFDatasourceHDFSYarn\x12>\n\x1aresourcemanager_ha_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12L\n(resourcemanager_ha_auto_failover_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12M\n)resourcemanager_ha_auto_failover_embedded\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12.\n\x1aresourcemanager_cluster_id\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12Z\n\x05ha_rm\x18\x05 \x03(\x0b\x32>.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSYarn.HaRmEntryB\x0b\x82\xc8\x31\x07<=10000\x1a\x65\n\tHaRmEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSYarnHaRm:\x02\x38\x01\"\xe4\x03\n\x11PXFDatasourceHDFS\x12>\n\x04\x63ore\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceCore\x12\x46\n\x08kerberos\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.mdb.greenplum.v1.PXFDatasourceKerberos\x12\x36\n\x12user_impersonation\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1b\n\x08username\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x46\n\x17sasl_connection_retries\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x08\xfa\xc7\x31\x04\x31-50\x12$\n\x08zk_hosts\x18\x06 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12@\n\x03\x64\x66s\x18\x07 \x01(\x0b\x32\x33.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSDfs\x12\x42\n\x04yarn\x18\x08 \x01(\x0b\x32\x34.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSYarn\"\x92\x04\n\x11PXFDatasourceHive\x12>\n\x04\x63ore\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceCore\x12\x46\n\x08kerberos\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.mdb.greenplum.v1.PXFDatasourceKerberos\x12\x36\n\x12user_impersonation\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1b\n\x08username\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x46\n\x17sasl_connection_retries\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x08\xfa\xc7\x31\x04\x31-50\x12$\n\x08zk_hosts\x18\x06 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12\'\n\x03ppd\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12*\n\x0emetastore_uris\x18\x08 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12\x30\n\x1cmetastore_kerberos_principal\x18\t \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12+\n\x17\x61uth_kerberos_principal\x18\n \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\xbc\x02\n\rPXFDatasource\x12\x1b\n\x04name\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x33-200\x12<\n\x02s3\x18\x02 \x01(\x0b\x32..yandex.cloud.mdb.greenplum.v1.PXFDatasourceS3H\x00\x12@\n\x04jdbc\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceJDBCH\x00\x12@\n\x04hdfs\x18\x04 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSH\x00\x12@\n\x04hive\x18\x05 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHiveH\x00\x42\n\n\x08settingsBp\n!yandex.cloud.api.mdb.greenplum.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/greenplum/v1;greenplumb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/mdb/greenplum/v1/pxf.proto\x12\x1dyandex.cloud.mdb.greenplum.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\xbd\x04\n\tPXFConfig\x12\x42\n\x12\x63onnection_timeout\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x35-600\x12>\n\x0eupload_timeout\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x35-600\x12<\n\x0bmax_threads\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\n\xfa\xc7\x31\x06\x31-1024\x12\x42\n\x1epool_allow_core_thread_timeout\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12?\n\x0epool_core_size\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\n\xfa\xc7\x31\x06\x31-1024\x12\x41\n\x13pool_queue_capacity\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\x12>\n\rpool_max_size\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\n\xfa\xc7\x31\x06\x31-1024\x12\x32\n\x03xmx\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x08\xfa\xc7\x31\x04>=64\x12\x32\n\x03xms\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x08\xfa\xc7\x31\x04>=64\"\xd9\x01\n\x0cPXFConfigSet\x12H\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32(.yandex.cloud.mdb.greenplum.v1.PXFConfigB\x04\xe8\xc7\x31\x01\x12=\n\x0buser_config\x18\x02 \x01(\x0b\x32(.yandex.cloud.mdb.greenplum.v1.PXFConfig\x12@\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32(.yandex.cloud.mdb.greenplum.v1.PXFConfig\"\xe1\x01\n\x0fPXFDatasourceS3\x12\x1d\n\naccess_key\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x1d\n\nsecret_key\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12/\n\x0b\x66\x61st_upload\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12_\n\x08\x65ndpoint\x18\x04 \x01(\tBM\xf2\xc7\x31@(((s3|https?)://)?([a-z0-9]([a-z0-9-]*[a-z0-9])?[.])+[a-z]{2,})?\x8a\xc8\x31\x05<=200\"\xa8\x05\n\x11PXFDatasourceJDBC\x12\x18\n\x06\x64river\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x17\n\x03url\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\x17\n\x04user\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x1b\n\x08password\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x46\n\x14statement_batch_size\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0b\xfa\xc7\x31\x07\x35\x30-1000\x12G\n\x14statement_fetch_size\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x35\x30-10000\x12I\n\x17statement_query_timeout\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0b\xfa\xc7\x31\x07\x35-43200\x12\x30\n\x0cpool_enabled\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x41\n\x11pool_maximum_size\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x31-200\x12M\n\x17pool_connection_timeout\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0f\xfa\xc7\x31\x0b\x35\x30\x30\x30-600000\x12G\n\x11pool_idle_timeout\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0f\xfa\xc7\x31\x0b\x35\x30\x30\x30-600000\x12\x41\n\x11pool_minimum_idle\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x30-200\"^\n\x11PXFDatasourceCore\x12\x1d\n\ndefault_fs\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12*\n\x16security_auth_to_local\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\xcf\x02\n\x15PXFDatasourceKerberos\x12*\n\x06\x65nable\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1a\n\x07primary\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x19\n\x05realm\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\'\n\x0bkdc_servers\x18\x04 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12\x1f\n\x0c\x61\x64min_server\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12!\n\x0e\x64\x65\x66\x61ult_domain\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x66\n\rkeytab_base64\x18\x07 \x01(\tBO\xf2\xc7\x31@^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$\x8a\xc8\x31\x07<=65536\"\xad\x01\n\x1cPXFDatasourceHDFSDfsNamenode\x12\x1f\n\x0brpc_address\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\'\n\x13service_rpc_address\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12 \n\x0chttp_address\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12!\n\rhttps_address\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\xbd\x03\n\x14PXFDatasourceHDFSDfs\x12\x41\n\x1dha_automatic_failover_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x1a\x62lock_access_token_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x15use_datanode_hostname\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x62\n\tnamenodes\x18\x04 \x03(\x0b\x32\x42.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSDfs.NamenodesEntryB\x0b\x82\xc8\x31\x07<=10000\x12\x14\n\x0cnameservices\x18\x05 \x01(\t\x1am\n\x0eNamenodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSDfsNamenode:\x02\x38\x01\"\x96\x02\n\x19PXFDatasourceHDFSYarnHaRm\x12\x1f\n\x17resourcemanager_address\x18\x01 \x01(\t\x12)\n!resourcemanager_scheduler_address\x18\x02 \x01(\t\x12\x30\n(resourcemanager_resource_tracker_address\x18\x03 \x01(\t\x12%\n\x1dresourcemanager_admin_address\x18\x04 \x01(\t\x12&\n\x1eresourcemanager_webapp_address\x18\x05 \x01(\t\x12,\n$resourcemanager_webapp_https_address\x18\x06 \x01(\t\"\xe7\x03\n\x15PXFDatasourceHDFSYarn\x12>\n\x1aresourcemanager_ha_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12L\n(resourcemanager_ha_auto_failover_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12M\n)resourcemanager_ha_auto_failover_embedded\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12.\n\x1aresourcemanager_cluster_id\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12Z\n\x05ha_rm\x18\x05 \x03(\x0b\x32>.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSYarn.HaRmEntryB\x0b\x82\xc8\x31\x07<=10000\x1a\x65\n\tHaRmEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSYarnHaRm:\x02\x38\x01\"\xe4\x03\n\x11PXFDatasourceHDFS\x12>\n\x04\x63ore\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceCore\x12\x46\n\x08kerberos\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.mdb.greenplum.v1.PXFDatasourceKerberos\x12\x36\n\x12user_impersonation\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1b\n\x08username\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x46\n\x17sasl_connection_retries\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x08\xfa\xc7\x31\x04\x31-50\x12$\n\x08zk_hosts\x18\x06 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12@\n\x03\x64\x66s\x18\x07 \x01(\x0b\x32\x33.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSDfs\x12\x42\n\x04yarn\x18\x08 \x01(\x0b\x32\x34.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSYarn\"\x92\x04\n\x11PXFDatasourceHive\x12>\n\x04\x63ore\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceCore\x12\x46\n\x08kerberos\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.mdb.greenplum.v1.PXFDatasourceKerberos\x12\x36\n\x12user_impersonation\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1b\n\x08username\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=128\x12\x46\n\x17sasl_connection_retries\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x08\xfa\xc7\x31\x04\x31-50\x12$\n\x08zk_hosts\x18\x06 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12\'\n\x03ppd\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12*\n\x0emetastore_uris\x18\x08 \x03(\tB\x12\x82\xc8\x31\x05<=200\x8a\xc8\x31\x05\x31-200\x12\x30\n\x1cmetastore_kerberos_principal\x18\t \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12+\n\x17\x61uth_kerberos_principal\x18\n \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\xd2\x02\n\rPXFDatasource\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe8\xc7\x31\x01\xf2\xc7\x31\x12^[^\\|/*?.,;\"\'<>]+$\x8a\xc8\x31\x05\x33-200\x12<\n\x02s3\x18\x02 \x01(\x0b\x32..yandex.cloud.mdb.greenplum.v1.PXFDatasourceS3H\x00\x12@\n\x04jdbc\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceJDBCH\x00\x12@\n\x04hdfs\x18\x04 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHDFSH\x00\x12@\n\x04hive\x18\x05 \x01(\x0b\x32\x30.yandex.cloud.mdb.greenplum.v1.PXFDatasourceHiveH\x00\x42\n\n\x08settingsBp\n!yandex.cloud.api.mdb.greenplum.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/greenplum/v1;greenplumb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -36,9 +36,9 @@ if _descriptor._USE_C_DESCRIPTORS == False:
36
36
  _PXFCONFIG.fields_by_name['pool_max_size']._options = None
37
37
  _PXFCONFIG.fields_by_name['pool_max_size']._serialized_options = b'\372\3071\0061-1024'
38
38
  _PXFCONFIG.fields_by_name['xmx']._options = None
39
- _PXFCONFIG.fields_by_name['xmx']._serialized_options = b'\372\3071\01064-16384'
39
+ _PXFCONFIG.fields_by_name['xmx']._serialized_options = b'\372\3071\004>=64'
40
40
  _PXFCONFIG.fields_by_name['xms']._options = None
41
- _PXFCONFIG.fields_by_name['xms']._serialized_options = b'\372\3071\01064-16384'
41
+ _PXFCONFIG.fields_by_name['xms']._serialized_options = b'\372\3071\004>=64'
42
42
  _PXFCONFIGSET.fields_by_name['effective_config']._options = None
43
43
  _PXFCONFIGSET.fields_by_name['effective_config']._serialized_options = b'\350\3071\001'
44
44
  _PXFDATASOURCES3.fields_by_name['access_key']._options = None
@@ -46,11 +46,11 @@ if _descriptor._USE_C_DESCRIPTORS == False:
46
46
  _PXFDATASOURCES3.fields_by_name['secret_key']._options = None
47
47
  _PXFDATASOURCES3.fields_by_name['secret_key']._serialized_options = b'\212\3101\005<=200'
48
48
  _PXFDATASOURCES3.fields_by_name['endpoint']._options = None
49
- _PXFDATASOURCES3.fields_by_name['endpoint']._serialized_options = b'\212\3101\005<=200'
49
+ _PXFDATASOURCES3.fields_by_name['endpoint']._serialized_options = b'\362\3071@(((s3|https?)://)?([a-z0-9]([a-z0-9-]*[a-z0-9])?[.])+[a-z]{2,})?\212\3101\005<=200'
50
50
  _PXFDATASOURCEJDBC.fields_by_name['driver']._options = None
51
51
  _PXFDATASOURCEJDBC.fields_by_name['driver']._serialized_options = b'\212\3101\004<=50'
52
52
  _PXFDATASOURCEJDBC.fields_by_name['url']._options = None
53
- _PXFDATASOURCEJDBC.fields_by_name['url']._serialized_options = b'\212\3101\005<=200'
53
+ _PXFDATASOURCEJDBC.fields_by_name['url']._serialized_options = b'\212\3101\006<=1000'
54
54
  _PXFDATASOURCEJDBC.fields_by_name['user']._options = None
55
55
  _PXFDATASOURCEJDBC.fields_by_name['user']._serialized_options = b'\212\3101\005<=200'
56
56
  _PXFDATASOURCEJDBC.fields_by_name['password']._options = None
@@ -60,9 +60,9 @@ if _descriptor._USE_C_DESCRIPTORS == False:
60
60
  _PXFDATASOURCEJDBC.fields_by_name['statement_fetch_size']._options = None
61
61
  _PXFDATASOURCEJDBC.fields_by_name['statement_fetch_size']._serialized_options = b'\372\3071\01050-10000'
62
62
  _PXFDATASOURCEJDBC.fields_by_name['statement_query_timeout']._options = None
63
- _PXFDATASOURCEJDBC.fields_by_name['statement_query_timeout']._serialized_options = b'\372\3071\0055-600'
63
+ _PXFDATASOURCEJDBC.fields_by_name['statement_query_timeout']._serialized_options = b'\372\3071\0075-43200'
64
64
  _PXFDATASOURCEJDBC.fields_by_name['pool_maximum_size']._options = None
65
- _PXFDATASOURCEJDBC.fields_by_name['pool_maximum_size']._serialized_options = b'\372\3071\00610-200'
65
+ _PXFDATASOURCEJDBC.fields_by_name['pool_maximum_size']._serialized_options = b'\372\3071\0051-200'
66
66
  _PXFDATASOURCEJDBC.fields_by_name['pool_connection_timeout']._options = None
67
67
  _PXFDATASOURCEJDBC.fields_by_name['pool_connection_timeout']._serialized_options = b'\372\3071\0135000-600000'
68
68
  _PXFDATASOURCEJDBC.fields_by_name['pool_idle_timeout']._options = None
@@ -122,35 +122,35 @@ if _descriptor._USE_C_DESCRIPTORS == False:
122
122
  _PXFDATASOURCEHIVE.fields_by_name['auth_kerberos_principal']._options = None
123
123
  _PXFDATASOURCEHIVE.fields_by_name['auth_kerberos_principal']._serialized_options = b'\212\3101\006<=1000'
124
124
  _PXFDATASOURCE.fields_by_name['name']._options = None
125
- _PXFDATASOURCE.fields_by_name['name']._serialized_options = b'\350\3071\001\212\3101\0053-200'
125
+ _PXFDATASOURCE.fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071\022^[^\\|/*?.,;\"\'<>]+$\212\3101\0053-200'
126
126
  _globals['_PXFCONFIG']._serialized_start=138
127
- _globals['_PXFCONFIG']._serialized_end=719
128
- _globals['_PXFCONFIGSET']._serialized_start=722
129
- _globals['_PXFCONFIGSET']._serialized_end=939
130
- _globals['_PXFDATASOURCES3']._serialized_start=942
131
- _globals['_PXFDATASOURCES3']._serialized_end=1099
132
- _globals['_PXFDATASOURCEJDBC']._serialized_start=1102
133
- _globals['_PXFDATASOURCEJDBC']._serialized_end=1780
134
- _globals['_PXFDATASOURCECORE']._serialized_start=1782
135
- _globals['_PXFDATASOURCECORE']._serialized_end=1876
136
- _globals['_PXFDATASOURCEKERBEROS']._serialized_start=1879
137
- _globals['_PXFDATASOURCEKERBEROS']._serialized_end=2214
138
- _globals['_PXFDATASOURCEHDFSDFSNAMENODE']._serialized_start=2217
139
- _globals['_PXFDATASOURCEHDFSDFSNAMENODE']._serialized_end=2390
140
- _globals['_PXFDATASOURCEHDFSDFS']._serialized_start=2393
141
- _globals['_PXFDATASOURCEHDFSDFS']._serialized_end=2816
142
- _globals['_PXFDATASOURCEHDFSDFS_NAMENODESENTRY']._serialized_start=2707
143
- _globals['_PXFDATASOURCEHDFSDFS_NAMENODESENTRY']._serialized_end=2816
144
- _globals['_PXFDATASOURCEHDFSYARNHARM']._serialized_start=2819
145
- _globals['_PXFDATASOURCEHDFSYARNHARM']._serialized_end=3097
146
- _globals['_PXFDATASOURCEHDFSYARN']._serialized_start=3100
147
- _globals['_PXFDATASOURCEHDFSYARN']._serialized_end=3587
148
- _globals['_PXFDATASOURCEHDFSYARN_HARMENTRY']._serialized_start=3486
149
- _globals['_PXFDATASOURCEHDFSYARN_HARMENTRY']._serialized_end=3587
150
- _globals['_PXFDATASOURCEHDFS']._serialized_start=3590
151
- _globals['_PXFDATASOURCEHDFS']._serialized_end=4074
152
- _globals['_PXFDATASOURCEHIVE']._serialized_start=4077
153
- _globals['_PXFDATASOURCEHIVE']._serialized_end=4607
154
- _globals['_PXFDATASOURCE']._serialized_start=4610
155
- _globals['_PXFDATASOURCE']._serialized_end=4926
127
+ _globals['_PXFCONFIG']._serialized_end=711
128
+ _globals['_PXFCONFIGSET']._serialized_start=714
129
+ _globals['_PXFCONFIGSET']._serialized_end=931
130
+ _globals['_PXFDATASOURCES3']._serialized_start=934
131
+ _globals['_PXFDATASOURCES3']._serialized_end=1159
132
+ _globals['_PXFDATASOURCEJDBC']._serialized_start=1162
133
+ _globals['_PXFDATASOURCEJDBC']._serialized_end=1842
134
+ _globals['_PXFDATASOURCECORE']._serialized_start=1844
135
+ _globals['_PXFDATASOURCECORE']._serialized_end=1938
136
+ _globals['_PXFDATASOURCEKERBEROS']._serialized_start=1941
137
+ _globals['_PXFDATASOURCEKERBEROS']._serialized_end=2276
138
+ _globals['_PXFDATASOURCEHDFSDFSNAMENODE']._serialized_start=2279
139
+ _globals['_PXFDATASOURCEHDFSDFSNAMENODE']._serialized_end=2452
140
+ _globals['_PXFDATASOURCEHDFSDFS']._serialized_start=2455
141
+ _globals['_PXFDATASOURCEHDFSDFS']._serialized_end=2900
142
+ _globals['_PXFDATASOURCEHDFSDFS_NAMENODESENTRY']._serialized_start=2791
143
+ _globals['_PXFDATASOURCEHDFSDFS_NAMENODESENTRY']._serialized_end=2900
144
+ _globals['_PXFDATASOURCEHDFSYARNHARM']._serialized_start=2903
145
+ _globals['_PXFDATASOURCEHDFSYARNHARM']._serialized_end=3181
146
+ _globals['_PXFDATASOURCEHDFSYARN']._serialized_start=3184
147
+ _globals['_PXFDATASOURCEHDFSYARN']._serialized_end=3671
148
+ _globals['_PXFDATASOURCEHDFSYARN_HARMENTRY']._serialized_start=3570
149
+ _globals['_PXFDATASOURCEHDFSYARN_HARMENTRY']._serialized_end=3671
150
+ _globals['_PXFDATASOURCEHDFS']._serialized_start=3674
151
+ _globals['_PXFDATASOURCEHDFS']._serialized_end=4158
152
+ _globals['_PXFDATASOURCEHIVE']._serialized_start=4161
153
+ _globals['_PXFDATASOURCEHIVE']._serialized_end=4691
154
+ _globals['_PXFDATASOURCE']._serialized_start=4694
155
+ _globals['_PXFDATASOURCE']._serialized_end=5032
156
156
  # @@protoc_insertion_point(module_scope)
@@ -19,7 +19,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
19
19
  from yandex.cloud.mdb.greenplum.v1 import pxf_pb2 as yandex_dot_cloud_dot_mdb_dot_greenplum_dot_v1_dot_pxf__pb2
20
20
 
21
21
 
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/mdb/greenplum/v1/pxf_service.proto\x12\x1dyandex.cloud.mdb.greenplum.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\'yandex/cloud/mdb/greenplum/v1/pxf.proto\"g\n\x1b\x43reatePXFDatasourceMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x33-200\"g\n\x1bUpdatePXFDatasourceMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x33-200\"g\n\x1b\x44\x65letePXFDatasourceMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x33-200\"=\n\x19ListPXFDatasourcesRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"_\n\x1aListPXFDatasourcesResponse\x12\x41\n\x0b\x64\x61tasources\x18\x01 \x03(\x0b\x32,.yandex.cloud.mdb.greenplum.v1.PXFDatasource\"\x80\x01\n\x1a\x43reatePXFDatasourceRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12@\n\ndatasource\x18\x02 \x01(\x0b\x32,.yandex.cloud.mdb.greenplum.v1.PXFDatasource\"\xb1\x01\n\x1aUpdatePXFDatasourceRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\ndatasource\x18\x03 \x01(\x0b\x32,.yandex.cloud.mdb.greenplum.v1.PXFDatasource\"f\n\x1a\x44\x65letePXFDatasourceRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x33-2002\x93\x07\n\x14PXFDatasourceService\x12\xc0\x01\n\x04List\x12\x38.yandex.cloud.mdb.greenplum.v1.ListPXFDatasourcesRequest\x1a\x39.yandex.cloud.mdb.greenplum.v1.ListPXFDatasourcesResponse\"C\x82\xd3\xe4\x93\x02=\x12;/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasources\x12\xde\x01\n\x06\x43reate\x12\x39.yandex.cloud.mdb.greenplum.v1.CreatePXFDatasourceRequest\x1a!.yandex.cloud.operation.Operation\"v\xb2\xd2*,\n\x1b\x43reatePXFDatasourceMetadata\x12\rPXFDatasource\x82\xd3\xe4\x93\x02@\";/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasources:\x01*\x12\xde\x01\n\x06Update\x12\x39.yandex.cloud.mdb.greenplum.v1.UpdatePXFDatasourceRequest\x1a!.yandex.cloud.operation.Operation\"v\xb2\xd2*,\n\x1bUpdatePXFDatasourceMetadata\x12\rPXFDatasource\x82\xd3\xe4\x93\x02@2;/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasources:\x01*\x12\xf5\x01\n\x06\x44\x65lete\x12\x39.yandex.cloud.mdb.greenplum.v1.DeletePXFDatasourceRequest\x1a!.yandex.cloud.operation.Operation\"\x8c\x01\xb2\xd2*4\n\x1b\x44\x65letePXFDatasourceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02N*L/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasource/{datasource_name}Bp\n!yandex.cloud.api.mdb.greenplum.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/greenplum/v1;greenplumb\x06proto3')
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/mdb/greenplum/v1/pxf_service.proto\x12\x1dyandex.cloud.mdb.greenplum.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\'yandex/cloud/mdb/greenplum/v1/pxf.proto\"}\n\x1b\x43reatePXFDatasourceMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB#\xe8\xc7\x31\x01\xf2\xc7\x31\x12^[^\\|/*?.,;\"\'<>]+$\x8a\xc8\x31\x05\x33-200\"}\n\x1bUpdatePXFDatasourceMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB#\xe8\xc7\x31\x01\xf2\xc7\x31\x12^[^\\|/*?.,;\"\'<>]+$\x8a\xc8\x31\x05\x33-200\"}\n\x1b\x44\x65letePXFDatasourceMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB#\xe8\xc7\x31\x01\xf2\xc7\x31\x12^[^\\|/*?.,;\"\'<>]+$\x8a\xc8\x31\x05\x33-200\"=\n\x19ListPXFDatasourcesRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"_\n\x1aListPXFDatasourcesResponse\x12\x41\n\x0b\x64\x61tasources\x18\x01 \x03(\x0b\x32,.yandex.cloud.mdb.greenplum.v1.PXFDatasource\"\x80\x01\n\x1a\x43reatePXFDatasourceRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12@\n\ndatasource\x18\x02 \x01(\x0b\x32,.yandex.cloud.mdb.greenplum.v1.PXFDatasource\"\xb1\x01\n\x1aUpdatePXFDatasourceRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\ndatasource\x18\x03 \x01(\x0b\x32,.yandex.cloud.mdb.greenplum.v1.PXFDatasource\"|\n\x1a\x44\x65letePXFDatasourceRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0f\x64\x61tasource_name\x18\x02 \x01(\tB#\xe8\xc7\x31\x01\xf2\xc7\x31\x12^[^\\|/*?.,;\"\'<>]+$\x8a\xc8\x31\x05\x33-2002\x93\x07\n\x14PXFDatasourceService\x12\xc0\x01\n\x04List\x12\x38.yandex.cloud.mdb.greenplum.v1.ListPXFDatasourcesRequest\x1a\x39.yandex.cloud.mdb.greenplum.v1.ListPXFDatasourcesResponse\"C\x82\xd3\xe4\x93\x02=\x12;/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasources\x12\xde\x01\n\x06\x43reate\x12\x39.yandex.cloud.mdb.greenplum.v1.CreatePXFDatasourceRequest\x1a!.yandex.cloud.operation.Operation\"v\xb2\xd2*,\n\x1b\x43reatePXFDatasourceMetadata\x12\rPXFDatasource\x82\xd3\xe4\x93\x02@\";/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasources:\x01*\x12\xde\x01\n\x06Update\x12\x39.yandex.cloud.mdb.greenplum.v1.UpdatePXFDatasourceRequest\x1a!.yandex.cloud.operation.Operation\"v\xb2\xd2*,\n\x1bUpdatePXFDatasourceMetadata\x12\rPXFDatasource\x82\xd3\xe4\x93\x02@2;/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasources:\x01*\x12\xf5\x01\n\x06\x44\x65lete\x12\x39.yandex.cloud.mdb.greenplum.v1.DeletePXFDatasourceRequest\x1a!.yandex.cloud.operation.Operation\"\x8c\x01\xb2\xd2*4\n\x1b\x44\x65letePXFDatasourceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02N*L/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasource/{datasource_name}Bp\n!yandex.cloud.api.mdb.greenplum.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/greenplum/v1;greenplumb\x06proto3')
23
23
 
24
24
  _globals = globals()
25
25
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -30,15 +30,15 @@ if _descriptor._USE_C_DESCRIPTORS == False:
30
30
  _CREATEPXFDATASOURCEMETADATA.fields_by_name['cluster_id']._options = None
31
31
  _CREATEPXFDATASOURCEMETADATA.fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
32
32
  _CREATEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._options = None
33
- _CREATEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\212\3101\0053-200'
33
+ _CREATEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\362\3071\022^[^\\|/*?.,;\"\'<>]+$\212\3101\0053-200'
34
34
  _UPDATEPXFDATASOURCEMETADATA.fields_by_name['cluster_id']._options = None
35
35
  _UPDATEPXFDATASOURCEMETADATA.fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
36
36
  _UPDATEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._options = None
37
- _UPDATEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\212\3101\0053-200'
37
+ _UPDATEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\362\3071\022^[^\\|/*?.,;\"\'<>]+$\212\3101\0053-200'
38
38
  _DELETEPXFDATASOURCEMETADATA.fields_by_name['cluster_id']._options = None
39
39
  _DELETEPXFDATASOURCEMETADATA.fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
40
40
  _DELETEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._options = None
41
- _DELETEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\212\3101\0053-200'
41
+ _DELETEPXFDATASOURCEMETADATA.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\362\3071\022^[^\\|/*?.,;\"\'<>]+$\212\3101\0053-200'
42
42
  _LISTPXFDATASOURCESREQUEST.fields_by_name['cluster_id']._options = None
43
43
  _LISTPXFDATASOURCESREQUEST.fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
44
44
  _CREATEPXFDATASOURCEREQUEST.fields_by_name['cluster_id']._options = None
@@ -48,7 +48,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
48
48
  _DELETEPXFDATASOURCEREQUEST.fields_by_name['cluster_id']._options = None
49
49
  _DELETEPXFDATASOURCEREQUEST.fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
50
50
  _DELETEPXFDATASOURCEREQUEST.fields_by_name['datasource_name']._options = None
51
- _DELETEPXFDATASOURCEREQUEST.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\212\3101\0053-200'
51
+ _DELETEPXFDATASOURCEREQUEST.fields_by_name['datasource_name']._serialized_options = b'\350\3071\001\362\3071\022^[^\\|/*?.,;\"\'<>]+$\212\3101\0053-200'
52
52
  _PXFDATASOURCESERVICE.methods_by_name['List']._options = None
53
53
  _PXFDATASOURCESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002=\022;/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasources'
54
54
  _PXFDATASOURCESERVICE.methods_by_name['Create']._options = None
@@ -58,21 +58,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
58
58
  _PXFDATASOURCESERVICE.methods_by_name['Delete']._options = None
59
59
  _PXFDATASOURCESERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*4\n\033DeletePXFDatasourceMetadata\022\025google.protobuf.Empty\202\323\344\223\002N*L/managed-greenplum/v1/clusters/{cluster_id}/pxf_datasource/{datasource_name}'
60
60
  _globals['_CREATEPXFDATASOURCEMETADATA']._serialized_start=292
61
- _globals['_CREATEPXFDATASOURCEMETADATA']._serialized_end=395
62
- _globals['_UPDATEPXFDATASOURCEMETADATA']._serialized_start=397
63
- _globals['_UPDATEPXFDATASOURCEMETADATA']._serialized_end=500
64
- _globals['_DELETEPXFDATASOURCEMETADATA']._serialized_start=502
65
- _globals['_DELETEPXFDATASOURCEMETADATA']._serialized_end=605
66
- _globals['_LISTPXFDATASOURCESREQUEST']._serialized_start=607
67
- _globals['_LISTPXFDATASOURCESREQUEST']._serialized_end=668
68
- _globals['_LISTPXFDATASOURCESRESPONSE']._serialized_start=670
69
- _globals['_LISTPXFDATASOURCESRESPONSE']._serialized_end=765
70
- _globals['_CREATEPXFDATASOURCEREQUEST']._serialized_start=768
71
- _globals['_CREATEPXFDATASOURCEREQUEST']._serialized_end=896
72
- _globals['_UPDATEPXFDATASOURCEREQUEST']._serialized_start=899
73
- _globals['_UPDATEPXFDATASOURCEREQUEST']._serialized_end=1076
74
- _globals['_DELETEPXFDATASOURCEREQUEST']._serialized_start=1078
75
- _globals['_DELETEPXFDATASOURCEREQUEST']._serialized_end=1180
76
- _globals['_PXFDATASOURCESERVICE']._serialized_start=1183
77
- _globals['_PXFDATASOURCESERVICE']._serialized_end=2098
61
+ _globals['_CREATEPXFDATASOURCEMETADATA']._serialized_end=417
62
+ _globals['_UPDATEPXFDATASOURCEMETADATA']._serialized_start=419
63
+ _globals['_UPDATEPXFDATASOURCEMETADATA']._serialized_end=544
64
+ _globals['_DELETEPXFDATASOURCEMETADATA']._serialized_start=546
65
+ _globals['_DELETEPXFDATASOURCEMETADATA']._serialized_end=671
66
+ _globals['_LISTPXFDATASOURCESREQUEST']._serialized_start=673
67
+ _globals['_LISTPXFDATASOURCESREQUEST']._serialized_end=734
68
+ _globals['_LISTPXFDATASOURCESRESPONSE']._serialized_start=736
69
+ _globals['_LISTPXFDATASOURCESRESPONSE']._serialized_end=831
70
+ _globals['_CREATEPXFDATASOURCEREQUEST']._serialized_start=834
71
+ _globals['_CREATEPXFDATASOURCEREQUEST']._serialized_end=962
72
+ _globals['_UPDATEPXFDATASOURCEREQUEST']._serialized_start=965
73
+ _globals['_UPDATEPXFDATASOURCEREQUEST']._serialized_end=1142
74
+ _globals['_DELETEPXFDATASOURCEREQUEST']._serialized_start=1144
75
+ _globals['_DELETEPXFDATASOURCEREQUEST']._serialized_end=1268
76
+ _globals['_PXFDATASOURCESERVICE']._serialized_start=1271
77
+ _globals['_PXFDATASOURCESERVICE']._serialized_end=2186
78
78
  # @@protoc_insertion_point(module_scope)
@@ -11,12 +11,13 @@ from google.protobuf.internal import builder as _builder
11
11
  _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
14
15
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
16
  from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_logging_dot_v1_dot_log__entry__pb2
16
17
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
17
18
 
18
19
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/serverless/apigateway/v1/apigateway.proto\x12%yandex.cloud.serverless.apigateway.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xb5\x07\n\nApiGateway\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12M\n\x06labels\x18\x07 \x03(\x0b\x32=.yandex.cloud.serverless.apigateway.v1.ApiGateway.LabelsEntry\x12H\n\x06status\x18\x08 \x01(\x0e\x32\x38.yandex.cloud.serverless.apigateway.v1.ApiGateway.Status\x12\x0e\n\x06\x64omain\x18\t \x01(\t\x12\x14\n\x0clog_group_id\x18\n \x01(\t\x12O\n\x10\x61ttached_domains\x18\x0b \x03(\x0b\x32\x35.yandex.cloud.serverless.apigateway.v1.AttachedDomain\x12I\n\x0c\x63onnectivity\x18\x0c \x01(\x0b\x32\x33.yandex.cloud.serverless.apigateway.v1.Connectivity\x12\x46\n\x0blog_options\x18\r \x01(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.LogOptions\x12S\n\tvariables\x18\x0e \x03(\x0b\x32@.yandex.cloud.serverless.apigateway.v1.ApiGateway.VariablesEntry\x12=\n\x06\x63\x61nary\x18\x0f \x01(\x0b\x32-.yandex.cloud.serverless.apigateway.v1.Canary\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\"a\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08UPDATING\x10\x05J\x04\x08\x06\x10\x07\"b\n\x0e\x41ttachedDomain\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x16\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\x12\x0e\n\x06\x64omain\x18\x05 \x01(\tJ\x04\x08\x04\x10\x05\"5\n\x0c\x43onnectivity\x12\x12\n\nnetwork_id\x18\x01 \x01(\t\x12\x11\n\tsubnet_id\x18\x02 \x03(\t\"\x96\x01\n\nLogOptions\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x16\n\x0clog_group_id\x18\x02 \x01(\tH\x00\x12\x13\n\tfolder_id\x18\x03 \x01(\tH\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\"\xe3\x01\n\x06\x43\x61nary\x12\x18\n\x06weight\x18\x01 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-99\x12W\n\tvariables\x18\x02 \x03(\x0b\x32<.yandex.cloud.serverless.apigateway.v1.Canary.VariablesEntryB\x06\x82\xc8\x31\x02>0\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\"|\n\rVariableInput\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x42\x10\n\x0evariable_valueB\x81\x01\n)yandex.cloud.api.serverless.apigateway.v1ZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/apigateway/v1;apigatewayb\x06proto3')
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/serverless/apigateway/v1/apigateway.proto\x12%yandex.cloud.serverless.apigateway.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xf7\x07\n\nApiGateway\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12M\n\x06labels\x18\x07 \x03(\x0b\x32=.yandex.cloud.serverless.apigateway.v1.ApiGateway.LabelsEntry\x12H\n\x06status\x18\x08 \x01(\x0e\x32\x38.yandex.cloud.serverless.apigateway.v1.ApiGateway.Status\x12\x0e\n\x06\x64omain\x18\t \x01(\t\x12\x14\n\x0clog_group_id\x18\n \x01(\t\x12O\n\x10\x61ttached_domains\x18\x0b \x03(\x0b\x32\x35.yandex.cloud.serverless.apigateway.v1.AttachedDomain\x12I\n\x0c\x63onnectivity\x18\x0c \x01(\x0b\x32\x33.yandex.cloud.serverless.apigateway.v1.Connectivity\x12\x46\n\x0blog_options\x18\r \x01(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.LogOptions\x12S\n\tvariables\x18\x0e \x03(\x0b\x32@.yandex.cloud.serverless.apigateway.v1.ApiGateway.VariablesEntry\x12=\n\x06\x63\x61nary\x18\x0f \x01(\x0b\x32-.yandex.cloud.serverless.apigateway.v1.Canary\x12@\n\x11\x65xecution_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xfa\xc7\x31\x06<=600s\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\"a\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08UPDATING\x10\x05J\x04\x08\x06\x10\x07\"b\n\x0e\x41ttachedDomain\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x16\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\x12\x0e\n\x06\x64omain\x18\x05 \x01(\tJ\x04\x08\x04\x10\x05\"5\n\x0c\x43onnectivity\x12\x12\n\nnetwork_id\x18\x01 \x01(\t\x12\x11\n\tsubnet_id\x18\x02 \x03(\t\"\x96\x01\n\nLogOptions\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x16\n\x0clog_group_id\x18\x02 \x01(\tH\x00\x12\x13\n\tfolder_id\x18\x03 \x01(\tH\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\"\xe3\x01\n\x06\x43\x61nary\x12\x18\n\x06weight\x18\x01 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-99\x12W\n\tvariables\x18\x02 \x03(\x0b\x32<.yandex.cloud.serverless.apigateway.v1.Canary.VariablesEntryB\x06\x82\xc8\x31\x02>0\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\"|\n\rVariableInput\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x42\x10\n\x0evariable_valueB\x81\x01\n)yandex.cloud.api.serverless.apigateway.v1ZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/apigateway/v1;apigatewayb\x06proto3')
20
21
 
21
22
  _globals = globals()
22
23
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -28,30 +29,32 @@ if _descriptor._USE_C_DESCRIPTORS == False:
28
29
  _APIGATEWAY_LABELSENTRY._serialized_options = b'8\001'
29
30
  _APIGATEWAY_VARIABLESENTRY._options = None
30
31
  _APIGATEWAY_VARIABLESENTRY._serialized_options = b'8\001'
32
+ _APIGATEWAY.fields_by_name['execution_timeout']._options = None
33
+ _APIGATEWAY.fields_by_name['execution_timeout']._serialized_options = b'\372\3071\006<=600s'
31
34
  _CANARY_VARIABLESENTRY._options = None
32
35
  _CANARY_VARIABLESENTRY._serialized_options = b'8\001'
33
36
  _CANARY.fields_by_name['weight']._options = None
34
37
  _CANARY.fields_by_name['weight']._serialized_options = b'\372\3071\0040-99'
35
38
  _CANARY.fields_by_name['variables']._options = None
36
39
  _CANARY.fields_by_name['variables']._serialized_options = b'\202\3101\002>0'
37
- _globals['_APIGATEWAY']._serialized_start=203
38
- _globals['_APIGATEWAY']._serialized_end=1152
39
- _globals['_APIGATEWAY_LABELSENTRY']._serialized_start=898
40
- _globals['_APIGATEWAY_LABELSENTRY']._serialized_end=943
41
- _globals['_APIGATEWAY_VARIABLESENTRY']._serialized_start=945
42
- _globals['_APIGATEWAY_VARIABLESENTRY']._serialized_end=1047
43
- _globals['_APIGATEWAY_STATUS']._serialized_start=1049
44
- _globals['_APIGATEWAY_STATUS']._serialized_end=1146
45
- _globals['_ATTACHEDDOMAIN']._serialized_start=1154
46
- _globals['_ATTACHEDDOMAIN']._serialized_end=1252
47
- _globals['_CONNECTIVITY']._serialized_start=1254
48
- _globals['_CONNECTIVITY']._serialized_end=1307
49
- _globals['_LOGOPTIONS']._serialized_start=1310
50
- _globals['_LOGOPTIONS']._serialized_end=1460
51
- _globals['_CANARY']._serialized_start=1463
52
- _globals['_CANARY']._serialized_end=1690
53
- _globals['_CANARY_VARIABLESENTRY']._serialized_start=945
54
- _globals['_CANARY_VARIABLESENTRY']._serialized_end=1047
55
- _globals['_VARIABLEINPUT']._serialized_start=1692
56
- _globals['_VARIABLEINPUT']._serialized_end=1816
40
+ _globals['_APIGATEWAY']._serialized_start=235
41
+ _globals['_APIGATEWAY']._serialized_end=1250
42
+ _globals['_APIGATEWAY_LABELSENTRY']._serialized_start=996
43
+ _globals['_APIGATEWAY_LABELSENTRY']._serialized_end=1041
44
+ _globals['_APIGATEWAY_VARIABLESENTRY']._serialized_start=1043
45
+ _globals['_APIGATEWAY_VARIABLESENTRY']._serialized_end=1145
46
+ _globals['_APIGATEWAY_STATUS']._serialized_start=1147
47
+ _globals['_APIGATEWAY_STATUS']._serialized_end=1244
48
+ _globals['_ATTACHEDDOMAIN']._serialized_start=1252
49
+ _globals['_ATTACHEDDOMAIN']._serialized_end=1350
50
+ _globals['_CONNECTIVITY']._serialized_start=1352
51
+ _globals['_CONNECTIVITY']._serialized_end=1405
52
+ _globals['_LOGOPTIONS']._serialized_start=1408
53
+ _globals['_LOGOPTIONS']._serialized_end=1558
54
+ _globals['_CANARY']._serialized_start=1561
55
+ _globals['_CANARY']._serialized_end=1788
56
+ _globals['_CANARY_VARIABLESENTRY']._serialized_start=1043
57
+ _globals['_CANARY_VARIABLESENTRY']._serialized_end=1145
58
+ _globals['_VARIABLEINPUT']._serialized_start=1790
59
+ _globals['_VARIABLEINPUT']._serialized_end=1914
57
60
  # @@protoc_insertion_point(module_scope)
@@ -13,14 +13,15 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
15
  from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
16
- from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
16
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
17
17
  from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
18
+ from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
18
19
  from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
19
20
  from yandex.cloud.serverless.apigateway.v1 import apigateway_pb2 as yandex_dot_cloud_dot_serverless_dot_apigateway_dot_v1_dot_apigateway__pb2
20
21
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
21
22
 
22
23
 
23
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>yandex/cloud/serverless/apigateway/v1/apigateway_service.proto\x12%yandex.cloud.serverless.apigateway.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x36yandex/cloud/serverless/apigateway/v1/apigateway.proto\x1a\x1dyandex/cloud/validation.proto\"4\n\x14GetApiGatewayRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"g\n\x15ListApiGatewayRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"z\n\x16ListApiGatewayResponse\x12G\n\x0c\x61pi_gateways\x18\x01 \x03(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.ApiGateway\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x06\n\x17\x43reateApiGatewayRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9f\x01\n\x06labels\x18\x04 \x03(\x0b\x32J.yandex.cloud.serverless.apigateway.v1.CreateApiGatewayRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x16\n\x0copenapi_spec\x18\x05 \x01(\tH\x00\x12I\n\x0c\x63onnectivity\x18\x06 \x01(\x0b\x32\x33.yandex.cloud.serverless.apigateway.v1.Connectivity\x12\x46\n\x0blog_options\x18\x07 \x01(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.LogOptions\x12`\n\tvariables\x18\x08 \x03(\x0b\x32M.yandex.cloud.serverless.apigateway.v1.CreateApiGatewayRequest.VariablesEntry\x12=\n\x06\x63\x61nary\x18\t \x01(\x0b\x32-.yandex.cloud.serverless.apigateway.v1.Canary\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\x42\x0c\n\x04spec\x12\x04\xc0\xc1\x31\x01\"\xcf\x06\n\x17UpdateApiGatewayRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9f\x01\n\x06labels\x18\x05 \x03(\x0b\x32J.yandex.cloud.serverless.apigateway.v1.UpdateApiGatewayRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x16\n\x0copenapi_spec\x18\x06 \x01(\tH\x00\x12I\n\x0c\x63onnectivity\x18\x07 \x01(\x0b\x32\x33.yandex.cloud.serverless.apigateway.v1.Connectivity\x12\x46\n\x0blog_options\x18\x08 \x01(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.LogOptions\x12`\n\tvariables\x18\t \x03(\x0b\x32M.yandex.cloud.serverless.apigateway.v1.UpdateApiGatewayRequest.VariablesEntry\x12=\n\x06\x63\x61nary\x18\n \x01(\x0b\x32-.yandex.cloud.serverless.apigateway.v1.Canary\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\x42\x0c\n\x04spec\x12\x04\xc0\xc1\x31\x01\"7\n\x17\x44\x65leteApiGatewayRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"c\n\x10\x41\x64\x64\x44omainRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64omain_name\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x65rtificate_id\x18\x04 \x01(\tJ\x04\x08\x02\x10\x03\"L\n\x13RemoveDomainRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tdomain_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"2\n\x18\x43reateApiGatewayMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\"2\n\x18UpdateApiGatewayMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\"2\n\x18\x44\x65leteApiGatewayMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\"k\n\x11\x41\x64\x64\x44omainMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64omain_name\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x65rtificate_id\x18\x04 \x01(\t\"A\n\x14RemoveDomainMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\"\x8f\x01\n\x15ListOperationsRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"h\n\x16ListOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc0\x01\n\x15GetOpenapiSpecRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12S\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x43.yandex.cloud.serverless.apigateway.v1.GetOpenapiSpecRequest.Format\"4\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x08\n\x04YAML\x10\x02\"F\n\x16GetOpenapiSpecResponse\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\x12\x14\n\x0copenapi_spec\x18\x02 \x01(\t2\xda\x13\n\x11\x41piGatewayService\x12\xab\x01\n\x03Get\x12;.yandex.cloud.serverless.apigateway.v1.GetApiGatewayRequest\x1a\x31.yandex.cloud.serverless.apigateway.v1.ApiGateway\"4\x82\xd3\xe4\x93\x02.\x12,/apigateways/v1/apigateways/{api_gateway_id}\x12\xa8\x01\n\x04List\x12<.yandex.cloud.serverless.apigateway.v1.ListApiGatewayRequest\x1a=.yandex.cloud.serverless.apigateway.v1.ListApiGatewayResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/apigateways/v1/apigateways\x12\xbd\x01\n\x06\x43reate\x12>.yandex.cloud.serverless.apigateway.v1.CreateApiGatewayRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*&\n\x18\x43reateApiGatewayMetadata\x12\nApiGateway\x82\xd3\xe4\x93\x02 \"\x1b/apigateways/v1/apigateways:\x01*\x12\xce\x01\n\x06Update\x12>.yandex.cloud.serverless.apigateway.v1.UpdateApiGatewayRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*&\n\x18UpdateApiGatewayMetadata\x12\nApiGateway\x82\xd3\xe4\x93\x02\x31\x32,/apigateways/v1/apigateways/{api_gateway_id}:\x01*\x12\xd6\x01\n\x06\x44\x65lete\x12>.yandex.cloud.serverless.apigateway.v1.DeleteApiGatewayRequest\x1a!.yandex.cloud.operation.Operation\"i\xb2\xd2*1\n\x18\x44\x65leteApiGatewayMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02.*,/apigateways/v1/apigateways/{api_gateway_id}\x12\xd8\x01\n\tAddDomain\x12\x37.yandex.cloud.serverless.apigateway.v1.AddDomainRequest\x1a!.yandex.cloud.operation.Operation\"o\xb2\xd2**\n\x11\x41\x64\x64\x44omainMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02;\"6/apigateways/v1/apigateways/{api_gateway_id}:addDomain:\x01*\x12\xe4\x01\n\x0cRemoveDomain\x12:.yandex.cloud.serverless.apigateway.v1.RemoveDomainRequest\x1a!.yandex.cloud.operation.Operation\"u\xb2\xd2*-\n\x14RemoveDomainMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02>\"9/apigateways/v1/apigateways/{api_gateway_id}:removeDomain:\x01*\x12\xc8\x01\n\x0eGetOpenapiSpec\x12<.yandex.cloud.serverless.apigateway.v1.GetOpenapiSpecRequest\x1a=.yandex.cloud.serverless.apigateway.v1.GetOpenapiSpecResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/apigateways/v1/apigateways/{api_gateway_id}:spec\x12\xce\x01\n\x0eListOperations\x12<.yandex.cloud.serverless.apigateway.v1.ListOperationsRequest\x1a=.yandex.cloud.serverless.apigateway.v1.ListOperationsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/apigateways/v1/apigateways/{api_gateway_id}/operations\x12\xbb\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"D\x82\xd3\xe4\x93\x02>\x12</apigateways/v1/apigateways/{resource_id}:listAccessBindings\x12\xeb\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x83\x01\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@\";/apigateways/v1/apigateways/{resource_id}:setAccessBindings:\x01*\x12\xf7\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x43\x32>/apigateways/v1/apigateways/{resource_id}:updateAccessBindings:\x01*B\x81\x01\n)yandex.cloud.api.serverless.apigateway.v1ZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/apigateway/v1;apigatewayb\x06proto3')
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>yandex/cloud/serverless/apigateway/v1/apigateway_service.proto\x12%yandex.cloud.serverless.apigateway.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/duration.proto\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/access/access.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x36yandex/cloud/serverless/apigateway/v1/apigateway.proto\x1a\x1dyandex/cloud/validation.proto\"4\n\x14GetApiGatewayRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"g\n\x15ListApiGatewayRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"z\n\x16ListApiGatewayResponse\x12G\n\x0c\x61pi_gateways\x18\x01 \x03(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.ApiGateway\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdb\x06\n\x17\x43reateApiGatewayRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9f\x01\n\x06labels\x18\x04 \x03(\x0b\x32J.yandex.cloud.serverless.apigateway.v1.CreateApiGatewayRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x16\n\x0copenapi_spec\x18\x05 \x01(\tH\x00\x12I\n\x0c\x63onnectivity\x18\x06 \x01(\x0b\x32\x33.yandex.cloud.serverless.apigateway.v1.Connectivity\x12\x46\n\x0blog_options\x18\x07 \x01(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.LogOptions\x12`\n\tvariables\x18\x08 \x03(\x0b\x32M.yandex.cloud.serverless.apigateway.v1.CreateApiGatewayRequest.VariablesEntry\x12=\n\x06\x63\x61nary\x18\t \x01(\x0b\x32-.yandex.cloud.serverless.apigateway.v1.Canary\x12@\n\x11\x65xecution_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xfa\xc7\x31\x06<=600s\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\x42\x0c\n\x04spec\x12\x04\xc0\xc1\x31\x01\"\x91\x07\n\x17UpdateApiGatewayRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9f\x01\n\x06labels\x18\x05 \x03(\x0b\x32J.yandex.cloud.serverless.apigateway.v1.UpdateApiGatewayRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x16\n\x0copenapi_spec\x18\x06 \x01(\tH\x00\x12I\n\x0c\x63onnectivity\x18\x07 \x01(\x0b\x32\x33.yandex.cloud.serverless.apigateway.v1.Connectivity\x12\x46\n\x0blog_options\x18\x08 \x01(\x0b\x32\x31.yandex.cloud.serverless.apigateway.v1.LogOptions\x12`\n\tvariables\x18\t \x03(\x0b\x32M.yandex.cloud.serverless.apigateway.v1.UpdateApiGatewayRequest.VariablesEntry\x12=\n\x06\x63\x61nary\x18\n \x01(\x0b\x32-.yandex.cloud.serverless.apigateway.v1.Canary\x12@\n\x11\x65xecution_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xfa\xc7\x31\x06<=600s\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x66\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.apigateway.v1.VariableInput:\x02\x38\x01\x42\x0c\n\x04spec\x12\x04\xc0\xc1\x31\x01\"7\n\x17\x44\x65leteApiGatewayRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"c\n\x10\x41\x64\x64\x44omainRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64omain_name\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x65rtificate_id\x18\x04 \x01(\tJ\x04\x08\x02\x10\x03\"L\n\x13RemoveDomainRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tdomain_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"2\n\x18\x43reateApiGatewayMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\"2\n\x18UpdateApiGatewayMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\"2\n\x18\x44\x65leteApiGatewayMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\"k\n\x11\x41\x64\x64\x44omainMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64omain_name\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x65rtificate_id\x18\x04 \x01(\t\"A\n\x14RemoveDomainMetadata\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\"\x8f\x01\n\x15ListOperationsRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"h\n\x16ListOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc0\x01\n\x15GetOpenapiSpecRequest\x12\x1c\n\x0e\x61pi_gateway_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12S\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x43.yandex.cloud.serverless.apigateway.v1.GetOpenapiSpecRequest.Format\"4\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x08\n\x04YAML\x10\x02\"F\n\x16GetOpenapiSpecResponse\x12\x16\n\x0e\x61pi_gateway_id\x18\x01 \x01(\t\x12\x14\n\x0copenapi_spec\x18\x02 \x01(\t2\xda\x13\n\x11\x41piGatewayService\x12\xab\x01\n\x03Get\x12;.yandex.cloud.serverless.apigateway.v1.GetApiGatewayRequest\x1a\x31.yandex.cloud.serverless.apigateway.v1.ApiGateway\"4\x82\xd3\xe4\x93\x02.\x12,/apigateways/v1/apigateways/{api_gateway_id}\x12\xa8\x01\n\x04List\x12<.yandex.cloud.serverless.apigateway.v1.ListApiGatewayRequest\x1a=.yandex.cloud.serverless.apigateway.v1.ListApiGatewayResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/apigateways/v1/apigateways\x12\xbd\x01\n\x06\x43reate\x12>.yandex.cloud.serverless.apigateway.v1.CreateApiGatewayRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*&\n\x18\x43reateApiGatewayMetadata\x12\nApiGateway\x82\xd3\xe4\x93\x02 \"\x1b/apigateways/v1/apigateways:\x01*\x12\xce\x01\n\x06Update\x12>.yandex.cloud.serverless.apigateway.v1.UpdateApiGatewayRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*&\n\x18UpdateApiGatewayMetadata\x12\nApiGateway\x82\xd3\xe4\x93\x02\x31\x32,/apigateways/v1/apigateways/{api_gateway_id}:\x01*\x12\xd6\x01\n\x06\x44\x65lete\x12>.yandex.cloud.serverless.apigateway.v1.DeleteApiGatewayRequest\x1a!.yandex.cloud.operation.Operation\"i\xb2\xd2*1\n\x18\x44\x65leteApiGatewayMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02.*,/apigateways/v1/apigateways/{api_gateway_id}\x12\xd8\x01\n\tAddDomain\x12\x37.yandex.cloud.serverless.apigateway.v1.AddDomainRequest\x1a!.yandex.cloud.operation.Operation\"o\xb2\xd2**\n\x11\x41\x64\x64\x44omainMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02;\"6/apigateways/v1/apigateways/{api_gateway_id}:addDomain:\x01*\x12\xe4\x01\n\x0cRemoveDomain\x12:.yandex.cloud.serverless.apigateway.v1.RemoveDomainRequest\x1a!.yandex.cloud.operation.Operation\"u\xb2\xd2*-\n\x14RemoveDomainMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02>\"9/apigateways/v1/apigateways/{api_gateway_id}:removeDomain:\x01*\x12\xc8\x01\n\x0eGetOpenapiSpec\x12<.yandex.cloud.serverless.apigateway.v1.GetOpenapiSpecRequest\x1a=.yandex.cloud.serverless.apigateway.v1.GetOpenapiSpecResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/apigateways/v1/apigateways/{api_gateway_id}:spec\x12\xce\x01\n\x0eListOperations\x12<.yandex.cloud.serverless.apigateway.v1.ListOperationsRequest\x1a=.yandex.cloud.serverless.apigateway.v1.ListOperationsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/apigateways/v1/apigateways/{api_gateway_id}/operations\x12\xbb\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"D\x82\xd3\xe4\x93\x02>\x12</apigateways/v1/apigateways/{resource_id}:listAccessBindings\x12\xeb\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x83\x01\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@\";/apigateways/v1/apigateways/{resource_id}:setAccessBindings:\x01*\x12\xf7\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x43\x32>/apigateways/v1/apigateways/{resource_id}:updateAccessBindings:\x01*B\x81\x01\n)yandex.cloud.api.serverless.apigateway.v1ZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/apigateway/v1;apigatewayb\x06proto3')
24
25
 
25
26
  _globals = globals()
26
27
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -46,6 +47,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
46
47
  _CREATEAPIGATEWAYREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
47
48
  _CREATEAPIGATEWAYREQUEST.fields_by_name['labels']._options = None
48
49
  _CREATEAPIGATEWAYREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_./\\@0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\034\022\024[a-z][-_./\\@0-9a-z]*\032\0041-63'
50
+ _CREATEAPIGATEWAYREQUEST.fields_by_name['execution_timeout']._options = None
51
+ _CREATEAPIGATEWAYREQUEST.fields_by_name['execution_timeout']._serialized_options = b'\372\3071\006<=600s'
49
52
  _UPDATEAPIGATEWAYREQUEST_LABELSENTRY._options = None
50
53
  _UPDATEAPIGATEWAYREQUEST_LABELSENTRY._serialized_options = b'8\001'
51
54
  _UPDATEAPIGATEWAYREQUEST_VARIABLESENTRY._options = None
@@ -60,6 +63,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
60
63
  _UPDATEAPIGATEWAYREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
61
64
  _UPDATEAPIGATEWAYREQUEST.fields_by_name['labels']._options = None
62
65
  _UPDATEAPIGATEWAYREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_./\\@0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\034\022\024[a-z][-_./\\@0-9a-z]*\032\0041-63'
66
+ _UPDATEAPIGATEWAYREQUEST.fields_by_name['execution_timeout']._options = None
67
+ _UPDATEAPIGATEWAYREQUEST.fields_by_name['execution_timeout']._serialized_options = b'\372\3071\006<=600s'
63
68
  _DELETEAPIGATEWAYREQUEST.fields_by_name['api_gateway_id']._options = None
64
69
  _DELETEAPIGATEWAYREQUEST.fields_by_name['api_gateway_id']._serialized_options = b'\350\3071\001'
65
70
  _ADDDOMAINREQUEST.fields_by_name['api_gateway_id']._options = None
@@ -102,50 +107,50 @@ if _descriptor._USE_C_DESCRIPTORS == False:
102
107
  _APIGATEWAYSERVICE.methods_by_name['SetAccessBindings']._serialized_options = b'\262\322*9\n access.SetAccessBindingsMetadata\022\025google.protobuf.Empty\202\323\344\223\002@\";/apigateways/v1/apigateways/{resource_id}:setAccessBindings:\001*'
103
108
  _APIGATEWAYSERVICE.methods_by_name['UpdateAccessBindings']._options = None
104
109
  _APIGATEWAYSERVICE.methods_by_name['UpdateAccessBindings']._serialized_options = b'\262\322*<\n#access.UpdateAccessBindingsMetadata\022\025google.protobuf.Empty\202\323\344\223\002C2>/apigateways/v1/apigateways/{resource_id}:updateAccessBindings:\001*'
105
- _globals['_GETAPIGATEWAYREQUEST']._serialized_start=364
106
- _globals['_GETAPIGATEWAYREQUEST']._serialized_end=416
107
- _globals['_LISTAPIGATEWAYREQUEST']._serialized_start=418
108
- _globals['_LISTAPIGATEWAYREQUEST']._serialized_end=521
109
- _globals['_LISTAPIGATEWAYRESPONSE']._serialized_start=523
110
- _globals['_LISTAPIGATEWAYRESPONSE']._serialized_end=645
111
- _globals['_CREATEAPIGATEWAYREQUEST']._serialized_start=648
112
- _globals['_CREATEAPIGATEWAYREQUEST']._serialized_end=1441
113
- _globals['_CREATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_start=1278
114
- _globals['_CREATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_end=1323
115
- _globals['_CREATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_start=1325
116
- _globals['_CREATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_end=1427
117
- _globals['_UPDATEAPIGATEWAYREQUEST']._serialized_start=1444
118
- _globals['_UPDATEAPIGATEWAYREQUEST']._serialized_end=2291
119
- _globals['_UPDATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_start=1278
120
- _globals['_UPDATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_end=1323
121
- _globals['_UPDATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_start=1325
122
- _globals['_UPDATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_end=1427
123
- _globals['_DELETEAPIGATEWAYREQUEST']._serialized_start=2293
124
- _globals['_DELETEAPIGATEWAYREQUEST']._serialized_end=2348
125
- _globals['_ADDDOMAINREQUEST']._serialized_start=2350
126
- _globals['_ADDDOMAINREQUEST']._serialized_end=2449
127
- _globals['_REMOVEDOMAINREQUEST']._serialized_start=2451
128
- _globals['_REMOVEDOMAINREQUEST']._serialized_end=2527
129
- _globals['_CREATEAPIGATEWAYMETADATA']._serialized_start=2529
130
- _globals['_CREATEAPIGATEWAYMETADATA']._serialized_end=2579
131
- _globals['_UPDATEAPIGATEWAYMETADATA']._serialized_start=2581
132
- _globals['_UPDATEAPIGATEWAYMETADATA']._serialized_end=2631
133
- _globals['_DELETEAPIGATEWAYMETADATA']._serialized_start=2633
134
- _globals['_DELETEAPIGATEWAYMETADATA']._serialized_end=2683
135
- _globals['_ADDDOMAINMETADATA']._serialized_start=2685
136
- _globals['_ADDDOMAINMETADATA']._serialized_end=2792
137
- _globals['_REMOVEDOMAINMETADATA']._serialized_start=2794
138
- _globals['_REMOVEDOMAINMETADATA']._serialized_end=2859
139
- _globals['_LISTOPERATIONSREQUEST']._serialized_start=2862
140
- _globals['_LISTOPERATIONSREQUEST']._serialized_end=3005
141
- _globals['_LISTOPERATIONSRESPONSE']._serialized_start=3007
142
- _globals['_LISTOPERATIONSRESPONSE']._serialized_end=3111
143
- _globals['_GETOPENAPISPECREQUEST']._serialized_start=3114
144
- _globals['_GETOPENAPISPECREQUEST']._serialized_end=3306
145
- _globals['_GETOPENAPISPECREQUEST_FORMAT']._serialized_start=3254
146
- _globals['_GETOPENAPISPECREQUEST_FORMAT']._serialized_end=3306
147
- _globals['_GETOPENAPISPECRESPONSE']._serialized_start=3308
148
- _globals['_GETOPENAPISPECRESPONSE']._serialized_end=3378
149
- _globals['_APIGATEWAYSERVICE']._serialized_start=3381
150
- _globals['_APIGATEWAYSERVICE']._serialized_end=5903
110
+ _globals['_GETAPIGATEWAYREQUEST']._serialized_start=396
111
+ _globals['_GETAPIGATEWAYREQUEST']._serialized_end=448
112
+ _globals['_LISTAPIGATEWAYREQUEST']._serialized_start=450
113
+ _globals['_LISTAPIGATEWAYREQUEST']._serialized_end=553
114
+ _globals['_LISTAPIGATEWAYRESPONSE']._serialized_start=555
115
+ _globals['_LISTAPIGATEWAYRESPONSE']._serialized_end=677
116
+ _globals['_CREATEAPIGATEWAYREQUEST']._serialized_start=680
117
+ _globals['_CREATEAPIGATEWAYREQUEST']._serialized_end=1539
118
+ _globals['_CREATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_start=1376
119
+ _globals['_CREATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_end=1421
120
+ _globals['_CREATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_start=1423
121
+ _globals['_CREATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_end=1525
122
+ _globals['_UPDATEAPIGATEWAYREQUEST']._serialized_start=1542
123
+ _globals['_UPDATEAPIGATEWAYREQUEST']._serialized_end=2455
124
+ _globals['_UPDATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_start=1376
125
+ _globals['_UPDATEAPIGATEWAYREQUEST_LABELSENTRY']._serialized_end=1421
126
+ _globals['_UPDATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_start=1423
127
+ _globals['_UPDATEAPIGATEWAYREQUEST_VARIABLESENTRY']._serialized_end=1525
128
+ _globals['_DELETEAPIGATEWAYREQUEST']._serialized_start=2457
129
+ _globals['_DELETEAPIGATEWAYREQUEST']._serialized_end=2512
130
+ _globals['_ADDDOMAINREQUEST']._serialized_start=2514
131
+ _globals['_ADDDOMAINREQUEST']._serialized_end=2613
132
+ _globals['_REMOVEDOMAINREQUEST']._serialized_start=2615
133
+ _globals['_REMOVEDOMAINREQUEST']._serialized_end=2691
134
+ _globals['_CREATEAPIGATEWAYMETADATA']._serialized_start=2693
135
+ _globals['_CREATEAPIGATEWAYMETADATA']._serialized_end=2743
136
+ _globals['_UPDATEAPIGATEWAYMETADATA']._serialized_start=2745
137
+ _globals['_UPDATEAPIGATEWAYMETADATA']._serialized_end=2795
138
+ _globals['_DELETEAPIGATEWAYMETADATA']._serialized_start=2797
139
+ _globals['_DELETEAPIGATEWAYMETADATA']._serialized_end=2847
140
+ _globals['_ADDDOMAINMETADATA']._serialized_start=2849
141
+ _globals['_ADDDOMAINMETADATA']._serialized_end=2956
142
+ _globals['_REMOVEDOMAINMETADATA']._serialized_start=2958
143
+ _globals['_REMOVEDOMAINMETADATA']._serialized_end=3023
144
+ _globals['_LISTOPERATIONSREQUEST']._serialized_start=3026
145
+ _globals['_LISTOPERATIONSREQUEST']._serialized_end=3169
146
+ _globals['_LISTOPERATIONSRESPONSE']._serialized_start=3171
147
+ _globals['_LISTOPERATIONSRESPONSE']._serialized_end=3275
148
+ _globals['_GETOPENAPISPECREQUEST']._serialized_start=3278
149
+ _globals['_GETOPENAPISPECREQUEST']._serialized_end=3470
150
+ _globals['_GETOPENAPISPECREQUEST_FORMAT']._serialized_start=3418
151
+ _globals['_GETOPENAPISPECREQUEST_FORMAT']._serialized_end=3470
152
+ _globals['_GETOPENAPISPECRESPONSE']._serialized_start=3472
153
+ _globals['_GETOPENAPISPECRESPONSE']._serialized_end=3542
154
+ _globals['_APIGATEWAYSERVICE']._serialized_start=3545
155
+ _globals['_APIGATEWAYSERVICE']._serialized_end=6067
151
156
  # @@protoc_insertion_point(module_scope)
yandexcloud/__init__.py CHANGED
@@ -1,6 +1,7 @@
1
1
  """Main package for Yandex.Cloud SDK."""
2
2
 
3
3
  # flake8: noqa
4
+ from yandexcloud._auth_fabric import set_up_yc_api_endpoint
4
5
  from yandexcloud._backoff import (
5
6
  backoff_exponential_with_jitter,
6
7
  backoff_linear_with_jitter,
@@ -19,6 +19,13 @@ _MDS_TIMEOUT = (1.0, 1.0) # 1sec connect, 1sec read
19
19
  YC_API_ENDPOINT = "api.cloud.yandex.net"
20
20
 
21
21
 
22
+ def set_up_yc_api_endpoint(endpoint: str) -> str:
23
+ # pylint: disable-next=global-statement
24
+ global YC_API_ENDPOINT
25
+ YC_API_ENDPOINT = endpoint
26
+ return YC_API_ENDPOINT
27
+
28
+
22
29
  def __validate_service_account_key(sa_key):
23
30
  if not isinstance(sa_key, dict):
24
31
  raise RuntimeError("Invalid Service Account Key: expecting dictionary, actually got {}".format(type(sa_key)))
@@ -46,9 +53,9 @@ def __validate_service_account_key(sa_key):
46
53
  raise RuntimeError(error_message)
47
54
 
48
55
 
49
- def get_auth_token_requester(
50
- token=None, service_account_key=None, iam_token=None, metadata_addr=None, endpoint=YC_API_ENDPOINT
51
- ):
56
+ def get_auth_token_requester(token=None, service_account_key=None, iam_token=None, metadata_addr=None, endpoint=None):
57
+ if endpoint is None:
58
+ endpoint = YC_API_ENDPOINT
52
59
  auth_methods = [("token", token), ("service_account_key", service_account_key), ("iam_token", iam_token)]
53
60
  auth_methods = [(auth_type, value) for auth_type, value in auth_methods if value is not None]
54
61
 
@@ -97,9 +104,9 @@ class TokenAuth:
97
104
  class ServiceAccountAuth:
98
105
  __SECONDS_IN_HOUR = 60.0 * 60.0
99
106
 
100
- def __init__(self, sa_key, endpoint=YC_API_ENDPOINT):
107
+ def __init__(self, sa_key, endpoint=None):
101
108
  self.__sa_key = sa_key
102
- self._endpoint = endpoint
109
+ self._endpoint = endpoint if endpoint is not None else YC_API_ENDPOINT
103
110
 
104
111
  def get_token_request(self):
105
112
  return CreateIamTokenRequest(jwt=self.__prepare_request(self._endpoint))