google-analytics-admin-v1alpha 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +39 -88
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +2575 -2110
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +26 -74
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +16 -44
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +45 -46
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/lib/google/analytics/admin/v1alpha.rb +2 -0
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +116 -274
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +134 -167
- data/proto_docs/google/api/resource.rb +10 -71
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a13d1d8c4ea03726a3653834c144df66eebdba89c4cd0adfb67177c3cc4faa7
|
4
|
+
data.tar.gz: 12c68709582fc3d7412364c6142b9155ffe2ea8861939f7434b9f4c5784400ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b95249480c7b0aa61f79f5592361da5a9a24061938bcd91a91eaa38d27557eba826e1593508a96b011deee811c1aceaf90829edd346d58c818a7905dd9a5894
|
7
|
+
data.tar.gz: 6bf1be90485d7329ef4ace1089169266b026463a37cb6f7ccc3bdd51e00cf8f03be6fa37ad78cfec0b7671e37b6f2216402c55f5a4e0a05559cd14bd2647ecc2
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Analytics::Admin::V1alpha::GetAccountRequest.new # (request
|
|
37
37
|
response = client.get_account request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
## Enabling Logging
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/analytics/admin/v1alpha/analytics_admin.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/analytics/admin/v1alpha/resources_pb'
|
7
5
|
require 'google/api/annotations_pb'
|
8
6
|
require 'google/api/client_pb'
|
@@ -11,6 +9,8 @@ require 'google/api/resource_pb'
|
|
11
9
|
require 'google/protobuf/empty_pb'
|
12
10
|
require 'google/protobuf/field_mask_pb'
|
13
11
|
require 'google/protobuf/timestamp_pb'
|
12
|
+
require 'google/protobuf'
|
13
|
+
|
14
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
15
|
add_file("google/analytics/admin/v1alpha/analytics_admin.proto", :syntax => :proto3) do
|
16
16
|
add_message "google.analytics.admin.v1alpha.GetAccountRequest" do
|
@@ -120,74 +120,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
120
120
|
optional :parent, :string, 1
|
121
121
|
repeated :requests, :message, 2, "google.analytics.admin.v1alpha.DeleteUserLinkRequest"
|
122
122
|
end
|
123
|
-
add_message "google.analytics.admin.v1alpha.GetWebDataStreamRequest" do
|
124
|
-
optional :name, :string, 1
|
125
|
-
end
|
126
|
-
add_message "google.analytics.admin.v1alpha.DeleteWebDataStreamRequest" do
|
127
|
-
optional :name, :string, 1
|
128
|
-
end
|
129
|
-
add_message "google.analytics.admin.v1alpha.UpdateWebDataStreamRequest" do
|
130
|
-
optional :web_data_stream, :message, 1, "google.analytics.admin.v1alpha.WebDataStream"
|
131
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
132
|
-
end
|
133
|
-
add_message "google.analytics.admin.v1alpha.CreateWebDataStreamRequest" do
|
134
|
-
optional :web_data_stream, :message, 1, "google.analytics.admin.v1alpha.WebDataStream"
|
135
|
-
optional :parent, :string, 2
|
136
|
-
end
|
137
|
-
add_message "google.analytics.admin.v1alpha.ListWebDataStreamsRequest" do
|
138
|
-
optional :parent, :string, 1
|
139
|
-
optional :page_size, :int32, 2
|
140
|
-
optional :page_token, :string, 3
|
141
|
-
end
|
142
|
-
add_message "google.analytics.admin.v1alpha.ListWebDataStreamsResponse" do
|
143
|
-
repeated :web_data_streams, :message, 1, "google.analytics.admin.v1alpha.WebDataStream"
|
144
|
-
optional :next_page_token, :string, 2
|
145
|
-
end
|
146
|
-
add_message "google.analytics.admin.v1alpha.GetIosAppDataStreamRequest" do
|
147
|
-
optional :name, :string, 1
|
148
|
-
end
|
149
|
-
add_message "google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest" do
|
150
|
-
optional :name, :string, 1
|
151
|
-
end
|
152
|
-
add_message "google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest" do
|
153
|
-
optional :ios_app_data_stream, :message, 1, "google.analytics.admin.v1alpha.IosAppDataStream"
|
154
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
155
|
-
end
|
156
|
-
add_message "google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest" do
|
157
|
-
optional :parent, :string, 1
|
158
|
-
optional :page_size, :int32, 2
|
159
|
-
optional :page_token, :string, 3
|
160
|
-
end
|
161
|
-
add_message "google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse" do
|
162
|
-
repeated :ios_app_data_streams, :message, 1, "google.analytics.admin.v1alpha.IosAppDataStream"
|
163
|
-
optional :next_page_token, :string, 2
|
164
|
-
end
|
165
|
-
add_message "google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest" do
|
166
|
-
optional :name, :string, 1
|
167
|
-
end
|
168
|
-
add_message "google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest" do
|
169
|
-
optional :name, :string, 1
|
170
|
-
end
|
171
|
-
add_message "google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest" do
|
172
|
-
optional :android_app_data_stream, :message, 1, "google.analytics.admin.v1alpha.AndroidAppDataStream"
|
173
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
174
|
-
end
|
175
|
-
add_message "google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest" do
|
176
|
-
optional :parent, :string, 1
|
177
|
-
optional :page_size, :int32, 2
|
178
|
-
optional :page_token, :string, 3
|
179
|
-
end
|
180
|
-
add_message "google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse" do
|
181
|
-
repeated :android_app_data_streams, :message, 1, "google.analytics.admin.v1alpha.AndroidAppDataStream"
|
182
|
-
optional :next_page_token, :string, 2
|
183
|
-
end
|
184
|
-
add_message "google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest" do
|
185
|
-
optional :name, :string, 1
|
186
|
-
end
|
187
|
-
add_message "google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest" do
|
188
|
-
optional :enhanced_measurement_settings, :message, 1, "google.analytics.admin.v1alpha.EnhancedMeasurementSettings"
|
189
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
190
|
-
end
|
191
123
|
add_message "google.analytics.admin.v1alpha.CreateFirebaseLinkRequest" do
|
192
124
|
optional :parent, :string, 1
|
193
125
|
optional :firebase_link, :message, 2, "google.analytics.admin.v1alpha.FirebaseLink"
|
@@ -238,6 +170,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
238
170
|
repeated :account_summaries, :message, 1, "google.analytics.admin.v1alpha.AccountSummary"
|
239
171
|
optional :next_page_token, :string, 2
|
240
172
|
end
|
173
|
+
add_message "google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest" do
|
174
|
+
optional :property, :string, 1
|
175
|
+
optional :acknowledgement, :string, 2
|
176
|
+
end
|
177
|
+
add_message "google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse" do
|
178
|
+
end
|
241
179
|
add_message "google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest" do
|
242
180
|
optional :account, :string, 1
|
243
181
|
optional :property, :string, 2
|
@@ -406,6 +344,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
406
344
|
optional :data_retention_settings, :message, 1, "google.analytics.admin.v1alpha.DataRetentionSettings"
|
407
345
|
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
408
346
|
end
|
347
|
+
add_message "google.analytics.admin.v1alpha.CreateDataStreamRequest" do
|
348
|
+
optional :parent, :string, 1
|
349
|
+
optional :data_stream, :message, 2, "google.analytics.admin.v1alpha.DataStream"
|
350
|
+
end
|
351
|
+
add_message "google.analytics.admin.v1alpha.DeleteDataStreamRequest" do
|
352
|
+
optional :name, :string, 1
|
353
|
+
end
|
354
|
+
add_message "google.analytics.admin.v1alpha.UpdateDataStreamRequest" do
|
355
|
+
optional :data_stream, :message, 1, "google.analytics.admin.v1alpha.DataStream"
|
356
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
357
|
+
end
|
358
|
+
add_message "google.analytics.admin.v1alpha.ListDataStreamsRequest" do
|
359
|
+
optional :parent, :string, 1
|
360
|
+
optional :page_size, :int32, 2
|
361
|
+
optional :page_token, :string, 3
|
362
|
+
end
|
363
|
+
add_message "google.analytics.admin.v1alpha.ListDataStreamsResponse" do
|
364
|
+
repeated :data_streams, :message, 1, "google.analytics.admin.v1alpha.DataStream"
|
365
|
+
optional :next_page_token, :string, 2
|
366
|
+
end
|
367
|
+
add_message "google.analytics.admin.v1alpha.GetDataStreamRequest" do
|
368
|
+
optional :name, :string, 1
|
369
|
+
end
|
409
370
|
end
|
410
371
|
end
|
411
372
|
|
@@ -441,24 +402,6 @@ module Google
|
|
441
402
|
BatchUpdateUserLinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse").msgclass
|
442
403
|
DeleteUserLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteUserLinkRequest").msgclass
|
443
404
|
BatchDeleteUserLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest").msgclass
|
444
|
-
GetWebDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetWebDataStreamRequest").msgclass
|
445
|
-
DeleteWebDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteWebDataStreamRequest").msgclass
|
446
|
-
UpdateWebDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateWebDataStreamRequest").msgclass
|
447
|
-
CreateWebDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateWebDataStreamRequest").msgclass
|
448
|
-
ListWebDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListWebDataStreamsRequest").msgclass
|
449
|
-
ListWebDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListWebDataStreamsResponse").msgclass
|
450
|
-
GetIosAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetIosAppDataStreamRequest").msgclass
|
451
|
-
DeleteIosAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest").msgclass
|
452
|
-
UpdateIosAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest").msgclass
|
453
|
-
ListIosAppDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest").msgclass
|
454
|
-
ListIosAppDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse").msgclass
|
455
|
-
GetAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest").msgclass
|
456
|
-
DeleteAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest").msgclass
|
457
|
-
UpdateAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest").msgclass
|
458
|
-
ListAndroidAppDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest").msgclass
|
459
|
-
ListAndroidAppDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse").msgclass
|
460
|
-
GetEnhancedMeasurementSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest").msgclass
|
461
|
-
UpdateEnhancedMeasurementSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest").msgclass
|
462
405
|
CreateFirebaseLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateFirebaseLinkRequest").msgclass
|
463
406
|
DeleteFirebaseLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest").msgclass
|
464
407
|
ListFirebaseLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListFirebaseLinksRequest").msgclass
|
@@ -472,6 +415,8 @@ module Google
|
|
472
415
|
GetDataSharingSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataSharingSettingsRequest").msgclass
|
473
416
|
ListAccountSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesRequest").msgclass
|
474
417
|
ListAccountSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesResponse").msgclass
|
418
|
+
AcknowledgeUserDataCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest").msgclass
|
419
|
+
AcknowledgeUserDataCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse").msgclass
|
475
420
|
SearchChangeHistoryEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest").msgclass
|
476
421
|
SearchChangeHistoryEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse").msgclass
|
477
422
|
GetMeasurementProtocolSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest").msgclass
|
@@ -515,6 +460,12 @@ module Google
|
|
515
460
|
GetCustomMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetCustomMetricRequest").msgclass
|
516
461
|
GetDataRetentionSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest").msgclass
|
517
462
|
UpdateDataRetentionSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest").msgclass
|
463
|
+
CreateDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateDataStreamRequest").msgclass
|
464
|
+
DeleteDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteDataStreamRequest").msgclass
|
465
|
+
UpdateDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateDataStreamRequest").msgclass
|
466
|
+
ListDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListDataStreamsRequest").msgclass
|
467
|
+
ListDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListDataStreamsResponse").msgclass
|
468
|
+
GetDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataStreamRequest").msgclass
|
518
469
|
end
|
519
470
|
end
|
520
471
|
end
|