google-analytics-admin-v1alpha 0.2.2 → 0.7.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/LICENSE.md +188 -190
- data/README.md +66 -2
- data/lib/google/analytics/admin/v1alpha.rb +3 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +21 -10
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +202 -238
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +4 -19
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +59 -11
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +99 -35
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +156 -41
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +11 -9
@@ -187,7 +187,7 @@ module Google
|
|
187
187
|
# @return [::String]
|
188
188
|
def user_link_path **args
|
189
189
|
resources = {
|
190
|
-
"account:user_link"
|
190
|
+
"account:user_link" => (proc do |account:, user_link:|
|
191
191
|
raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
|
192
192
|
|
193
193
|
"accounts/#{account}/userLinks/#{user_link}"
|
@@ -34,8 +34,6 @@ module Google
|
|
34
34
|
self.service_name = 'google.analytics.admin.v1alpha.AnalyticsAdminService'
|
35
35
|
|
36
36
|
# Lookup for a single Account.
|
37
|
-
# Throws "Target not found" if no such account found, or if caller does not
|
38
|
-
# have permissions to access it.
|
39
37
|
rpc :GetAccount, ::Google::Analytics::Admin::V1alpha::GetAccountRequest, ::Google::Analytics::Admin::V1alpha::Account
|
40
38
|
# Returns all accounts accessible by the caller.
|
41
39
|
#
|
@@ -62,9 +60,6 @@ module Google
|
|
62
60
|
# Returns summaries of all accounts accessible by the caller.
|
63
61
|
rpc :ListAccountSummaries, ::Google::Analytics::Admin::V1alpha::ListAccountSummariesRequest, ::Google::Analytics::Admin::V1alpha::ListAccountSummariesResponse
|
64
62
|
# Lookup for a single "GA4" Property.
|
65
|
-
#
|
66
|
-
# Throws "Target not found" if no such property found, if property is not
|
67
|
-
# of the type "GA4", or if caller does not have permissions to access it.
|
68
63
|
rpc :GetProperty, ::Google::Analytics::Admin::V1alpha::GetPropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
69
64
|
# Returns child Properties under the specified parent Account.
|
70
65
|
#
|
@@ -86,7 +81,7 @@ module Google
|
|
86
81
|
# https://support.google.com/analytics/answer/6154772
|
87
82
|
#
|
88
83
|
# Returns an error if the target is not found, or is not an GA4 Property.
|
89
|
-
rpc :DeleteProperty, ::Google::Analytics::Admin::V1alpha::DeletePropertyRequest, ::Google::
|
84
|
+
rpc :DeleteProperty, ::Google::Analytics::Admin::V1alpha::DeletePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
90
85
|
# Updates a property.
|
91
86
|
rpc :UpdateProperty, ::Google::Analytics::Admin::V1alpha::UpdatePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
92
87
|
# Gets information about a user's link to an account or property.
|
@@ -125,9 +120,6 @@ module Google
|
|
125
120
|
# Deletes information about multiple users' links to an account or property.
|
126
121
|
rpc :BatchDeleteUserLinks, ::Google::Analytics::Admin::V1alpha::BatchDeleteUserLinksRequest, ::Google::Protobuf::Empty
|
127
122
|
# Lookup for a single WebDataStream
|
128
|
-
#
|
129
|
-
# Throws "Target not found" if no such web data stream found, or if the
|
130
|
-
# caller does not have permissions to access it.
|
131
123
|
rpc :GetWebDataStream, ::Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest, ::Google::Analytics::Admin::V1alpha::WebDataStream
|
132
124
|
# Deletes a web stream on a property.
|
133
125
|
rpc :DeleteWebDataStream, ::Google::Analytics::Admin::V1alpha::DeleteWebDataStreamRequest, ::Google::Protobuf::Empty
|
@@ -141,32 +133,22 @@ module Google
|
|
141
133
|
# Returns an empty list if no relevant web data streams are found.
|
142
134
|
rpc :ListWebDataStreams, ::Google::Analytics::Admin::V1alpha::ListWebDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListWebDataStreamsResponse
|
143
135
|
# Lookup for a single IosAppDataStream
|
144
|
-
#
|
145
|
-
# Throws "Target not found" if no such iOS app data stream found, or if the
|
146
|
-
# caller does not have permissions to access it.
|
147
136
|
rpc :GetIosAppDataStream, ::Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
148
137
|
# Deletes an iOS app stream on a property.
|
149
138
|
rpc :DeleteIosAppDataStream, ::Google::Analytics::Admin::V1alpha::DeleteIosAppDataStreamRequest, ::Google::Protobuf::Empty
|
150
139
|
# Updates an iOS app stream on a property.
|
151
140
|
rpc :UpdateIosAppDataStream, ::Google::Analytics::Admin::V1alpha::UpdateIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
152
|
-
# Creates an iOS app data stream with the specified location and attributes.
|
153
|
-
rpc :CreateIosAppDataStream, ::Google::Analytics::Admin::V1alpha::CreateIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
154
141
|
# Returns child iOS app data streams under the specified parent property.
|
155
142
|
#
|
156
143
|
# iOS app data streams will be excluded if the caller does not have access.
|
157
144
|
# Returns an empty list if no relevant iOS app data streams are found.
|
158
145
|
rpc :ListIosAppDataStreams, ::Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsResponse
|
159
146
|
# Lookup for a single AndroidAppDataStream
|
160
|
-
#
|
161
|
-
# Throws "Target not found" if no such android app data stream found, or if
|
162
|
-
# the caller does not have permissions to access it.
|
163
147
|
rpc :GetAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
164
148
|
# Deletes an android app stream on a property.
|
165
149
|
rpc :DeleteAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::DeleteAndroidAppDataStreamRequest, ::Google::Protobuf::Empty
|
166
150
|
# Updates an android app stream on a property.
|
167
151
|
rpc :UpdateAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::UpdateAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
168
|
-
# Creates an android app stream with the specified location and attributes.
|
169
|
-
rpc :CreateAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::CreateAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
170
152
|
# Returns child android app streams under the specified parent property.
|
171
153
|
#
|
172
154
|
# Android app streams will be excluded if the caller does not have access.
|
@@ -205,6 +187,9 @@ module Google
|
|
205
187
|
# Get data sharing settings on an account.
|
206
188
|
# Data sharing settings are singletons.
|
207
189
|
rpc :GetDataSharingSettings, ::Google::Analytics::Admin::V1alpha::GetDataSharingSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataSharingSettings
|
190
|
+
# Searches through all changes to an account or its children given the
|
191
|
+
# specified set of filters.
|
192
|
+
rpc :SearchChangeHistoryEvents, ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest, ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsResponse
|
208
193
|
end
|
209
194
|
|
210
195
|
Stub = Service.rpc_stub_class
|
@@ -14,7 +14,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
14
14
|
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
15
15
|
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
16
16
|
optional :display_name, :string, 4
|
17
|
-
optional :
|
17
|
+
optional :region_code, :string, 5
|
18
18
|
optional :deleted, :bool, 6
|
19
19
|
end
|
20
20
|
add_message "google.analytics.admin.v1alpha.Property" do
|
@@ -26,7 +26,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
26
|
optional :industry_category, :enum, 6, "google.analytics.admin.v1alpha.IndustryCategory"
|
27
27
|
optional :time_zone, :string, 7
|
28
28
|
optional :currency_code, :string, 8
|
29
|
-
optional :
|
29
|
+
optional :delete_time, :message, 11, "google.protobuf.Timestamp"
|
30
|
+
optional :expire_time, :message, 12, "google.protobuf.Timestamp"
|
30
31
|
end
|
31
32
|
add_message "google.analytics.admin.v1alpha.AndroidAppDataStream" do
|
32
33
|
optional :name, :string, 1
|
@@ -70,19 +71,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
70
71
|
optional :page_views_enabled, :bool, 3
|
71
72
|
optional :scrolls_enabled, :bool, 4
|
72
73
|
optional :outbound_clicks_enabled, :bool, 5
|
73
|
-
optional :content_views_enabled, :bool, 6
|
74
74
|
optional :site_search_enabled, :bool, 7
|
75
|
-
optional :form_interactions_enabled, :bool, 8
|
76
75
|
optional :video_engagement_enabled, :bool, 9
|
77
76
|
optional :file_downloads_enabled, :bool, 10
|
78
|
-
optional :data_tagged_element_clicks_enabled, :bool, 11
|
79
77
|
optional :page_loads_enabled, :bool, 12
|
80
78
|
optional :page_changes_enabled, :bool, 13
|
81
|
-
optional :articles_and_blogs_enabled, :bool, 14
|
82
|
-
optional :products_and_ecommerce_enabled, :bool, 15
|
83
79
|
optional :search_query_parameter, :string, 16
|
84
|
-
optional :
|
85
|
-
optional :excluded_domains, :string, 18
|
80
|
+
optional :uri_query_parameter, :string, 17
|
86
81
|
end
|
87
82
|
add_message "google.analytics.admin.v1alpha.FirebaseLink" do
|
88
83
|
optional :name, :string, 1
|
@@ -91,11 +86,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
91
86
|
optional :maximum_user_access, :enum, 4, "google.analytics.admin.v1alpha.MaximumUserAccess"
|
92
87
|
end
|
93
88
|
add_message "google.analytics.admin.v1alpha.GlobalSiteTag" do
|
94
|
-
optional :
|
89
|
+
optional :name, :string, 1
|
90
|
+
optional :snippet, :string, 2
|
95
91
|
end
|
96
92
|
add_message "google.analytics.admin.v1alpha.GoogleAdsLink" do
|
97
93
|
optional :name, :string, 1
|
98
|
-
optional :parent, :string, 2
|
99
94
|
optional :customer_id, :string, 3
|
100
95
|
optional :can_manage_clients, :bool, 4
|
101
96
|
optional :ads_personalization_enabled, :message, 5, "google.protobuf.BoolValue"
|
@@ -121,6 +116,31 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
121
116
|
optional :property, :string, 1
|
122
117
|
optional :display_name, :string, 2
|
123
118
|
end
|
119
|
+
add_message "google.analytics.admin.v1alpha.ChangeHistoryEvent" do
|
120
|
+
optional :id, :string, 1
|
121
|
+
optional :change_time, :message, 2, "google.protobuf.Timestamp"
|
122
|
+
optional :actor_type, :enum, 3, "google.analytics.admin.v1alpha.ActorType"
|
123
|
+
optional :user_actor_email, :string, 4
|
124
|
+
optional :changes_filtered, :bool, 5
|
125
|
+
repeated :changes, :message, 6, "google.analytics.admin.v1alpha.ChangeHistoryChange"
|
126
|
+
end
|
127
|
+
add_message "google.analytics.admin.v1alpha.ChangeHistoryChange" do
|
128
|
+
optional :resource, :string, 1
|
129
|
+
optional :action, :enum, 2, "google.analytics.admin.v1alpha.ActionType"
|
130
|
+
optional :resource_before_change, :message, 3, "google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource"
|
131
|
+
optional :resource_after_change, :message, 4, "google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource"
|
132
|
+
end
|
133
|
+
add_message "google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource" do
|
134
|
+
oneof :resource do
|
135
|
+
optional :account, :message, 1, "google.analytics.admin.v1alpha.Account"
|
136
|
+
optional :property, :message, 2, "google.analytics.admin.v1alpha.Property"
|
137
|
+
optional :web_data_stream, :message, 3, "google.analytics.admin.v1alpha.WebDataStream"
|
138
|
+
optional :android_app_data_stream, :message, 4, "google.analytics.admin.v1alpha.AndroidAppDataStream"
|
139
|
+
optional :ios_app_data_stream, :message, 5, "google.analytics.admin.v1alpha.IosAppDataStream"
|
140
|
+
optional :firebase_link, :message, 6, "google.analytics.admin.v1alpha.FirebaseLink"
|
141
|
+
optional :google_ads_link, :message, 7, "google.analytics.admin.v1alpha.GoogleAdsLink"
|
142
|
+
end
|
143
|
+
end
|
124
144
|
add_enum "google.analytics.admin.v1alpha.MaximumUserAccess" do
|
125
145
|
value :MAXIMUM_USER_ACCESS_UNSPECIFIED, 0
|
126
146
|
value :NO_ACCESS, 1
|
@@ -157,6 +177,28 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
157
177
|
value :JOBS_AND_EDUCATION, 25
|
158
178
|
value :SHOPPING, 26
|
159
179
|
end
|
180
|
+
add_enum "google.analytics.admin.v1alpha.ActorType" do
|
181
|
+
value :ACTOR_TYPE_UNSPECIFIED, 0
|
182
|
+
value :USER, 1
|
183
|
+
value :SYSTEM, 2
|
184
|
+
value :SUPPORT, 3
|
185
|
+
end
|
186
|
+
add_enum "google.analytics.admin.v1alpha.ActionType" do
|
187
|
+
value :ACTION_TYPE_UNSPECIFIED, 0
|
188
|
+
value :CREATED, 1
|
189
|
+
value :UPDATED, 2
|
190
|
+
value :DELETED, 3
|
191
|
+
end
|
192
|
+
add_enum "google.analytics.admin.v1alpha.ChangeHistoryResourceType" do
|
193
|
+
value :CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED, 0
|
194
|
+
value :ACCOUNT, 1
|
195
|
+
value :PROPERTY, 2
|
196
|
+
value :WEB_DATA_STREAM, 3
|
197
|
+
value :ANDROID_APP_DATA_STREAM, 4
|
198
|
+
value :IOS_APP_DATA_STREAM, 5
|
199
|
+
value :FIREBASE_LINK, 6
|
200
|
+
value :GOOGLE_ADS_LINK, 7
|
201
|
+
end
|
160
202
|
end
|
161
203
|
end
|
162
204
|
|
@@ -178,8 +220,14 @@ module Google
|
|
178
220
|
DataSharingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataSharingSettings").msgclass
|
179
221
|
AccountSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AccountSummary").msgclass
|
180
222
|
PropertySummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.PropertySummary").msgclass
|
223
|
+
ChangeHistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryEvent").msgclass
|
224
|
+
ChangeHistoryChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange").msgclass
|
225
|
+
ChangeHistoryChange::ChangeHistoryResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource").msgclass
|
181
226
|
MaximumUserAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.MaximumUserAccess").enummodule
|
182
227
|
IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
|
228
|
+
ActorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActorType").enummodule
|
229
|
+
ActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActionType").enummodule
|
230
|
+
ChangeHistoryResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryResourceType").enummodule
|
183
231
|
end
|
184
232
|
end
|
185
233
|
end
|
@@ -86,7 +86,9 @@ module Google
|
|
86
86
|
# The account's `name` field is used to identify the account.
|
87
87
|
# @!attribute [rw] update_mask
|
88
88
|
# @return [::Google::Protobuf::FieldMask]
|
89
|
-
# The list of fields to be updated.
|
89
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
90
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
91
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
90
92
|
class UpdateAccountRequest
|
91
93
|
include ::Google::Protobuf::MessageExts
|
92
94
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -134,11 +136,13 @@ module Google
|
|
134
136
|
# `firebase_project:`(The id or number of the linked firebase project).
|
135
137
|
# Some examples of filters:
|
136
138
|
#
|
139
|
+
# ```
|
137
140
|
# | Filter | Description |
|
138
141
|
# |-----------------------------|-------------------------------------------|
|
139
142
|
# | parent:accounts/123 | The account with account id: 123. |
|
140
143
|
# | firebase_project:project-id | The firebase project with id: project-id. |
|
141
144
|
# | firebase_project:123 | The firebase project with number: 123. |
|
145
|
+
# ```
|
142
146
|
# @!attribute [rw] page_size
|
143
147
|
# @return [::Integer]
|
144
148
|
# The maximum number of resources to return. The service may return
|
@@ -182,7 +186,9 @@ module Google
|
|
182
186
|
# updated.
|
183
187
|
# @!attribute [rw] update_mask
|
184
188
|
# @return [::Google::Protobuf::FieldMask]
|
185
|
-
# The list of fields to be updated.
|
189
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
190
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
191
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
186
192
|
class UpdatePropertyRequest
|
187
193
|
include ::Google::Protobuf::MessageExts
|
188
194
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -454,7 +460,9 @@ module Google
|
|
454
460
|
# The `name` field is used to identify the web stream to be updated.
|
455
461
|
# @!attribute [rw] update_mask
|
456
462
|
# @return [::Google::Protobuf::FieldMask]
|
457
|
-
# The list of fields to be updated.
|
463
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
464
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
465
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
458
466
|
class UpdateWebDataStreamRequest
|
459
467
|
include ::Google::Protobuf::MessageExts
|
460
468
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -537,25 +545,14 @@ module Google
|
|
537
545
|
# The `name` field is used to identify the iOS app stream to be updated.
|
538
546
|
# @!attribute [rw] update_mask
|
539
547
|
# @return [::Google::Protobuf::FieldMask]
|
540
|
-
# The list of fields to be updated.
|
548
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
549
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
550
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
541
551
|
class UpdateIosAppDataStreamRequest
|
542
552
|
include ::Google::Protobuf::MessageExts
|
543
553
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
544
554
|
end
|
545
555
|
|
546
|
-
# Request message for CreateIosAppDataStream RPC.
|
547
|
-
# @!attribute [rw] ios_app_data_stream
|
548
|
-
# @return [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
|
549
|
-
# Required. The iOS app data stream to create.
|
550
|
-
# @!attribute [rw] parent
|
551
|
-
# @return [::String]
|
552
|
-
# Required. The parent resource where this ios app data stream will be created.
|
553
|
-
# Format: properties/123
|
554
|
-
class CreateIosAppDataStreamRequest
|
555
|
-
include ::Google::Protobuf::MessageExts
|
556
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
557
|
-
end
|
558
|
-
|
559
556
|
# Request message for ListIosAppDataStreams RPC.
|
560
557
|
# @!attribute [rw] parent
|
561
558
|
# @return [::String]
|
@@ -620,25 +617,14 @@ module Google
|
|
620
617
|
# The `name` field is used to identify the android app stream to be updated.
|
621
618
|
# @!attribute [rw] update_mask
|
622
619
|
# @return [::Google::Protobuf::FieldMask]
|
623
|
-
# The list of fields to be updated.
|
620
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
621
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
622
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
624
623
|
class UpdateAndroidAppDataStreamRequest
|
625
624
|
include ::Google::Protobuf::MessageExts
|
626
625
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
627
626
|
end
|
628
627
|
|
629
|
-
# Request message for CreateAndroidAppDataStream RPC.
|
630
|
-
# @!attribute [rw] android_app_data_stream
|
631
|
-
# @return [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
|
632
|
-
# Required. The android app stream to create.
|
633
|
-
# @!attribute [rw] parent
|
634
|
-
# @return [::String]
|
635
|
-
# Required. The parent resource where this android app data stream will be created.
|
636
|
-
# Format: properties/123
|
637
|
-
class CreateAndroidAppDataStreamRequest
|
638
|
-
include ::Google::Protobuf::MessageExts
|
639
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
640
|
-
end
|
641
|
-
|
642
628
|
# Request message for ListAndroidAppDataStreams RPC.
|
643
629
|
# @!attribute [rw] parent
|
644
630
|
# @return [::String]
|
@@ -681,7 +667,6 @@ module Google
|
|
681
667
|
# @return [::String]
|
682
668
|
# Required. The name of the settings to lookup.
|
683
669
|
# Format:
|
684
|
-
#
|
685
670
|
# properties/\\{property_id}/webDataStreams/\\{stream_id}/enhancedMeasurementSettings
|
686
671
|
# Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
|
687
672
|
class GetEnhancedMeasurementSettingsRequest
|
@@ -696,7 +681,9 @@ module Google
|
|
696
681
|
# The `name` field is used to identify the settings to be updated.
|
697
682
|
# @!attribute [rw] update_mask
|
698
683
|
# @return [::Google::Protobuf::FieldMask]
|
699
|
-
# The list of fields to be updated.
|
684
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
685
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
686
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
700
687
|
class UpdateEnhancedMeasurementSettingsRequest
|
701
688
|
include ::Google::Protobuf::MessageExts
|
702
689
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -721,7 +708,9 @@ module Google
|
|
721
708
|
# Required. The Firebase link to update.
|
722
709
|
# @!attribute [rw] update_mask
|
723
710
|
# @return [::Google::Protobuf::FieldMask]
|
724
|
-
# The list of fields to be updated.
|
711
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
712
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
713
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
725
714
|
class UpdateFirebaseLinkRequest
|
726
715
|
include ::Google::Protobuf::MessageExts
|
727
716
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -742,6 +731,18 @@ module Google
|
|
742
731
|
# @return [::String]
|
743
732
|
# Required. Format: properties/\\{property_id}
|
744
733
|
# Example: properties/1234
|
734
|
+
# @!attribute [rw] page_size
|
735
|
+
# @return [::Integer]
|
736
|
+
# The maximum number of resources to return. The service may return
|
737
|
+
# fewer than this value, even if there are additional pages.
|
738
|
+
# If unspecified, at most 50 resources will be returned.
|
739
|
+
# The maximum value is 200; (higher values will be coerced to the maximum)
|
740
|
+
# @!attribute [rw] page_token
|
741
|
+
# @return [::String]
|
742
|
+
# A page token, received from a previous `ListFirebaseLinks` call.
|
743
|
+
# Provide this to retrieve the subsequent page.
|
744
|
+
# When paginating, all other parameters provided to `ListProperties` must
|
745
|
+
# match the call that provided the page token.
|
745
746
|
class ListFirebaseLinksRequest
|
746
747
|
include ::Google::Protobuf::MessageExts
|
747
748
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -751,6 +752,12 @@ module Google
|
|
751
752
|
# @!attribute [rw] firebase_links
|
752
753
|
# @return [::Array<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
|
753
754
|
# List of FirebaseLinks. This will have at most one value.
|
755
|
+
# @!attribute [rw] next_page_token
|
756
|
+
# @return [::String]
|
757
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
758
|
+
# If this field is omitted, there are no subsequent pages.
|
759
|
+
# Currently, Google Analytics supports only one FirebaseLink per property,
|
760
|
+
# so this will never be populated.
|
754
761
|
class ListFirebaseLinksResponse
|
755
762
|
include ::Google::Protobuf::MessageExts
|
756
763
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -786,7 +793,9 @@ module Google
|
|
786
793
|
# The GoogleAdsLink to update
|
787
794
|
# @!attribute [rw] update_mask
|
788
795
|
# @return [::Google::Protobuf::FieldMask]
|
789
|
-
# The list of fields to be updated.
|
796
|
+
# Required. The list of fields to be updated. Field names must be in snake case
|
797
|
+
# (e.g., "field_to_update"). Omitted fields will not be updated. To replace
|
798
|
+
# the entire entity, use one path with the string "*" to match all fields.
|
790
799
|
class UpdateGoogleAdsLinkRequest
|
791
800
|
include ::Google::Protobuf::MessageExts
|
792
801
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -876,6 +885,61 @@ module Google
|
|
876
885
|
include ::Google::Protobuf::MessageExts
|
877
886
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
878
887
|
end
|
888
|
+
|
889
|
+
# Request message for SearchChangeHistoryEvents RPC.
|
890
|
+
# @!attribute [rw] account
|
891
|
+
# @return [::String]
|
892
|
+
# Required. The account resource for which to return change history resources.
|
893
|
+
# @!attribute [rw] property
|
894
|
+
# @return [::String]
|
895
|
+
# Optional. Resource name for a child property. If set, only return changes
|
896
|
+
# made to this property or its child resources.
|
897
|
+
# @!attribute [rw] resource_type
|
898
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::ChangeHistoryResourceType>]
|
899
|
+
# Optional. If set, only return changes if they are for a resource that matches at
|
900
|
+
# least one of these types.
|
901
|
+
# @!attribute [rw] action
|
902
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::ActionType>]
|
903
|
+
# Optional. If set, only return changes that match one or more of these types of
|
904
|
+
# actions.
|
905
|
+
# @!attribute [rw] actor_email
|
906
|
+
# @return [::Array<::String>]
|
907
|
+
# Optional. If set, only return changes if they are made by a user in this list.
|
908
|
+
# @!attribute [rw] earliest_change_time
|
909
|
+
# @return [::Google::Protobuf::Timestamp]
|
910
|
+
# Optional. If set, only return changes made after this time (inclusive).
|
911
|
+
# @!attribute [rw] latest_change_time
|
912
|
+
# @return [::Google::Protobuf::Timestamp]
|
913
|
+
# Optional. If set, only return changes made before this time (inclusive).
|
914
|
+
# @!attribute [rw] page_size
|
915
|
+
# @return [::Integer]
|
916
|
+
# Optional. The maximum number of ChangeHistoryEvent items to return.
|
917
|
+
# The service may return fewer than this value, even if there are additional
|
918
|
+
# pages. If unspecified, at most 50 items will be returned.
|
919
|
+
# The maximum value is 200 (higher values will be coerced to the maximum).
|
920
|
+
# @!attribute [rw] page_token
|
921
|
+
# @return [::String]
|
922
|
+
# Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
|
923
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
924
|
+
# parameters provided to `SearchChangeHistoryEvents` must match the call that
|
925
|
+
# provided the page token.
|
926
|
+
class SearchChangeHistoryEventsRequest
|
927
|
+
include ::Google::Protobuf::MessageExts
|
928
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
929
|
+
end
|
930
|
+
|
931
|
+
# Response message for SearchAccounts RPC.
|
932
|
+
# @!attribute [rw] change_history_events
|
933
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::ChangeHistoryEvent>]
|
934
|
+
# Results that were accessible to the caller.
|
935
|
+
# @!attribute [rw] next_page_token
|
936
|
+
# @return [::String]
|
937
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
938
|
+
# If this field is omitted, there are no subsequent pages.
|
939
|
+
class SearchChangeHistoryEventsResponse
|
940
|
+
include ::Google::Protobuf::MessageExts
|
941
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
942
|
+
end
|
879
943
|
end
|
880
944
|
end
|
881
945
|
end
|