google-analytics-admin-v1alpha 0.9.1 → 0.10.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/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +37 -9
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +633 -244
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +15 -15
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +15 -8
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +39 -15
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +105 -27
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +127 -73
- 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: c9b25f5c8e71791cd7ec16ea7789b183ce8fd2c2235248e96f8882692d0879f4
|
4
|
+
data.tar.gz: d95bd75e68099ec6f059cd082e6e60821130b3970cb2b83e43951e4bf2a13ddd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a384188569ded29859512115a053c7814d849d4abe80cbafe9c85c0a7fe734efea3db3dc8e47c9a28dfb299ea98e872d5c0104289bc9f6051e4dfb3f7a1740f5
|
7
|
+
data.tar.gz: a84529bb7575eb3668b75045e686aaa14ce9c65b9dca872ef04726cd8e6e302098e7519ccea5be00745b60836a47cb69e3aa7251063d25a7b9fb176c54336aa5
|
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.
|
@@ -181,13 +181,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
181
181
|
repeated :android_app_data_streams, :message, 1, "google.analytics.admin.v1alpha.AndroidAppDataStream"
|
182
182
|
optional :next_page_token, :string, 2
|
183
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
184
|
add_message "google.analytics.admin.v1alpha.CreateFirebaseLinkRequest" do
|
192
185
|
optional :parent, :string, 1
|
193
186
|
optional :firebase_link, :message, 2, "google.analytics.admin.v1alpha.FirebaseLink"
|
@@ -238,6 +231,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
238
231
|
repeated :account_summaries, :message, 1, "google.analytics.admin.v1alpha.AccountSummary"
|
239
232
|
optional :next_page_token, :string, 2
|
240
233
|
end
|
234
|
+
add_message "google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest" do
|
235
|
+
optional :property, :string, 1
|
236
|
+
optional :acknowledgement, :string, 2
|
237
|
+
end
|
238
|
+
add_message "google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse" do
|
239
|
+
end
|
241
240
|
add_message "google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest" do
|
242
241
|
optional :account, :string, 1
|
243
242
|
optional :property, :string, 2
|
@@ -406,6 +405,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
406
405
|
optional :data_retention_settings, :message, 1, "google.analytics.admin.v1alpha.DataRetentionSettings"
|
407
406
|
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
408
407
|
end
|
408
|
+
add_message "google.analytics.admin.v1alpha.CreateDataStreamRequest" do
|
409
|
+
optional :parent, :string, 1
|
410
|
+
optional :data_stream, :message, 2, "google.analytics.admin.v1alpha.DataStream"
|
411
|
+
end
|
412
|
+
add_message "google.analytics.admin.v1alpha.DeleteDataStreamRequest" do
|
413
|
+
optional :name, :string, 1
|
414
|
+
end
|
415
|
+
add_message "google.analytics.admin.v1alpha.UpdateDataStreamRequest" do
|
416
|
+
optional :data_stream, :message, 1, "google.analytics.admin.v1alpha.DataStream"
|
417
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
418
|
+
end
|
419
|
+
add_message "google.analytics.admin.v1alpha.ListDataStreamsRequest" do
|
420
|
+
optional :parent, :string, 1
|
421
|
+
optional :page_size, :int32, 2
|
422
|
+
optional :page_token, :string, 3
|
423
|
+
end
|
424
|
+
add_message "google.analytics.admin.v1alpha.ListDataStreamsResponse" do
|
425
|
+
repeated :data_streams, :message, 1, "google.analytics.admin.v1alpha.DataStream"
|
426
|
+
optional :next_page_token, :string, 2
|
427
|
+
end
|
428
|
+
add_message "google.analytics.admin.v1alpha.GetDataStreamRequest" do
|
429
|
+
optional :name, :string, 1
|
430
|
+
end
|
409
431
|
end
|
410
432
|
end
|
411
433
|
|
@@ -457,8 +479,6 @@ module Google
|
|
457
479
|
UpdateAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest").msgclass
|
458
480
|
ListAndroidAppDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest").msgclass
|
459
481
|
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
482
|
CreateFirebaseLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateFirebaseLinkRequest").msgclass
|
463
483
|
DeleteFirebaseLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest").msgclass
|
464
484
|
ListFirebaseLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListFirebaseLinksRequest").msgclass
|
@@ -472,6 +492,8 @@ module Google
|
|
472
492
|
GetDataSharingSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataSharingSettingsRequest").msgclass
|
473
493
|
ListAccountSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesRequest").msgclass
|
474
494
|
ListAccountSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesResponse").msgclass
|
495
|
+
AcknowledgeUserDataCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest").msgclass
|
496
|
+
AcknowledgeUserDataCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse").msgclass
|
475
497
|
SearchChangeHistoryEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest").msgclass
|
476
498
|
SearchChangeHistoryEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse").msgclass
|
477
499
|
GetMeasurementProtocolSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest").msgclass
|
@@ -515,6 +537,12 @@ module Google
|
|
515
537
|
GetCustomMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetCustomMetricRequest").msgclass
|
516
538
|
GetDataRetentionSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest").msgclass
|
517
539
|
UpdateDataRetentionSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest").msgclass
|
540
|
+
CreateDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateDataStreamRequest").msgclass
|
541
|
+
DeleteDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteDataStreamRequest").msgclass
|
542
|
+
UpdateDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateDataStreamRequest").msgclass
|
543
|
+
ListDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListDataStreamsRequest").msgclass
|
544
|
+
ListDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListDataStreamsResponse").msgclass
|
545
|
+
GetDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataStreamRequest").msgclass
|
518
546
|
end
|
519
547
|
end
|
520
548
|
end
|