google-analytics-admin-v1alpha 0.19.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/analytics/admin/v1alpha/audience.proto
3
4
 
@@ -7,130 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/analytics/admin/v1alpha/audience.proto", :syntax => :proto3) do
12
- add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter" do
13
- optional :field_name, :string, 1
14
- optional :at_any_point_in_time, :bool, 6
15
- optional :in_any_n_day_period, :int32, 7
16
- oneof :one_filter do
17
- optional :string_filter, :message, 2, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter"
18
- optional :in_list_filter, :message, 3, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter"
19
- optional :numeric_filter, :message, 4, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter"
20
- optional :between_filter, :message, 5, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter"
21
- end
22
- end
23
- add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter" do
24
- optional :match_type, :enum, 1, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType"
25
- optional :value, :string, 2
26
- optional :case_sensitive, :bool, 3
27
- end
28
- add_enum "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType" do
29
- value :MATCH_TYPE_UNSPECIFIED, 0
30
- value :EXACT, 1
31
- value :BEGINS_WITH, 2
32
- value :ENDS_WITH, 3
33
- value :CONTAINS, 4
34
- value :FULL_REGEXP, 5
35
- end
36
- add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter" do
37
- repeated :values, :string, 1
38
- optional :case_sensitive, :bool, 2
39
- end
40
- add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue" do
41
- oneof :one_value do
42
- optional :int64_value, :int64, 1
43
- optional :double_value, :double, 2
44
- end
45
- end
46
- add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter" do
47
- optional :operation, :enum, 1, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation"
48
- optional :value, :message, 2, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue"
49
- end
50
- add_enum "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation" do
51
- value :OPERATION_UNSPECIFIED, 0
52
- value :EQUAL, 1
53
- value :LESS_THAN, 2
54
- value :GREATER_THAN, 4
55
- end
56
- add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter" do
57
- optional :from_value, :message, 1, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue"
58
- optional :to_value, :message, 2, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue"
59
- end
60
- add_message "google.analytics.admin.v1alpha.AudienceEventFilter" do
61
- optional :event_name, :string, 1
62
- optional :event_parameter_filter_expression, :message, 2, "google.analytics.admin.v1alpha.AudienceFilterExpression"
63
- end
64
- add_message "google.analytics.admin.v1alpha.AudienceFilterExpression" do
65
- oneof :expr do
66
- optional :and_group, :message, 1, "google.analytics.admin.v1alpha.AudienceFilterExpressionList"
67
- optional :or_group, :message, 2, "google.analytics.admin.v1alpha.AudienceFilterExpressionList"
68
- optional :not_expression, :message, 3, "google.analytics.admin.v1alpha.AudienceFilterExpression"
69
- optional :dimension_or_metric_filter, :message, 4, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter"
70
- optional :event_filter, :message, 5, "google.analytics.admin.v1alpha.AudienceEventFilter"
71
- end
72
- end
73
- add_message "google.analytics.admin.v1alpha.AudienceFilterExpressionList" do
74
- repeated :filter_expressions, :message, 1, "google.analytics.admin.v1alpha.AudienceFilterExpression"
75
- end
76
- add_message "google.analytics.admin.v1alpha.AudienceSimpleFilter" do
77
- optional :scope, :enum, 1, "google.analytics.admin.v1alpha.AudienceFilterScope"
78
- optional :filter_expression, :message, 2, "google.analytics.admin.v1alpha.AudienceFilterExpression"
79
- end
80
- add_message "google.analytics.admin.v1alpha.AudienceSequenceFilter" do
81
- optional :scope, :enum, 1, "google.analytics.admin.v1alpha.AudienceFilterScope"
82
- optional :sequence_maximum_duration, :message, 2, "google.protobuf.Duration"
83
- repeated :sequence_steps, :message, 3, "google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep"
84
- end
85
- add_message "google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep" do
86
- optional :scope, :enum, 1, "google.analytics.admin.v1alpha.AudienceFilterScope"
87
- optional :immediately_follows, :bool, 2
88
- optional :constraint_duration, :message, 3, "google.protobuf.Duration"
89
- optional :filter_expression, :message, 4, "google.analytics.admin.v1alpha.AudienceFilterExpression"
90
- end
91
- add_message "google.analytics.admin.v1alpha.AudienceFilterClause" do
92
- optional :clause_type, :enum, 1, "google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType"
93
- oneof :filter do
94
- optional :simple_filter, :message, 2, "google.analytics.admin.v1alpha.AudienceSimpleFilter"
95
- optional :sequence_filter, :message, 3, "google.analytics.admin.v1alpha.AudienceSequenceFilter"
96
- end
97
- end
98
- add_enum "google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType" do
99
- value :AUDIENCE_CLAUSE_TYPE_UNSPECIFIED, 0
100
- value :INCLUDE, 1
101
- value :EXCLUDE, 2
102
- end
103
- add_message "google.analytics.admin.v1alpha.AudienceEventTrigger" do
104
- optional :event_name, :string, 1
105
- optional :log_condition, :enum, 2, "google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition"
106
- end
107
- add_enum "google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition" do
108
- value :LOG_CONDITION_UNSPECIFIED, 0
109
- value :AUDIENCE_JOINED, 1
110
- value :AUDIENCE_MEMBERSHIP_RENEWED, 2
111
- end
112
- add_message "google.analytics.admin.v1alpha.Audience" do
113
- optional :name, :string, 1
114
- optional :display_name, :string, 2
115
- optional :description, :string, 3
116
- optional :membership_duration_days, :int32, 4
117
- optional :ads_personalization_enabled, :bool, 5
118
- optional :event_trigger, :message, 6, "google.analytics.admin.v1alpha.AudienceEventTrigger"
119
- optional :exclusion_duration_mode, :enum, 7, "google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode"
120
- repeated :filter_clauses, :message, 8, "google.analytics.admin.v1alpha.AudienceFilterClause"
121
- end
122
- add_enum "google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode" do
123
- value :AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED, 0
124
- value :EXCLUDE_TEMPORARILY, 1
125
- value :EXCLUDE_PERMANENTLY, 2
126
- end
127
- add_enum "google.analytics.admin.v1alpha.AudienceFilterScope" do
128
- value :AUDIENCE_FILTER_SCOPE_UNSPECIFIED, 0
129
- value :AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT, 1
130
- value :AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION, 2
131
- value :AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS, 3
11
+
12
+ descriptor_data = "\n-google/analytics/admin/v1alpha/audience.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\xfc\x0b\n\x1f\x41udienceDimensionOrMetricFilter\x12\x65\n\rstring_filter\x18\x02 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterH\x00\x12\x66\n\x0ein_list_filter\x18\x03 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterH\x00\x12g\n\x0enumeric_filter\x18\x04 \x01(\x0b\x32M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterH\x00\x12g\n\x0e\x62\x65tween_filter\x18\x05 \x01(\x0b\x32M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterH\x00\x12\x1a\n\nfield_name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12!\n\x14\x61t_any_point_in_time\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12 \n\x13in_any_n_day_period\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x1a\xa3\x02\n\x0cStringFilter\x12o\n\nmatch_type\x18\x01 \x01(\x0e\x32V.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchTypeB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"q\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0f\n\x0b\x42\x45GINS_WITH\x10\x02\x12\r\n\tENDS_WITH\x10\x03\x12\x0c\n\x08\x43ONTAINS\x10\x04\x12\x0f\n\x0b\x46ULL_REGEXP\x10\x05\x1a@\n\x0cInListFilter\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63\x61se_sensitive\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1aJ\n\x0cNumericValue\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x42\x0b\n\tone_value\x1a\xb6\x02\n\rNumericFilter\x12o\n\toperation\x18\x01 \x01(\x0e\x32W.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.OperationB\x03\xe0\x41\x02\x12`\n\x05value\x18\x02 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xe0\x41\x02\"R\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x45QUAL\x10\x01\x12\r\n\tLESS_THAN\x10\x02\x12\x10\n\x0cGREATER_THAN\x10\x04\x1a\xdb\x01\n\rBetweenFilter\x12\x65\n\nfrom_value\x18\x01 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xe0\x41\x02\x12\x63\n\x08to_value\x18\x02 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xe0\x41\x02\x42\x0c\n\none_filter\"\x9b\x01\n\x13\x41udienceEventFilter\x12\x1a\n\nevent_name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12h\n!event_parameter_filter_expression\x18\x02 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x03\xe0\x41\x01\"\xcf\x03\n\x18\x41udienceFilterExpression\x12Q\n\tand_group\x18\x01 \x01(\x0b\x32<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12P\n\x08or_group\x18\x02 \x01(\x0b\x32<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12R\n\x0enot_expression\x18\x03 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionH\x00\x12\x65\n\x1a\x64imension_or_metric_filter\x18\x04 \x01(\x0b\x32?.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterH\x00\x12K\n\x0c\x65vent_filter\x18\x05 \x01(\x0b\x32\x33.google.analytics.admin.v1alpha.AudienceEventFilterH\x00\x42\x06\n\x04\x65xpr\"t\n\x1c\x41udienceFilterExpressionList\x12T\n\x12\x66ilter_expressions\x18\x01 \x03(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpression\"\xbf\x01\n\x14\x41udienceSimpleFilter\x12J\n\x05scope\x18\x01 \x01(\x0e\x32\x33.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xe0\x41\x02\xe0\x41\x05\x12[\n\x11\x66ilter_expression\x18\x02 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x06\xe0\x41\x02\xe0\x41\x05\"\xb2\x04\n\x16\x41udienceSequenceFilter\x12J\n\x05scope\x18\x01 \x01(\x0e\x32\x33.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xe0\x41\x02\xe0\x41\x05\x12\x41\n\x19sequence_maximum_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12h\n\x0esequence_steps\x18\x03 \x03(\x0b\x32K.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepB\x03\xe0\x41\x02\x1a\x9e\x02\n\x14\x41udienceSequenceStep\x12J\n\x05scope\x18\x01 \x01(\x0e\x32\x33.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xe0\x41\x02\xe0\x41\x05\x12 \n\x13immediately_follows\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12;\n\x13\x63onstraint_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12[\n\x11\x66ilter_expression\x18\x04 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x06\xe0\x41\x02\xe0\x41\x05\"\xfb\x02\n\x14\x41udienceFilterClause\x12M\n\rsimple_filter\x18\x02 \x01(\x0b\x32\x34.google.analytics.admin.v1alpha.AudienceSimpleFilterH\x00\x12Q\n\x0fsequence_filter\x18\x03 \x01(\x0b\x32\x36.google.analytics.admin.v1alpha.AudienceSequenceFilterH\x00\x12\x61\n\x0b\x63lause_type\x18\x01 \x01(\x0e\x32G.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseTypeB\x03\xe0\x41\x02\"T\n\x12\x41udienceClauseType\x12$\n AUDIENCE_CLAUSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INCLUDE\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02\x42\x08\n\x06\x66ilter\"\xf3\x01\n\x14\x41udienceEventTrigger\x12\x17\n\nevent_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12]\n\rlog_condition\x18\x02 \x01(\x0e\x32\x41.google.analytics.admin.v1alpha.AudienceEventTrigger.LogConditionB\x03\xe0\x41\x02\"c\n\x0cLogCondition\x12\x1d\n\x19LOG_CONDITION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x41UDIENCE_JOINED\x10\x01\x12\x1f\n\x1b\x41UDIENCE_MEMBERSHIP_RENEWED\x10\x02\"\x9e\x05\n\x08\x41udience\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12(\n\x18membership_duration_days\x18\x04 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12(\n\x1b\x61\x64s_personalization_enabled\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12P\n\revent_trigger\x18\x06 \x01(\x0b\x32\x34.google.analytics.admin.v1alpha.AudienceEventTriggerB\x03\xe0\x41\x01\x12l\n\x17\x65xclusion_duration_mode\x18\x07 \x01(\x0e\x32\x46.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationModeB\x03\xe0\x41\x05\x12W\n\x0e\x66ilter_clauses\x18\x08 \x03(\x0b\x32\x34.google.analytics.admin.v1alpha.AudienceFilterClauseB\t\xe0\x41\x05\xe0\x41\x02\xe0\x41\x06\"\x83\x01\n\x1d\x41udienceExclusionDurationMode\x12\x30\n,AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45XCLUDE_TEMPORARILY\x10\x01\x12\x17\n\x13\x45XCLUDE_PERMANENTLY\x10\x02:W\xea\x41T\n&analyticsadmin.googleapis.com/Audience\x12*properties/{property}/audiences/{audience}*\xc7\x01\n\x13\x41udienceFilterScope\x12%\n!AUDIENCE_FILTER_SCOPE_UNSPECIFIED\x10\x00\x12+\n\'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT\x10\x01\x12-\n)AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION\x10\x02\x12-\n)AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS\x10\x03\x42u\n\"com.google.analytics.admin.v1alphaB\rAudienceProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
132
33
  end
133
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
134
37
  end
135
38
 
136
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/analytics/admin/v1alpha/channel_group.proto
3
4
 
@@ -6,54 +7,31 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/analytics/admin/v1alpha/channel_group.proto", :syntax => :proto3) do
11
- add_message "google.analytics.admin.v1alpha.ChannelGroupFilter" do
12
- optional :field_name, :string, 1
13
- oneof :value_filter do
14
- optional :string_filter, :message, 2, "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter"
15
- optional :in_list_filter, :message, 3, "google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter"
16
- end
17
- end
18
- add_message "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter" do
19
- optional :match_type, :enum, 1, "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType"
20
- optional :value, :string, 2
21
- end
22
- add_enum "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType" do
23
- value :MATCH_TYPE_UNSPECIFIED, 0
24
- value :EXACT, 1
25
- value :BEGINS_WITH, 2
26
- value :ENDS_WITH, 3
27
- value :CONTAINS, 4
28
- value :FULL_REGEXP, 5
29
- value :PARTIAL_REGEXP, 6
30
- end
31
- add_message "google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter" do
32
- repeated :values, :string, 1
33
- end
34
- add_message "google.analytics.admin.v1alpha.ChannelGroupFilterExpression" do
35
- oneof :expr do
36
- optional :and_group, :message, 1, "google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList"
37
- optional :or_group, :message, 2, "google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList"
38
- optional :not_expression, :message, 3, "google.analytics.admin.v1alpha.ChannelGroupFilterExpression"
39
- optional :filter, :message, 4, "google.analytics.admin.v1alpha.ChannelGroupFilter"
40
- end
41
- end
42
- add_message "google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList" do
43
- repeated :filter_expressions, :message, 1, "google.analytics.admin.v1alpha.ChannelGroupFilterExpression"
44
- end
45
- add_message "google.analytics.admin.v1alpha.GroupingRule" do
46
- optional :display_name, :string, 1
47
- optional :expression, :message, 2, "google.analytics.admin.v1alpha.ChannelGroupFilterExpression"
48
- end
49
- add_message "google.analytics.admin.v1alpha.ChannelGroup" do
50
- optional :name, :string, 1
51
- optional :display_name, :string, 2
52
- optional :description, :string, 3
53
- repeated :grouping_rule, :message, 4, "google.analytics.admin.v1alpha.GroupingRule"
54
- optional :system_defined, :bool, 5
10
+
11
+ descriptor_data = "\n2google/analytics/admin/v1alpha/channel_group.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xab\x04\n\x12\x43hannelGroupFilter\x12X\n\rstring_filter\x18\x02 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterH\x00\x12Y\n\x0ein_list_filter\x18\x03 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterH\x00\x12\x1a\n\nfield_name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x1a\x8e\x02\n\x0cStringFilter\x12\x62\n\nmatch_type\x18\x01 \x01(\x0e\x32I.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchTypeB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x85\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0f\n\x0b\x42\x45GINS_WITH\x10\x02\x12\r\n\tENDS_WITH\x10\x03\x12\x0c\n\x08\x43ONTAINS\x10\x04\x12\x0f\n\x0b\x46ULL_REGEXP\x10\x05\x12\x12\n\x0ePARTIAL_REGEXP\x10\x06\x1a#\n\x0cInListFilter\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\x0e\n\x0cvalue_filter\"\xf1\x02\n\x1c\x43hannelGroupFilterExpression\x12U\n\tand_group\x18\x01 \x01(\x0b\x32@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12T\n\x08or_group\x18\x02 \x01(\x0b\x32@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12V\n\x0enot_expression\x18\x03 \x01(\x0b\x32<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionH\x00\x12\x44\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x32.google.analytics.admin.v1alpha.ChannelGroupFilterH\x00\x42\x06\n\x04\x65xpr\"|\n ChannelGroupFilterExpressionList\x12X\n\x12\x66ilter_expressions\x18\x01 \x03(\x0b\x32<.google.analytics.admin.v1alpha.ChannelGroupFilterExpression\"\x80\x01\n\x0cGroupingRule\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12U\n\nexpression\x18\x02 \x01(\x0b\x32<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionB\x03\xe0\x41\x02\"\x9e\x02\n\x0c\x43hannelGroup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12H\n\rgrouping_rule\x18\x04 \x03(\x0b\x32,.google.analytics.admin.v1alpha.GroupingRuleB\x03\xe0\x41\x02\x12\x1b\n\x0esystem_defined\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03:d\xea\x41\x61\n*analyticsadmin.googleapis.com/ChannelGroup\x12\x33properties/{property}/channelGroups/{channel_group}By\n\"com.google.analytics.admin.v1alphaB\x11\x43hannelGroupProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
55
31
  end
56
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
57
35
  end
58
36
 
59
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/analytics/admin/v1alpha/event_create_and_edit.proto
3
4
 
@@ -6,43 +7,31 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/analytics/admin/v1alpha/event_create_and_edit.proto", :syntax => :proto3) do
11
- add_message "google.analytics.admin.v1alpha.ParameterMutation" do
12
- optional :parameter, :string, 1
13
- optional :parameter_value, :string, 2
14
- end
15
- add_message "google.analytics.admin.v1alpha.EventCreateRule" do
16
- optional :name, :string, 1
17
- optional :destination_event, :string, 2
18
- repeated :event_conditions, :message, 3, "google.analytics.admin.v1alpha.MatchingCondition"
19
- optional :source_copy_parameters, :bool, 4
20
- repeated :parameter_mutations, :message, 5, "google.analytics.admin.v1alpha.ParameterMutation"
21
- end
22
- add_message "google.analytics.admin.v1alpha.MatchingCondition" do
23
- optional :field, :string, 1
24
- optional :comparison_type, :enum, 2, "google.analytics.admin.v1alpha.MatchingCondition.ComparisonType"
25
- optional :value, :string, 3
26
- optional :negated, :bool, 4
27
- end
28
- add_enum "google.analytics.admin.v1alpha.MatchingCondition.ComparisonType" do
29
- value :COMPARISON_TYPE_UNSPECIFIED, 0
30
- value :EQUALS, 1
31
- value :EQUALS_CASE_INSENSITIVE, 2
32
- value :CONTAINS, 3
33
- value :CONTAINS_CASE_INSENSITIVE, 4
34
- value :STARTS_WITH, 5
35
- value :STARTS_WITH_CASE_INSENSITIVE, 6
36
- value :ENDS_WITH, 7
37
- value :ENDS_WITH_CASE_INSENSITIVE, 8
38
- value :GREATER_THAN, 9
39
- value :GREATER_THAN_OR_EQUAL, 10
40
- value :LESS_THAN, 11
41
- value :LESS_THAN_OR_EQUAL, 12
42
- value :REGULAR_EXPRESSION, 13
43
- value :REGULAR_EXPRESSION_CASE_INSENSITIVE, 14
10
+
11
+ descriptor_data = "\n:google/analytics/admin/v1alpha/event_create_and_edit.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"I\n\x11ParameterMutation\x12\x16\n\tparameter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fparameter_value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x92\x03\n\x0f\x45ventCreateRule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11\x64\x65stination_event\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x10\x65vent_conditions\x18\x03 \x03(\x0b\x32\x31.google.analytics.admin.v1alpha.MatchingConditionB\x03\xe0\x41\x02\x12\x1e\n\x16source_copy_parameters\x18\x04 \x01(\x08\x12N\n\x13parameter_mutations\x18\x05 \x03(\x0b\x32\x31.google.analytics.admin.v1alpha.ParameterMutation:\x89\x01\xea\x41\x85\x01\n-analyticsadmin.googleapis.com/EventCreateRule\x12Tproperties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}\"\xad\x04\n\x11MatchingCondition\x12\x12\n\x05\x66ield\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12^\n\x0f\x63omparison_type\x18\x02 \x01(\x0e\x32@.google.analytics.admin.v1alpha.MatchingCondition.ComparisonTypeB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07negated\x18\x04 \x01(\x08\"\xfe\x02\n\x0e\x43omparisonType\x12\x1f\n\x1b\x43OMPARISON_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x45QUALS\x10\x01\x12\x1b\n\x17\x45QUALS_CASE_INSENSITIVE\x10\x02\x12\x0c\n\x08\x43ONTAINS\x10\x03\x12\x1d\n\x19\x43ONTAINS_CASE_INSENSITIVE\x10\x04\x12\x0f\n\x0bSTARTS_WITH\x10\x05\x12 \n\x1cSTARTS_WITH_CASE_INSENSITIVE\x10\x06\x12\r\n\tENDS_WITH\x10\x07\x12\x1e\n\x1a\x45NDS_WITH_CASE_INSENSITIVE\x10\x08\x12\x10\n\x0cGREATER_THAN\x10\t\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\n\x12\r\n\tLESS_THAN\x10\x0b\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x0c\x12\x16\n\x12REGULAR_EXPRESSION\x10\r\x12\'\n#REGULAR_EXPRESSION_CASE_INSENSITIVE\x10\x0e\x42\x66\n\"com.google.analytics.admin.v1alphaP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
44
31
  end
45
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
46
35
  end
47
36
 
48
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/analytics/admin/v1alpha/expanded_data_set.proto
3
4
 
@@ -7,49 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/analytics/admin/v1alpha/expanded_data_set.proto", :syntax => :proto3) do
12
- add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilter" do
13
- optional :field_name, :string, 1
14
- oneof :one_filter do
15
- optional :string_filter, :message, 2, "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter"
16
- optional :in_list_filter, :message, 3, "google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter"
17
- end
18
- end
19
- add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter" do
20
- optional :match_type, :enum, 1, "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType"
21
- optional :value, :string, 2
22
- optional :case_sensitive, :bool, 3
23
- end
24
- add_enum "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType" do
25
- value :MATCH_TYPE_UNSPECIFIED, 0
26
- value :EXACT, 1
27
- value :CONTAINS, 2
28
- end
29
- add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter" do
30
- repeated :values, :string, 1
31
- optional :case_sensitive, :bool, 2
32
- end
33
- add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression" do
34
- oneof :expr do
35
- optional :and_group, :message, 1, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList"
36
- optional :not_expression, :message, 2, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression"
37
- optional :filter, :message, 3, "google.analytics.admin.v1alpha.ExpandedDataSetFilter"
38
- end
39
- end
40
- add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList" do
41
- repeated :filter_expressions, :message, 1, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression"
42
- end
43
- add_message "google.analytics.admin.v1alpha.ExpandedDataSet" do
44
- optional :name, :string, 1
45
- optional :display_name, :string, 2
46
- optional :description, :string, 3
47
- repeated :dimension_names, :string, 4
48
- repeated :metric_names, :string, 5
49
- optional :dimension_filter_expression, :message, 6, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression"
50
- optional :data_collection_start_time, :message, 7, "google.protobuf.Timestamp"
11
+
12
+ descriptor_data = "\n6google/analytics/admin/v1alpha/expanded_data_set.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x04\n\x15\x45xpandedDataSetFilter\x12[\n\rstring_filter\x18\x02 \x01(\x0b\x32\x42.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterH\x00\x12\\\n\x0ein_list_filter\x18\x03 \x01(\x0b\x32\x42.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterH\x00\x12\x17\n\nfield_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\xe8\x01\n\x0cStringFilter\x12\x65\n\nmatch_type\x18\x01 \x01(\x0e\x32L.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchTypeB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"@\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\x1a@\n\x0cInListFilter\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63\x61se_sensitive\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x42\x0c\n\none_filter\"\xa7\x02\n\x1f\x45xpandedDataSetFilterExpression\x12X\n\tand_group\x18\x01 \x01(\x0b\x32\x43.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListH\x00\x12Y\n\x0enot_expression\x18\x02 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionH\x00\x12G\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x35.google.analytics.admin.v1alpha.ExpandedDataSetFilterH\x00\x42\x06\n\x04\x65xpr\"\x82\x01\n#ExpandedDataSetFilterExpressionList\x12[\n\x12\x66ilter_expressions\x18\x01 \x03(\x0b\x32?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression\"\xb2\x03\n\x0f\x45xpandedDataSet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x64imension_names\x18\x04 \x03(\tB\x03\xe0\x41\x05\x12\x19\n\x0cmetric_names\x18\x05 \x03(\tB\x03\xe0\x41\x05\x12i\n\x1b\x64imension_filter_expression\x18\x06 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionB\x03\xe0\x41\x05\x12\x43\n\x1a\x64\x61ta_collection_start_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:n\xea\x41k\n-analyticsadmin.googleapis.com/ExpandedDataSet\x12:properties/{property}/expandedDataSets/{expanded_data_set}B|\n\"com.google.analytics.admin.v1alphaB\x14\x45xpandedDataSetProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
51
33
  end
52
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
53
37
  end
54
38
 
55
39
  module Google