google-analytics-admin-v1alpha 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +92 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +1698 -242
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +53 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +1294 -187
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +891 -3
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +31 -0
- data/lib/google/analytics/admin/v1alpha/channel_group_pb.rb +74 -0
- data/lib/google/analytics/admin/v1alpha/event_create_and_edit_pb.rb +59 -0
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +16 -0
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +268 -1
- data/proto_docs/google/analytics/admin/v1alpha/audience.rb +15 -10
- data/proto_docs/google/analytics/admin/v1alpha/channel_group.rb +158 -0
- data/proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb +167 -0
- data/proto_docs/google/analytics/admin/v1alpha/expanded_data_set.rb +2 -2
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +42 -0
- data/proto_docs/google/api/client.rb +58 -1
- metadata +6 -2
@@ -318,6 +318,16 @@ module Google
|
|
318
318
|
rpc :UpdateExpandedDataSet, ::Google::Analytics::Admin::V1alpha::UpdateExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
|
319
319
|
# Deletes a ExpandedDataSet on a property.
|
320
320
|
rpc :DeleteExpandedDataSet, ::Google::Analytics::Admin::V1alpha::DeleteExpandedDataSetRequest, ::Google::Protobuf::Empty
|
321
|
+
# Lookup for a single ChannelGroup.
|
322
|
+
rpc :GetChannelGroup, ::Google::Analytics::Admin::V1alpha::GetChannelGroupRequest, ::Google::Analytics::Admin::V1alpha::ChannelGroup
|
323
|
+
# Lists ChannelGroups on a property.
|
324
|
+
rpc :ListChannelGroups, ::Google::Analytics::Admin::V1alpha::ListChannelGroupsRequest, ::Google::Analytics::Admin::V1alpha::ListChannelGroupsResponse
|
325
|
+
# Creates a ChannelGroup.
|
326
|
+
rpc :CreateChannelGroup, ::Google::Analytics::Admin::V1alpha::CreateChannelGroupRequest, ::Google::Analytics::Admin::V1alpha::ChannelGroup
|
327
|
+
# Updates a ChannelGroup.
|
328
|
+
rpc :UpdateChannelGroup, ::Google::Analytics::Admin::V1alpha::UpdateChannelGroupRequest, ::Google::Analytics::Admin::V1alpha::ChannelGroup
|
329
|
+
# Deletes a ChannelGroup on a property.
|
330
|
+
rpc :DeleteChannelGroup, ::Google::Analytics::Admin::V1alpha::DeleteChannelGroupRequest, ::Google::Protobuf::Empty
|
321
331
|
# Sets the opt out status for the automated GA4 setup process for a UA
|
322
332
|
# property.
|
323
333
|
# Note: this has no effect on GA4 property.
|
@@ -349,6 +359,27 @@ module Google
|
|
349
359
|
# of 20 connected site tags will be returned. Note: this has no effect on GA4
|
350
360
|
# property.
|
351
361
|
rpc :ListConnectedSiteTags, ::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsRequest, ::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsResponse
|
362
|
+
# Given a specified UA property, looks up the GA4 property connected to it.
|
363
|
+
# Note: this cannot be used with GA4 properties.
|
364
|
+
rpc :FetchConnectedGa4Property, ::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyRequest, ::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse
|
365
|
+
# Looks up a single AdSenseLink.
|
366
|
+
rpc :GetAdSenseLink, ::Google::Analytics::Admin::V1alpha::GetAdSenseLinkRequest, ::Google::Analytics::Admin::V1alpha::AdSenseLink
|
367
|
+
# Creates an AdSenseLink.
|
368
|
+
rpc :CreateAdSenseLink, ::Google::Analytics::Admin::V1alpha::CreateAdSenseLinkRequest, ::Google::Analytics::Admin::V1alpha::AdSenseLink
|
369
|
+
# Deletes an AdSenseLink.
|
370
|
+
rpc :DeleteAdSenseLink, ::Google::Analytics::Admin::V1alpha::DeleteAdSenseLinkRequest, ::Google::Protobuf::Empty
|
371
|
+
# Lists AdSenseLinks on a property.
|
372
|
+
rpc :ListAdSenseLinks, ::Google::Analytics::Admin::V1alpha::ListAdSenseLinksRequest, ::Google::Analytics::Admin::V1alpha::ListAdSenseLinksResponse
|
373
|
+
# Lookup for a single EventCreateRule.
|
374
|
+
rpc :GetEventCreateRule, ::Google::Analytics::Admin::V1alpha::GetEventCreateRuleRequest, ::Google::Analytics::Admin::V1alpha::EventCreateRule
|
375
|
+
# Lists EventCreateRules on a web data stream.
|
376
|
+
rpc :ListEventCreateRules, ::Google::Analytics::Admin::V1alpha::ListEventCreateRulesRequest, ::Google::Analytics::Admin::V1alpha::ListEventCreateRulesResponse
|
377
|
+
# Creates an EventCreateRule.
|
378
|
+
rpc :CreateEventCreateRule, ::Google::Analytics::Admin::V1alpha::CreateEventCreateRuleRequest, ::Google::Analytics::Admin::V1alpha::EventCreateRule
|
379
|
+
# Updates an EventCreateRule.
|
380
|
+
rpc :UpdateEventCreateRule, ::Google::Analytics::Admin::V1alpha::UpdateEventCreateRuleRequest, ::Google::Analytics::Admin::V1alpha::EventCreateRule
|
381
|
+
# Deletes an EventCreateRule.
|
382
|
+
rpc :DeleteEventCreateRule, ::Google::Analytics::Admin::V1alpha::DeleteEventCreateRuleRequest, ::Google::Protobuf::Empty
|
352
383
|
end
|
353
384
|
|
354
385
|
Stub = Service.rpc_stub_class
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/analytics/admin/v1alpha/channel_group.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
|
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
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
module Google
|
60
|
+
module Analytics
|
61
|
+
module Admin
|
62
|
+
module V1alpha
|
63
|
+
ChannelGroupFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter").msgclass
|
64
|
+
ChannelGroupFilter::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter").msgclass
|
65
|
+
ChannelGroupFilter::StringFilter::MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType").enummodule
|
66
|
+
ChannelGroupFilter::InListFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter").msgclass
|
67
|
+
ChannelGroupFilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilterExpression").msgclass
|
68
|
+
ChannelGroupFilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList").msgclass
|
69
|
+
GroupingRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GroupingRule").msgclass
|
70
|
+
ChannelGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroup").msgclass
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/analytics/admin/v1alpha/event_create_and_edit.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
|
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
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
module Google
|
49
|
+
module Analytics
|
50
|
+
module Admin
|
51
|
+
module V1alpha
|
52
|
+
ParameterMutation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ParameterMutation").msgclass
|
53
|
+
EventCreateRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.EventCreateRule").msgclass
|
54
|
+
MatchingCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.MatchingCondition").msgclass
|
55
|
+
MatchingCondition::ComparisonType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.MatchingCondition.ComparisonType").enummodule
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -3,6 +3,9 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/analytics/admin/v1alpha/audience_pb'
|
7
|
+
require 'google/analytics/admin/v1alpha/channel_group_pb'
|
8
|
+
require 'google/analytics/admin/v1alpha/event_create_and_edit_pb'
|
6
9
|
require 'google/analytics/admin/v1alpha/expanded_data_set_pb'
|
7
10
|
require 'google/api/field_behavior_pb'
|
8
11
|
require 'google/api/resource_pb'
|
@@ -151,8 +154,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
151
154
|
optional :data_stream, :message, 18, "google.analytics.admin.v1alpha.DataStream"
|
152
155
|
optional :attribution_settings, :message, 20, "google.analytics.admin.v1alpha.AttributionSettings"
|
153
156
|
optional :expanded_data_set, :message, 21, "google.analytics.admin.v1alpha.ExpandedDataSet"
|
157
|
+
optional :channel_group, :message, 22, "google.analytics.admin.v1alpha.ChannelGroup"
|
154
158
|
optional :bigquery_link, :message, 23, "google.analytics.admin.v1alpha.BigQueryLink"
|
155
159
|
optional :enhanced_measurement_settings, :message, 24, "google.analytics.admin.v1alpha.EnhancedMeasurementSettings"
|
160
|
+
optional :adsense_link, :message, 27, "google.analytics.admin.v1alpha.AdSenseLink"
|
161
|
+
optional :audience, :message, 28, "google.analytics.admin.v1alpha.Audience"
|
162
|
+
optional :event_create_rule, :message, 29, "google.analytics.admin.v1alpha.EventCreateRule"
|
156
163
|
end
|
157
164
|
end
|
158
165
|
add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" do
|
@@ -211,6 +218,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
211
218
|
value :DIMENSION_SCOPE_UNSPECIFIED, 0
|
212
219
|
value :EVENT, 1
|
213
220
|
value :USER, 2
|
221
|
+
value :ITEM, 3
|
214
222
|
end
|
215
223
|
add_message "google.analytics.admin.v1alpha.CustomMetric" do
|
216
224
|
optional :name, :string, 1
|
@@ -318,6 +326,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
318
326
|
optional :display_name, :string, 1
|
319
327
|
optional :tag_id, :string, 2
|
320
328
|
end
|
329
|
+
add_message "google.analytics.admin.v1alpha.AdSenseLink" do
|
330
|
+
optional :name, :string, 1
|
331
|
+
optional :ad_client_code, :string, 2
|
332
|
+
end
|
321
333
|
add_enum "google.analytics.admin.v1alpha.IndustryCategory" do
|
322
334
|
value :INDUSTRY_CATEGORY_UNSPECIFIED, 0
|
323
335
|
value :AUTOMOTIVE, 1
|
@@ -384,6 +396,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
384
396
|
value :EXPANDED_DATA_SET, 21
|
385
397
|
value :CHANNEL_GROUP, 22
|
386
398
|
value :ENHANCED_MEASUREMENT_SETTINGS, 24
|
399
|
+
value :ADSENSE_LINK, 27
|
400
|
+
value :AUDIENCE, 28
|
401
|
+
value :EVENT_CREATE_RULE, 29
|
387
402
|
end
|
388
403
|
add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do
|
389
404
|
value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0
|
@@ -463,6 +478,7 @@ module Google
|
|
463
478
|
BigQueryLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BigQueryLink").msgclass
|
464
479
|
EnhancedMeasurementSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.EnhancedMeasurementSettings").msgclass
|
465
480
|
ConnectedSiteTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ConnectedSiteTag").msgclass
|
481
|
+
AdSenseLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AdSenseLink").msgclass
|
466
482
|
IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
|
467
483
|
ServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ServiceLevel").enummodule
|
468
484
|
ActorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActorType").enummodule
|
@@ -1854,7 +1854,7 @@ module Google
|
|
1854
1854
|
# Request message for GetExpandedDataSet RPC.
|
1855
1855
|
# @!attribute [rw] name
|
1856
1856
|
# @return [::String]
|
1857
|
-
# Required. The name of the
|
1857
|
+
# Required. The name of the ExpandedDataSet to get.
|
1858
1858
|
# Example format: properties/1234/expandedDataSets/5678
|
1859
1859
|
class GetExpandedDataSetRequest
|
1860
1860
|
include ::Google::Protobuf::MessageExts
|
@@ -1896,6 +1896,92 @@ module Google
|
|
1896
1896
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1897
1897
|
end
|
1898
1898
|
|
1899
|
+
# Request message for CreateChannelGroup RPC.
|
1900
|
+
# @!attribute [rw] parent
|
1901
|
+
# @return [::String]
|
1902
|
+
# Required. The property for which to create a ChannelGroup.
|
1903
|
+
# Example format: properties/1234
|
1904
|
+
# @!attribute [rw] channel_group
|
1905
|
+
# @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
|
1906
|
+
# Required. The ChannelGroup to create.
|
1907
|
+
class CreateChannelGroupRequest
|
1908
|
+
include ::Google::Protobuf::MessageExts
|
1909
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1910
|
+
end
|
1911
|
+
|
1912
|
+
# Request message for UpdateChannelGroup RPC.
|
1913
|
+
# @!attribute [rw] channel_group
|
1914
|
+
# @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
|
1915
|
+
# Required. The ChannelGroup to update.
|
1916
|
+
# The resource's `name` field is used to identify the ChannelGroup to be
|
1917
|
+
# updated.
|
1918
|
+
# @!attribute [rw] update_mask
|
1919
|
+
# @return [::Google::Protobuf::FieldMask]
|
1920
|
+
# Required. The list of fields to be updated. Field names must be in snake
|
1921
|
+
# case (e.g., "field_to_update"). Omitted fields will not be updated. To
|
1922
|
+
# replace the entire entity, use one path with the string "*" to match all
|
1923
|
+
# fields.
|
1924
|
+
class UpdateChannelGroupRequest
|
1925
|
+
include ::Google::Protobuf::MessageExts
|
1926
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
# Request message for DeleteChannelGroup RPC.
|
1930
|
+
# @!attribute [rw] name
|
1931
|
+
# @return [::String]
|
1932
|
+
# Required. The ChannelGroup to delete.
|
1933
|
+
# Example format: properties/1234/channelGroups/5678
|
1934
|
+
class DeleteChannelGroupRequest
|
1935
|
+
include ::Google::Protobuf::MessageExts
|
1936
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
# Request message for GetChannelGroup RPC.
|
1940
|
+
# @!attribute [rw] name
|
1941
|
+
# @return [::String]
|
1942
|
+
# Required. The ChannelGroup to get.
|
1943
|
+
# Example format: properties/1234/channelGroups/5678
|
1944
|
+
class GetChannelGroupRequest
|
1945
|
+
include ::Google::Protobuf::MessageExts
|
1946
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1947
|
+
end
|
1948
|
+
|
1949
|
+
# Request message for ListChannelGroups RPC.
|
1950
|
+
# @!attribute [rw] parent
|
1951
|
+
# @return [::String]
|
1952
|
+
# Required. The property for which to list ChannelGroups.
|
1953
|
+
# Example format: properties/1234
|
1954
|
+
# @!attribute [rw] page_size
|
1955
|
+
# @return [::Integer]
|
1956
|
+
# The maximum number of resources to return.
|
1957
|
+
# If unspecified, at most 50 resources will be returned.
|
1958
|
+
# The maximum value is 200 (higher values will be coerced to the maximum).
|
1959
|
+
# @!attribute [rw] page_token
|
1960
|
+
# @return [::String]
|
1961
|
+
# A page token, received from a previous `ListChannelGroups` call. Provide
|
1962
|
+
# this to retrieve the subsequent page.
|
1963
|
+
#
|
1964
|
+
# When paginating, all other parameters provided to `ListChannelGroups`
|
1965
|
+
# must match the call that provided the page token.
|
1966
|
+
class ListChannelGroupsRequest
|
1967
|
+
include ::Google::Protobuf::MessageExts
|
1968
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
# Response message for ListChannelGroups RPC.
|
1972
|
+
# @!attribute [rw] channel_groups
|
1973
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::ChannelGroup>]
|
1974
|
+
# List of ChannelGroup. These will be ordered stably, but in an arbitrary
|
1975
|
+
# order.
|
1976
|
+
# @!attribute [rw] next_page_token
|
1977
|
+
# @return [::String]
|
1978
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
1979
|
+
# If this field is omitted, there are no subsequent pages.
|
1980
|
+
class ListChannelGroupsResponse
|
1981
|
+
include ::Google::Protobuf::MessageExts
|
1982
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1983
|
+
end
|
1984
|
+
|
1899
1985
|
# Request for setting the opt out status for the automated GA4 setup process.
|
1900
1986
|
# @!attribute [rw] property
|
1901
1987
|
# @return [::String]
|
@@ -2073,6 +2159,187 @@ module Google
|
|
2073
2159
|
include ::Google::Protobuf::MessageExts
|
2074
2160
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2075
2161
|
end
|
2162
|
+
|
2163
|
+
# Request message to be passed to CreateAdSenseLink method.
|
2164
|
+
# @!attribute [rw] parent
|
2165
|
+
# @return [::String]
|
2166
|
+
# Required. The property for which to create an AdSense Link.
|
2167
|
+
# Format: properties/\\{propertyId}
|
2168
|
+
# Example: properties/1234
|
2169
|
+
# @!attribute [rw] adsense_link
|
2170
|
+
# @return [::Google::Analytics::Admin::V1alpha::AdSenseLink]
|
2171
|
+
# Required. The AdSense Link to create
|
2172
|
+
class CreateAdSenseLinkRequest
|
2173
|
+
include ::Google::Protobuf::MessageExts
|
2174
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
# Request message to be passed to GetAdSenseLink method.
|
2178
|
+
# @!attribute [rw] name
|
2179
|
+
# @return [::String]
|
2180
|
+
# Required. Unique identifier for the AdSense Link requested.
|
2181
|
+
# Format: properties/\\{propertyId}/adSenseLinks/\\{linkId}
|
2182
|
+
# Example: properties/1234/adSenseLinks/5678
|
2183
|
+
class GetAdSenseLinkRequest
|
2184
|
+
include ::Google::Protobuf::MessageExts
|
2185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2186
|
+
end
|
2187
|
+
|
2188
|
+
# Request message to be passed to DeleteAdSenseLink method.
|
2189
|
+
# @!attribute [rw] name
|
2190
|
+
# @return [::String]
|
2191
|
+
# Required. Unique identifier for the AdSense Link to be deleted.
|
2192
|
+
# Format: properties/\\{propertyId}/adSenseLinks/\\{linkId}
|
2193
|
+
# Example: properties/1234/adSenseLinks/5678
|
2194
|
+
class DeleteAdSenseLinkRequest
|
2195
|
+
include ::Google::Protobuf::MessageExts
|
2196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2197
|
+
end
|
2198
|
+
|
2199
|
+
# Request message to be passed to ListAdSenseLinks method.
|
2200
|
+
# @!attribute [rw] parent
|
2201
|
+
# @return [::String]
|
2202
|
+
# Required. Resource name of the parent property.
|
2203
|
+
# Format: properties/\\{propertyId}
|
2204
|
+
# Example: properties/1234
|
2205
|
+
# @!attribute [rw] page_size
|
2206
|
+
# @return [::Integer]
|
2207
|
+
# The maximum number of resources to return.
|
2208
|
+
# If unspecified, at most 50 resources will be returned.
|
2209
|
+
# The maximum value is 200 (higher values will be coerced to the maximum).
|
2210
|
+
# @!attribute [rw] page_token
|
2211
|
+
# @return [::String]
|
2212
|
+
# A page token received from a previous `ListAdSenseLinks` call.
|
2213
|
+
# Provide this to retrieve the subsequent page.
|
2214
|
+
#
|
2215
|
+
# When paginating, all other parameters provided to `ListAdSenseLinks` must
|
2216
|
+
# match the call that provided the page token.
|
2217
|
+
class ListAdSenseLinksRequest
|
2218
|
+
include ::Google::Protobuf::MessageExts
|
2219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
# Response message for ListAdSenseLinks method.
|
2223
|
+
# @!attribute [rw] adsense_links
|
2224
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::AdSenseLink>]
|
2225
|
+
# List of AdSenseLinks.
|
2226
|
+
# @!attribute [rw] next_page_token
|
2227
|
+
# @return [::String]
|
2228
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
2229
|
+
# If this field is omitted, there are no subsequent pages.
|
2230
|
+
class ListAdSenseLinksResponse
|
2231
|
+
include ::Google::Protobuf::MessageExts
|
2232
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2233
|
+
end
|
2234
|
+
|
2235
|
+
# Request for looking up GA4 property connected to a UA property.
|
2236
|
+
# @!attribute [rw] property
|
2237
|
+
# @return [::String]
|
2238
|
+
# Required. The UA property for which to look up the connected GA4 property.
|
2239
|
+
# Note this request uses the
|
2240
|
+
# internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
|
2241
|
+
# Format: properties/\\{internal_web_property_id}
|
2242
|
+
# Example: properties/1234
|
2243
|
+
class FetchConnectedGa4PropertyRequest
|
2244
|
+
include ::Google::Protobuf::MessageExts
|
2245
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2246
|
+
end
|
2247
|
+
|
2248
|
+
# Response for looking up GA4 property connected to a UA property.
|
2249
|
+
# @!attribute [rw] property
|
2250
|
+
# @return [::String]
|
2251
|
+
# The GA4 property connected to the UA property. An empty string is returned
|
2252
|
+
# when there is no connected GA4 property.
|
2253
|
+
# Format: properties/\\{property_id}
|
2254
|
+
# Example: properties/1234
|
2255
|
+
class FetchConnectedGa4PropertyResponse
|
2256
|
+
include ::Google::Protobuf::MessageExts
|
2257
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
# Request message for CreateEventCreateRule RPC.
|
2261
|
+
# @!attribute [rw] parent
|
2262
|
+
# @return [::String]
|
2263
|
+
# Required. Example format: properties/123/dataStreams/456
|
2264
|
+
# @!attribute [rw] event_create_rule
|
2265
|
+
# @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
|
2266
|
+
# Required. The EventCreateRule to create.
|
2267
|
+
class CreateEventCreateRuleRequest
|
2268
|
+
include ::Google::Protobuf::MessageExts
|
2269
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
# Request message for UpdateEventCreateRule RPC.
|
2273
|
+
# @!attribute [rw] event_create_rule
|
2274
|
+
# @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
|
2275
|
+
# Required. The EventCreateRule to update.
|
2276
|
+
# The resource's `name` field is used to identify the EventCreateRule to be
|
2277
|
+
# updated.
|
2278
|
+
# @!attribute [rw] update_mask
|
2279
|
+
# @return [::Google::Protobuf::FieldMask]
|
2280
|
+
# Required. The list of fields to be updated. Field names must be in snake
|
2281
|
+
# case (e.g., "field_to_update"). Omitted fields will not be updated. To
|
2282
|
+
# replace the entire entity, use one path with the string "*" to match all
|
2283
|
+
# fields.
|
2284
|
+
class UpdateEventCreateRuleRequest
|
2285
|
+
include ::Google::Protobuf::MessageExts
|
2286
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Request message for DeleteEventCreateRule RPC.
|
2290
|
+
# @!attribute [rw] name
|
2291
|
+
# @return [::String]
|
2292
|
+
# Required. Example format:
|
2293
|
+
# properties/123/dataStreams/456/eventCreateRules/789
|
2294
|
+
class DeleteEventCreateRuleRequest
|
2295
|
+
include ::Google::Protobuf::MessageExts
|
2296
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
# Request message for GetEventCreateRule RPC.
|
2300
|
+
# @!attribute [rw] name
|
2301
|
+
# @return [::String]
|
2302
|
+
# Required. The name of the EventCreateRule to get.
|
2303
|
+
# Example format: properties/123/dataStreams/456/eventCreateRules/789
|
2304
|
+
class GetEventCreateRuleRequest
|
2305
|
+
include ::Google::Protobuf::MessageExts
|
2306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# Request message for ListEventCreateRules RPC.
|
2310
|
+
# @!attribute [rw] parent
|
2311
|
+
# @return [::String]
|
2312
|
+
# Required. Example format: properties/123/dataStreams/456
|
2313
|
+
# @!attribute [rw] page_size
|
2314
|
+
# @return [::Integer]
|
2315
|
+
# The maximum number of resources to return.
|
2316
|
+
# If unspecified, at most 50 resources will be returned.
|
2317
|
+
# The maximum value is 200 (higher values will be coerced to the maximum).
|
2318
|
+
# @!attribute [rw] page_token
|
2319
|
+
# @return [::String]
|
2320
|
+
# A page token, received from a previous `ListEventCreateRules` call. Provide
|
2321
|
+
# this to retrieve the subsequent page.
|
2322
|
+
#
|
2323
|
+
# When paginating, all other parameters provided to `ListEventCreateRules`
|
2324
|
+
# must match the call that provided the page token.
|
2325
|
+
class ListEventCreateRulesRequest
|
2326
|
+
include ::Google::Protobuf::MessageExts
|
2327
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
# Response message for ListEventCreateRules RPC.
|
2331
|
+
# @!attribute [rw] event_create_rules
|
2332
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::EventCreateRule>]
|
2333
|
+
# List of EventCreateRules. These will be ordered stably, but in an arbitrary
|
2334
|
+
# order.
|
2335
|
+
# @!attribute [rw] next_page_token
|
2336
|
+
# @return [::String]
|
2337
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
2338
|
+
# If this field is omitted, there are no subsequent pages.
|
2339
|
+
class ListEventCreateRulesResponse
|
2340
|
+
include ::Google::Protobuf::MessageExts
|
2341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2342
|
+
end
|
2076
2343
|
end
|
2077
2344
|
end
|
2078
2345
|
end
|
@@ -38,7 +38,12 @@ module Google
|
|
38
38
|
# or metric.
|
39
39
|
# @!attribute [rw] field_name
|
40
40
|
# @return [::String]
|
41
|
-
# Required. Immutable. The dimension name or metric name to filter.
|
41
|
+
# Required. Immutable. The dimension name or metric name to filter. If the
|
42
|
+
# field name refers to a custom dimension or metric, a scope prefix will be
|
43
|
+
# added to the front of the custom dimensions or metric name. For more on
|
44
|
+
# scope prefixes or custom dimensions/metrics, reference the [Google
|
45
|
+
# Analytics Data API documentation]
|
46
|
+
# (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
|
42
47
|
# @!attribute [rw] at_any_point_in_time
|
43
48
|
# @return [::Boolean]
|
44
49
|
# Optional. Indicates whether this filter needs dynamic evaluation or not. If
|
@@ -52,7 +57,7 @@ module Google
|
|
52
57
|
# @return [::Integer]
|
53
58
|
# Optional. If set, specifies the time window for which to evaluate data in
|
54
59
|
# number of days. If not set, then audience data is evaluated against
|
55
|
-
# lifetime data (
|
60
|
+
# lifetime data (For example, infinite time window).
|
56
61
|
#
|
57
62
|
# For example, if set to 1 day, only the current day's data is evaluated. The
|
58
63
|
# reference point is the current day when at_any_point_in_time is unset or
|
@@ -178,7 +183,7 @@ module Google
|
|
178
183
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
|
179
184
|
# Optional. If specified, this filter matches events that match both the
|
180
185
|
# single event name and the parameter filter expressions. AudienceEventFilter
|
181
|
-
# inside the parameter filter expression cannot be set (
|
186
|
+
# inside the parameter filter expression cannot be set (For example, nested
|
182
187
|
# event filters are not supported). This should be a single and_group of
|
183
188
|
# dimension_or_metric_filter or not_expression; ANDs of ORs are not
|
184
189
|
# supported. Also, if it includes a filter for "eventCount", only that one
|
@@ -200,9 +205,9 @@ module Google
|
|
200
205
|
# AudienceFilterExpressions with and_group or or_group.
|
201
206
|
# @!attribute [rw] not_expression
|
202
207
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
|
203
|
-
# A filter expression to be NOT'ed (
|
204
|
-
# can only include a dimension_or_metric_filter. This cannot be set on
|
205
|
-
# top level AudienceFilterExpression.
|
208
|
+
# A filter expression to be NOT'ed (For example, inverted, complemented).
|
209
|
+
# It can only include a dimension_or_metric_filter. This cannot be set on
|
210
|
+
# the top level AudienceFilterExpression.
|
206
211
|
# @!attribute [rw] dimension_or_metric_filter
|
207
212
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceDimensionOrMetricFilter]
|
208
213
|
# A filter on a single dimension or metric. This cannot be set on the top
|
@@ -270,7 +275,7 @@ module Google
|
|
270
275
|
# @!attribute [rw] constraint_duration
|
271
276
|
# @return [::Google::Protobuf::Duration]
|
272
277
|
# Optional. When set, this step must be satisfied within the
|
273
|
-
# constraint_duration of the previous step (
|
278
|
+
# constraint_duration of the previous step (For example, t[i] - t[i-1] <=
|
274
279
|
# constraint_duration). If not set, there is no duration requirement (the
|
275
280
|
# duration is effectively unlimited). It is ignored for the first step.
|
276
281
|
# @!attribute [rw] filter_expression
|
@@ -284,9 +289,9 @@ module Google
|
|
284
289
|
end
|
285
290
|
|
286
291
|
# A clause for defining either a simple or sequence filter. A filter can be
|
287
|
-
# inclusive (
|
288
|
-
# Audience) or exclusive (
|
289
|
-
# excluded from the Audience).
|
292
|
+
# inclusive (For example, users satisfying the filter clause are included in
|
293
|
+
# the Audience) or exclusive (For example, users satisfying the filter clause
|
294
|
+
# are excluded from the Audience).
|
290
295
|
# @!attribute [rw] simple_filter
|
291
296
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceSimpleFilter]
|
292
297
|
# A simple filter that a user must satisfy to be a member of the Audience.
|