/
resources.pb.go
2369 lines (2157 loc) · 104 KB
/
resources.pb.go
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// source: google/analytics/admin/v1alpha/resources.proto
package admin
import (
reflect "reflect"
sync "sync"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// The category selected for this property, used for industry benchmarking.
type IndustryCategory int32
const (
// Industry category unspecified
IndustryCategory_INDUSTRY_CATEGORY_UNSPECIFIED IndustryCategory = 0
// Automotive
IndustryCategory_AUTOMOTIVE IndustryCategory = 1
// Business and industrial markets
IndustryCategory_BUSINESS_AND_INDUSTRIAL_MARKETS IndustryCategory = 2
// Finance
IndustryCategory_FINANCE IndustryCategory = 3
// Healthcare
IndustryCategory_HEALTHCARE IndustryCategory = 4
// Technology
IndustryCategory_TECHNOLOGY IndustryCategory = 5
// Travel
IndustryCategory_TRAVEL IndustryCategory = 6
// Other
IndustryCategory_OTHER IndustryCategory = 7
// Arts and entertainment
IndustryCategory_ARTS_AND_ENTERTAINMENT IndustryCategory = 8
// Beauty and fitness
IndustryCategory_BEAUTY_AND_FITNESS IndustryCategory = 9
// Books and literature
IndustryCategory_BOOKS_AND_LITERATURE IndustryCategory = 10
// Food and drink
IndustryCategory_FOOD_AND_DRINK IndustryCategory = 11
// Games
IndustryCategory_GAMES IndustryCategory = 12
// Hobbies and leisure
IndustryCategory_HOBBIES_AND_LEISURE IndustryCategory = 13
// Home and garden
IndustryCategory_HOME_AND_GARDEN IndustryCategory = 14
// Internet and telecom
IndustryCategory_INTERNET_AND_TELECOM IndustryCategory = 15
// Law and government
IndustryCategory_LAW_AND_GOVERNMENT IndustryCategory = 16
// News
IndustryCategory_NEWS IndustryCategory = 17
// Online communities
IndustryCategory_ONLINE_COMMUNITIES IndustryCategory = 18
// People and society
IndustryCategory_PEOPLE_AND_SOCIETY IndustryCategory = 19
// Pets and animals
IndustryCategory_PETS_AND_ANIMALS IndustryCategory = 20
// Real estate
IndustryCategory_REAL_ESTATE IndustryCategory = 21
// Reference
IndustryCategory_REFERENCE IndustryCategory = 22
// Science
IndustryCategory_SCIENCE IndustryCategory = 23
// Sports
IndustryCategory_SPORTS IndustryCategory = 24
// Jobs and education
IndustryCategory_JOBS_AND_EDUCATION IndustryCategory = 25
// Shopping
IndustryCategory_SHOPPING IndustryCategory = 26
)
// Enum value maps for IndustryCategory.
var (
IndustryCategory_name = map[int32]string{
0: "INDUSTRY_CATEGORY_UNSPECIFIED",
1: "AUTOMOTIVE",
2: "BUSINESS_AND_INDUSTRIAL_MARKETS",
3: "FINANCE",
4: "HEALTHCARE",
5: "TECHNOLOGY",
6: "TRAVEL",
7: "OTHER",
8: "ARTS_AND_ENTERTAINMENT",
9: "BEAUTY_AND_FITNESS",
10: "BOOKS_AND_LITERATURE",
11: "FOOD_AND_DRINK",
12: "GAMES",
13: "HOBBIES_AND_LEISURE",
14: "HOME_AND_GARDEN",
15: "INTERNET_AND_TELECOM",
16: "LAW_AND_GOVERNMENT",
17: "NEWS",
18: "ONLINE_COMMUNITIES",
19: "PEOPLE_AND_SOCIETY",
20: "PETS_AND_ANIMALS",
21: "REAL_ESTATE",
22: "REFERENCE",
23: "SCIENCE",
24: "SPORTS",
25: "JOBS_AND_EDUCATION",
26: "SHOPPING",
}
IndustryCategory_value = map[string]int32{
"INDUSTRY_CATEGORY_UNSPECIFIED": 0,
"AUTOMOTIVE": 1,
"BUSINESS_AND_INDUSTRIAL_MARKETS": 2,
"FINANCE": 3,
"HEALTHCARE": 4,
"TECHNOLOGY": 5,
"TRAVEL": 6,
"OTHER": 7,
"ARTS_AND_ENTERTAINMENT": 8,
"BEAUTY_AND_FITNESS": 9,
"BOOKS_AND_LITERATURE": 10,
"FOOD_AND_DRINK": 11,
"GAMES": 12,
"HOBBIES_AND_LEISURE": 13,
"HOME_AND_GARDEN": 14,
"INTERNET_AND_TELECOM": 15,
"LAW_AND_GOVERNMENT": 16,
"NEWS": 17,
"ONLINE_COMMUNITIES": 18,
"PEOPLE_AND_SOCIETY": 19,
"PETS_AND_ANIMALS": 20,
"REAL_ESTATE": 21,
"REFERENCE": 22,
"SCIENCE": 23,
"SPORTS": 24,
"JOBS_AND_EDUCATION": 25,
"SHOPPING": 26,
}
)
func (x IndustryCategory) Enum() *IndustryCategory {
p := new(IndustryCategory)
*p = x
return p
}
func (x IndustryCategory) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IndustryCategory) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[0].Descriptor()
}
func (IndustryCategory) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[0]
}
func (x IndustryCategory) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use IndustryCategory.Descriptor instead.
func (IndustryCategory) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{0}
}
// Maximum access settings that Firebase user receive on the linked Analytics
// property.
type MaximumUserAccess int32
const (
// Unspecified maximum user access.
MaximumUserAccess_MAXIMUM_USER_ACCESS_UNSPECIFIED MaximumUserAccess = 0
// Firebase users have no access to the Analytics property.
MaximumUserAccess_NO_ACCESS MaximumUserAccess = 1
// Firebase users have Read & Analyze access to the Analytics property.
MaximumUserAccess_READ_AND_ANALYZE MaximumUserAccess = 2
// Firebase users have edit access to the Analytics property, but may not
// manage the Firebase link.
MaximumUserAccess_EDITOR_WITHOUT_LINK_MANAGEMENT MaximumUserAccess = 3
// Firebase users have edit access to the Analytics property and may manage
// the Firebase link.
MaximumUserAccess_EDITOR_INCLUDING_LINK_MANAGEMENT MaximumUserAccess = 4
)
// Enum value maps for MaximumUserAccess.
var (
MaximumUserAccess_name = map[int32]string{
0: "MAXIMUM_USER_ACCESS_UNSPECIFIED",
1: "NO_ACCESS",
2: "READ_AND_ANALYZE",
3: "EDITOR_WITHOUT_LINK_MANAGEMENT",
4: "EDITOR_INCLUDING_LINK_MANAGEMENT",
}
MaximumUserAccess_value = map[string]int32{
"MAXIMUM_USER_ACCESS_UNSPECIFIED": 0,
"NO_ACCESS": 1,
"READ_AND_ANALYZE": 2,
"EDITOR_WITHOUT_LINK_MANAGEMENT": 3,
"EDITOR_INCLUDING_LINK_MANAGEMENT": 4,
}
)
func (x MaximumUserAccess) Enum() *MaximumUserAccess {
p := new(MaximumUserAccess)
*p = x
return p
}
func (x MaximumUserAccess) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MaximumUserAccess) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[1].Descriptor()
}
func (MaximumUserAccess) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[1]
}
func (x MaximumUserAccess) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MaximumUserAccess.Descriptor instead.
func (MaximumUserAccess) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{1}
}
// A resource message representing a Google Analytics account.
type Account struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Resource name of this account.
// Format: accounts/{account}
// Example: "accounts/100"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when this account was originally created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when account payload fields were last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. Human-readable display name for this account.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Country of business. Must be a non-deprecated code for a UN M.49 region.
// https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html
CountryCode string `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
// Output only. Indicates whether this Account is soft-deleted or not. Deleted
// accounts are excluded from List results unless specifically requested.
Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
}
func (x *Account) Reset() {
*x = Account{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Account) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Account) ProtoMessage() {}
func (x *Account) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
func (*Account) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{0}
}
func (x *Account) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Account) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *Account) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *Account) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *Account) GetCountryCode() string {
if x != nil {
return x.CountryCode
}
return ""
}
func (x *Account) GetDeleted() bool {
if x != nil {
return x.Deleted
}
return false
}
// A resource message representing a Google Analytics App+Web property.
type Property struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Resource name of this property.
// Format: properties/{property_id}
// Example: "properties/1000"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the entity was originally created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when entity payload fields were last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Immutable. Resource name of this property's logical parent.
//
// Note: The Property-Moving UI can be used to change the parent.
// Format: accounts/{account}
// Example: "accounts/100"
Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Human-readable display name for this property.
//
// The max allowed display name length is 100 UTF-16 code units.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Industry associated with this property
// Example: AUTOMOTIVE, FOOD_AND_DRINK
IndustryCategory IndustryCategory `protobuf:"varint,6,opt,name=industry_category,json=industryCategory,proto3,enum=google.analytics.admin.v1alpha.IndustryCategory" json:"industry_category,omitempty"`
// Reporting Time Zone, used as the day boundary for reports, regardless of
// where the data originates. If the time zone honors DST, Analytics will
// automatically adjust for the changes.
//
// NOTE: Changing the time zone only affects data going forward, and is not
// applied retroactively.
//
// Format: https://www.iana.org/time-zones
// Example: "America/Los_Angeles"
TimeZone string `protobuf:"bytes,7,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// The currency type used in reports involving monetary values.
//
//
// Format: https://en.wikipedia.org/wiki/ISO_4217
// Examples: "USD", "EUR", "JPY"
CurrencyCode string `protobuf:"bytes,8,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
// Output only. Indicates whether this Property is soft-deleted or not. Deleted properties
// are excluded from List results unless specifically requested.
Deleted bool `protobuf:"varint,9,opt,name=deleted,proto3" json:"deleted,omitempty"`
}
func (x *Property) Reset() {
*x = Property{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Property) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Property) ProtoMessage() {}
func (x *Property) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Property.ProtoReflect.Descriptor instead.
func (*Property) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{1}
}
func (x *Property) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Property) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *Property) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *Property) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
func (x *Property) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *Property) GetIndustryCategory() IndustryCategory {
if x != nil {
return x.IndustryCategory
}
return IndustryCategory_INDUSTRY_CATEGORY_UNSPECIFIED
}
func (x *Property) GetTimeZone() string {
if x != nil {
return x.TimeZone
}
return ""
}
func (x *Property) GetCurrencyCode() string {
if x != nil {
return x.CurrencyCode
}
return ""
}
func (x *Property) GetDeleted() bool {
if x != nil {
return x.Deleted
}
return false
}
// A resource message representing a Google Analytics Android app stream.
type AndroidAppDataStream struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Resource name of this Data Stream.
// Format: properties/{property_id}/androidAppDataStreams/{stream_id}
// Example: "properties/1000/androidAppDataStreams/2000"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. ID of the corresponding Android app in Firebase, if any.
// This ID can change if the Android app is deleted and recreated.
FirebaseAppId string `protobuf:"bytes,2,opt,name=firebase_app_id,json=firebaseAppId,proto3" json:"firebase_app_id,omitempty"`
// Output only. Time when this stream was originally created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when stream payload fields were last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Immutable. The package name for the app being measured.
// Example: "com.example.myandroidapp"
PackageName string `protobuf:"bytes,5,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
// Human-readable display name for the Data Stream.
//
// The max allowed display name length is 255 UTF-16 code units.
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}
func (x *AndroidAppDataStream) Reset() {
*x = AndroidAppDataStream{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AndroidAppDataStream) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AndroidAppDataStream) ProtoMessage() {}
func (x *AndroidAppDataStream) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AndroidAppDataStream.ProtoReflect.Descriptor instead.
func (*AndroidAppDataStream) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{2}
}
func (x *AndroidAppDataStream) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *AndroidAppDataStream) GetFirebaseAppId() string {
if x != nil {
return x.FirebaseAppId
}
return ""
}
func (x *AndroidAppDataStream) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *AndroidAppDataStream) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *AndroidAppDataStream) GetPackageName() string {
if x != nil {
return x.PackageName
}
return ""
}
func (x *AndroidAppDataStream) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
// A resource message representing a Google Analytics IOS app stream.
type IosAppDataStream struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Resource name of this Data Stream.
// Format: properties/{property_id}/iosAppDataStreams/{stream_id}
// Example: "properties/1000/iosAppDataStreams/2000"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. ID of the corresponding iOS app in Firebase, if any.
// This ID can change if the iOS app is deleted and recreated.
FirebaseAppId string `protobuf:"bytes,2,opt,name=firebase_app_id,json=firebaseAppId,proto3" json:"firebase_app_id,omitempty"`
// Output only. Time when this stream was originally created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when stream payload fields were last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. Immutable. The Apple App Store Bundle ID for the app
// Example: "com.example.myiosapp"
BundleId string `protobuf:"bytes,5,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
// Human-readable display name for the Data Stream.
//
// The max allowed display name length is 255 UTF-16 code units.
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}
func (x *IosAppDataStream) Reset() {
*x = IosAppDataStream{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IosAppDataStream) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IosAppDataStream) ProtoMessage() {}
func (x *IosAppDataStream) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use IosAppDataStream.ProtoReflect.Descriptor instead.
func (*IosAppDataStream) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{3}
}
func (x *IosAppDataStream) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *IosAppDataStream) GetFirebaseAppId() string {
if x != nil {
return x.FirebaseAppId
}
return ""
}
func (x *IosAppDataStream) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *IosAppDataStream) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *IosAppDataStream) GetBundleId() string {
if x != nil {
return x.BundleId
}
return ""
}
func (x *IosAppDataStream) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
// A resource message representing a Google Analytics web stream.
type WebDataStream struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Resource name of this Data Stream.
// Format: properties/{property_id}/webDataStreams/{stream_id}
// Example: "properties/1000/webDataStreams/2000"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Analytics "Measurement ID", without the "G-" prefix.
// Example: "G-1A2BCD345E" would just be "1A2BCD345E"
MeasurementId string `protobuf:"bytes,2,opt,name=measurement_id,json=measurementId,proto3" json:"measurement_id,omitempty"`
// Output only. ID of the corresponding web app in Firebase, if any.
// This ID can change if the web app is deleted and recreated.
FirebaseAppId string `protobuf:"bytes,3,opt,name=firebase_app_id,json=firebaseAppId,proto3" json:"firebase_app_id,omitempty"`
// Output only. Time when this stream was originally created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when stream payload fields were last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Immutable. Domain name of the web app being measured, or empty.
// Example: "http://www.google.com", "https://www.google.com"
DefaultUri string `protobuf:"bytes,6,opt,name=default_uri,json=defaultUri,proto3" json:"default_uri,omitempty"`
// Required. Human-readable display name for the Data Stream.
//
// The max allowed display name length is 100 UTF-16 code units.
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}
func (x *WebDataStream) Reset() {
*x = WebDataStream{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebDataStream) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebDataStream) ProtoMessage() {}
func (x *WebDataStream) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WebDataStream.ProtoReflect.Descriptor instead.
func (*WebDataStream) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{4}
}
func (x *WebDataStream) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *WebDataStream) GetMeasurementId() string {
if x != nil {
return x.MeasurementId
}
return ""
}
func (x *WebDataStream) GetFirebaseAppId() string {
if x != nil {
return x.FirebaseAppId
}
return ""
}
func (x *WebDataStream) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *WebDataStream) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *WebDataStream) GetDefaultUri() string {
if x != nil {
return x.DefaultUri
}
return ""
}
func (x *WebDataStream) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
// A resource message representing a user's permissions on an Account or
// Property resource.
type UserLink struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Example format: properties/1234/userLinks/5678
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Email address of the user to link
EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
// Roles directly assigned to this user for this account or property.
//
// Valid values:
// predefinedRoles/read
// predefinedRoles/collaborate
// predefinedRoles/edit
// predefinedRoles/manage-users
//
// Excludes roles that are inherited from a higher-level entity, group,
// or organization admin role.
//
// A UserLink that is updated to have an empty list of direct_roles will be
// deleted.
DirectRoles []string `protobuf:"bytes,3,rep,name=direct_roles,json=directRoles,proto3" json:"direct_roles,omitempty"`
}
func (x *UserLink) Reset() {
*x = UserLink{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserLink) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserLink) ProtoMessage() {}
func (x *UserLink) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserLink.ProtoReflect.Descriptor instead.
func (*UserLink) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{5}
}
func (x *UserLink) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UserLink) GetEmailAddress() string {
if x != nil {
return x.EmailAddress
}
return ""
}
func (x *UserLink) GetDirectRoles() []string {
if x != nil {
return x.DirectRoles
}
return nil
}
// Read-only resource used to summarize a principal's effective roles.
type AuditUserLink struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Example format: properties/1234/userLinks/5678
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Email address of the linked user
EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
// Roles directly assigned to this user for this entity.
//
// Format: predefinedRoles/read
//
// Excludes roles that are inherited from an account (if this is for a
// property), group, or organization admin role.
DirectRoles []string `protobuf:"bytes,3,rep,name=direct_roles,json=directRoles,proto3" json:"direct_roles,omitempty"`
// Union of all permissions a user has at this account or property (includes
// direct permissions, group-inherited permissions, etc.).
//
// Format: predefinedRoles/read
EffectiveRoles []string `protobuf:"bytes,4,rep,name=effective_roles,json=effectiveRoles,proto3" json:"effective_roles,omitempty"`
}
func (x *AuditUserLink) Reset() {
*x = AuditUserLink{}
if protoimpl.UnsafeEnabled {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AuditUserLink) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuditUserLink) ProtoMessage() {}
func (x *AuditUserLink) ProtoReflect() protoreflect.Message {
mi := &file_google_analytics_admin_v1alpha_resources_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AuditUserLink.ProtoReflect.Descriptor instead.
func (*AuditUserLink) Descriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{6}
}
func (x *AuditUserLink) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *AuditUserLink) GetEmailAddress() string {
if x != nil {
return x.EmailAddress
}
return ""
}
func (x *AuditUserLink) GetDirectRoles() []string {
if x != nil {
return x.DirectRoles
}
return nil
}
func (x *AuditUserLink) GetEffectiveRoles() []string {
if x != nil {
return x.EffectiveRoles
}
return nil
}
// Singleton resource under a WebDataStream, configuring measurement of
// additional site interactions and content.
type EnhancedMeasurementSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Resource name of this Data Stream.
// Format:
// properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
// Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Indicates whether Enhanced Measurement Settings will be used to
// automatically measure interactions and content on this web stream.
//
// Changing this value does not affect the settings themselves, but determines
// whether they are respected.
StreamEnabled bool `protobuf:"varint,2,opt,name=stream_enabled,json=streamEnabled,proto3" json:"stream_enabled,omitempty"`
// Output only. If enabled, capture a page view event each time a page loads or the
// website changes the browser history state.
PageViewsEnabled bool `protobuf:"varint,3,opt,name=page_views_enabled,json=pageViewsEnabled,proto3" json:"page_views_enabled,omitempty"`
// If enabled, capture scroll events each time a visitor gets to the bottom of
// a page.
ScrollsEnabled bool `protobuf:"varint,4,opt,name=scrolls_enabled,json=scrollsEnabled,proto3" json:"scrolls_enabled,omitempty"`
// If enabled, capture an outbound click event each time a visitor clicks a
// link that leads them away from your domain.
OutboundClicksEnabled bool `protobuf:"varint,5,opt,name=outbound_clicks_enabled,json=outboundClicksEnabled,proto3" json:"outbound_clicks_enabled,omitempty"`