diff options
author | iddqd <iddqd@yandex-team.com> | 2024-06-11 10:12:13 +0300 |
---|---|---|
committer | iddqd <iddqd@yandex-team.com> | 2024-06-11 10:22:43 +0300 |
commit | 07f57e35443ab7f09471caf2dbf1afbcced4d9f7 (patch) | |
tree | a4a7b66ead62e83fa988a2ec2ce6576311c1f4b1 /contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/restrictions.proto | |
parent | 6db3b8ca95e44179e48306a58656fb1f9317d9c3 (diff) | |
download | ydb-07f57e35443ab7f09471caf2dbf1afbcced4d9f7.tar.gz |
add contrib/python/yandexcloud to import
03b7d3cad2237366b55b393e18d4dc5eb222798c
Diffstat (limited to 'contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/restrictions.proto')
-rw-r--r-- | contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/restrictions.proto | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/restrictions.proto b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/restrictions.proto new file mode 100644 index 0000000000..ec088f282a --- /dev/null +++ b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/restrictions.proto @@ -0,0 +1,45 @@ +syntax = "proto3"; + +package yandex.cloud.datasphere.v2; + +option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2;datasphere"; +option java_package = "yandex.cloud.api.datasphere.v2"; + +message RestrictionMeta { + enum RestrictionValueType { + RESTRICTION_VALUE_TYPE_UNSPECIFIED = 0; + BOOLEAN = 1; + LONG = 2; + STRING = 3; + } + + // Name of restriction. + string name = 1; + + // Value type of restriction. + RestrictionValueType value_type = 2; +} + +message Restriction { + // Name of restriction. + string name = 1; + + // List of boolean restriction values. Empty if value type is not boolean. + repeated bool bool_value = 2; + + // List of long restriction values. Empty if value type is not long. + repeated int64 long_value = 3; + + // List of string restriction values. Empty if value type is not string. + repeated string string_value = 4; +} + +message GetRestrictionsMetaResponse { + // List of restrictions. + repeated RestrictionMeta restrictions_meta = 1; +} + +message RestrictionsResponse { + // List of restrictions. + repeated Restriction restrictions = 1; +} |