protos

package
v0.69.94 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protos_entity_proto protoreflect.FileDescriptor
View Source
var File_protos_message_proto protoreflect.FileDescriptor
View Source
var File_protos_operation_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Entity

type Entity struct {
	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id         string           `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name       string           `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

A generic entity with a type, id, name, and an attributes object.

func (*Entity) Descriptor deprecated

func (*Entity) Descriptor() ([]byte, []int)

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetAttributes

func (x *Entity) GetAttributes() *structpb.Struct

func (*Entity) GetId

func (x *Entity) GetId() string

func (*Entity) GetName

func (x *Entity) GetName() string

func (*Entity) GetType

func (x *Entity) GetType() string

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

type Message

type Message struct {

	// For now, non-zero means `message` is an error message, otherwise, a normal message.
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// Arbitrary message.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetCode

func (x *Message) GetCode() int32

func (*Message) GetMessage

func (x *Message) GetMessage() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Operation

type Operation struct {

	// The server-assigned name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Service-specific metadata associated with the operation. It typically
	// contains progress information and common metadata such as create time.
	// Some services might not provide such metadata. Any method that returns a
	// long-running operation should document the metadata type, if any.
	Metadata *anypb.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// If the value is `false`, it means the operation is still in progress.
	// If `true`, the operation is completed, and either `error` or `response` is
	// available.
	Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
	// The operation result, which can be either an `error` or a valid `response`.
	// If `done` == `false`, neither `error` nor `response` is set.
	// If `done` == `true`, exactly one of `error` or `response` is set.
	//
	// Types that are assignable to Result:
	//
	//	*Operation_Error
	//	*Operation_Response
	Result isOperation_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

This resource represents a long-running operation that is the result of a network API call.

func (*Operation) Descriptor deprecated

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetDone

func (x *Operation) GetDone() bool

func (*Operation) GetError

func (x *Operation) GetError() *status.Status

func (*Operation) GetMetadata

func (x *Operation) GetMetadata() *anypb.Any

func (*Operation) GetName

func (x *Operation) GetName() string

func (*Operation) GetResponse

func (x *Operation) GetResponse() *anypb.Any

func (*Operation) GetResult

func (m *Operation) GetResult() isOperation_Result

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

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

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type OperationAwsCalculateCostsMetadataV1

type OperationAwsCalculateCostsMetadataV1 struct {

	// Organization id.
	OrgId string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// The month being calculated.
	Month string `protobuf:"bytes,2,opt,name=month,proto3" json:"month,omitempty"`
	// If the request is for a specific group(s) (billing groups at the moment),
	// their equivalent ids are listed here. Otherwise, empty.
	GroupIds []string `protobuf:"bytes,3,rep,name=groupIds,proto3" json:"groupIds,omitempty"`
	// Latest status information.
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// Timestamp when operation was created/started in RFC3339 format.
	Created string `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	// Timestamp of the operation's last update in RFC3339 format.
	Updated string `protobuf:"bytes,6,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationAwsCalculateCostsMetadataV1) Descriptor deprecated

func (*OperationAwsCalculateCostsMetadataV1) Descriptor() ([]byte, []int)

Deprecated: Use OperationAwsCalculateCostsMetadataV1.ProtoReflect.Descriptor instead.

func (*OperationAwsCalculateCostsMetadataV1) GetCreated

func (*OperationAwsCalculateCostsMetadataV1) GetGroupIds

func (x *OperationAwsCalculateCostsMetadataV1) GetGroupIds() []string

func (*OperationAwsCalculateCostsMetadataV1) GetMonth

func (*OperationAwsCalculateCostsMetadataV1) GetOrgId

func (*OperationAwsCalculateCostsMetadataV1) GetStatus

func (*OperationAwsCalculateCostsMetadataV1) GetUpdated

func (*OperationAwsCalculateCostsMetadataV1) ProtoMessage

func (*OperationAwsCalculateCostsMetadataV1) ProtoMessage()

func (*OperationAwsCalculateCostsMetadataV1) ProtoReflect

func (*OperationAwsCalculateCostsMetadataV1) Reset

func (*OperationAwsCalculateCostsMetadataV1) String

type OperationAwsDiscoverAssetsMetadataV1

type OperationAwsDiscoverAssetsMetadataV1 struct {
	Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationAwsDiscoverAssetsMetadataV1) Descriptor deprecated

func (*OperationAwsDiscoverAssetsMetadataV1) Descriptor() ([]byte, []int)

Deprecated: Use OperationAwsDiscoverAssetsMetadataV1.ProtoReflect.Descriptor instead.

func (*OperationAwsDiscoverAssetsMetadataV1) GetAccounts

func (x *OperationAwsDiscoverAssetsMetadataV1) GetAccounts() []string

func (*OperationAwsDiscoverAssetsMetadataV1) GetServices

func (x *OperationAwsDiscoverAssetsMetadataV1) GetServices() []string

func (*OperationAwsDiscoverAssetsMetadataV1) ProtoMessage

func (*OperationAwsDiscoverAssetsMetadataV1) ProtoMessage()

func (*OperationAwsDiscoverAssetsMetadataV1) ProtoReflect

func (*OperationAwsDiscoverAssetsMetadataV1) Reset

func (*OperationAwsDiscoverAssetsMetadataV1) String

type OperationImportCurMetadataV1

type OperationImportCurMetadataV1 struct {
	Month    string   `protobuf:"bytes,1,opt,name=month,proto3" json:"month,omitempty"`
	Accounts []string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	Created  string   `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Updated  string   `protobuf:"bytes,4,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationImportCurMetadataV1) Descriptor deprecated

func (*OperationImportCurMetadataV1) Descriptor() ([]byte, []int)

Deprecated: Use OperationImportCurMetadataV1.ProtoReflect.Descriptor instead.

func (*OperationImportCurMetadataV1) GetAccounts

func (x *OperationImportCurMetadataV1) GetAccounts() []string

func (*OperationImportCurMetadataV1) GetCreated

func (x *OperationImportCurMetadataV1) GetCreated() string

func (*OperationImportCurMetadataV1) GetMonth

func (x *OperationImportCurMetadataV1) GetMonth() string

func (*OperationImportCurMetadataV1) GetUpdated

func (x *OperationImportCurMetadataV1) GetUpdated() string

func (*OperationImportCurMetadataV1) ProtoMessage

func (*OperationImportCurMetadataV1) ProtoMessage()

func (*OperationImportCurMetadataV1) ProtoReflect

func (*OperationImportCurMetadataV1) Reset

func (x *OperationImportCurMetadataV1) Reset()

func (*OperationImportCurMetadataV1) String

type Operation_Error

type Operation_Error struct {
	// The error result of the operation in case of failure or cancellation.
	Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3,oneof"`
}

type Operation_Response

type Operation_Response struct {
	// The normal response of the operation in case of success. If the original method returns
	// no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
	// original method is standard `Get`/`Create`/`Update`, the response should be the
	// resource. For other methods, the response should have the type `XxxResponse`, where
	// `Xxx` is the original method name. For example, if the original method name is
	// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
	Response *anypb.Any `protobuf:"bytes,5,opt,name=response,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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