Documentation ¶
Index ¶
- Variables
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetMetadata() string
- func (x *Operation) GetResponse() string
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (m *Operation) SetMetadata(v string)
- func (m *Operation) SetResponse(v string)
- func (x *Operation) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional yandex.cloud.api.Operation operation = 87334;
E_Operation = &file_yandex_cloud_api_operation_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_yandex_cloud_api_operation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct { // Optional. If present, rpc returns operation which metadata field will // contains message of specified type. Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Optional. // Required. rpc returns operation, in case of success response will contains message of // specified field. Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` // Required. // contains filtered or unexported fields }
Operation is annotation for rpc that returns longrunning operation, describes message types that will be returned in metadata [google.protobuf.Any], and in response [google.protobuf.Any] (for successful operation).
func (*Operation) Descriptor
deprecated
func (*Operation) GetMetadata ¶
func (*Operation) GetResponse ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
func (*Operation) SetMetadata ¶
func (*Operation) SetResponse ¶
Click to show internal directories.
Click to hide internal directories.