Documentation
¶
Index ¶
- type ActionLog
- func (*ActionLog) Descriptor() ([]byte, []int)
- func (m *ActionLog) GetActor() string
- func (m *ActionLog) GetRecommendationName() string
- func (m *ActionLog) GetState() v1.RecommendationStateInfo_State
- func (m *ActionLog) GetStateMetadata() map[string]string
- func (*ActionLog) ProtoMessage()
- func (m *ActionLog) Reset()
- func (m *ActionLog) String() string
- func (m *ActionLog) XXX_DiscardUnknown()
- func (m *ActionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionLog) XXX_Merge(src proto.Message)
- func (m *ActionLog) XXX_Size() int
- func (m *ActionLog) XXX_Unmarshal(b []byte) error
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. Action that was taken by the actor. Eg, MarkCompleted. State v1.RecommendationStateInfo_State `` /* 127-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, as well as ApplyRule actions.
func (*ActionLog) Descriptor ¶
func (*ActionLog) GetRecommendationName ¶
func (*ActionLog) GetState ¶
func (m *ActionLog) GetState() v1.RecommendationStateInfo_State
func (*ActionLog) GetStateMetadata ¶
func (*ActionLog) ProtoMessage ¶
func (*ActionLog) ProtoMessage()
func (*ActionLog) XXX_DiscardUnknown ¶
func (m *ActionLog) XXX_DiscardUnknown()
func (*ActionLog) XXX_Marshal ¶
func (*ActionLog) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.