/
resources.pb.go
5484 lines (4936 loc) · 254 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 2022 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.26.0
// protoc v3.21.5
// source: google/analytics/admin/v1alpha/resources.proto
package adminpb
import (
reflect "reflect"
sync "sync"
_ "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)
)
// 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}
}
// Various levels of service for Google Analytics.
type ServiceLevel int32
const (
// Service level not specified or invalid.
ServiceLevel_SERVICE_LEVEL_UNSPECIFIED ServiceLevel = 0
// The standard version of Google Analytics.
ServiceLevel_GOOGLE_ANALYTICS_STANDARD ServiceLevel = 1
// The paid, premium version of Google Analytics.
ServiceLevel_GOOGLE_ANALYTICS_360 ServiceLevel = 2
)
// Enum value maps for ServiceLevel.
var (
ServiceLevel_name = map[int32]string{
0: "SERVICE_LEVEL_UNSPECIFIED",
1: "GOOGLE_ANALYTICS_STANDARD",
2: "GOOGLE_ANALYTICS_360",
}
ServiceLevel_value = map[string]int32{
"SERVICE_LEVEL_UNSPECIFIED": 0,
"GOOGLE_ANALYTICS_STANDARD": 1,
"GOOGLE_ANALYTICS_360": 2,
}
)
func (x ServiceLevel) Enum() *ServiceLevel {
p := new(ServiceLevel)
*p = x
return p
}
func (x ServiceLevel) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ServiceLevel) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[1].Descriptor()
}
func (ServiceLevel) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[1]
}
func (x ServiceLevel) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ServiceLevel.Descriptor instead.
func (ServiceLevel) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{1}
}
// Different kinds of actors that can make changes to Google Analytics
// resources.
type ActorType int32
const (
// Unknown or unspecified actor type.
ActorType_ACTOR_TYPE_UNSPECIFIED ActorType = 0
// Changes made by the user specified in actor_email.
ActorType_USER ActorType = 1
// Changes made by the Google Analytics system.
ActorType_SYSTEM ActorType = 2
// Changes made by Google Analytics support team staff.
ActorType_SUPPORT ActorType = 3
)
// Enum value maps for ActorType.
var (
ActorType_name = map[int32]string{
0: "ACTOR_TYPE_UNSPECIFIED",
1: "USER",
2: "SYSTEM",
3: "SUPPORT",
}
ActorType_value = map[string]int32{
"ACTOR_TYPE_UNSPECIFIED": 0,
"USER": 1,
"SYSTEM": 2,
"SUPPORT": 3,
}
)
func (x ActorType) Enum() *ActorType {
p := new(ActorType)
*p = x
return p
}
func (x ActorType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ActorType) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[2].Descriptor()
}
func (ActorType) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[2]
}
func (x ActorType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ActorType.Descriptor instead.
func (ActorType) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{2}
}
// Types of actions that may change a resource.
type ActionType int32
const (
// Action type unknown or not specified.
ActionType_ACTION_TYPE_UNSPECIFIED ActionType = 0
// Resource was created in this change.
ActionType_CREATED ActionType = 1
// Resource was updated in this change.
ActionType_UPDATED ActionType = 2
// Resource was deleted in this change.
ActionType_DELETED ActionType = 3
)
// Enum value maps for ActionType.
var (
ActionType_name = map[int32]string{
0: "ACTION_TYPE_UNSPECIFIED",
1: "CREATED",
2: "UPDATED",
3: "DELETED",
}
ActionType_value = map[string]int32{
"ACTION_TYPE_UNSPECIFIED": 0,
"CREATED": 1,
"UPDATED": 2,
"DELETED": 3,
}
)
func (x ActionType) Enum() *ActionType {
p := new(ActionType)
*p = x
return p
}
func (x ActionType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ActionType) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[3].Descriptor()
}
func (ActionType) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[3]
}
func (x ActionType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ActionType.Descriptor instead.
func (ActionType) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{3}
}
// Types of resources whose changes may be returned from change history.
type ChangeHistoryResourceType int32
const (
// Resource type unknown or not specified.
ChangeHistoryResourceType_CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED ChangeHistoryResourceType = 0
// Account resource
ChangeHistoryResourceType_ACCOUNT ChangeHistoryResourceType = 1
// Property resource
ChangeHistoryResourceType_PROPERTY ChangeHistoryResourceType = 2
// FirebaseLink resource
ChangeHistoryResourceType_FIREBASE_LINK ChangeHistoryResourceType = 6
// GoogleAdsLink resource
ChangeHistoryResourceType_GOOGLE_ADS_LINK ChangeHistoryResourceType = 7
// GoogleSignalsSettings resource
ChangeHistoryResourceType_GOOGLE_SIGNALS_SETTINGS ChangeHistoryResourceType = 8
// ConversionEvent resource
ChangeHistoryResourceType_CONVERSION_EVENT ChangeHistoryResourceType = 9
// MeasurementProtocolSecret resource
ChangeHistoryResourceType_MEASUREMENT_PROTOCOL_SECRET ChangeHistoryResourceType = 10
// CustomDimension resource
ChangeHistoryResourceType_CUSTOM_DIMENSION ChangeHistoryResourceType = 11
// CustomMetric resource
ChangeHistoryResourceType_CUSTOM_METRIC ChangeHistoryResourceType = 12
// DataRetentionSettings resource
ChangeHistoryResourceType_DATA_RETENTION_SETTINGS ChangeHistoryResourceType = 13
// DisplayVideo360AdvertiserLink resource
ChangeHistoryResourceType_DISPLAY_VIDEO_360_ADVERTISER_LINK ChangeHistoryResourceType = 14
// DisplayVideo360AdvertiserLinkProposal resource
ChangeHistoryResourceType_DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL ChangeHistoryResourceType = 15
// SearchAds360Link resource
ChangeHistoryResourceType_SEARCH_ADS_360_LINK ChangeHistoryResourceType = 16
// DataStream resource
ChangeHistoryResourceType_DATA_STREAM ChangeHistoryResourceType = 18
// AttributionSettings resource
ChangeHistoryResourceType_ATTRIBUTION_SETTINGS ChangeHistoryResourceType = 20
)
// Enum value maps for ChangeHistoryResourceType.
var (
ChangeHistoryResourceType_name = map[int32]string{
0: "CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED",
1: "ACCOUNT",
2: "PROPERTY",
6: "FIREBASE_LINK",
7: "GOOGLE_ADS_LINK",
8: "GOOGLE_SIGNALS_SETTINGS",
9: "CONVERSION_EVENT",
10: "MEASUREMENT_PROTOCOL_SECRET",
11: "CUSTOM_DIMENSION",
12: "CUSTOM_METRIC",
13: "DATA_RETENTION_SETTINGS",
14: "DISPLAY_VIDEO_360_ADVERTISER_LINK",
15: "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL",
16: "SEARCH_ADS_360_LINK",
18: "DATA_STREAM",
20: "ATTRIBUTION_SETTINGS",
}
ChangeHistoryResourceType_value = map[string]int32{
"CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED": 0,
"ACCOUNT": 1,
"PROPERTY": 2,
"FIREBASE_LINK": 6,
"GOOGLE_ADS_LINK": 7,
"GOOGLE_SIGNALS_SETTINGS": 8,
"CONVERSION_EVENT": 9,
"MEASUREMENT_PROTOCOL_SECRET": 10,
"CUSTOM_DIMENSION": 11,
"CUSTOM_METRIC": 12,
"DATA_RETENTION_SETTINGS": 13,
"DISPLAY_VIDEO_360_ADVERTISER_LINK": 14,
"DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL": 15,
"SEARCH_ADS_360_LINK": 16,
"DATA_STREAM": 18,
"ATTRIBUTION_SETTINGS": 20,
}
)
func (x ChangeHistoryResourceType) Enum() *ChangeHistoryResourceType {
p := new(ChangeHistoryResourceType)
*p = x
return p
}
func (x ChangeHistoryResourceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChangeHistoryResourceType) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[4].Descriptor()
}
func (ChangeHistoryResourceType) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[4]
}
func (x ChangeHistoryResourceType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChangeHistoryResourceType.Descriptor instead.
func (ChangeHistoryResourceType) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{4}
}
// Status of the Google Signals settings (i.e., whether this feature has been
// enabled for the property).
type GoogleSignalsState int32
const (
// Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
// represent that the user has not made an explicit choice.
GoogleSignalsState_GOOGLE_SIGNALS_STATE_UNSPECIFIED GoogleSignalsState = 0
// Google Signals is enabled.
GoogleSignalsState_GOOGLE_SIGNALS_ENABLED GoogleSignalsState = 1
// Google Signals is disabled.
GoogleSignalsState_GOOGLE_SIGNALS_DISABLED GoogleSignalsState = 2
)
// Enum value maps for GoogleSignalsState.
var (
GoogleSignalsState_name = map[int32]string{
0: "GOOGLE_SIGNALS_STATE_UNSPECIFIED",
1: "GOOGLE_SIGNALS_ENABLED",
2: "GOOGLE_SIGNALS_DISABLED",
}
GoogleSignalsState_value = map[string]int32{
"GOOGLE_SIGNALS_STATE_UNSPECIFIED": 0,
"GOOGLE_SIGNALS_ENABLED": 1,
"GOOGLE_SIGNALS_DISABLED": 2,
}
)
func (x GoogleSignalsState) Enum() *GoogleSignalsState {
p := new(GoogleSignalsState)
*p = x
return p
}
func (x GoogleSignalsState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GoogleSignalsState) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[5].Descriptor()
}
func (GoogleSignalsState) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[5]
}
func (x GoogleSignalsState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use GoogleSignalsState.Descriptor instead.
func (GoogleSignalsState) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{5}
}
// Consent field of the Google Signals settings (i.e., whether the user has
// consented to the Google Signals terms of service.)
type GoogleSignalsConsent int32
const (
// Google Signals consent value defaults to
// GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as
// GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED.
GoogleSignalsConsent_GOOGLE_SIGNALS_CONSENT_UNSPECIFIED GoogleSignalsConsent = 0
// Terms of service have been accepted
GoogleSignalsConsent_GOOGLE_SIGNALS_CONSENT_CONSENTED GoogleSignalsConsent = 2
// Terms of service have not been accepted
GoogleSignalsConsent_GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED GoogleSignalsConsent = 1
)
// Enum value maps for GoogleSignalsConsent.
var (
GoogleSignalsConsent_name = map[int32]string{
0: "GOOGLE_SIGNALS_CONSENT_UNSPECIFIED",
2: "GOOGLE_SIGNALS_CONSENT_CONSENTED",
1: "GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED",
}
GoogleSignalsConsent_value = map[string]int32{
"GOOGLE_SIGNALS_CONSENT_UNSPECIFIED": 0,
"GOOGLE_SIGNALS_CONSENT_CONSENTED": 2,
"GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED": 1,
}
)
func (x GoogleSignalsConsent) Enum() *GoogleSignalsConsent {
p := new(GoogleSignalsConsent)
*p = x
return p
}
func (x GoogleSignalsConsent) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GoogleSignalsConsent) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[6].Descriptor()
}
func (GoogleSignalsConsent) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[6]
}
func (x GoogleSignalsConsent) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use GoogleSignalsConsent.Descriptor instead.
func (GoogleSignalsConsent) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{6}
}
// An indication of which product the user initiated a link proposal from.
type LinkProposalInitiatingProduct int32
const (
// Unspecified product.
LinkProposalInitiatingProduct_LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED LinkProposalInitiatingProduct = 0
// This proposal was created by a user from Google Analytics.
LinkProposalInitiatingProduct_GOOGLE_ANALYTICS LinkProposalInitiatingProduct = 1
// This proposal was created by a user from a linked product (not Google
// Analytics).
LinkProposalInitiatingProduct_LINKED_PRODUCT LinkProposalInitiatingProduct = 2
)
// Enum value maps for LinkProposalInitiatingProduct.
var (
LinkProposalInitiatingProduct_name = map[int32]string{
0: "LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED",
1: "GOOGLE_ANALYTICS",
2: "LINKED_PRODUCT",
}
LinkProposalInitiatingProduct_value = map[string]int32{
"LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED": 0,
"GOOGLE_ANALYTICS": 1,
"LINKED_PRODUCT": 2,
}
)
func (x LinkProposalInitiatingProduct) Enum() *LinkProposalInitiatingProduct {
p := new(LinkProposalInitiatingProduct)
*p = x
return p
}
func (x LinkProposalInitiatingProduct) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (LinkProposalInitiatingProduct) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[7].Descriptor()
}
func (LinkProposalInitiatingProduct) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[7]
}
func (x LinkProposalInitiatingProduct) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use LinkProposalInitiatingProduct.Descriptor instead.
func (LinkProposalInitiatingProduct) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{7}
}
// The state of a link proposal resource.
type LinkProposalState int32
const (
// Unspecified state
LinkProposalState_LINK_PROPOSAL_STATE_UNSPECIFIED LinkProposalState = 0
// This proposal is awaiting review from a Google Analytics user. This
// proposal will automatically expire after some time.
LinkProposalState_AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS LinkProposalState = 1
// This proposal is awaiting review from a user of a linked product. This
// proposal will automatically expire after some time.
LinkProposalState_AWAITING_REVIEW_FROM_LINKED_PRODUCT LinkProposalState = 2
// This proposal has been withdrawn by an admin on the initiating product.
// This proposal will be automatically deleted after some time.
LinkProposalState_WITHDRAWN LinkProposalState = 3
// This proposal has been declined by an admin on the receiving product. This
// proposal will be automatically deleted after some time.
LinkProposalState_DECLINED LinkProposalState = 4
// This proposal expired due to lack of response from an admin on the
// receiving product. This proposal will be automatically deleted after some
// time.
LinkProposalState_EXPIRED LinkProposalState = 5
// This proposal has become obsolete because a link was directly created to
// the same external product resource that this proposal specifies. This
// proposal will be automatically deleted after some time.
LinkProposalState_OBSOLETE LinkProposalState = 6
)
// Enum value maps for LinkProposalState.
var (
LinkProposalState_name = map[int32]string{
0: "LINK_PROPOSAL_STATE_UNSPECIFIED",
1: "AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS",
2: "AWAITING_REVIEW_FROM_LINKED_PRODUCT",
3: "WITHDRAWN",
4: "DECLINED",
5: "EXPIRED",
6: "OBSOLETE",
}
LinkProposalState_value = map[string]int32{
"LINK_PROPOSAL_STATE_UNSPECIFIED": 0,
"AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS": 1,
"AWAITING_REVIEW_FROM_LINKED_PRODUCT": 2,
"WITHDRAWN": 3,
"DECLINED": 4,
"EXPIRED": 5,
"OBSOLETE": 6,
}
)
func (x LinkProposalState) Enum() *LinkProposalState {
p := new(LinkProposalState)
*p = x
return p
}
func (x LinkProposalState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (LinkProposalState) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[8].Descriptor()
}
func (LinkProposalState) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[8]
}
func (x LinkProposalState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use LinkProposalState.Descriptor instead.
func (LinkProposalState) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{8}
}
// Types of Property resources.
type PropertyType int32
const (
// Unknown or unspecified property type
PropertyType_PROPERTY_TYPE_UNSPECIFIED PropertyType = 0
// Ordinary GA4 property
PropertyType_PROPERTY_TYPE_ORDINARY PropertyType = 1
// GA4 subproperty
PropertyType_PROPERTY_TYPE_SUBPROPERTY PropertyType = 2
// GA4 rollup property
PropertyType_PROPERTY_TYPE_ROLLUP PropertyType = 3
)
// Enum value maps for PropertyType.
var (
PropertyType_name = map[int32]string{
0: "PROPERTY_TYPE_UNSPECIFIED",
1: "PROPERTY_TYPE_ORDINARY",
2: "PROPERTY_TYPE_SUBPROPERTY",
3: "PROPERTY_TYPE_ROLLUP",
}
PropertyType_value = map[string]int32{
"PROPERTY_TYPE_UNSPECIFIED": 0,
"PROPERTY_TYPE_ORDINARY": 1,
"PROPERTY_TYPE_SUBPROPERTY": 2,
"PROPERTY_TYPE_ROLLUP": 3,
}
)
func (x PropertyType) Enum() *PropertyType {
p := new(PropertyType)
*p = x
return p
}
func (x PropertyType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PropertyType) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[9].Descriptor()
}
func (PropertyType) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[9]
}
func (x PropertyType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use PropertyType.Descriptor instead.
func (PropertyType) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{9}
}
// The type of the data stream.
type DataStream_DataStreamType int32
const (
// Type unknown or not specified.
DataStream_DATA_STREAM_TYPE_UNSPECIFIED DataStream_DataStreamType = 0
// Web data stream.
DataStream_WEB_DATA_STREAM DataStream_DataStreamType = 1
// Android app data stream.
DataStream_ANDROID_APP_DATA_STREAM DataStream_DataStreamType = 2
// iOS app data stream.
DataStream_IOS_APP_DATA_STREAM DataStream_DataStreamType = 3
)
// Enum value maps for DataStream_DataStreamType.
var (
DataStream_DataStreamType_name = map[int32]string{
0: "DATA_STREAM_TYPE_UNSPECIFIED",
1: "WEB_DATA_STREAM",
2: "ANDROID_APP_DATA_STREAM",
3: "IOS_APP_DATA_STREAM",
}
DataStream_DataStreamType_value = map[string]int32{
"DATA_STREAM_TYPE_UNSPECIFIED": 0,
"WEB_DATA_STREAM": 1,
"ANDROID_APP_DATA_STREAM": 2,
"IOS_APP_DATA_STREAM": 3,
}
)
func (x DataStream_DataStreamType) Enum() *DataStream_DataStreamType {
p := new(DataStream_DataStreamType)
*p = x
return p
}
func (x DataStream_DataStreamType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataStream_DataStreamType) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[10].Descriptor()
}
func (DataStream_DataStreamType) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[10]
}
func (x DataStream_DataStreamType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DataStream_DataStreamType.Descriptor instead.
func (DataStream_DataStreamType) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{2, 0}
}
// Valid values for the scope of this dimension.
type CustomDimension_DimensionScope int32
const (
// Scope unknown or not specified.
CustomDimension_DIMENSION_SCOPE_UNSPECIFIED CustomDimension_DimensionScope = 0
// Dimension scoped to an event.
CustomDimension_EVENT CustomDimension_DimensionScope = 1
// Dimension scoped to a user.
CustomDimension_USER CustomDimension_DimensionScope = 2
)
// Enum value maps for CustomDimension_DimensionScope.
var (
CustomDimension_DimensionScope_name = map[int32]string{
0: "DIMENSION_SCOPE_UNSPECIFIED",
1: "EVENT",
2: "USER",
}
CustomDimension_DimensionScope_value = map[string]int32{
"DIMENSION_SCOPE_UNSPECIFIED": 0,
"EVENT": 1,
"USER": 2,
}
)
func (x CustomDimension_DimensionScope) Enum() *CustomDimension_DimensionScope {
p := new(CustomDimension_DimensionScope)
*p = x
return p
}
func (x CustomDimension_DimensionScope) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CustomDimension_DimensionScope) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[11].Descriptor()
}
func (CustomDimension_DimensionScope) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[11]
}
func (x CustomDimension_DimensionScope) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CustomDimension_DimensionScope.Descriptor instead.
func (CustomDimension_DimensionScope) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{19, 0}
}
// Possible types of representing the custom metric's value.
//
// Currency representation may change in the future, requiring a breaking API
// change.
type CustomMetric_MeasurementUnit int32
const (
// MeasurementUnit unspecified or missing.
CustomMetric_MEASUREMENT_UNIT_UNSPECIFIED CustomMetric_MeasurementUnit = 0
// This metric uses default units.
CustomMetric_STANDARD CustomMetric_MeasurementUnit = 1
// This metric measures a currency.
CustomMetric_CURRENCY CustomMetric_MeasurementUnit = 2
// This metric measures feet.
CustomMetric_FEET CustomMetric_MeasurementUnit = 3
// This metric measures meters.
CustomMetric_METERS CustomMetric_MeasurementUnit = 4
// This metric measures kilometers.
CustomMetric_KILOMETERS CustomMetric_MeasurementUnit = 5
// This metric measures miles.
CustomMetric_MILES CustomMetric_MeasurementUnit = 6
// This metric measures milliseconds.
CustomMetric_MILLISECONDS CustomMetric_MeasurementUnit = 7
// This metric measures seconds.
CustomMetric_SECONDS CustomMetric_MeasurementUnit = 8
// This metric measures minutes.
CustomMetric_MINUTES CustomMetric_MeasurementUnit = 9
// This metric measures hours.
CustomMetric_HOURS CustomMetric_MeasurementUnit = 10
)
// Enum value maps for CustomMetric_MeasurementUnit.
var (
CustomMetric_MeasurementUnit_name = map[int32]string{
0: "MEASUREMENT_UNIT_UNSPECIFIED",
1: "STANDARD",
2: "CURRENCY",
3: "FEET",
4: "METERS",
5: "KILOMETERS",
6: "MILES",
7: "MILLISECONDS",
8: "SECONDS",
9: "MINUTES",
10: "HOURS",
}
CustomMetric_MeasurementUnit_value = map[string]int32{
"MEASUREMENT_UNIT_UNSPECIFIED": 0,
"STANDARD": 1,
"CURRENCY": 2,
"FEET": 3,
"METERS": 4,
"KILOMETERS": 5,
"MILES": 6,
"MILLISECONDS": 7,
"SECONDS": 8,
"MINUTES": 9,
"HOURS": 10,
}
)
func (x CustomMetric_MeasurementUnit) Enum() *CustomMetric_MeasurementUnit {
p := new(CustomMetric_MeasurementUnit)
*p = x
return p
}
func (x CustomMetric_MeasurementUnit) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CustomMetric_MeasurementUnit) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[12].Descriptor()
}
func (CustomMetric_MeasurementUnit) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[12]
}
func (x CustomMetric_MeasurementUnit) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CustomMetric_MeasurementUnit.Descriptor instead.
func (CustomMetric_MeasurementUnit) EnumDescriptor() ([]byte, []int) {
return file_google_analytics_admin_v1alpha_resources_proto_rawDescGZIP(), []int{20, 0}
}
// The scope of this metric.
type CustomMetric_MetricScope int32
const (
// Scope unknown or not specified.
CustomMetric_METRIC_SCOPE_UNSPECIFIED CustomMetric_MetricScope = 0
// Metric scoped to an event.
CustomMetric_EVENT CustomMetric_MetricScope = 1
)
// Enum value maps for CustomMetric_MetricScope.
var (
CustomMetric_MetricScope_name = map[int32]string{
0: "METRIC_SCOPE_UNSPECIFIED",
1: "EVENT",
}
CustomMetric_MetricScope_value = map[string]int32{
"METRIC_SCOPE_UNSPECIFIED": 0,
"EVENT": 1,
}
)
func (x CustomMetric_MetricScope) Enum() *CustomMetric_MetricScope {
p := new(CustomMetric_MetricScope)
*p = x
return p
}
func (x CustomMetric_MetricScope) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CustomMetric_MetricScope) Descriptor() protoreflect.EnumDescriptor {
return file_google_analytics_admin_v1alpha_resources_proto_enumTypes[13].Descriptor()
}
func (CustomMetric_MetricScope) Type() protoreflect.EnumType {
return &file_google_analytics_admin_v1alpha_resources_proto_enumTypes[13]
}
func (x CustomMetric_MetricScope) Number() protoreflect.EnumNumber {