google-analytics-admin-v1alpha 0.9.1 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bccca24a19641abd331ca7d7409230c397fc3db4a2e66b2bf279e8242342e69
4
- data.tar.gz: 28aa0c7144c2a4cc62272e3f5c950e086c503c544b16e416cb278a5d5927e412
3
+ metadata.gz: 20821b8a42814162b2946532c94d0ff27e241edd0c5ef1993ac8bde5789bb5b1
4
+ data.tar.gz: cde3d5a13cd6f7717ccb2c41369ef8fac8b6ab2ebb6a30ad1bef62c9c31d2832
5
5
  SHA512:
6
- metadata.gz: 790bff2d400dd63509343eab58fd1fc95e33920dd3b01db56c6e5c8dd8074ced885c2237e88cb04a73295117795406e9b7cd59b27c240b6406b3b2f310d4925e
7
- data.tar.gz: 2282091b6a4d144ed8723e54b1edfc599b90c601edfd4952326e718f38d77babad438d7a4a6e0fb210a440cdc1e0e6f19de4a9e5b1bd512f6617470155c2a2d2
6
+ metadata.gz: 4d3a151d2dd94217c0fbd3cc9865358cd982dfde37493c87ee645b277d9308ce0eeacb2ce6ccc90aa30f69797b3e55cc95478ffc2acc6aca4c4c6ecf37c9dd22
7
+ data.tar.gz: fbc1fbbd2f6c6b1e3ec608ff58be7c93037c74508bb4af724a4e025d4978ff72b1e84e9418060963e6de3884a0c0b64d5462a7b88a5c8340a490e55699aed9f1
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Google Analytics Admin V1alpha API
2
+ --title="Google Analytics Admin V1alpha API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
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 Developers Console][dev-console].
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 slide-out navigation tray and select **API Manager**. From
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
- You should see a screen like one of the following.
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, and click "Generate
164
- new JSON key":
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
@@ -66,6 +66,11 @@ module GRPC
66
66
  end
67
67
  ```
68
68
 
69
+
70
+ ## Google Cloud Samples
71
+
72
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
73
+
69
74
  ## Supported Ruby Versions
70
75
 
71
76
  This library is supported on Ruby 2.5+.
@@ -1,6 +1,8 @@
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
+
4
6
  require 'google/analytics/admin/v1alpha/resources_pb'
5
7
  require 'google/api/annotations_pb'
6
8
  require 'google/api/client_pb'
@@ -9,7 +11,6 @@ require 'google/api/resource_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
13
  require 'google/protobuf/timestamp_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/analytics/admin/v1alpha/analytics_admin.proto", :syntax => :proto3) do
@@ -120,74 +121,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
120
121
  optional :parent, :string, 1
121
122
  repeated :requests, :message, 2, "google.analytics.admin.v1alpha.DeleteUserLinkRequest"
122
123
  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
124
  add_message "google.analytics.admin.v1alpha.CreateFirebaseLinkRequest" do
192
125
  optional :parent, :string, 1
193
126
  optional :firebase_link, :message, 2, "google.analytics.admin.v1alpha.FirebaseLink"
@@ -238,6 +171,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
238
171
  repeated :account_summaries, :message, 1, "google.analytics.admin.v1alpha.AccountSummary"
239
172
  optional :next_page_token, :string, 2
240
173
  end
174
+ add_message "google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest" do
175
+ optional :property, :string, 1
176
+ optional :acknowledgement, :string, 2
177
+ end
178
+ add_message "google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse" do
179
+ end
241
180
  add_message "google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest" do
242
181
  optional :account, :string, 1
243
182
  optional :property, :string, 2
@@ -406,6 +345,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
406
345
  optional :data_retention_settings, :message, 1, "google.analytics.admin.v1alpha.DataRetentionSettings"
407
346
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
408
347
  end
348
+ add_message "google.analytics.admin.v1alpha.CreateDataStreamRequest" do
349
+ optional :parent, :string, 1
350
+ optional :data_stream, :message, 2, "google.analytics.admin.v1alpha.DataStream"
351
+ end
352
+ add_message "google.analytics.admin.v1alpha.DeleteDataStreamRequest" do
353
+ optional :name, :string, 1
354
+ end
355
+ add_message "google.analytics.admin.v1alpha.UpdateDataStreamRequest" do
356
+ optional :data_stream, :message, 1, "google.analytics.admin.v1alpha.DataStream"
357
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
358
+ end
359
+ add_message "google.analytics.admin.v1alpha.ListDataStreamsRequest" do
360
+ optional :parent, :string, 1
361
+ optional :page_size, :int32, 2
362
+ optional :page_token, :string, 3
363
+ end
364
+ add_message "google.analytics.admin.v1alpha.ListDataStreamsResponse" do
365
+ repeated :data_streams, :message, 1, "google.analytics.admin.v1alpha.DataStream"
366
+ optional :next_page_token, :string, 2
367
+ end
368
+ add_message "google.analytics.admin.v1alpha.GetDataStreamRequest" do
369
+ optional :name, :string, 1
370
+ end
409
371
  end
410
372
  end
411
373
 
@@ -441,24 +403,6 @@ module Google
441
403
  BatchUpdateUserLinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse").msgclass
442
404
  DeleteUserLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteUserLinkRequest").msgclass
443
405
  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
406
  CreateFirebaseLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateFirebaseLinkRequest").msgclass
463
407
  DeleteFirebaseLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest").msgclass
464
408
  ListFirebaseLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListFirebaseLinksRequest").msgclass
@@ -472,6 +416,8 @@ module Google
472
416
  GetDataSharingSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataSharingSettingsRequest").msgclass
473
417
  ListAccountSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesRequest").msgclass
474
418
  ListAccountSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesResponse").msgclass
419
+ AcknowledgeUserDataCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest").msgclass
420
+ AcknowledgeUserDataCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse").msgclass
475
421
  SearchChangeHistoryEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest").msgclass
476
422
  SearchChangeHistoryEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse").msgclass
477
423
  GetMeasurementProtocolSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest").msgclass
@@ -515,6 +461,12 @@ module Google
515
461
  GetCustomMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetCustomMetricRequest").msgclass
516
462
  GetDataRetentionSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest").msgclass
517
463
  UpdateDataRetentionSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest").msgclass
464
+ CreateDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateDataStreamRequest").msgclass
465
+ DeleteDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteDataStreamRequest").msgclass
466
+ UpdateDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateDataStreamRequest").msgclass
467
+ ListDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListDataStreamsRequest").msgclass
468
+ ListDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListDataStreamsResponse").msgclass
469
+ GetDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataStreamRequest").msgclass
518
470
  end
519
471
  end
520
472
  end