logging

package
v0.0.0-...-e165f0f Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionLog

type ActionLog struct {
	// Required. User that executed this action. Eg, foo@gmail.com
	Actor string `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
	// Required. State change that was made by the actor. Eg, SUCCEEDED.
	State v1beta1.RecommendationStateInfo_State `` /* 132-byte string literal not displayed */
	// Optional. Metadata that was included with the action that was taken.
	StateMetadata map[string]string `` /* 188-byte string literal not displayed */
	// Required. Name of the recommendation which was acted on. Eg, :
	// 'projects/foo/locations/global/recommenders/roleReco/recommendations/r1'
	RecommendationName   string   `protobuf:"bytes,4,opt,name=recommendation_name,json=recommendationName,proto3" json:"recommendation_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Log content of an action on a recommendation. This includes Mark* actions.

func (*ActionLog) Descriptor

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

func (*ActionLog) GetActor

func (m *ActionLog) GetActor() string

func (*ActionLog) GetRecommendationName

func (m *ActionLog) GetRecommendationName() string

func (*ActionLog) GetState

func (*ActionLog) GetStateMetadata

func (m *ActionLog) GetStateMetadata() map[string]string

func (*ActionLog) ProtoMessage

func (*ActionLog) ProtoMessage()

func (*ActionLog) Reset

func (m *ActionLog) Reset()

func (*ActionLog) String

func (m *ActionLog) String() string

func (*ActionLog) XXX_DiscardUnknown

func (m *ActionLog) XXX_DiscardUnknown()

func (*ActionLog) XXX_Marshal

func (m *ActionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionLog) XXX_Merge

func (m *ActionLog) XXX_Merge(src proto.Message)

func (*ActionLog) XXX_Size

func (m *ActionLog) XXX_Size() int

func (*ActionLog) XXX_Unmarshal

func (m *ActionLog) XXX_Unmarshal(b []byte) error

type InsightActionLog

type InsightActionLog struct {
	// Required. User that executed this action. Eg, foo@gmail.com
	Actor string `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
	// Required. State change that was made by the actor. Eg, ACCEPTED.
	State v1beta1.InsightStateInfo_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.recommender.v1beta1.InsightStateInfo_State" json:"state,omitempty"`
	// Optional. Metadata that was included with the action that was taken.
	StateMetadata map[string]string `` /* 188-byte string literal not displayed */
	// Required. Name of the insight which was acted on. Eg, :
	// 'projects/foo/locations/global/insightTypes/roleInsight/insights/i1'
	Insight              string   `protobuf:"bytes,4,opt,name=insight,proto3" json:"insight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Log content of an action on an insight. This includes Mark* actions.

func (*InsightActionLog) Descriptor

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

func (*InsightActionLog) GetActor

func (m *InsightActionLog) GetActor() string

func (*InsightActionLog) GetInsight

func (m *InsightActionLog) GetInsight() string

func (*InsightActionLog) GetState

func (*InsightActionLog) GetStateMetadata

func (m *InsightActionLog) GetStateMetadata() map[string]string

func (*InsightActionLog) ProtoMessage

func (*InsightActionLog) ProtoMessage()

func (*InsightActionLog) Reset

func (m *InsightActionLog) Reset()

func (*InsightActionLog) String

func (m *InsightActionLog) String() string

func (*InsightActionLog) XXX_DiscardUnknown

func (m *InsightActionLog) XXX_DiscardUnknown()

func (*InsightActionLog) XXX_Marshal

func (m *InsightActionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsightActionLog) XXX_Merge

func (m *InsightActionLog) XXX_Merge(src proto.Message)

func (*InsightActionLog) XXX_Size

func (m *InsightActionLog) XXX_Size() int

func (*InsightActionLog) XXX_Unmarshal

func (m *InsightActionLog) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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