Skip to content

Commit

Permalink
regenerate proto
Browse files Browse the repository at this point in the history
  • Loading branch information
yandex-cloud-bot committed Jun 19, 2024
1 parent f2ce33d commit 72f0a92
Show file tree
Hide file tree
Showing 114 changed files with 6,134 additions and 414 deletions.
2 changes: 1 addition & 1 deletion cloudapi
Submodule cloudapi updated 37 files
+9 −0 yandex/cloud/ai/foundation_models/v1/image_generation/image_generation.proto
+19 −0 yandex/cloud/backup/v1/resource.proto
+1 −1 yandex/cloud/billing/v1/customer_service.proto
+1 −0 yandex/cloud/billing/v1/sku_service.proto
+1 −2 yandex/cloud/compute/v1/instance.proto
+3 −0 yandex/cloud/compute/v1/instance_service.proto
+22 −0 yandex/cloud/datasphere/v2/jobs/jobs.proto
+10 −1 yandex/cloud/datasphere/v2/jobs/project_job_service.proto
+9 −2 yandex/cloud/datasphere/v2/project_service.proto
+29 −0 yandex/cloud/iam/v1/api_key_service.proto
+3 −0 yandex/cloud/iot/devices/v1/registry.proto
+38 −0 yandex/cloud/iot/devices/v1/registry_service.proto
+174 −17 yandex/cloud/mdb/greenplum/v1/pxf.proto
+21 −0 yandex/cloud/mdb/kafka/v1/cluster.proto
+11 −7 yandex/cloud/mdb/mongodb/v1/cluster_service.proto
+29 −14 yandex/cloud/mdb/postgresql/v1/user.proto
+2 −2 yandex/cloud/organizationmanager/v1/os_login_service.proto
+3 −0 yandex/cloud/serverless/functions/v1/function.proto
+3 −0 yandex/cloud/serverless/functions/v1/function_service.proto
+228 −0 yandex/cloud/smartcaptcha/v1/captcha.proto
+176 −0 yandex/cloud/smartcaptcha/v1/captcha_service.proto
+217 −0 yandex/cloud/smartwebsecurity/v1/security_profile.proto
+139 −0 yandex/cloud/smartwebsecurity/v1/security_profile_service.proto
+18 −0 yandex/cloud/speechsense/v1/analysis/conversation_statistics.proto
+31 −0 yandex/cloud/speechsense/v1/analysis/interrupts_statistics.proto
+19 −0 yandex/cloud/speechsense/v1/analysis/points.proto
+43 −0 yandex/cloud/speechsense/v1/analysis/predefined_classifiers.proto
+21 −0 yandex/cloud/speechsense/v1/analysis/silence_statistics.proto
+30 −0 yandex/cloud/speechsense/v1/analysis/speaker_statistics.proto
+23 −0 yandex/cloud/speechsense/v1/analysis/speech_statistics.proto
+43 −0 yandex/cloud/speechsense/v1/analysis/statistics_common.proto
+39 −0 yandex/cloud/speechsense/v1/analysis/text_classifiers.proto
+57 −0 yandex/cloud/speechsense/v1/analysis/transcription.proto
+40 −0 yandex/cloud/speechsense/v1/analysis/utterance_statistics.proto
+113 −0 yandex/cloud/speechsense/v1/search.proto
+63 −0 yandex/cloud/speechsense/v1/talk.proto
+83 −1 yandex/cloud/speechsense/v1/talk_service.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,49 @@ class Message(google.protobuf.message.Message):

global___Message = Message

@typing.final
class AspectRatio(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

WIDTH_RATIO_FIELD_NUMBER: builtins.int
HEIGHT_RATIO_FIELD_NUMBER: builtins.int
width_ratio: builtins.int
"""Weight of width in image."""
height_ratio: builtins.int
"""Weight of height in image."""
def __init__(
self,
*,
width_ratio: builtins.int = ...,
height_ratio: builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing.Literal["height_ratio", b"height_ratio", "width_ratio", b"width_ratio"]) -> None: ...

global___AspectRatio = AspectRatio

@typing.final
class ImageGenerationOptions(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

MIME_TYPE_FIELD_NUMBER: builtins.int
SEED_FIELD_NUMBER: builtins.int
ASPECT_RATIO_FIELD_NUMBER: builtins.int
mime_type: builtins.str
"""MIME type of generated image format."""
seed: builtins.int
"""Seed for image generation."""
@property
def aspect_ratio(self) -> global___AspectRatio:
"""Aspect ratio of generated image."""

def __init__(
self,
*,
mime_type: builtins.str = ...,
seed: builtins.int = ...,
aspect_ratio: global___AspectRatio | None = ...,
) -> None: ...
def ClearField(self, field_name: typing.Literal["mime_type", b"mime_type", "seed", b"seed"]) -> None: ...
def HasField(self, field_name: typing.Literal["aspect_ratio", b"aspect_ratio"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["aspect_ratio", b"aspect_ratio", "mime_type", b"mime_type", "seed", b"seed"]) -> None: ...

global___ImageGenerationOptions = ImageGenerationOptions
30 changes: 16 additions & 14 deletions yandex/cloud/backup/v1/resource_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 38 additions & 1 deletion yandex/cloud/backup/v1/resource_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,33 @@ class Resource(google.protobuf.message.Message):
for more information.
"""

class _InitStatus:
ValueType = typing.NewType("ValueType", builtins.int)
V: typing_extensions.TypeAlias = ValueType

class _InitStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Resource._InitStatus.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
INIT_STATUS_UNSPECIFIED: Resource._InitStatus.ValueType # 0
REGISTERING: Resource._InitStatus.ValueType # 1
"""Registration of instance in cloud backups have started."""
REGISTRED: Resource._InitStatus.ValueType # 2
"""Instance is registered in cloud backups."""
FAILED_REGISTRATION: Resource._InitStatus.ValueType # 3
"""Instance registration failed."""
DELETED: Resource._InitStatus.ValueType # 4
"""Instance is deleted from cloud backup service."""

class InitStatus(_InitStatus, metaclass=_InitStatusEnumTypeWrapper): ...
INIT_STATUS_UNSPECIFIED: Resource.InitStatus.ValueType # 0
REGISTERING: Resource.InitStatus.ValueType # 1
"""Registration of instance in cloud backups have started."""
REGISTRED: Resource.InitStatus.ValueType # 2
"""Instance is registered in cloud backups."""
FAILED_REGISTRATION: Resource.InitStatus.ValueType # 3
"""Instance registration failed."""
DELETED: Resource.InitStatus.ValueType # 4
"""Instance is deleted from cloud backup service."""

COMPUTE_INSTANCE_ID_FIELD_NUMBER: builtins.int
CREATED_AT_FIELD_NUMBER: builtins.int
UPDATED_AT_FIELD_NUMBER: builtins.int
Expand All @@ -73,6 +100,8 @@ class Resource(google.protobuf.message.Message):
NEXT_BACKUP_TIME_FIELD_NUMBER: builtins.int
RESOURCE_ID_FIELD_NUMBER: builtins.int
IS_ACTIVE_FIELD_NUMBER: builtins.int
INIT_STATUS_FIELD_NUMBER: builtins.int
METADATA_FIELD_NUMBER: builtins.int
compute_instance_id: builtins.str
"""Compute Cloud instance ID."""
online: builtins.bool
Expand All @@ -95,6 +124,12 @@ class Resource(google.protobuf.message.Message):
If status `is_active` is false it means Compute Cloud instance is not able to manipulate
Cloud Backup resource.
"""
init_status: global___Resource.InitStatus.ValueType
"""Status of resource initialization in cloud backup service."""
metadata: builtins.str
"""Metadata to provide details about instance registration process
if status is FAILED_REGISTRATION or REGISTERING
"""
@property
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
@property
Expand All @@ -118,9 +153,11 @@ class Resource(google.protobuf.message.Message):
next_backup_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
resource_id: builtins.str = ...,
is_active: builtins.bool = ...,
init_status: global___Resource.InitStatus.ValueType = ...,
metadata: builtins.str = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "last_backup_time", b"last_backup_time", "next_backup_time", b"next_backup_time", "updated_at", b"updated_at"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id", "created_at", b"created_at", "enabled", b"enabled", "is_active", b"is_active", "last_backup_time", b"last_backup_time", "next_backup_time", b"next_backup_time", "online", b"online", "resource_id", b"resource_id", "status", b"status", "status_details", b"status_details", "status_progress", b"status_progress", "updated_at", b"updated_at"]) -> None: ...
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id", "created_at", b"created_at", "enabled", b"enabled", "init_status", b"init_status", "is_active", b"is_active", "last_backup_time", b"last_backup_time", "metadata", b"metadata", "next_backup_time", b"next_backup_time", "online", b"online", "resource_id", b"resource_id", "status", b"status", "status_details", b"status_details", "status_progress", b"status_progress", "updated_at", b"updated_at"]) -> None: ...

global___Resource = Resource

Expand Down
2 changes: 1 addition & 1 deletion yandex/cloud/billing/v1/customer_service_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class InviteCustomerRequest(google.protobuf.message.Message):
INVITATION_EMAIL_FIELD_NUMBER: builtins.int
PERSON_FIELD_NUMBER: builtins.int
reseller_id: builtins.str
"""ID of the reseller that customer will be associated with."""
"""Billing account ID of the reseller that the customer will be associated with."""
name: builtins.str
"""Name of the customer."""
invitation_email: builtins.str
Expand Down
1 change: 1 addition & 0 deletions yandex/cloud/billing/v1/sku_service_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class ListSkusRequest(google.protobuf.message.Message):
1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Sku.id] and [yandex.cloud.billing.v1.Sku.service_id] field.
2. An `=` operator.
3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
E.g. `filter=serviceId="dn28hpu6268356q0j8mk"`.
"""
page_size: builtins.int
"""The maximum number of results per page to return. If the number of available
Expand Down
4 changes: 1 addition & 3 deletions yandex/cloud/compute/v1/instance_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,7 @@ class NetworkInterface(google.protobuf.message.Message):
PRIMARY_V6_ADDRESS_FIELD_NUMBER: builtins.int
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
index: builtins.str
"""The index of the network interface, generated by the server, 0,1,2... etc.
Currently only one network interface is supported per instance.
"""
"""The index of the network interface, will be generated by the server, 0,1,2... etc if not specified."""
mac_address: builtins.str
"""MAC address that is assigned to the network interface."""
subnet_id: builtins.str
Expand Down
52 changes: 26 additions & 26 deletions yandex/cloud/compute/v1/instance_service_pb2.py

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion yandex/cloud/compute/v1/instance_service_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1518,8 +1518,11 @@ class NetworkInterfaceSpec(google.protobuf.message.Message):
PRIMARY_V4_ADDRESS_SPEC_FIELD_NUMBER: builtins.int
PRIMARY_V6_ADDRESS_SPEC_FIELD_NUMBER: builtins.int
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
INDEX_FIELD_NUMBER: builtins.int
subnet_id: builtins.str
"""ID of the subnet."""
index: builtins.str
"""The index of the network interface, will be generated by the server, 0,1,2... etc if not specified."""
@property
def primary_v4_address_spec(self) -> global___PrimaryAddressSpec:
"""Primary IPv4 address that will be assigned to the instance for this network interface."""
Expand All @@ -1539,9 +1542,10 @@ class NetworkInterfaceSpec(google.protobuf.message.Message):
primary_v4_address_spec: global___PrimaryAddressSpec | None = ...,
primary_v6_address_spec: global___PrimaryAddressSpec | None = ...,
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
index: builtins.str = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["primary_v4_address_spec", b"primary_v4_address_spec", "primary_v6_address_spec", b"primary_v6_address_spec"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["primary_v4_address_spec", b"primary_v4_address_spec", "primary_v6_address_spec", b"primary_v6_address_spec", "security_group_ids", b"security_group_ids", "subnet_id", b"subnet_id"]) -> None: ...
def ClearField(self, field_name: typing.Literal["index", b"index", "primary_v4_address_spec", b"primary_v4_address_spec", "primary_v6_address_spec", b"primary_v6_address_spec", "security_group_ids", b"security_group_ids", "subnet_id", b"subnet_id"]) -> None: ...

global___NetworkInterfaceSpec = NetworkInterfaceSpec

Expand Down
Loading

0 comments on commit 72f0a92

Please sign in to comment.