File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,39 @@ message Survey {
37
37
38
38
// Required. User id of the survey owner.
39
39
string owner_id = 5 ;
40
+
41
+ // Defines the terms data collectors must agree to before
42
+ // collecting data.
43
+ message DataSharingTerms {
44
+ // Defines the type of data sharing terms the user will see.
45
+ enum Type {
46
+ // Default value when the type is missing.
47
+ TYPE_UNSPECIFIED = 0 ;
48
+
49
+ // Data will only be shared with survey organizers.
50
+ PRIVATE = 1 ;
51
+
52
+ // Data can be made public with no constraints. Data
53
+ // collectors waive all rights to collected data, making
54
+ // it available under the CC0 "No Rights Reserved" license.
55
+ PUBLIC_CC0 = 2 ;
56
+
57
+ // Terms are defined by survey organizers.
58
+ CUSTOM = 3 ;
59
+ }
60
+
61
+ // Required. Type of data sharing terms the data collectors must
62
+ // agree to before collecting data.
63
+ Type type = 1 ;
64
+
65
+ // If type is CUSTOM, this field contains the custom data sharing
66
+ // terms text specified by the survey organizer.
67
+ string custom_text = 2 ;
68
+ }
69
+
70
+ // Defines the terms data collectors must agree to before
71
+ // collecting data.
72
+ DataSharingTerms data_sharing_terms = 6 ;
40
73
}
41
74
42
75
// Defines a user's role in a survey.
You can’t perform that action at this time.
0 commit comments