api

package
v0.0.0-...-5fa7aab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetMetadata

func (x *Operation) GetMetadata() string

func (*Operation) GetResponse

func (x *Operation) GetResponse() string

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) SetMetadata

func (m *Operation) SetMetadata(v string)

func (*Operation) SetResponse

func (m *Operation) SetResponse(v string)

func (*Operation) String

func (x *Operation) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL