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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbcc267840007acf48b9a0a2f80eb9cb9821cb5bfb289cafddc4c5694d34921a
4
- data.tar.gz: fc8909fc06d15183223fd1b429fa85b08c6e371d3cea8ae17fee94a44fe84839
3
+ metadata.gz: 999333ae74fdcd827cfb4890e431c466f0e43e0c5f48811f1daebe52ffb5d304
4
+ data.tar.gz: f06a66a5055c9c861ee831ca9a9652fba9df0931c9f1bd4a3072acf1bd19f705
5
5
  SHA512:
6
- metadata.gz: ecf88860aac1414728d5a77f130d435bf19b3c7f32c39745277b811a3cffcff11e25e62e70e5928f6ed33999f830ffba4c0647ebf9a9c1021bb6dd83fcc7c570
7
- data.tar.gz: cd5c44a554c2696aea0c4a7d2d8ad5b88a9eca6ad026fd0068f862810e1f0e78afa67806a012090010518325fa35f111ac68834843fff002050ac1b01bd730c8
6
+ metadata.gz: 01c28b4304427af7d5f568f2976ccb570a1a35e2412afd507a363a920972dd4284fd41664453128c1cfb1c81dd071b8c17c3cb4191b74360ae93052ae1d039ea
7
+ data.tar.gz: 3fc68b12ed857df19e0d93fb1ccfe3e342cff7bbe49b3ddda35f0cc4f01d3848f6fb037a5400c3a6773c019b470489e940d7574986c3a140b3d647f5a2df5c8b
@@ -1,128 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/analytics/admin/v1alpha/access_report.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/analytics/admin/v1alpha/access_report.proto", :syntax => :proto3) do
8
- add_message "google.analytics.admin.v1alpha.AccessDimension" do
9
- optional :dimension_name, :string, 1
10
- end
11
- add_message "google.analytics.admin.v1alpha.AccessMetric" do
12
- optional :metric_name, :string, 1
13
- end
14
- add_message "google.analytics.admin.v1alpha.AccessDateRange" do
15
- optional :start_date, :string, 1
16
- optional :end_date, :string, 2
17
- end
18
- add_message "google.analytics.admin.v1alpha.AccessFilterExpression" do
19
- oneof :one_expression do
20
- optional :and_group, :message, 1, "google.analytics.admin.v1alpha.AccessFilterExpressionList"
21
- optional :or_group, :message, 2, "google.analytics.admin.v1alpha.AccessFilterExpressionList"
22
- optional :not_expression, :message, 3, "google.analytics.admin.v1alpha.AccessFilterExpression"
23
- optional :access_filter, :message, 4, "google.analytics.admin.v1alpha.AccessFilter"
24
- end
25
- end
26
- add_message "google.analytics.admin.v1alpha.AccessFilterExpressionList" do
27
- repeated :expressions, :message, 1, "google.analytics.admin.v1alpha.AccessFilterExpression"
28
- end
29
- add_message "google.analytics.admin.v1alpha.AccessFilter" do
30
- optional :field_name, :string, 1
31
- oneof :one_filter do
32
- optional :string_filter, :message, 2, "google.analytics.admin.v1alpha.AccessStringFilter"
33
- optional :in_list_filter, :message, 3, "google.analytics.admin.v1alpha.AccessInListFilter"
34
- optional :numeric_filter, :message, 4, "google.analytics.admin.v1alpha.AccessNumericFilter"
35
- optional :between_filter, :message, 5, "google.analytics.admin.v1alpha.AccessBetweenFilter"
36
- end
37
- end
38
- add_message "google.analytics.admin.v1alpha.AccessStringFilter" do
39
- optional :match_type, :enum, 1, "google.analytics.admin.v1alpha.AccessStringFilter.MatchType"
40
- optional :value, :string, 2
41
- optional :case_sensitive, :bool, 3
42
- end
43
- add_enum "google.analytics.admin.v1alpha.AccessStringFilter.MatchType" do
44
- value :MATCH_TYPE_UNSPECIFIED, 0
45
- value :EXACT, 1
46
- value :BEGINS_WITH, 2
47
- value :ENDS_WITH, 3
48
- value :CONTAINS, 4
49
- value :FULL_REGEXP, 5
50
- value :PARTIAL_REGEXP, 6
51
- end
52
- add_message "google.analytics.admin.v1alpha.AccessInListFilter" do
53
- repeated :values, :string, 1
54
- optional :case_sensitive, :bool, 2
55
- end
56
- add_message "google.analytics.admin.v1alpha.AccessNumericFilter" do
57
- optional :operation, :enum, 1, "google.analytics.admin.v1alpha.AccessNumericFilter.Operation"
58
- optional :value, :message, 2, "google.analytics.admin.v1alpha.NumericValue"
59
- end
60
- add_enum "google.analytics.admin.v1alpha.AccessNumericFilter.Operation" do
61
- value :OPERATION_UNSPECIFIED, 0
62
- value :EQUAL, 1
63
- value :LESS_THAN, 2
64
- value :LESS_THAN_OR_EQUAL, 3
65
- value :GREATER_THAN, 4
66
- value :GREATER_THAN_OR_EQUAL, 5
67
- end
68
- add_message "google.analytics.admin.v1alpha.AccessBetweenFilter" do
69
- optional :from_value, :message, 1, "google.analytics.admin.v1alpha.NumericValue"
70
- optional :to_value, :message, 2, "google.analytics.admin.v1alpha.NumericValue"
71
- end
72
- add_message "google.analytics.admin.v1alpha.NumericValue" do
73
- oneof :one_value do
74
- optional :int64_value, :int64, 1
75
- optional :double_value, :double, 2
76
- end
77
- end
78
- add_message "google.analytics.admin.v1alpha.AccessOrderBy" do
79
- optional :desc, :bool, 3
80
- oneof :one_order_by do
81
- optional :metric, :message, 1, "google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy"
82
- optional :dimension, :message, 2, "google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy"
83
- end
84
- end
85
- add_message "google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy" do
86
- optional :metric_name, :string, 1
87
- end
88
- add_message "google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy" do
89
- optional :dimension_name, :string, 1
90
- optional :order_type, :enum, 2, "google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType"
91
- end
92
- add_enum "google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType" do
93
- value :ORDER_TYPE_UNSPECIFIED, 0
94
- value :ALPHANUMERIC, 1
95
- value :CASE_INSENSITIVE_ALPHANUMERIC, 2
96
- value :NUMERIC, 3
97
- end
98
- add_message "google.analytics.admin.v1alpha.AccessDimensionHeader" do
99
- optional :dimension_name, :string, 1
100
- end
101
- add_message "google.analytics.admin.v1alpha.AccessMetricHeader" do
102
- optional :metric_name, :string, 1
103
- end
104
- add_message "google.analytics.admin.v1alpha.AccessRow" do
105
- repeated :dimension_values, :message, 1, "google.analytics.admin.v1alpha.AccessDimensionValue"
106
- repeated :metric_values, :message, 2, "google.analytics.admin.v1alpha.AccessMetricValue"
107
- end
108
- add_message "google.analytics.admin.v1alpha.AccessDimensionValue" do
109
- optional :value, :string, 1
110
- end
111
- add_message "google.analytics.admin.v1alpha.AccessMetricValue" do
112
- optional :value, :string, 1
113
- end
114
- add_message "google.analytics.admin.v1alpha.AccessQuota" do
115
- optional :tokens_per_day, :message, 1, "google.analytics.admin.v1alpha.AccessQuotaStatus"
116
- optional :tokens_per_hour, :message, 2, "google.analytics.admin.v1alpha.AccessQuotaStatus"
117
- optional :concurrent_requests, :message, 3, "google.analytics.admin.v1alpha.AccessQuotaStatus"
118
- optional :server_errors_per_project_per_hour, :message, 4, "google.analytics.admin.v1alpha.AccessQuotaStatus"
119
- optional :tokens_per_project_per_hour, :message, 5, "google.analytics.admin.v1alpha.AccessQuotaStatus"
120
- end
121
- add_message "google.analytics.admin.v1alpha.AccessQuotaStatus" do
122
- optional :consumed, :int32, 1
123
- optional :remaining, :int32, 2
7
+
8
+ descriptor_data = "\n2google/analytics/admin/v1alpha/access_report.proto\x12\x1egoogle.analytics.admin.v1alpha\")\n\x0f\x41\x63\x63\x65ssDimension\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\"#\n\x0c\x41\x63\x63\x65ssMetric\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\"7\n\x0f\x41\x63\x63\x65ssDateRange\x12\x12\n\nstart_date\x18\x01 \x01(\t\x12\x10\n\x08\x65nd_date\x18\x02 \x01(\t\"\xe4\x02\n\x16\x41\x63\x63\x65ssFilterExpression\x12O\n\tand_group\x18\x01 \x01(\x0b\x32:.google.analytics.admin.v1alpha.AccessFilterExpressionListH\x00\x12N\n\x08or_group\x18\x02 \x01(\x0b\x32:.google.analytics.admin.v1alpha.AccessFilterExpressionListH\x00\x12P\n\x0enot_expression\x18\x03 \x01(\x0b\x32\x36.google.analytics.admin.v1alpha.AccessFilterExpressionH\x00\x12\x45\n\raccess_filter\x18\x04 \x01(\x0b\x32,.google.analytics.admin.v1alpha.AccessFilterH\x00\x42\x10\n\x0eone_expression\"i\n\x1a\x41\x63\x63\x65ssFilterExpressionList\x12K\n\x0b\x65xpressions\x18\x01 \x03(\x0b\x32\x36.google.analytics.admin.v1alpha.AccessFilterExpression\"\xe9\x02\n\x0c\x41\x63\x63\x65ssFilter\x12K\n\rstring_filter\x18\x02 \x01(\x0b\x32\x32.google.analytics.admin.v1alpha.AccessStringFilterH\x00\x12L\n\x0ein_list_filter\x18\x03 \x01(\x0b\x32\x32.google.analytics.admin.v1alpha.AccessInListFilterH\x00\x12M\n\x0enumeric_filter\x18\x04 \x01(\x0b\x32\x33.google.analytics.admin.v1alpha.AccessNumericFilterH\x00\x12M\n\x0e\x62\x65tween_filter\x18\x05 \x01(\x0b\x32\x33.google.analytics.admin.v1alpha.AccessBetweenFilterH\x00\x12\x12\n\nfield_name\x18\x01 \x01(\tB\x0c\n\none_filter\"\x95\x02\n\x12\x41\x63\x63\x65ssStringFilter\x12P\n\nmatch_type\x18\x01 \x01(\x0e\x32<.google.analytics.admin.v1alpha.AccessStringFilter.MatchType\x12\r\n\x05value\x18\x02 \x01(\t\x12\x16\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\"\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\"<\n\x12\x41\x63\x63\x65ssInListFilter\x12\x0e\n\x06values\x18\x01 \x03(\t\x12\x16\n\x0e\x63\x61se_sensitive\x18\x02 \x01(\x08\"\xac\x02\n\x13\x41\x63\x63\x65ssNumericFilter\x12P\n\toperation\x18\x01 \x01(\x0e\x32=.google.analytics.admin.v1alpha.AccessNumericFilter.Operation\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.google.analytics.admin.v1alpha.NumericValue\"\x85\x01\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x45QUAL\x10\x01\x12\r\n\tLESS_THAN\x10\x02\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x03\x12\x10\n\x0cGREATER_THAN\x10\x04\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\x05\"\x97\x01\n\x13\x41\x63\x63\x65ssBetweenFilter\x12@\n\nfrom_value\x18\x01 \x01(\x0b\x32,.google.analytics.admin.v1alpha.NumericValue\x12>\n\x08to_value\x18\x02 \x01(\x0b\x32,.google.analytics.admin.v1alpha.NumericValue\"J\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\"\xed\x03\n\rAccessOrderBy\x12M\n\x06metric\x18\x01 \x01(\x0b\x32;.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByH\x00\x12S\n\tdimension\x18\x02 \x01(\x0b\x32>.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByH\x00\x12\x0c\n\x04\x64\x65sc\x18\x03 \x01(\x08\x1a$\n\rMetricOrderBy\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x1a\xf3\x01\n\x10\x44imensionOrderBy\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\x12\\\n\norder_type\x18\x02 \x01(\x0e\x32H.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType\"i\n\tOrderType\x12\x1a\n\x16ORDER_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41LPHANUMERIC\x10\x01\x12!\n\x1d\x43\x41SE_INSENSITIVE_ALPHANUMERIC\x10\x02\x12\x0b\n\x07NUMERIC\x10\x03\x42\x0e\n\x0cone_order_by\"/\n\x15\x41\x63\x63\x65ssDimensionHeader\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\")\n\x12\x41\x63\x63\x65ssMetricHeader\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\"\xa5\x01\n\tAccessRow\x12N\n\x10\x64imension_values\x18\x01 \x03(\x0b\x32\x34.google.analytics.admin.v1alpha.AccessDimensionValue\x12H\n\rmetric_values\x18\x02 \x03(\x0b\x32\x31.google.analytics.admin.v1alpha.AccessMetricValue\"%\n\x14\x41\x63\x63\x65ssDimensionValue\x12\r\n\x05value\x18\x01 \x01(\t\"\"\n\x11\x41\x63\x63\x65ssMetricValue\x12\r\n\x05value\x18\x01 \x01(\t\"\xab\x03\n\x0b\x41\x63\x63\x65ssQuota\x12I\n\x0etokens_per_day\x18\x01 \x01(\x0b\x32\x31.google.analytics.admin.v1alpha.AccessQuotaStatus\x12J\n\x0ftokens_per_hour\x18\x02 \x01(\x0b\x32\x31.google.analytics.admin.v1alpha.AccessQuotaStatus\x12N\n\x13\x63oncurrent_requests\x18\x03 \x01(\x0b\x32\x31.google.analytics.admin.v1alpha.AccessQuotaStatus\x12]\n\"server_errors_per_project_per_hour\x18\x04 \x01(\x0b\x32\x31.google.analytics.admin.v1alpha.AccessQuotaStatus\x12V\n\x1btokens_per_project_per_hour\x18\x05 \x01(\x0b\x32\x31.google.analytics.admin.v1alpha.AccessQuotaStatus\"8\n\x11\x41\x63\x63\x65ssQuotaStatus\x12\x10\n\x08\x63onsumed\x18\x01 \x01(\x05\x12\x11\n\tremaining\x18\x02 \x01(\x05\x42y\n\"com.google.analytics.admin.v1alphaB\x11\x41\x63\x63\x65ssReportProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
124
28
  end
125
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
126
32
  end
127
33
 
128
34
  module Google