google-analytics-admin-v1alpha 0.12.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,6 +38,54 @@ module Google
38
38
  "accounts/#{account}"
39
39
  end
40
40
 
41
+ ##
42
+ # Create a fully-qualified AttributionSettings resource string.
43
+ #
44
+ # The resource will be in the following format:
45
+ #
46
+ # `properties/{property}/attributionSettings`
47
+ #
48
+ # @param property [String]
49
+ #
50
+ # @return [::String]
51
+ def attribution_settings_path property:
52
+ "properties/#{property}/attributionSettings"
53
+ end
54
+
55
+ ##
56
+ # Create a fully-qualified Audience resource string.
57
+ #
58
+ # The resource will be in the following format:
59
+ #
60
+ # `properties/{property}/audiences/{audience}`
61
+ #
62
+ # @param property [String]
63
+ # @param audience [String]
64
+ #
65
+ # @return [::String]
66
+ def audience_path property:, audience:
67
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
68
+
69
+ "properties/#{property}/audiences/#{audience}"
70
+ end
71
+
72
+ ##
73
+ # Create a fully-qualified BigQueryLink resource string.
74
+ #
75
+ # The resource will be in the following format:
76
+ #
77
+ # `properties/{property}/bigQueryLinks/{bigquery_link}`
78
+ #
79
+ # @param property [String]
80
+ # @param bigquery_link [String]
81
+ #
82
+ # @return [::String]
83
+ def big_query_link_path property:, bigquery_link:
84
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
85
+
86
+ "properties/#{property}/bigQueryLinks/#{bigquery_link}"
87
+ end
88
+
41
89
  ##
42
90
  # Create a fully-qualified ConversionEvent resource string.
43
91
  #
@@ -266,6 +314,23 @@ module Google
266
314
  "properties/#{property}"
267
315
  end
268
316
 
317
+ ##
318
+ # Create a fully-qualified SearchAds360Link resource string.
319
+ #
320
+ # The resource will be in the following format:
321
+ #
322
+ # `properties/{property}/searchAds360Links/{search_ads_360_link}`
323
+ #
324
+ # @param property [String]
325
+ # @param search_ads_360_link [String]
326
+ #
327
+ # @return [::String]
328
+ def search_ads360_link_path property:, search_ads_360_link:
329
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
330
+
331
+ "properties/#{property}/searchAds360Links/#{search_ads_360_link}"
332
+ end
333
+
269
334
  ##
270
335
  # Create a fully-qualified UserLink resource string.
271
336
  #
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Service Interface for the Analytics Admin API (GA4).
35
35
  #
36
- # To load this service and instantiate a client:
36
+ # @example Load this service and instantiate a gRPC client
37
37
  #
38
38
  # require "google/analytics/admin/v1alpha/analytics_admin_service"
39
39
  # client = ::Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
@@ -80,7 +80,7 @@ module Google
80
80
  # will be permanently purged.
81
81
  # https://support.google.com/analytics/answer/6154772
82
82
  #
83
- # Returns an error if the target is not found, or is not an GA4 Property.
83
+ # Returns an error if the target is not found, or is not a GA4 Property.
84
84
  rpc :DeleteProperty, ::Google::Analytics::Admin::V1alpha::DeletePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
85
85
  # Updates a property.
86
86
  rpc :UpdateProperty, ::Google::Analytics::Admin::V1alpha::UpdatePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
@@ -242,6 +242,60 @@ module Google
242
242
  rpc :ListDataStreams, ::Google::Analytics::Admin::V1alpha::ListDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListDataStreamsResponse
243
243
  # Lookup for a single DataStream.
244
244
  rpc :GetDataStream, ::Google::Analytics::Admin::V1alpha::GetDataStreamRequest, ::Google::Analytics::Admin::V1alpha::DataStream
245
+ # Lookup for a single Audience.
246
+ # Audiences created before 2020 may not be supported.
247
+ # Default audiences will not show filter definitions.
248
+ rpc :GetAudience, ::Google::Analytics::Admin::V1alpha::GetAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
249
+ # Lists Audiences on a property.
250
+ # Audiences created before 2020 may not be supported.
251
+ # Default audiences will not show filter definitions.
252
+ rpc :ListAudiences, ::Google::Analytics::Admin::V1alpha::ListAudiencesRequest, ::Google::Analytics::Admin::V1alpha::ListAudiencesResponse
253
+ # Creates an Audience.
254
+ rpc :CreateAudience, ::Google::Analytics::Admin::V1alpha::CreateAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
255
+ # Updates an Audience on a property.
256
+ rpc :UpdateAudience, ::Google::Analytics::Admin::V1alpha::UpdateAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
257
+ # Archives an Audience on a property.
258
+ rpc :ArchiveAudience, ::Google::Analytics::Admin::V1alpha::ArchiveAudienceRequest, ::Google::Protobuf::Empty
259
+ # Look up a single SearchAds360Link
260
+ rpc :GetSearchAds360Link, ::Google::Analytics::Admin::V1alpha::GetSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
261
+ # Lists all SearchAds360Links on a property.
262
+ rpc :ListSearchAds360Links, ::Google::Analytics::Admin::V1alpha::ListSearchAds360LinksRequest, ::Google::Analytics::Admin::V1alpha::ListSearchAds360LinksResponse
263
+ # Creates a SearchAds360Link.
264
+ rpc :CreateSearchAds360Link, ::Google::Analytics::Admin::V1alpha::CreateSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
265
+ # Deletes a SearchAds360Link on a property.
266
+ rpc :DeleteSearchAds360Link, ::Google::Analytics::Admin::V1alpha::DeleteSearchAds360LinkRequest, ::Google::Protobuf::Empty
267
+ # Updates a SearchAds360Link on a property.
268
+ rpc :UpdateSearchAds360Link, ::Google::Analytics::Admin::V1alpha::UpdateSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
269
+ # Lookup for a AttributionSettings singleton.
270
+ rpc :GetAttributionSettings, ::Google::Analytics::Admin::V1alpha::GetAttributionSettingsRequest, ::Google::Analytics::Admin::V1alpha::AttributionSettings
271
+ # Updates attribution settings on a property.
272
+ rpc :UpdateAttributionSettings, ::Google::Analytics::Admin::V1alpha::UpdateAttributionSettingsRequest, ::Google::Analytics::Admin::V1alpha::AttributionSettings
273
+ # Returns a customized report of data access records. The report provides
274
+ # records of each time a user reads Google Analytics reporting data. Access
275
+ # records are retained for up to 2 years.
276
+ #
277
+ # Data Access Reports can be requested for a property. The property must be
278
+ # in Google Analytics 360. This method is only available to Administrators.
279
+ #
280
+ # These data access records include GA4 UI Reporting, GA4 UI Explorations,
281
+ # GA4 Data API, and other products like Firebase & Admob that can retrieve
282
+ # data from Google Analytics through a linkage. These records don't include
283
+ # property configuration changes like adding a stream or changing a
284
+ # property's time zone. For configuration change history, see
285
+ # [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
286
+ rpc :RunAccessReport, ::Google::Analytics::Admin::V1alpha::RunAccessReportRequest, ::Google::Analytics::Admin::V1alpha::RunAccessReportResponse
287
+ # Sets the opt out status for the automated GA4 setup process for a UA
288
+ # property.
289
+ # Note: this has no effect on GA4 property.
290
+ rpc :SetAutomatedGa4ConfigurationOptOut, ::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutRequest, ::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutResponse
291
+ # Fetches the opt out status for the automated GA4 setup process for a UA
292
+ # property.
293
+ # Note: this has no effect on GA4 property.
294
+ rpc :FetchAutomatedGa4ConfigurationOptOut, ::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutRequest, ::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutResponse
295
+ # Lookup for a single BigQuery Link.
296
+ rpc :GetBigQueryLink, ::Google::Analytics::Admin::V1alpha::GetBigQueryLinkRequest, ::Google::Analytics::Admin::V1alpha::BigQueryLink
297
+ # Lists BigQuery Links on a property.
298
+ rpc :ListBigQueryLinks, ::Google::Analytics::Admin::V1alpha::ListBigQueryLinksRequest, ::Google::Analytics::Admin::V1alpha::ListBigQueryLinksResponse
245
299
  end
246
300
 
247
301
  Stub = Service.rpc_stub_class
@@ -0,0 +1,164 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/analytics/admin/v1alpha/audience.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/duration_pb'
9
+
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
132
+ end
133
+ end
134
+ end
135
+
136
+ module Google
137
+ module Analytics
138
+ module Admin
139
+ module V1alpha
140
+ AudienceDimensionOrMetricFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter").msgclass
141
+ AudienceDimensionOrMetricFilter::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter").msgclass
142
+ AudienceDimensionOrMetricFilter::StringFilter::MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType").enummodule
143
+ AudienceDimensionOrMetricFilter::InListFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter").msgclass
144
+ AudienceDimensionOrMetricFilter::NumericValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue").msgclass
145
+ AudienceDimensionOrMetricFilter::NumericFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter").msgclass
146
+ AudienceDimensionOrMetricFilter::NumericFilter::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation").enummodule
147
+ AudienceDimensionOrMetricFilter::BetweenFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter").msgclass
148
+ AudienceEventFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceEventFilter").msgclass
149
+ AudienceFilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceFilterExpression").msgclass
150
+ AudienceFilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceFilterExpressionList").msgclass
151
+ AudienceSimpleFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceSimpleFilter").msgclass
152
+ AudienceSequenceFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceSequenceFilter").msgclass
153
+ AudienceSequenceFilter::AudienceSequenceStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep").msgclass
154
+ AudienceFilterClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceFilterClause").msgclass
155
+ AudienceFilterClause::AudienceClauseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType").enummodule
156
+ AudienceEventTrigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceEventTrigger").msgclass
157
+ AudienceEventTrigger::LogCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition").enummodule
158
+ Audience = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Audience").msgclass
159
+ Audience::AudienceExclusionDurationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode").enummodule
160
+ AudienceFilterScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AudienceFilterScope").enummodule
161
+ end
162
+ end
163
+ end
164
+ end
@@ -0,0 +1,69 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/analytics/admin/v1alpha/expanded_data_set.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+
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"
51
+ end
52
+ end
53
+ end
54
+
55
+ module Google
56
+ module Analytics
57
+ module Admin
58
+ module V1alpha
59
+ ExpandedDataSetFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter").msgclass
60
+ ExpandedDataSetFilter::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter").msgclass
61
+ ExpandedDataSetFilter::StringFilter::MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType").enummodule
62
+ ExpandedDataSetFilter::InListFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter").msgclass
63
+ ExpandedDataSetFilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression").msgclass
64
+ ExpandedDataSetFilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList").msgclass
65
+ ExpandedDataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSet").msgclass
66
+ end
67
+ end
68
+ end
69
+ end
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/analytics/admin/v1alpha/expanded_data_set_pb'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/timestamp_pb'
@@ -20,6 +21,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
20
21
  end
21
22
  add_message "google.analytics.admin.v1alpha.Property" do
22
23
  optional :name, :string, 1
24
+ optional :property_type, :enum, 14, "google.analytics.admin.v1alpha.PropertyType"
23
25
  optional :create_time, :message, 3, "google.protobuf.Timestamp"
24
26
  optional :update_time, :message, 4, "google.protobuf.Timestamp"
25
27
  optional :parent, :string, 2
@@ -109,6 +111,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
109
111
  add_message "google.analytics.admin.v1alpha.PropertySummary" do
110
112
  optional :property, :string, 1
111
113
  optional :display_name, :string, 2
114
+ optional :property_type, :enum, 3, "google.analytics.admin.v1alpha.PropertyType"
115
+ optional :parent, :string, 4
112
116
  end
113
117
  add_message "google.analytics.admin.v1alpha.MeasurementProtocolSecret" do
114
118
  optional :name, :string, 1
@@ -143,7 +147,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
143
147
  optional :custom_dimension, :message, 13, "google.analytics.admin.v1alpha.CustomDimension"
144
148
  optional :custom_metric, :message, 14, "google.analytics.admin.v1alpha.CustomMetric"
145
149
  optional :data_retention_settings, :message, 15, "google.analytics.admin.v1alpha.DataRetentionSettings"
150
+ optional :search_ads_360_link, :message, 16, "google.analytics.admin.v1alpha.SearchAds360Link"
146
151
  optional :data_stream, :message, 18, "google.analytics.admin.v1alpha.DataStream"
152
+ optional :attribution_settings, :message, 20, "google.analytics.admin.v1alpha.AttributionSettings"
153
+ optional :expanded_data_set, :message, 21, "google.analytics.admin.v1alpha.ExpandedDataSet"
154
+ optional :bigquery_link, :message, 23, "google.analytics.admin.v1alpha.BigQueryLink"
147
155
  end
148
156
  end
149
157
  add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" do
@@ -164,6 +172,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
164
172
  optional :campaign_data_sharing_enabled, :message, 7, "google.protobuf.BoolValue"
165
173
  optional :cost_data_sharing_enabled, :message, 8, "google.protobuf.BoolValue"
166
174
  end
175
+ add_message "google.analytics.admin.v1alpha.SearchAds360Link" do
176
+ optional :name, :string, 1
177
+ optional :advertiser_id, :string, 2
178
+ optional :campaign_data_sharing_enabled, :message, 3, "google.protobuf.BoolValue"
179
+ optional :cost_data_sharing_enabled, :message, 4, "google.protobuf.BoolValue"
180
+ optional :advertiser_display_name, :string, 5
181
+ optional :ads_personalization_enabled, :message, 6, "google.protobuf.BoolValue"
182
+ optional :site_stats_sharing_enabled, :message, 7, "google.protobuf.BoolValue"
183
+ end
167
184
  add_message "google.analytics.admin.v1alpha.LinkProposalStatusDetails" do
168
185
  optional :link_proposal_initiating_product, :enum, 1, "google.analytics.admin.v1alpha.LinkProposalInitiatingProduct"
169
186
  optional :requestor_email, :string, 2
@@ -238,6 +255,43 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
238
255
  value :THIRTY_EIGHT_MONTHS, 5
239
256
  value :FIFTY_MONTHS, 6
240
257
  end
258
+ add_message "google.analytics.admin.v1alpha.AttributionSettings" do
259
+ optional :name, :string, 1
260
+ optional :acquisition_conversion_event_lookback_window, :enum, 2, "google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow"
261
+ optional :other_conversion_event_lookback_window, :enum, 3, "google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow"
262
+ optional :reporting_attribution_model, :enum, 4, "google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel"
263
+ end
264
+ add_enum "google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow" do
265
+ value :ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED, 0
266
+ value :ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS, 1
267
+ value :ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS, 2
268
+ end
269
+ add_enum "google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow" do
270
+ value :OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED, 0
271
+ value :OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS, 1
272
+ value :OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS, 2
273
+ value :OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS, 3
274
+ end
275
+ add_enum "google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel" do
276
+ value :REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED, 0
277
+ value :CROSS_CHANNEL_DATA_DRIVEN, 1
278
+ value :CROSS_CHANNEL_LAST_CLICK, 2
279
+ value :CROSS_CHANNEL_FIRST_CLICK, 3
280
+ value :CROSS_CHANNEL_LINEAR, 4
281
+ value :CROSS_CHANNEL_POSITION_BASED, 5
282
+ value :CROSS_CHANNEL_TIME_DECAY, 6
283
+ value :ADS_PREFERRED_LAST_CLICK, 7
284
+ end
285
+ add_message "google.analytics.admin.v1alpha.BigQueryLink" do
286
+ optional :name, :string, 1
287
+ optional :project, :string, 2
288
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
289
+ optional :daily_export_enabled, :bool, 4
290
+ optional :streaming_export_enabled, :bool, 5
291
+ optional :include_advertising_id, :bool, 6
292
+ repeated :export_streams, :string, 7
293
+ repeated :excluded_events, :string, 8
294
+ end
241
295
  add_enum "google.analytics.admin.v1alpha.IndustryCategory" do
242
296
  value :INDUSTRY_CATEGORY_UNSPECIFIED, 0
243
297
  value :AUTOMOTIVE, 1
@@ -298,7 +352,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
298
352
  value :DATA_RETENTION_SETTINGS, 13
299
353
  value :DISPLAY_VIDEO_360_ADVERTISER_LINK, 14
300
354
  value :DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL, 15
355
+ value :SEARCH_ADS_360_LINK, 16
301
356
  value :DATA_STREAM, 18
357
+ value :ATTRIBUTION_SETTINGS, 20
358
+ value :EXPANDED_DATA_SET, 21
359
+ value :CHANNEL_GROUP, 22
302
360
  end
303
361
  add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do
304
362
  value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0
@@ -324,6 +382,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
324
382
  value :EXPIRED, 5
325
383
  value :OBSOLETE, 6
326
384
  end
385
+ add_enum "google.analytics.admin.v1alpha.PropertyType" do
386
+ value :PROPERTY_TYPE_UNSPECIFIED, 0
387
+ value :PROPERTY_TYPE_ORDINARY, 1
388
+ value :PROPERTY_TYPE_SUBPROPERTY, 2
389
+ value :PROPERTY_TYPE_ROLLUP, 3
390
+ end
327
391
  end
328
392
  end
329
393
 
@@ -352,6 +416,7 @@ module Google
352
416
  ChangeHistoryChange::ChangeHistoryResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource").msgclass
353
417
  DisplayVideo360AdvertiserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink").msgclass
354
418
  DisplayVideo360AdvertiserLinkProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal").msgclass
419
+ SearchAds360Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchAds360Link").msgclass
355
420
  LinkProposalStatusDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalStatusDetails").msgclass
356
421
  ConversionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ConversionEvent").msgclass
357
422
  GoogleSignalsSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsSettings").msgclass
@@ -363,6 +428,11 @@ module Google
363
428
  CustomMetric::RestrictedMetricType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType").enummodule
364
429
  DataRetentionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings").msgclass
365
430
  DataRetentionSettings::RetentionDuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration").enummodule
431
+ AttributionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings").msgclass
432
+ AttributionSettings::AcquisitionConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow").enummodule
433
+ AttributionSettings::OtherConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow").enummodule
434
+ AttributionSettings::ReportingAttributionModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel").enummodule
435
+ BigQueryLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BigQueryLink").msgclass
366
436
  IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
367
437
  ServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ServiceLevel").enummodule
368
438
  ActorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActorType").enummodule
@@ -372,6 +442,7 @@ module Google
372
442
  GoogleSignalsConsent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsConsent").enummodule
373
443
  LinkProposalInitiatingProduct = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalInitiatingProduct").enummodule
374
444
  LinkProposalState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalState").enummodule
445
+ PropertyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.PropertyType").enummodule
375
446
  end
376
447
  end
377
448
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Admin
23
23
  module V1alpha
24
- VERSION = "0.12.0"
24
+ VERSION = "0.14.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,9 +23,9 @@ module Google
23
23
  module Analytics
24
24
  module Admin
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
26
+ # API client module.
27
27
  #
28
- # @example
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
29
  #
30
30
  # require "google/analytics/admin/v1alpha"
31
31
  # client = ::Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new