Documentation ¶
Index ¶
- Variables
- type ActionLog
- func (*ActionLog) Descriptor() ([]byte, []int)deprecated
- func (x *ActionLog) GetActor() string
- func (x *ActionLog) GetRecommendationName() string
- func (x *ActionLog) GetState() v1.RecommendationStateInfo_State
- func (x *ActionLog) GetStateMetadata() map[string]string
- func (*ActionLog) ProtoMessage()
- func (x *ActionLog) ProtoReflect() protoreflect.Message
- func (x *ActionLog) Reset()
- func (x *ActionLog) String() string
- type InsightActionLog
- func (*InsightActionLog) Descriptor() ([]byte, []int)deprecated
- func (x *InsightActionLog) GetActor() string
- func (x *InsightActionLog) GetInsight() string
- func (x *InsightActionLog) GetState() v1.InsightStateInfo_State
- func (x *InsightActionLog) GetStateMetadata() map[string]string
- func (*InsightActionLog) ProtoMessage()
- func (x *InsightActionLog) ProtoReflect() protoreflect.Message
- func (x *InsightActionLog) Reset()
- func (x *InsightActionLog) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_google_cloud_recommender_logging_v1_action_log_proto protoreflect.FileDescriptor
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 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/123/locations/global/recommenders/roleReco/recommendations/r1' RecommendationName string `protobuf:"bytes,4,opt,name=recommendation_name,json=recommendationName,proto3" json:"recommendation_name,omitempty"` // contains filtered or unexported fields }
Log content of an action on a recommendation. This includes Mark* actions.
func (*ActionLog) Descriptor
deprecated
func (*ActionLog) GetRecommendationName ¶
func (*ActionLog) GetState ¶
func (x *ActionLog) GetState() v1.RecommendationStateInfo_State
func (*ActionLog) GetStateMetadata ¶
func (*ActionLog) ProtoMessage ¶
func (*ActionLog) ProtoMessage()
func (*ActionLog) ProtoReflect ¶
func (x *ActionLog) ProtoReflect() protoreflect.Message
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 v1.InsightStateInfo_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.recommender.v1.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/123/locations/global/insightTypes/roleInsight/insights/i1' Insight string `protobuf:"bytes,4,opt,name=insight,proto3" json:"insight,omitempty"` // contains filtered or unexported fields }
Log content of an action on an insight. This includes Mark* actions.
func (*InsightActionLog) Descriptor
deprecated
func (*InsightActionLog) Descriptor() ([]byte, []int)
Deprecated: Use InsightActionLog.ProtoReflect.Descriptor instead.
func (*InsightActionLog) GetActor ¶
func (x *InsightActionLog) GetActor() string
func (*InsightActionLog) GetInsight ¶
func (x *InsightActionLog) GetInsight() string
func (*InsightActionLog) GetState ¶
func (x *InsightActionLog) GetState() v1.InsightStateInfo_State
func (*InsightActionLog) GetStateMetadata ¶
func (x *InsightActionLog) GetStateMetadata() map[string]string
func (*InsightActionLog) ProtoMessage ¶
func (*InsightActionLog) ProtoMessage()
func (*InsightActionLog) ProtoReflect ¶
func (x *InsightActionLog) ProtoReflect() protoreflect.Message
func (*InsightActionLog) Reset ¶
func (x *InsightActionLog) Reset()
func (*InsightActionLog) String ¶
func (x *InsightActionLog) String() string
Click to show internal directories.
Click to hide internal directories.