google-analytics-admin-v1alpha 0.1.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 +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +72 -0
- data/lib/google-analytics-admin-v1alpha.rb +21 -0
- data/lib/google/analytics/admin/v1alpha.rb +35 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +311 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service.rb +49 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +4090 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/credentials.rb +54 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +230 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +213 -0
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +174 -0
- data/lib/google/analytics/admin/v1alpha/version.rb +28 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +849 -0
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +547 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- metadata +207 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Analytics
|
23
|
+
module Admin
|
24
|
+
module V1alpha
|
25
|
+
module AnalyticsAdminService
|
26
|
+
# Credentials for the AnalyticsAdminService API.
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
28
|
+
self.scope = [
|
29
|
+
"https://www.googleapis.com/auth/analytics.edit",
|
30
|
+
"https://www.googleapis.com/auth/analytics.manage.users",
|
31
|
+
"https://www.googleapis.com/auth/analytics.manage.users.readonly",
|
32
|
+
"https://www.googleapis.com/auth/analytics.readonly"
|
33
|
+
]
|
34
|
+
self.env_vars = [
|
35
|
+
"ANALYTICS_ADMIN_CREDENTIALS",
|
36
|
+
"ANALYTICS_ADMIN_KEYFILE",
|
37
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
38
|
+
"GOOGLE_CLOUD_KEYFILE",
|
39
|
+
"GCLOUD_KEYFILE",
|
40
|
+
"ANALYTICS_ADMIN_CREDENTIALS_JSON",
|
41
|
+
"ANALYTICS_ADMIN_KEYFILE_JSON",
|
42
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
43
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
44
|
+
"GCLOUD_KEYFILE_JSON"
|
45
|
+
]
|
46
|
+
self.paths = [
|
47
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
48
|
+
]
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,230 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Analytics
|
22
|
+
module Admin
|
23
|
+
module V1alpha
|
24
|
+
module AnalyticsAdminService
|
25
|
+
# Path helper methods for the AnalyticsAdminService API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Account resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `accounts/{account}`
|
33
|
+
#
|
34
|
+
# @param account [String]
|
35
|
+
#
|
36
|
+
# @return [::String]
|
37
|
+
def account_path account:
|
38
|
+
"accounts/#{account}"
|
39
|
+
end
|
40
|
+
|
41
|
+
##
|
42
|
+
# Create a fully-qualified AndroidAppDataStream resource string.
|
43
|
+
#
|
44
|
+
# The resource will be in the following format:
|
45
|
+
#
|
46
|
+
# `properties/{property}/androidAppDataStreams/{android_app_data_stream}`
|
47
|
+
#
|
48
|
+
# @param property [String]
|
49
|
+
# @param android_app_data_stream [String]
|
50
|
+
#
|
51
|
+
# @return [::String]
|
52
|
+
def android_app_data_stream_path property:, android_app_data_stream:
|
53
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
54
|
+
|
55
|
+
"properties/#{property}/androidAppDataStreams/#{android_app_data_stream}"
|
56
|
+
end
|
57
|
+
|
58
|
+
##
|
59
|
+
# Create a fully-qualified DataSharingSettings resource string.
|
60
|
+
#
|
61
|
+
# The resource will be in the following format:
|
62
|
+
#
|
63
|
+
# `accounts/{account}/dataSharingSettings`
|
64
|
+
#
|
65
|
+
# @param account [String]
|
66
|
+
#
|
67
|
+
# @return [::String]
|
68
|
+
def data_sharing_settings_path account:
|
69
|
+
"accounts/#{account}/dataSharingSettings"
|
70
|
+
end
|
71
|
+
|
72
|
+
##
|
73
|
+
# Create a fully-qualified EnhancedMeasurementSettings resource string.
|
74
|
+
#
|
75
|
+
# The resource will be in the following format:
|
76
|
+
#
|
77
|
+
# `properties/{property}/webDataStreams/{web_data_stream}/enhancedMeasurementSettings`
|
78
|
+
#
|
79
|
+
# @param property [String]
|
80
|
+
# @param web_data_stream [String]
|
81
|
+
#
|
82
|
+
# @return [::String]
|
83
|
+
def enhanced_measurement_settings_path property:, web_data_stream:
|
84
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
85
|
+
|
86
|
+
"properties/#{property}/webDataStreams/#{web_data_stream}/enhancedMeasurementSettings"
|
87
|
+
end
|
88
|
+
|
89
|
+
##
|
90
|
+
# Create a fully-qualified FirebaseLink resource string.
|
91
|
+
#
|
92
|
+
# The resource will be in the following format:
|
93
|
+
#
|
94
|
+
# `properties/{property}/firebaseLinks/{firebase_link}`
|
95
|
+
#
|
96
|
+
# @param property [String]
|
97
|
+
# @param firebase_link [String]
|
98
|
+
#
|
99
|
+
# @return [::String]
|
100
|
+
def firebase_link_path property:, firebase_link:
|
101
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
102
|
+
|
103
|
+
"properties/#{property}/firebaseLinks/#{firebase_link}"
|
104
|
+
end
|
105
|
+
|
106
|
+
##
|
107
|
+
# Create a fully-qualified GlobalSiteTag resource string.
|
108
|
+
#
|
109
|
+
# The resource will be in the following format:
|
110
|
+
#
|
111
|
+
# `properties/{property}/globalSiteTag`
|
112
|
+
#
|
113
|
+
# @param property [String]
|
114
|
+
#
|
115
|
+
# @return [::String]
|
116
|
+
def global_site_tag_path property:
|
117
|
+
"properties/#{property}/globalSiteTag"
|
118
|
+
end
|
119
|
+
|
120
|
+
##
|
121
|
+
# Create a fully-qualified GoogleAdsLink resource string.
|
122
|
+
#
|
123
|
+
# The resource will be in the following format:
|
124
|
+
#
|
125
|
+
# `properties/{property}/googleAdsLinks/{google_ads_link}`
|
126
|
+
#
|
127
|
+
# @param property [String]
|
128
|
+
# @param google_ads_link [String]
|
129
|
+
#
|
130
|
+
# @return [::String]
|
131
|
+
def google_ads_link_path property:, google_ads_link:
|
132
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
133
|
+
|
134
|
+
"properties/#{property}/googleAdsLinks/#{google_ads_link}"
|
135
|
+
end
|
136
|
+
|
137
|
+
##
|
138
|
+
# Create a fully-qualified IosAppDataStream resource string.
|
139
|
+
#
|
140
|
+
# The resource will be in the following format:
|
141
|
+
#
|
142
|
+
# `properties/{property}/iosAppDataStreams/{ios_app_data_stream}`
|
143
|
+
#
|
144
|
+
# @param property [String]
|
145
|
+
# @param ios_app_data_stream [String]
|
146
|
+
#
|
147
|
+
# @return [::String]
|
148
|
+
def ios_app_data_stream_path property:, ios_app_data_stream:
|
149
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
150
|
+
|
151
|
+
"properties/#{property}/iosAppDataStreams/#{ios_app_data_stream}"
|
152
|
+
end
|
153
|
+
|
154
|
+
##
|
155
|
+
# Create a fully-qualified Property resource string.
|
156
|
+
#
|
157
|
+
# The resource will be in the following format:
|
158
|
+
#
|
159
|
+
# `properties/{property}`
|
160
|
+
#
|
161
|
+
# @param property [String]
|
162
|
+
#
|
163
|
+
# @return [::String]
|
164
|
+
def property_path property:
|
165
|
+
"properties/#{property}"
|
166
|
+
end
|
167
|
+
|
168
|
+
##
|
169
|
+
# Create a fully-qualified UserLink resource string.
|
170
|
+
#
|
171
|
+
# @overload user_link_path(account:, user_link:)
|
172
|
+
# The resource will be in the following format:
|
173
|
+
#
|
174
|
+
# `accounts/{account}/userLinks/{user_link}`
|
175
|
+
#
|
176
|
+
# @param account [String]
|
177
|
+
# @param user_link [String]
|
178
|
+
#
|
179
|
+
# @overload user_link_path(property:, user_link:)
|
180
|
+
# The resource will be in the following format:
|
181
|
+
#
|
182
|
+
# `properties/{property}/userLinks/{user_link}`
|
183
|
+
#
|
184
|
+
# @param property [String]
|
185
|
+
# @param user_link [String]
|
186
|
+
#
|
187
|
+
# @return [::String]
|
188
|
+
def user_link_path **args
|
189
|
+
resources = {
|
190
|
+
"account:user_link" => (proc do |account:, user_link:|
|
191
|
+
raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
|
192
|
+
|
193
|
+
"accounts/#{account}/userLinks/#{user_link}"
|
194
|
+
end),
|
195
|
+
"property:user_link" => (proc do |property:, user_link:|
|
196
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
197
|
+
|
198
|
+
"properties/#{property}/userLinks/#{user_link}"
|
199
|
+
end)
|
200
|
+
}
|
201
|
+
|
202
|
+
resource = resources[args.keys.sort.join(":")]
|
203
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
204
|
+
resource.call(**args)
|
205
|
+
end
|
206
|
+
|
207
|
+
##
|
208
|
+
# Create a fully-qualified WebDataStream resource string.
|
209
|
+
#
|
210
|
+
# The resource will be in the following format:
|
211
|
+
#
|
212
|
+
# `properties/{property}/webDataStreams/{web_data_stream}`
|
213
|
+
#
|
214
|
+
# @param property [String]
|
215
|
+
# @param web_data_stream [String]
|
216
|
+
#
|
217
|
+
# @return [::String]
|
218
|
+
def web_data_stream_path property:, web_data_stream:
|
219
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
220
|
+
|
221
|
+
"properties/#{property}/webDataStreams/#{web_data_stream}"
|
222
|
+
end
|
223
|
+
|
224
|
+
extend self
|
225
|
+
end
|
226
|
+
end
|
227
|
+
end
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
@@ -0,0 +1,213 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/analytics/admin/v1alpha/analytics_admin.proto for package 'google.analytics.admin.v1alpha'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2020 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/analytics/admin/v1alpha/analytics_admin_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Analytics
|
24
|
+
module Admin
|
25
|
+
module V1alpha
|
26
|
+
module AnalyticsAdminService
|
27
|
+
# Service Interface for the Analytics Admin API (App+Web).
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.analytics.admin.v1alpha.AnalyticsAdminService'
|
35
|
+
|
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
|
+
rpc :GetAccount, Google::Analytics::Admin::V1alpha::GetAccountRequest, Google::Analytics::Admin::V1alpha::Account
|
40
|
+
# Returns all accounts accessible by the caller.
|
41
|
+
#
|
42
|
+
# Note that these accounts might not currently have App+Web properties.
|
43
|
+
# Soft-deleted (ie: "trashed") accounts are excluded by default.
|
44
|
+
# Returns an empty list if no relevant accounts are found.
|
45
|
+
rpc :ListAccounts, Google::Analytics::Admin::V1alpha::ListAccountsRequest, Google::Analytics::Admin::V1alpha::ListAccountsResponse
|
46
|
+
# Marks target Account as soft-deleted (ie: "trashed") and returns it.
|
47
|
+
#
|
48
|
+
# This API does not have a method to restore soft-deleted accounts.
|
49
|
+
# However, they can be restored using the Trash Can UI.
|
50
|
+
#
|
51
|
+
# If the accounts are not restored before the expiration time, the account
|
52
|
+
# and all child resources (eg: Properties, GoogleAdsLinks, Streams,
|
53
|
+
# UserLinks) will be permanently purged.
|
54
|
+
# https://support.google.com/analytics/answer/6154772
|
55
|
+
#
|
56
|
+
# Returns an error if the target is not found.
|
57
|
+
rpc :DeleteAccount, Google::Analytics::Admin::V1alpha::DeleteAccountRequest, Google::Protobuf::Empty
|
58
|
+
# Updates an account.
|
59
|
+
rpc :UpdateAccount, Google::Analytics::Admin::V1alpha::UpdateAccountRequest, Google::Analytics::Admin::V1alpha::Account
|
60
|
+
# Requests a ticket for creating an account.
|
61
|
+
rpc :ProvisionAccountTicket, Google::Analytics::Admin::V1alpha::ProvisionAccountTicketRequest, Google::Analytics::Admin::V1alpha::ProvisionAccountTicketResponse
|
62
|
+
# Lookup for a single "App+Web" Property.
|
63
|
+
#
|
64
|
+
# Throws "Target not found" if no such property found, if property is not
|
65
|
+
# of the type "App+Web", or if caller does not have permissions to access it.
|
66
|
+
rpc :GetProperty, Google::Analytics::Admin::V1alpha::GetPropertyRequest, Google::Analytics::Admin::V1alpha::Property
|
67
|
+
# Returns child Properties under the specified parent Account.
|
68
|
+
#
|
69
|
+
# Only "App+Web" properties will be returned.
|
70
|
+
# Properties will be excluded if the caller does not have access.
|
71
|
+
# Soft-deleted (ie: "trashed") properties are excluded by default.
|
72
|
+
# Returns an empty list if no relevant properties are found.
|
73
|
+
rpc :ListProperties, Google::Analytics::Admin::V1alpha::ListPropertiesRequest, Google::Analytics::Admin::V1alpha::ListPropertiesResponse
|
74
|
+
# Creates an "App+Web" property with the specified location and attributes.
|
75
|
+
rpc :CreateProperty, Google::Analytics::Admin::V1alpha::CreatePropertyRequest, Google::Analytics::Admin::V1alpha::Property
|
76
|
+
# Marks target Property as soft-deleted (ie: "trashed") and returns it.
|
77
|
+
#
|
78
|
+
# This API does not have a method to restore soft-deleted properties.
|
79
|
+
# However, they can be restored using the Trash Can UI.
|
80
|
+
#
|
81
|
+
# If the properties are not restored before the expiration time, the Property
|
82
|
+
# and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
|
83
|
+
# will be permanently purged.
|
84
|
+
# https://support.google.com/analytics/answer/6154772
|
85
|
+
#
|
86
|
+
# Returns an error if the target is not found, or is not an App+Web Property.
|
87
|
+
rpc :DeleteProperty, Google::Analytics::Admin::V1alpha::DeletePropertyRequest, Google::Protobuf::Empty
|
88
|
+
# Updates a property.
|
89
|
+
rpc :UpdateProperty, Google::Analytics::Admin::V1alpha::UpdatePropertyRequest, Google::Analytics::Admin::V1alpha::Property
|
90
|
+
# Gets information about a user's link to an account or property.
|
91
|
+
rpc :GetUserLink, Google::Analytics::Admin::V1alpha::GetUserLinkRequest, Google::Analytics::Admin::V1alpha::UserLink
|
92
|
+
# Gets information about multiple users' links to an account or property.
|
93
|
+
rpc :BatchGetUserLinks, Google::Analytics::Admin::V1alpha::BatchGetUserLinksRequest, Google::Analytics::Admin::V1alpha::BatchGetUserLinksResponse
|
94
|
+
# Lists all user links on an account or property.
|
95
|
+
rpc :ListUserLinks, Google::Analytics::Admin::V1alpha::ListUserLinksRequest, Google::Analytics::Admin::V1alpha::ListUserLinksResponse
|
96
|
+
# Lists all user links on an account or property, including implicit ones
|
97
|
+
# that come from effective permissions granted by groups or organization
|
98
|
+
# admin roles.
|
99
|
+
#
|
100
|
+
# If a returned user link does not have direct permissions, they cannot
|
101
|
+
# be removed from the account or property directly with the DeleteUserLink
|
102
|
+
# command. They have to be removed from the group/etc that gives them
|
103
|
+
# permissions, which is currently only usable/discoverable in the GA or GMP
|
104
|
+
# UIs.
|
105
|
+
rpc :AuditUserLinks, Google::Analytics::Admin::V1alpha::AuditUserLinksRequest, Google::Analytics::Admin::V1alpha::AuditUserLinksResponse
|
106
|
+
# Creates a user link on an account or property.
|
107
|
+
#
|
108
|
+
# If the user with the specified email already has permissions on the
|
109
|
+
# account or property, then the user's existing permissions will be unioned
|
110
|
+
# with the permissions specified in the new UserLink.
|
111
|
+
rpc :CreateUserLink, Google::Analytics::Admin::V1alpha::CreateUserLinkRequest, Google::Analytics::Admin::V1alpha::UserLink
|
112
|
+
# Creates information about multiple users' links to an account or property.
|
113
|
+
#
|
114
|
+
# This method is transactional. If any UserLink cannot be created, none of
|
115
|
+
# the UserLinks will be created.
|
116
|
+
rpc :BatchCreateUserLinks, Google::Analytics::Admin::V1alpha::BatchCreateUserLinksRequest, Google::Analytics::Admin::V1alpha::BatchCreateUserLinksResponse
|
117
|
+
# Updates a user link on an account or property.
|
118
|
+
rpc :UpdateUserLink, Google::Analytics::Admin::V1alpha::UpdateUserLinkRequest, Google::Analytics::Admin::V1alpha::UserLink
|
119
|
+
# Updates information about multiple users' links to an account or property.
|
120
|
+
rpc :BatchUpdateUserLinks, Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksRequest, Google::Analytics::Admin::V1alpha::BatchUpdateUserLinksResponse
|
121
|
+
# Deletes a user link on an account or property.
|
122
|
+
rpc :DeleteUserLink, Google::Analytics::Admin::V1alpha::DeleteUserLinkRequest, Google::Protobuf::Empty
|
123
|
+
# Deletes information about multiple users' links to an account or property.
|
124
|
+
rpc :BatchDeleteUserLinks, Google::Analytics::Admin::V1alpha::BatchDeleteUserLinksRequest, Google::Protobuf::Empty
|
125
|
+
# Lookup for a single WebDataStream
|
126
|
+
#
|
127
|
+
# Throws "Target not found" if no such web data stream found, or if the
|
128
|
+
# caller does not have permissions to access it.
|
129
|
+
rpc :GetWebDataStream, Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest, Google::Analytics::Admin::V1alpha::WebDataStream
|
130
|
+
# Deletes a web stream on a property.
|
131
|
+
rpc :DeleteWebDataStream, Google::Analytics::Admin::V1alpha::DeleteWebDataStreamRequest, Google::Protobuf::Empty
|
132
|
+
# Updates a web stream on a property.
|
133
|
+
rpc :UpdateWebDataStream, Google::Analytics::Admin::V1alpha::UpdateWebDataStreamRequest, Google::Analytics::Admin::V1alpha::WebDataStream
|
134
|
+
# Creates a web stream with the specified location and attributes.
|
135
|
+
rpc :CreateWebDataStream, Google::Analytics::Admin::V1alpha::CreateWebDataStreamRequest, Google::Analytics::Admin::V1alpha::WebDataStream
|
136
|
+
# Returns child web data streams under the specified parent property.
|
137
|
+
#
|
138
|
+
# Web data streams will be excluded if the caller does not have access.
|
139
|
+
# Returns an empty list if no relevant web data streams are found.
|
140
|
+
rpc :ListWebDataStreams, Google::Analytics::Admin::V1alpha::ListWebDataStreamsRequest, Google::Analytics::Admin::V1alpha::ListWebDataStreamsResponse
|
141
|
+
# Lookup for a single IosAppDataStream
|
142
|
+
#
|
143
|
+
# Throws "Target not found" if no such iOS app data stream found, or if the
|
144
|
+
# caller does not have permissions to access it.
|
145
|
+
rpc :GetIosAppDataStream, Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest, Google::Analytics::Admin::V1alpha::IosAppDataStream
|
146
|
+
# Deletes an iOS app stream on a property.
|
147
|
+
rpc :DeleteIosAppDataStream, Google::Analytics::Admin::V1alpha::DeleteIosAppDataStreamRequest, Google::Protobuf::Empty
|
148
|
+
# Updates an iOS app stream on a property.
|
149
|
+
rpc :UpdateIosAppDataStream, Google::Analytics::Admin::V1alpha::UpdateIosAppDataStreamRequest, Google::Analytics::Admin::V1alpha::IosAppDataStream
|
150
|
+
# Creates an iOS app data stream with the specified location and attributes.
|
151
|
+
rpc :CreateIosAppDataStream, Google::Analytics::Admin::V1alpha::CreateIosAppDataStreamRequest, Google::Analytics::Admin::V1alpha::IosAppDataStream
|
152
|
+
# Returns child iOS app data streams under the specified parent property.
|
153
|
+
#
|
154
|
+
# iOS app data streams will be excluded if the caller does not have access.
|
155
|
+
# Returns an empty list if no relevant iOS app data streams are found.
|
156
|
+
rpc :ListIosAppDataStreams, Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsRequest, Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsResponse
|
157
|
+
# Lookup for a single AndroidAppDataStream
|
158
|
+
#
|
159
|
+
# Throws "Target not found" if no such android app data stream found, or if
|
160
|
+
# the caller does not have permissions to access it.
|
161
|
+
rpc :GetAndroidAppDataStream, Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest, Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
162
|
+
# Deletes an android app stream on a property.
|
163
|
+
rpc :DeleteAndroidAppDataStream, Google::Analytics::Admin::V1alpha::DeleteAndroidAppDataStreamRequest, Google::Protobuf::Empty
|
164
|
+
# Updates an android app stream on a property.
|
165
|
+
rpc :UpdateAndroidAppDataStream, Google::Analytics::Admin::V1alpha::UpdateAndroidAppDataStreamRequest, Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
166
|
+
# Creates an android app stream with the specified location and attributes.
|
167
|
+
rpc :CreateAndroidAppDataStream, Google::Analytics::Admin::V1alpha::CreateAndroidAppDataStreamRequest, Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
168
|
+
# Returns child android app streams under the specified parent property.
|
169
|
+
#
|
170
|
+
# Android app streams will be excluded if the caller does not have access.
|
171
|
+
# Returns an empty list if no relevant android app streams are found.
|
172
|
+
rpc :ListAndroidAppDataStreams, Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsRequest, Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsResponse
|
173
|
+
# Returns the singleton enhanced measurement settings for this web stream.
|
174
|
+
# Note that the stream must enable enhanced measurement for these settings to
|
175
|
+
# take effect.
|
176
|
+
rpc :GetEnhancedMeasurementSettings, Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest, Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
177
|
+
# Updates the singleton enhanced measurement settings for this web stream.
|
178
|
+
# Note that the stream must enable enhanced measurement for these settings to
|
179
|
+
# take effect.
|
180
|
+
rpc :UpdateEnhancedMeasurementSettings, Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest, Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
181
|
+
# Creates a FirebaseLink.
|
182
|
+
#
|
183
|
+
# Properties can have at most one FirebaseLink.
|
184
|
+
rpc :CreateFirebaseLink, Google::Analytics::Admin::V1alpha::CreateFirebaseLinkRequest, Google::Analytics::Admin::V1alpha::FirebaseLink
|
185
|
+
# Updates a FirebaseLink on a property
|
186
|
+
rpc :UpdateFirebaseLink, Google::Analytics::Admin::V1alpha::UpdateFirebaseLinkRequest, Google::Analytics::Admin::V1alpha::FirebaseLink
|
187
|
+
# Deletes a FirebaseLink on a property
|
188
|
+
rpc :DeleteFirebaseLink, Google::Analytics::Admin::V1alpha::DeleteFirebaseLinkRequest, Google::Protobuf::Empty
|
189
|
+
# Lists FirebaseLinks on a property.
|
190
|
+
# Properties can have at most one FirebaseLink.
|
191
|
+
rpc :ListFirebaseLinks, Google::Analytics::Admin::V1alpha::ListFirebaseLinksRequest, Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse
|
192
|
+
# Returns the Site Tag for the specified web stream.
|
193
|
+
# Site Tags are immutable singletons.
|
194
|
+
rpc :GetGlobalSiteTag, Google::Analytics::Admin::V1alpha::GetGlobalSiteTagRequest, Google::Analytics::Admin::V1alpha::GlobalSiteTag
|
195
|
+
# Creates a GoogleAdsLink.
|
196
|
+
rpc :CreateGoogleAdsLink, Google::Analytics::Admin::V1alpha::CreateGoogleAdsLinkRequest, Google::Analytics::Admin::V1alpha::GoogleAdsLink
|
197
|
+
# Updates a GoogleAdsLink on a property
|
198
|
+
rpc :UpdateGoogleAdsLink, Google::Analytics::Admin::V1alpha::UpdateGoogleAdsLinkRequest, Google::Analytics::Admin::V1alpha::GoogleAdsLink
|
199
|
+
# Deletes a GoogleAdsLink on a property
|
200
|
+
rpc :DeleteGoogleAdsLink, Google::Analytics::Admin::V1alpha::DeleteGoogleAdsLinkRequest, Google::Protobuf::Empty
|
201
|
+
# Lists GoogleAdsLinks on a property.
|
202
|
+
rpc :ListGoogleAdsLinks, Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksRequest, Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksResponse
|
203
|
+
# Get data sharing settings on an account.
|
204
|
+
# Data sharing settings are singletons.
|
205
|
+
rpc :GetDataSharingSettings, Google::Analytics::Admin::V1alpha::GetDataSharingSettingsRequest, Google::Analytics::Admin::V1alpha::DataSharingSettings
|
206
|
+
end
|
207
|
+
|
208
|
+
Stub = Service.rpc_stub_class
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|