google-apis-analyticsadmin_v1alpha 0.1.0 → 0.2.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/CHANGELOG.md +5 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +17 -64
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +3 -9
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +11 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3a598c9090803d6ce1f8d051c63732e0110aeff4b9e0afb8fa3b2ea1ed1a051
|
|
4
|
+
data.tar.gz: b7de7574018efb8977da38f0e10b82e50dd1c04cfe79c27e745bfdc665403349
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 124980d6abcf821216e0a52c22c9fd78ba09688f20da321552ffc4dc39485277266c943ea5e8f910fb7cabaec2ee9f3dea90b2690ba06285ce168433d89cfe2f
|
|
7
|
+
data.tar.gz: 5ded06110005b3b70a540776ad82dd48acea8575bafef974d1f0817389a4fdfdf15def87098bc1d31f42a9d791299f3da54e628420a2ca036b17cca0af74e2ec
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
|
2
2
|
|
|
3
|
+
### v0.2.0 (2021-01-21)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20210120
|
|
6
|
+
* Regenerated using generator version 0.1.2
|
|
7
|
+
|
|
3
8
|
### v0.1.0 (2021-01-07)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20210106
|
|
@@ -26,13 +26,6 @@ module Google
|
|
|
26
26
|
class GoogleAnalyticsAdminV1alphaAccount
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
|
-
# Country of business. Must be a non-deprecated code for a UN M.49 region. https:
|
|
30
|
-
# //unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.
|
|
31
|
-
# html
|
|
32
|
-
# Corresponds to the JSON property `countryCode`
|
|
33
|
-
# @return [String]
|
|
34
|
-
attr_accessor :country_code
|
|
35
|
-
|
|
36
29
|
# Output only. Time when this account was originally created.
|
|
37
30
|
# Corresponds to the JSON property `createTime`
|
|
38
31
|
# @return [String]
|
|
@@ -56,6 +49,11 @@ module Google
|
|
|
56
49
|
# @return [String]
|
|
57
50
|
attr_accessor :name
|
|
58
51
|
|
|
52
|
+
# Country of business. Must be a Unicode CLDR region code.
|
|
53
|
+
# Corresponds to the JSON property `regionCode`
|
|
54
|
+
# @return [String]
|
|
55
|
+
attr_accessor :region_code
|
|
56
|
+
|
|
59
57
|
# Output only. Time when account payload fields were last updated.
|
|
60
58
|
# Corresponds to the JSON property `updateTime`
|
|
61
59
|
# @return [String]
|
|
@@ -67,11 +65,11 @@ module Google
|
|
|
67
65
|
|
|
68
66
|
# Update properties of this object
|
|
69
67
|
def update!(**args)
|
|
70
|
-
@country_code = args[:country_code] if args.key?(:country_code)
|
|
71
68
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
72
69
|
@deleted = args[:deleted] if args.key?(:deleted)
|
|
73
70
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
74
71
|
@name = args[:name] if args.key?(:name)
|
|
72
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
|
75
73
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
76
74
|
end
|
|
77
75
|
end
|
|
@@ -515,32 +513,6 @@ module Google
|
|
|
515
513
|
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
|
516
514
|
include Google::Apis::Core::Hashable
|
|
517
515
|
|
|
518
|
-
# Capture events when your visitors view content on your site that has articles
|
|
519
|
-
# or blog posts.
|
|
520
|
-
# Corresponds to the JSON property `articlesAndBlogsEnabled`
|
|
521
|
-
# @return [Boolean]
|
|
522
|
-
attr_accessor :articles_and_blogs_enabled
|
|
523
|
-
alias_method :articles_and_blogs_enabled?, :articles_and_blogs_enabled
|
|
524
|
-
|
|
525
|
-
# Capture events when your visitors view content on your site that has
|
|
526
|
-
# structured data (eg, articles, blog posts, product details screens, etc.).
|
|
527
|
-
# Corresponds to the JSON property `contentViewsEnabled`
|
|
528
|
-
# @return [Boolean]
|
|
529
|
-
attr_accessor :content_views_enabled
|
|
530
|
-
alias_method :content_views_enabled?, :content_views_enabled
|
|
531
|
-
|
|
532
|
-
# If enabled, capture a click event each time a visitor clicks a link or element
|
|
533
|
-
# that has data attributes beginning with "data-ga".
|
|
534
|
-
# Corresponds to the JSON property `dataTaggedElementClicksEnabled`
|
|
535
|
-
# @return [Boolean]
|
|
536
|
-
attr_accessor :data_tagged_element_clicks_enabled
|
|
537
|
-
alias_method :data_tagged_element_clicks_enabled?, :data_tagged_element_clicks_enabled
|
|
538
|
-
|
|
539
|
-
# Domains to exclude from measurement. Max length is 1024 characters.
|
|
540
|
-
# Corresponds to the JSON property `excludedDomains`
|
|
541
|
-
# @return [String]
|
|
542
|
-
attr_accessor :excluded_domains
|
|
543
|
-
|
|
544
516
|
# If enabled, capture a file download event each time a link is clicked with a
|
|
545
517
|
# common document, compressed file, application, video, or audio extension.
|
|
546
518
|
# Corresponds to the JSON property `fileDownloadsEnabled`
|
|
@@ -548,13 +520,6 @@ module Google
|
|
|
548
520
|
attr_accessor :file_downloads_enabled
|
|
549
521
|
alias_method :file_downloads_enabled?, :file_downloads_enabled
|
|
550
522
|
|
|
551
|
-
# If enabled, capture a view search results event each time a visitor interacts
|
|
552
|
-
# with a form on your site.
|
|
553
|
-
# Corresponds to the JSON property `formInteractionsEnabled`
|
|
554
|
-
# @return [Boolean]
|
|
555
|
-
attr_accessor :form_interactions_enabled
|
|
556
|
-
alias_method :form_interactions_enabled?, :form_interactions_enabled
|
|
557
|
-
|
|
558
523
|
# Output only. Resource name of this Data Stream. Format: properties/`
|
|
559
524
|
# property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
|
|
560
525
|
# properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
|
|
@@ -576,7 +541,7 @@ module Google
|
|
|
576
541
|
attr_accessor :page_changes_enabled
|
|
577
542
|
alias_method :page_changes_enabled?, :page_changes_enabled
|
|
578
543
|
|
|
579
|
-
# If enabled, capture a page view event each time a page loads.
|
|
544
|
+
# Output only. If enabled, capture a page view event each time a page loads.
|
|
580
545
|
# Corresponds to the JSON property `pageLoadsEnabled`
|
|
581
546
|
# @return [Boolean]
|
|
582
547
|
attr_accessor :page_loads_enabled
|
|
@@ -589,13 +554,6 @@ module Google
|
|
|
589
554
|
attr_accessor :page_views_enabled
|
|
590
555
|
alias_method :page_views_enabled?, :page_views_enabled
|
|
591
556
|
|
|
592
|
-
# Capture events when your visitors view content on your site that has product
|
|
593
|
-
# details screens, etc.
|
|
594
|
-
# Corresponds to the JSON property `productsAndEcommerceEnabled`
|
|
595
|
-
# @return [Boolean]
|
|
596
|
-
attr_accessor :products_and_ecommerce_enabled
|
|
597
|
-
alias_method :products_and_ecommerce_enabled?, :products_and_ecommerce_enabled
|
|
598
|
-
|
|
599
557
|
# If enabled, capture scroll events each time a visitor gets to the bottom of a
|
|
600
558
|
# page.
|
|
601
559
|
# Corresponds to the JSON property `scrollsEnabled`
|
|
@@ -625,9 +583,9 @@ module Google
|
|
|
625
583
|
alias_method :stream_enabled?, :stream_enabled
|
|
626
584
|
|
|
627
585
|
# Additional URL query parameters. Max length is 1024 characters.
|
|
628
|
-
# Corresponds to the JSON property `
|
|
586
|
+
# Corresponds to the JSON property `uriQueryParameter`
|
|
629
587
|
# @return [String]
|
|
630
|
-
attr_accessor :
|
|
588
|
+
attr_accessor :uri_query_parameter
|
|
631
589
|
|
|
632
590
|
# If enabled, capture video play, progress, and complete events as visitors view
|
|
633
591
|
# embedded videos on your site.
|
|
@@ -642,23 +600,17 @@ module Google
|
|
|
642
600
|
|
|
643
601
|
# Update properties of this object
|
|
644
602
|
def update!(**args)
|
|
645
|
-
@articles_and_blogs_enabled = args[:articles_and_blogs_enabled] if args.key?(:articles_and_blogs_enabled)
|
|
646
|
-
@content_views_enabled = args[:content_views_enabled] if args.key?(:content_views_enabled)
|
|
647
|
-
@data_tagged_element_clicks_enabled = args[:data_tagged_element_clicks_enabled] if args.key?(:data_tagged_element_clicks_enabled)
|
|
648
|
-
@excluded_domains = args[:excluded_domains] if args.key?(:excluded_domains)
|
|
649
603
|
@file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
|
|
650
|
-
@form_interactions_enabled = args[:form_interactions_enabled] if args.key?(:form_interactions_enabled)
|
|
651
604
|
@name = args[:name] if args.key?(:name)
|
|
652
605
|
@outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
|
|
653
606
|
@page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
|
|
654
607
|
@page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
|
|
655
608
|
@page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
|
|
656
|
-
@products_and_ecommerce_enabled = args[:products_and_ecommerce_enabled] if args.key?(:products_and_ecommerce_enabled)
|
|
657
609
|
@scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
|
|
658
610
|
@search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
|
|
659
611
|
@site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
|
|
660
612
|
@stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
|
|
661
|
-
@
|
|
613
|
+
@uri_query_parameter = args[:uri_query_parameter] if args.key?(:uri_query_parameter)
|
|
662
614
|
@video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
|
|
663
615
|
end
|
|
664
616
|
end
|
|
@@ -710,6 +662,12 @@ module Google
|
|
|
710
662
|
class GoogleAnalyticsAdminV1alphaGlobalSiteTag
|
|
711
663
|
include Google::Apis::Core::Hashable
|
|
712
664
|
|
|
665
|
+
# Output only. Resource name for this GlobalSiteTag resource. Format: properties/
|
|
666
|
+
# `propertyId`/globalSiteTag
|
|
667
|
+
# Corresponds to the JSON property `name`
|
|
668
|
+
# @return [String]
|
|
669
|
+
attr_accessor :name
|
|
670
|
+
|
|
713
671
|
# Immutable. JavaScript code snippet to be pasted as the first item into the
|
|
714
672
|
# head tag of every webpage to measure.
|
|
715
673
|
# Corresponds to the JSON property `snippet`
|
|
@@ -722,6 +680,7 @@ module Google
|
|
|
722
680
|
|
|
723
681
|
# Update properties of this object
|
|
724
682
|
def update!(**args)
|
|
683
|
+
@name = args[:name] if args.key?(:name)
|
|
725
684
|
@snippet = args[:snippet] if args.key?(:snippet)
|
|
726
685
|
end
|
|
727
686
|
end
|
|
@@ -767,11 +726,6 @@ module Google
|
|
|
767
726
|
# @return [String]
|
|
768
727
|
attr_accessor :name
|
|
769
728
|
|
|
770
|
-
# Immutable. Format: properties/`propertyId`
|
|
771
|
-
# Corresponds to the JSON property `parent`
|
|
772
|
-
# @return [String]
|
|
773
|
-
attr_accessor :parent
|
|
774
|
-
|
|
775
729
|
# Output only. Time when this link was last updated.
|
|
776
730
|
# Corresponds to the JSON property `updateTime`
|
|
777
731
|
# @return [String]
|
|
@@ -789,7 +743,6 @@ module Google
|
|
|
789
743
|
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
|
790
744
|
@email_address = args[:email_address] if args.key?(:email_address)
|
|
791
745
|
@name = args[:name] if args.key?(:name)
|
|
792
|
-
@parent = args[:parent] if args.key?(:parent)
|
|
793
746
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
794
747
|
end
|
|
795
748
|
end
|
|
@@ -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.2.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.1.
|
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210120"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -247,11 +247,11 @@ module Google
|
|
|
247
247
|
class GoogleAnalyticsAdminV1alphaAccount
|
|
248
248
|
# @private
|
|
249
249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
250
|
-
property :country_code, as: 'countryCode'
|
|
251
250
|
property :create_time, as: 'createTime'
|
|
252
251
|
property :deleted, as: 'deleted'
|
|
253
252
|
property :display_name, as: 'displayName'
|
|
254
253
|
property :name, as: 'name'
|
|
254
|
+
property :region_code, as: 'regionCode'
|
|
255
255
|
property :update_time, as: 'updateTime'
|
|
256
256
|
end
|
|
257
257
|
end
|
|
@@ -387,23 +387,17 @@ module Google
|
|
|
387
387
|
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
|
388
388
|
# @private
|
|
389
389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
390
|
-
property :articles_and_blogs_enabled, as: 'articlesAndBlogsEnabled'
|
|
391
|
-
property :content_views_enabled, as: 'contentViewsEnabled'
|
|
392
|
-
property :data_tagged_element_clicks_enabled, as: 'dataTaggedElementClicksEnabled'
|
|
393
|
-
property :excluded_domains, as: 'excludedDomains'
|
|
394
390
|
property :file_downloads_enabled, as: 'fileDownloadsEnabled'
|
|
395
|
-
property :form_interactions_enabled, as: 'formInteractionsEnabled'
|
|
396
391
|
property :name, as: 'name'
|
|
397
392
|
property :outbound_clicks_enabled, as: 'outboundClicksEnabled'
|
|
398
393
|
property :page_changes_enabled, as: 'pageChangesEnabled'
|
|
399
394
|
property :page_loads_enabled, as: 'pageLoadsEnabled'
|
|
400
395
|
property :page_views_enabled, as: 'pageViewsEnabled'
|
|
401
|
-
property :products_and_ecommerce_enabled, as: 'productsAndEcommerceEnabled'
|
|
402
396
|
property :scrolls_enabled, as: 'scrollsEnabled'
|
|
403
397
|
property :search_query_parameter, as: 'searchQueryParameter'
|
|
404
398
|
property :site_search_enabled, as: 'siteSearchEnabled'
|
|
405
399
|
property :stream_enabled, as: 'streamEnabled'
|
|
406
|
-
property :
|
|
400
|
+
property :uri_query_parameter, as: 'uriQueryParameter'
|
|
407
401
|
property :video_engagement_enabled, as: 'videoEngagementEnabled'
|
|
408
402
|
end
|
|
409
403
|
end
|
|
@@ -421,6 +415,7 @@ module Google
|
|
|
421
415
|
class GoogleAnalyticsAdminV1alphaGlobalSiteTag
|
|
422
416
|
# @private
|
|
423
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
418
|
+
property :name, as: 'name'
|
|
424
419
|
property :snippet, as: 'snippet'
|
|
425
420
|
end
|
|
426
421
|
end
|
|
@@ -434,7 +429,6 @@ module Google
|
|
|
434
429
|
property :customer_id, as: 'customerId'
|
|
435
430
|
property :email_address, as: 'emailAddress'
|
|
436
431
|
property :name, as: 'name'
|
|
437
|
-
property :parent, as: 'parent'
|
|
438
432
|
property :update_time, as: 'updateTime'
|
|
439
433
|
end
|
|
440
434
|
end
|
|
@@ -847,7 +847,12 @@ module Google
|
|
|
847
847
|
execute_or_queue_command(command, &block)
|
|
848
848
|
end
|
|
849
849
|
|
|
850
|
-
# Creates an
|
|
850
|
+
# Creates an Android app stream with the specified location and attributes. Note
|
|
851
|
+
# that an Android app stream must be linked to a Firebase app to receive traffic.
|
|
852
|
+
# To create a working app stream, make sure your property is linked to a
|
|
853
|
+
# Firebase project. Then, use the Firebase API to create a Firebase app, which
|
|
854
|
+
# will also create an appropriate data stream in Analytics (may take up to 24
|
|
855
|
+
# hours).
|
|
851
856
|
# @param [String] parent
|
|
852
857
|
# Required. The parent resource where this android app data stream will be
|
|
853
858
|
# created. Format: properties/123
|
|
@@ -1315,7 +1320,11 @@ module Google
|
|
|
1315
1320
|
execute_or_queue_command(command, &block)
|
|
1316
1321
|
end
|
|
1317
1322
|
|
|
1318
|
-
# Creates an iOS app
|
|
1323
|
+
# Creates an iOS app stream with the specified location and attributes. Note
|
|
1324
|
+
# that an iOS app stream must be linked to a Firebase app to receive traffic. To
|
|
1325
|
+
# create a working app stream, make sure your property is linked to a Firebase
|
|
1326
|
+
# project. Then, use the Firebase API to create a Firebase app, which will also
|
|
1327
|
+
# create an appropriate data stream in Analytics (may take up to 24 hours).
|
|
1319
1328
|
# @param [String] parent
|
|
1320
1329
|
# Required. The parent resource where this ios app data stream will be created.
|
|
1321
1330
|
# Format: properties/123
|
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.2.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-
|
|
11
|
+
date: 2021-02-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.2.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: []
|
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
|
-
rubygems_version: 3.
|
|
72
|
+
rubygems_version: 3.2.6
|
|
73
73
|
signing_key:
|
|
74
74
|
specification_version: 4
|
|
75
75
|
summary: Simple REST client for Google Analytics Admin API V1alpha
|