1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// This file is @generated by prost-build.
/// Log content of an action on a recommendation. This includes Mark* actions.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ActionLog {
    /// Required. User that executed this action. Eg, foo@gmail.com
    #[prost(string, tag = "1")]
    pub actor: ::prost::alloc::string::String,
    /// Required. State change that was made by the actor. Eg, SUCCEEDED.
    #[prost(
        enumeration = "super::super::v1::recommendation_state_info::State",
        tag = "2"
    )]
    pub state: i32,
    /// Optional. Metadata that was included with the action that was taken.
    #[prost(btree_map = "string, string", tag = "3")]
    pub state_metadata: ::prost::alloc::collections::BTreeMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Required. Name of the recommendation which was acted on. Eg, :
    /// 'projects/123/locations/global/recommenders/roleReco/recommendations/r1'
    #[prost(string, tag = "4")]
    pub recommendation_name: ::prost::alloc::string::String,
}
/// Log content of an action on an insight. This includes Mark* actions.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsightActionLog {
    /// Required. User that executed this action. Eg, foo@gmail.com
    #[prost(string, tag = "1")]
    pub actor: ::prost::alloc::string::String,
    /// Required. State change that was made by the actor. Eg, ACCEPTED.
    #[prost(enumeration = "super::super::v1::insight_state_info::State", tag = "2")]
    pub state: i32,
    /// Optional. Metadata that was included with the action that was taken.
    #[prost(btree_map = "string, string", tag = "3")]
    pub state_metadata: ::prost::alloc::collections::BTreeMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Required. Name of the insight which was acted on. Eg, :
    /// 'projects/123/locations/global/insightTypes/roleInsight/insights/i1'
    #[prost(string, tag = "4")]
    pub insight: ::prost::alloc::string::String,
}