google-apis-analyticsadmin_v1alpha 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +248 -0
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +98 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +34 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e27fd0a24076b746fa4e2693378cadd0f3c123bd08449b6b58bdb89496b2123c
|
4
|
+
data.tar.gz: 1c81a963f5ec54dcbc4ce240bb62009d40c8d0e510f688a624188406d53382bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46e01b6133787a2842616c06273538976e0c106ec18a191297fd150d0b7ffbb491cf72f81fd05d07fb1e67fa166af9997fdab16b6b262594e979d2abaa2996e8
|
7
|
+
data.tar.gz: 231eef27a546f1daf575563da191c4445bfebb9ad3bd4e80b6cefda79ef0790bfb0cd91370168b8521f86be07eab90bd4f2430981db59b1ba5a777ea51b264da
|
data/CHANGELOG.md
CHANGED
@@ -391,6 +391,158 @@ module Google
|
|
391
391
|
end
|
392
392
|
end
|
393
393
|
|
394
|
+
# A description of a change to a single Google Analytics resource.
|
395
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChange
|
396
|
+
include Google::Apis::Core::Hashable
|
397
|
+
|
398
|
+
# The type of action that changed this resource.
|
399
|
+
# Corresponds to the JSON property `action`
|
400
|
+
# @return [String]
|
401
|
+
attr_accessor :action
|
402
|
+
|
403
|
+
# Resource name of the resource whose changes are described by this entry.
|
404
|
+
# Corresponds to the JSON property `resource`
|
405
|
+
# @return [String]
|
406
|
+
attr_accessor :resource
|
407
|
+
|
408
|
+
# A snapshot of a resource as before or after the result of a change in change
|
409
|
+
# history.
|
410
|
+
# Corresponds to the JSON property `resourceAfterChange`
|
411
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource]
|
412
|
+
attr_accessor :resource_after_change
|
413
|
+
|
414
|
+
# A snapshot of a resource as before or after the result of a change in change
|
415
|
+
# history.
|
416
|
+
# Corresponds to the JSON property `resourceBeforeChange`
|
417
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource]
|
418
|
+
attr_accessor :resource_before_change
|
419
|
+
|
420
|
+
def initialize(**args)
|
421
|
+
update!(**args)
|
422
|
+
end
|
423
|
+
|
424
|
+
# Update properties of this object
|
425
|
+
def update!(**args)
|
426
|
+
@action = args[:action] if args.key?(:action)
|
427
|
+
@resource = args[:resource] if args.key?(:resource)
|
428
|
+
@resource_after_change = args[:resource_after_change] if args.key?(:resource_after_change)
|
429
|
+
@resource_before_change = args[:resource_before_change] if args.key?(:resource_before_change)
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
# A snapshot of a resource as before or after the result of a change in change
|
434
|
+
# history.
|
435
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
|
436
|
+
include Google::Apis::Core::Hashable
|
437
|
+
|
438
|
+
# A resource message representing a Google Analytics account.
|
439
|
+
# Corresponds to the JSON property `account`
|
440
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
|
441
|
+
attr_accessor :account
|
442
|
+
|
443
|
+
# A resource message representing a Google Analytics Android app stream.
|
444
|
+
# Corresponds to the JSON property `androidAppDataStream`
|
445
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
|
446
|
+
attr_accessor :android_app_data_stream
|
447
|
+
|
448
|
+
# A link between an GA4 property and a Firebase project.
|
449
|
+
# Corresponds to the JSON property `firebaseLink`
|
450
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
451
|
+
attr_accessor :firebase_link
|
452
|
+
|
453
|
+
# A link between an GA4 property and a Google Ads account.
|
454
|
+
# Corresponds to the JSON property `googleAdsLink`
|
455
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
456
|
+
attr_accessor :google_ads_link
|
457
|
+
|
458
|
+
# A resource message representing a Google Analytics IOS app stream.
|
459
|
+
# Corresponds to the JSON property `iosAppDataStream`
|
460
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
461
|
+
attr_accessor :ios_app_data_stream
|
462
|
+
|
463
|
+
# A resource message representing a Google Analytics GA4 property.
|
464
|
+
# Corresponds to the JSON property `property`
|
465
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
466
|
+
attr_accessor :property
|
467
|
+
|
468
|
+
# A resource message representing a Google Analytics web stream.
|
469
|
+
# Corresponds to the JSON property `webDataStream`
|
470
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
|
471
|
+
attr_accessor :web_data_stream
|
472
|
+
|
473
|
+
def initialize(**args)
|
474
|
+
update!(**args)
|
475
|
+
end
|
476
|
+
|
477
|
+
# Update properties of this object
|
478
|
+
def update!(**args)
|
479
|
+
@account = args[:account] if args.key?(:account)
|
480
|
+
@android_app_data_stream = args[:android_app_data_stream] if args.key?(:android_app_data_stream)
|
481
|
+
@firebase_link = args[:firebase_link] if args.key?(:firebase_link)
|
482
|
+
@google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
|
483
|
+
@ios_app_data_stream = args[:ios_app_data_stream] if args.key?(:ios_app_data_stream)
|
484
|
+
@property = args[:property] if args.key?(:property)
|
485
|
+
@web_data_stream = args[:web_data_stream] if args.key?(:web_data_stream)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
# A set of changes within a Google Analytics account or its child properties
|
490
|
+
# that resulted from the same cause. Common causes would be updates made in the
|
491
|
+
# Google Analytics UI, changes from customer support, or automatic Google
|
492
|
+
# Analytics system changes.
|
493
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
|
494
|
+
include Google::Apis::Core::Hashable
|
495
|
+
|
496
|
+
# The type of actor that made this change.
|
497
|
+
# Corresponds to the JSON property `actorType`
|
498
|
+
# @return [String]
|
499
|
+
attr_accessor :actor_type
|
500
|
+
|
501
|
+
# Time when change was made.
|
502
|
+
# Corresponds to the JSON property `changeTime`
|
503
|
+
# @return [String]
|
504
|
+
attr_accessor :change_time
|
505
|
+
|
506
|
+
# A list of changes made in this change history event that fit the filters
|
507
|
+
# specified in SearchChangeHistoryEventsRequest.
|
508
|
+
# Corresponds to the JSON property `changes`
|
509
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange>]
|
510
|
+
attr_accessor :changes
|
511
|
+
|
512
|
+
# If true, then the list of changes returned was filtered, and does not
|
513
|
+
# represent all changes that occurred in this event.
|
514
|
+
# Corresponds to the JSON property `changesFiltered`
|
515
|
+
# @return [Boolean]
|
516
|
+
attr_accessor :changes_filtered
|
517
|
+
alias_method :changes_filtered?, :changes_filtered
|
518
|
+
|
519
|
+
# ID of this change history event. This ID is unique across Google Analytics.
|
520
|
+
# Corresponds to the JSON property `id`
|
521
|
+
# @return [String]
|
522
|
+
attr_accessor :id
|
523
|
+
|
524
|
+
# Email address of the Google account that made the change. This will be a valid
|
525
|
+
# email address if the actor field is set to USER, and empty otherwise. Google
|
526
|
+
# accounts that have been deleted will cause an error.
|
527
|
+
# Corresponds to the JSON property `userActorEmail`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :user_actor_email
|
530
|
+
|
531
|
+
def initialize(**args)
|
532
|
+
update!(**args)
|
533
|
+
end
|
534
|
+
|
535
|
+
# Update properties of this object
|
536
|
+
def update!(**args)
|
537
|
+
@actor_type = args[:actor_type] if args.key?(:actor_type)
|
538
|
+
@change_time = args[:change_time] if args.key?(:change_time)
|
539
|
+
@changes = args[:changes] if args.key?(:changes)
|
540
|
+
@changes_filtered = args[:changes_filtered] if args.key?(:changes_filtered)
|
541
|
+
@id = args[:id] if args.key?(:id)
|
542
|
+
@user_actor_email = args[:user_actor_email] if args.key?(:user_actor_email)
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
394
546
|
# Request message for CreateUserLink RPC. Users can have multiple email
|
395
547
|
# addresses associated with their Google account, and one of these email
|
396
548
|
# addresses is the "primary" email address. Any of the email addresses
|
@@ -1185,6 +1337,102 @@ module Google
|
|
1185
1337
|
end
|
1186
1338
|
end
|
1187
1339
|
|
1340
|
+
# Request message for SearchChangeHistoryEvents RPC.
|
1341
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
1342
|
+
include Google::Apis::Core::Hashable
|
1343
|
+
|
1344
|
+
# Optional. If set, only return changes that match one or more of these types of
|
1345
|
+
# actions.
|
1346
|
+
# Corresponds to the JSON property `action`
|
1347
|
+
# @return [Array<String>]
|
1348
|
+
attr_accessor :action
|
1349
|
+
|
1350
|
+
# Optional. If set, only return changes if they are made by a user in this list.
|
1351
|
+
# Corresponds to the JSON property `actorEmail`
|
1352
|
+
# @return [Array<String>]
|
1353
|
+
attr_accessor :actor_email
|
1354
|
+
|
1355
|
+
# Optional. If set, only return changes made after this time (inclusive).
|
1356
|
+
# Corresponds to the JSON property `earliestChangeTime`
|
1357
|
+
# @return [String]
|
1358
|
+
attr_accessor :earliest_change_time
|
1359
|
+
|
1360
|
+
# Optional. If set, only return changes made before this time (inclusive).
|
1361
|
+
# Corresponds to the JSON property `latestChangeTime`
|
1362
|
+
# @return [String]
|
1363
|
+
attr_accessor :latest_change_time
|
1364
|
+
|
1365
|
+
# Optional. The maximum number of ChangeHistoryEvent items to return. The
|
1366
|
+
# service may return fewer than this value, even if there are additional pages.
|
1367
|
+
# If unspecified, at most 50 items will be returned. The maximum value is 200 (
|
1368
|
+
# higher values will be coerced to the maximum).
|
1369
|
+
# Corresponds to the JSON property `pageSize`
|
1370
|
+
# @return [Fixnum]
|
1371
|
+
attr_accessor :page_size
|
1372
|
+
|
1373
|
+
# Optional. A page token, received from a previous `SearchChangeHistoryEvents`
|
1374
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
1375
|
+
# parameters provided to `SearchChangeHistoryEvents` must match the call that
|
1376
|
+
# provided the page token.
|
1377
|
+
# Corresponds to the JSON property `pageToken`
|
1378
|
+
# @return [String]
|
1379
|
+
attr_accessor :page_token
|
1380
|
+
|
1381
|
+
# Optional. Resource name for a child property. If set, only return changes made
|
1382
|
+
# to this property or its child resources.
|
1383
|
+
# Corresponds to the JSON property `property`
|
1384
|
+
# @return [String]
|
1385
|
+
attr_accessor :property
|
1386
|
+
|
1387
|
+
# Optional. If set, only return changes if they are for a resource that matches
|
1388
|
+
# at least one of these types.
|
1389
|
+
# Corresponds to the JSON property `resourceType`
|
1390
|
+
# @return [Array<String>]
|
1391
|
+
attr_accessor :resource_type
|
1392
|
+
|
1393
|
+
def initialize(**args)
|
1394
|
+
update!(**args)
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
# Update properties of this object
|
1398
|
+
def update!(**args)
|
1399
|
+
@action = args[:action] if args.key?(:action)
|
1400
|
+
@actor_email = args[:actor_email] if args.key?(:actor_email)
|
1401
|
+
@earliest_change_time = args[:earliest_change_time] if args.key?(:earliest_change_time)
|
1402
|
+
@latest_change_time = args[:latest_change_time] if args.key?(:latest_change_time)
|
1403
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
1404
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
1405
|
+
@property = args[:property] if args.key?(:property)
|
1406
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
# Response message for SearchAccounts RPC.
|
1411
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
1412
|
+
include Google::Apis::Core::Hashable
|
1413
|
+
|
1414
|
+
# Results that were accessible to the caller.
|
1415
|
+
# Corresponds to the JSON property `changeHistoryEvents`
|
1416
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent>]
|
1417
|
+
attr_accessor :change_history_events
|
1418
|
+
|
1419
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1420
|
+
# field is omitted, there are no subsequent pages.
|
1421
|
+
# Corresponds to the JSON property `nextPageToken`
|
1422
|
+
# @return [String]
|
1423
|
+
attr_accessor :next_page_token
|
1424
|
+
|
1425
|
+
def initialize(**args)
|
1426
|
+
update!(**args)
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# Update properties of this object
|
1430
|
+
def update!(**args)
|
1431
|
+
@change_history_events = args[:change_history_events] if args.key?(:change_history_events)
|
1432
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1433
|
+
end
|
1434
|
+
end
|
1435
|
+
|
1188
1436
|
# Request message for UpdateUserLink RPC.
|
1189
1437
|
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
|
1190
1438
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticsadminV1alpha
|
18
18
|
# Version of the google-apis-analyticsadmin_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210304"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,24 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChange
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
97
115
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
98
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
117
|
|
@@ -220,6 +238,18 @@ module Google
|
|
220
238
|
include Google::Apis::Core::JsonObjectSupport
|
221
239
|
end
|
222
240
|
|
241
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
223
253
|
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
|
224
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
255
|
|
@@ -355,6 +385,51 @@ module Google
|
|
355
385
|
end
|
356
386
|
end
|
357
387
|
|
388
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChange
|
389
|
+
# @private
|
390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
391
|
+
property :action, as: 'action'
|
392
|
+
property :resource, as: 'resource'
|
393
|
+
property :resource_after_change, as: 'resourceAfterChange', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource::Representation
|
394
|
+
|
395
|
+
property :resource_before_change, as: 'resourceBeforeChange', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource::Representation
|
396
|
+
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
|
401
|
+
# @private
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
403
|
+
property :account, as: 'account', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
|
404
|
+
|
405
|
+
property :android_app_data_stream, as: 'androidAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
406
|
+
|
407
|
+
property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
408
|
+
|
409
|
+
property :google_ads_link, as: 'googleAdsLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
410
|
+
|
411
|
+
property :ios_app_data_stream, as: 'iosAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
412
|
+
|
413
|
+
property :property, as: 'property', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
414
|
+
|
415
|
+
property :web_data_stream, as: 'webDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
416
|
+
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
|
421
|
+
# @private
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
423
|
+
property :actor_type, as: 'actorType'
|
424
|
+
property :change_time, as: 'changeTime'
|
425
|
+
collection :changes, as: 'changes', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange::Representation
|
426
|
+
|
427
|
+
property :changes_filtered, as: 'changesFiltered'
|
428
|
+
property :id, as: 'id'
|
429
|
+
property :user_actor_email, as: 'userActorEmail'
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
358
433
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
359
434
|
# @private
|
360
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -565,6 +640,29 @@ module Google
|
|
565
640
|
end
|
566
641
|
end
|
567
642
|
|
643
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
644
|
+
# @private
|
645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
646
|
+
collection :action, as: 'action'
|
647
|
+
collection :actor_email, as: 'actorEmail'
|
648
|
+
property :earliest_change_time, as: 'earliestChangeTime'
|
649
|
+
property :latest_change_time, as: 'latestChangeTime'
|
650
|
+
property :page_size, as: 'pageSize'
|
651
|
+
property :page_token, as: 'pageToken'
|
652
|
+
property :property, as: 'property'
|
653
|
+
collection :resource_type, as: 'resourceType'
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
657
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
658
|
+
# @private
|
659
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
660
|
+
collection :change_history_events, as: 'changeHistoryEvents', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent::Representation
|
661
|
+
|
662
|
+
property :next_page_token, as: 'nextPageToken'
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
568
666
|
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
|
569
667
|
# @private
|
570
668
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -300,6 +300,40 @@ module Google
|
|
300
300
|
execute_or_queue_command(command, &block)
|
301
301
|
end
|
302
302
|
|
303
|
+
# Searches through all changes to an account or its children given the specified
|
304
|
+
# set of filters.
|
305
|
+
# @param [String] account
|
306
|
+
# Required. The account resource for which to return change history resources.
|
307
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest] google_analytics_admin_v1alpha_search_change_history_events_request_object
|
308
|
+
# @param [String] fields
|
309
|
+
# Selector specifying which fields to include in a partial response.
|
310
|
+
# @param [String] quota_user
|
311
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
312
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
313
|
+
# @param [Google::Apis::RequestOptions] options
|
314
|
+
# Request-specific options
|
315
|
+
#
|
316
|
+
# @yield [result, err] Result & error if block supplied
|
317
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse] parsed result object
|
318
|
+
# @yieldparam err [StandardError] error object if request failed
|
319
|
+
#
|
320
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse]
|
321
|
+
#
|
322
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
323
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
324
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
325
|
+
def search_account_change_history_events(account, google_analytics_admin_v1alpha_search_change_history_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
326
|
+
command = make_simple_command(:post, 'v1alpha/{+account}:searchChangeHistoryEvents', options)
|
327
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest::Representation
|
328
|
+
command.request_object = google_analytics_admin_v1alpha_search_change_history_events_request_object
|
329
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse::Representation
|
330
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
331
|
+
command.params['account'] = account unless account.nil?
|
332
|
+
command.query['fields'] = fields unless fields.nil?
|
333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
334
|
+
execute_or_queue_command(command, &block)
|
335
|
+
end
|
336
|
+
|
303
337
|
# Lists all user links on an account or property, including implicit ones that
|
304
338
|
# come from effective permissions granted by groups or organization admin roles.
|
305
339
|
# If a returned user link does not have direct permissions, they cannot be
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticsadmin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Google Analytics Admin API V1alpha
|