google-api-client 0.9.8 → 0.9.20
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 +37 -0
- data/Gemfile +9 -1
- data/README.md +10 -2
- data/api_names.yaml +63 -110
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +260 -13
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +217 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
- data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
- data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +277 -20
- data/generated/google/apis/bigquery_v2/representations.rb +86 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -2
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +79 -1
- data/generated/google/apis/books_v1/representations.rb +34 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +183 -37
- data/generated/google/apis/classroom_v1/representations.rb +74 -9
- data/generated/google/apis/classroom_v1/service.rb +403 -38
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
- data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +502 -111
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2299 -434
- data/generated/google/apis/compute_beta/representations.rb +752 -33
- data/generated/google/apis/compute_beta/service.rb +6067 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1681 -207
- data/generated/google/apis/compute_v1/representations.rb +552 -0
- data/generated/google/apis/compute_v1/service.rb +2797 -1171
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +757 -1
- data/generated/google/apis/content_v2/representations.rb +337 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/dataflow_v1b3.rb +38 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +27 -3
- data/generated/google/apis/drive_v2/representations.rb +4 -0
- data/generated/google/apis/drive_v2/service.rb +16 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +50 -16
- data/generated/google/apis/drive_v3/representations.rb +4 -0
- data/generated/google/apis/drive_v3/service.rb +12 -2
- data/generated/google/apis/fitness_v1.rb +8 -2
- data/generated/google/apis/fitness_v1/classes.rb +64 -6
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -4
- data/generated/google/apis/genomics_v1/classes.rb +143 -34
- data/generated/google/apis/genomics_v1/representations.rb +48 -11
- data/generated/google/apis/genomics_v1/service.rb +35 -37
- data/generated/google/apis/gmail_v1.rb +10 -1
- data/generated/google/apis/gmail_v1/classes.rb +542 -4
- data/generated/google/apis/gmail_v1/representations.rb +213 -0
- data/generated/google/apis/gmail_v1/service.rb +898 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +181 -206
- data/generated/google/apis/iam_v1/representations.rb +36 -45
- data/generated/google/apis/iam_v1/service.rb +101 -67
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +171 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +599 -0
- data/generated/google/apis/language_v1beta1/representations.rb +289 -0
- data/generated/google/apis/language_v1beta1/service.rb +152 -0
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
- data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
- data/generated/google/apis/logging_v2beta1/service.rb +290 -209
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +711 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +10 -9
- data/generated/google/apis/pubsub_v1/service.rb +128 -27
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +910 -89
- data/generated/google/apis/sheets_v4/representations.rb +194 -10
- data/generated/google/apis/sheets_v4/service.rb +216 -49
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
- data/generated/google/apis/speech_v1beta1/service.rb +271 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +43 -18
- data/generated/google/apis/storage_v1/representations.rb +4 -1
- data/generated/google/apis/storage_v1/service.rb +5 -2
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +12 -11
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +183 -21
- data/generated/google/apis/youtube_v3/representations.rb +85 -4
- data/generated/google/apis/youtube_v3/service.rb +41 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/core/base_service.rb +10 -4
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +2 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/sync.rb +71 -0
- metadata +55 -13
@@ -376,6 +376,18 @@ module Google
|
|
376
376
|
include Google::Apis::Core::JsonObjectSupport
|
377
377
|
end
|
378
378
|
|
379
|
+
class IncludeConditions
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class LinkedForeignAccount
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
379
391
|
class McfData
|
380
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
393
|
|
@@ -490,6 +502,36 @@ module Google
|
|
490
502
|
include Google::Apis::Core::JsonObjectSupport
|
491
503
|
end
|
492
504
|
|
505
|
+
class RemarketingAudience
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
class AudienceDefinition
|
509
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
510
|
+
|
511
|
+
include Google::Apis::Core::JsonObjectSupport
|
512
|
+
end
|
513
|
+
|
514
|
+
class StateBasedAudienceDefinition
|
515
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
516
|
+
|
517
|
+
class ExcludeConditions
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
include Google::Apis::Core::JsonObjectSupport
|
524
|
+
end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
529
|
+
class RemarketingAudiences
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
493
535
|
class Segment
|
494
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
537
|
|
@@ -1159,6 +1201,7 @@ module Google
|
|
1159
1201
|
collection :column_headers, as: 'columnHeaders', class: Google::Apis::AnalyticsV3::GaData::ColumnHeader, decorator: Google::Apis::AnalyticsV3::GaData::ColumnHeader::Representation
|
1160
1202
|
|
1161
1203
|
property :contains_sampled_data, as: 'containsSampledData'
|
1204
|
+
property :data_last_refreshed, as: 'dataLastRefreshed'
|
1162
1205
|
property :data_table, as: 'dataTable', class: Google::Apis::AnalyticsV3::GaData::DataTable, decorator: Google::Apis::AnalyticsV3::GaData::DataTable::Representation
|
1163
1206
|
|
1164
1207
|
property :id, as: 'id'
|
@@ -1366,6 +1409,33 @@ module Google
|
|
1366
1409
|
end
|
1367
1410
|
end
|
1368
1411
|
|
1412
|
+
class IncludeConditions
|
1413
|
+
# @private
|
1414
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1415
|
+
property :days_to_look_back, as: 'daysToLookBack'
|
1416
|
+
property :is_smart_list, as: 'isSmartList'
|
1417
|
+
property :kind, as: 'kind'
|
1418
|
+
property :membership_duration_days, as: 'membershipDurationDays'
|
1419
|
+
property :segment, as: 'segment'
|
1420
|
+
end
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
class LinkedForeignAccount
|
1424
|
+
# @private
|
1425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1426
|
+
property :account_id, as: 'accountId'
|
1427
|
+
property :eligible_for_search, as: 'eligibleForSearch'
|
1428
|
+
property :id, as: 'id'
|
1429
|
+
property :internal_web_property_id, as: 'internalWebPropertyId'
|
1430
|
+
property :kind, as: 'kind'
|
1431
|
+
property :linked_account_id, as: 'linkedAccountId'
|
1432
|
+
property :remarketing_audience_id, as: 'remarketingAudienceId'
|
1433
|
+
property :status, as: 'status'
|
1434
|
+
property :type, as: 'type'
|
1435
|
+
property :web_property_id, as: 'webPropertyId'
|
1436
|
+
end
|
1437
|
+
end
|
1438
|
+
|
1369
1439
|
class McfData
|
1370
1440
|
# @private
|
1371
1441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1633,6 +1703,72 @@ module Google
|
|
1633
1703
|
end
|
1634
1704
|
end
|
1635
1705
|
|
1706
|
+
class RemarketingAudience
|
1707
|
+
# @private
|
1708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1709
|
+
property :account_id, as: 'accountId'
|
1710
|
+
property :audience_definition, as: 'audienceDefinition', class: Google::Apis::AnalyticsV3::RemarketingAudience::AudienceDefinition, decorator: Google::Apis::AnalyticsV3::RemarketingAudience::AudienceDefinition::Representation
|
1711
|
+
|
1712
|
+
property :audience_type, as: 'audienceType'
|
1713
|
+
property :created, as: 'created', type: DateTime
|
1714
|
+
|
1715
|
+
property :description, as: 'description'
|
1716
|
+
property :id, as: 'id'
|
1717
|
+
property :internal_web_property_id, as: 'internalWebPropertyId'
|
1718
|
+
property :kind, as: 'kind'
|
1719
|
+
collection :linked_ad_accounts, as: 'linkedAdAccounts', class: Google::Apis::AnalyticsV3::LinkedForeignAccount, decorator: Google::Apis::AnalyticsV3::LinkedForeignAccount::Representation
|
1720
|
+
|
1721
|
+
collection :linked_views, as: 'linkedViews'
|
1722
|
+
property :name, as: 'name'
|
1723
|
+
property :state_based_audience_definition, as: 'stateBasedAudienceDefinition', class: Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition, decorator: Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::Representation
|
1724
|
+
|
1725
|
+
property :updated, as: 'updated', type: DateTime
|
1726
|
+
|
1727
|
+
property :web_property_id, as: 'webPropertyId'
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
class AudienceDefinition
|
1731
|
+
# @private
|
1732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1733
|
+
property :include_conditions, as: 'includeConditions', class: Google::Apis::AnalyticsV3::IncludeConditions, decorator: Google::Apis::AnalyticsV3::IncludeConditions::Representation
|
1734
|
+
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
class StateBasedAudienceDefinition
|
1739
|
+
# @private
|
1740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1741
|
+
property :exclude_conditions, as: 'excludeConditions', class: Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions, decorator: Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions::Representation
|
1742
|
+
|
1743
|
+
property :include_conditions, as: 'includeConditions', class: Google::Apis::AnalyticsV3::IncludeConditions, decorator: Google::Apis::AnalyticsV3::IncludeConditions::Representation
|
1744
|
+
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
class ExcludeConditions
|
1748
|
+
# @private
|
1749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1750
|
+
property :exclusion_duration, as: 'exclusionDuration'
|
1751
|
+
property :segment, as: 'segment'
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
class RemarketingAudiences
|
1758
|
+
# @private
|
1759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1760
|
+
collection :items, as: 'items', class: Google::Apis::AnalyticsV3::RemarketingAudience, decorator: Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
1761
|
+
|
1762
|
+
property :items_per_page, as: 'itemsPerPage'
|
1763
|
+
property :kind, as: 'kind'
|
1764
|
+
property :next_link, as: 'nextLink'
|
1765
|
+
property :previous_link, as: 'previousLink'
|
1766
|
+
property :start_index, as: 'startIndex'
|
1767
|
+
property :total_results, as: 'totalResults'
|
1768
|
+
property :username, as: 'username'
|
1769
|
+
end
|
1770
|
+
end
|
1771
|
+
|
1636
1772
|
class Segment
|
1637
1773
|
# @private
|
1638
1774
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2450,6 +2450,223 @@ module Google
|
|
2450
2450
|
execute_or_queue_command(command, &block)
|
2451
2451
|
end
|
2452
2452
|
|
2453
|
+
# Gets a remarketing audience to which the user has access.
|
2454
|
+
# @param [String] account_id
|
2455
|
+
# The account ID of the remarketing audience to retrieve.
|
2456
|
+
# @param [String] web_property_id
|
2457
|
+
# The web property ID of the remarketing audience to retrieve.
|
2458
|
+
# @param [String] remarketing_audience_id
|
2459
|
+
# The ID of the remarketing audience to retrieve.
|
2460
|
+
# @param [String] fields
|
2461
|
+
# Selector specifying which fields to include in a partial response.
|
2462
|
+
# @param [String] quota_user
|
2463
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2464
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2465
|
+
# Overrides userIp if both are provided.
|
2466
|
+
# @param [String] user_ip
|
2467
|
+
# IP address of the site where the request originates. Use this if you want to
|
2468
|
+
# enforce per-user limits.
|
2469
|
+
# @param [Google::Apis::RequestOptions] options
|
2470
|
+
# Request-specific options
|
2471
|
+
#
|
2472
|
+
# @yield [result, err] Result & error if block supplied
|
2473
|
+
# @yieldparam result [Google::Apis::AnalyticsV3::RemarketingAudience] parsed result object
|
2474
|
+
# @yieldparam err [StandardError] error object if request failed
|
2475
|
+
#
|
2476
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience]
|
2477
|
+
#
|
2478
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2479
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2480
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2481
|
+
def get_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2482
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
|
2483
|
+
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
2484
|
+
command.response_class = Google::Apis::AnalyticsV3::RemarketingAudience
|
2485
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
2486
|
+
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2487
|
+
command.params['remarketingAudienceId'] = remarketing_audience_id unless remarketing_audience_id.nil?
|
2488
|
+
command.query['fields'] = fields unless fields.nil?
|
2489
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2490
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2491
|
+
execute_or_queue_command(command, &block)
|
2492
|
+
end
|
2493
|
+
|
2494
|
+
# Creates a new remarketing audience.
|
2495
|
+
# @param [String] account_id
|
2496
|
+
# The account ID for which to create the remarketing audience.
|
2497
|
+
# @param [String] web_property_id
|
2498
|
+
# Web property ID for which to create the remarketing audience.
|
2499
|
+
# @param [Google::Apis::AnalyticsV3::RemarketingAudience] remarketing_audience_object
|
2500
|
+
# @param [String] fields
|
2501
|
+
# Selector specifying which fields to include in a partial response.
|
2502
|
+
# @param [String] quota_user
|
2503
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2504
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2505
|
+
# Overrides userIp if both are provided.
|
2506
|
+
# @param [String] user_ip
|
2507
|
+
# IP address of the site where the request originates. Use this if you want to
|
2508
|
+
# enforce per-user limits.
|
2509
|
+
# @param [Google::Apis::RequestOptions] options
|
2510
|
+
# Request-specific options
|
2511
|
+
#
|
2512
|
+
# @yield [result, err] Result & error if block supplied
|
2513
|
+
# @yieldparam result [Google::Apis::AnalyticsV3::RemarketingAudience] parsed result object
|
2514
|
+
# @yieldparam err [StandardError] error object if request failed
|
2515
|
+
#
|
2516
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience]
|
2517
|
+
#
|
2518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2521
|
+
def insert_management_remarketing_audience(account_id, web_property_id, remarketing_audience_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2522
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', options)
|
2523
|
+
command.request_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
2524
|
+
command.request_object = remarketing_audience_object
|
2525
|
+
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
2526
|
+
command.response_class = Google::Apis::AnalyticsV3::RemarketingAudience
|
2527
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
2528
|
+
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2529
|
+
command.query['fields'] = fields unless fields.nil?
|
2530
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2531
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2532
|
+
execute_or_queue_command(command, &block)
|
2533
|
+
end
|
2534
|
+
|
2535
|
+
# Lists remarketing audiences to which the user has access.
|
2536
|
+
# @param [String] account_id
|
2537
|
+
# The account ID of the remarketing audiences to retrieve.
|
2538
|
+
# @param [String] web_property_id
|
2539
|
+
# The web property ID of the remarketing audiences to retrieve.
|
2540
|
+
# @param [Fixnum] max_results
|
2541
|
+
# The maximum number of remarketing audiences to include in this response.
|
2542
|
+
# @param [Fixnum] start_index
|
2543
|
+
# An index of the first entity to retrieve. Use this parameter as a pagination
|
2544
|
+
# mechanism along with the max-results parameter.
|
2545
|
+
# @param [String] type
|
2546
|
+
# @param [String] fields
|
2547
|
+
# Selector specifying which fields to include in a partial response.
|
2548
|
+
# @param [String] quota_user
|
2549
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2550
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2551
|
+
# Overrides userIp if both are provided.
|
2552
|
+
# @param [String] user_ip
|
2553
|
+
# IP address of the site where the request originates. Use this if you want to
|
2554
|
+
# enforce per-user limits.
|
2555
|
+
# @param [Google::Apis::RequestOptions] options
|
2556
|
+
# Request-specific options
|
2557
|
+
#
|
2558
|
+
# @yield [result, err] Result & error if block supplied
|
2559
|
+
# @yieldparam result [Google::Apis::AnalyticsV3::RemarketingAudiences] parsed result object
|
2560
|
+
# @yieldparam err [StandardError] error object if request failed
|
2561
|
+
#
|
2562
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudiences]
|
2563
|
+
#
|
2564
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2565
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2566
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2567
|
+
def list_management_remarketing_audiences(account_id, web_property_id, max_results: nil, start_index: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2568
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', options)
|
2569
|
+
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudiences::Representation
|
2570
|
+
command.response_class = Google::Apis::AnalyticsV3::RemarketingAudiences
|
2571
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
2572
|
+
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2573
|
+
command.query['max-results'] = max_results unless max_results.nil?
|
2574
|
+
command.query['start-index'] = start_index unless start_index.nil?
|
2575
|
+
command.query['type'] = type unless type.nil?
|
2576
|
+
command.query['fields'] = fields unless fields.nil?
|
2577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2578
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2579
|
+
execute_or_queue_command(command, &block)
|
2580
|
+
end
|
2581
|
+
|
2582
|
+
# Updates an existing remarketing audience. This method supports patch semantics.
|
2583
|
+
# @param [String] account_id
|
2584
|
+
# The account ID of the remarketing audience to update.
|
2585
|
+
# @param [String] web_property_id
|
2586
|
+
# The web property ID of the remarketing audience to update.
|
2587
|
+
# @param [String] remarketing_audience_id
|
2588
|
+
# The ID of the remarketing audience to update.
|
2589
|
+
# @param [Google::Apis::AnalyticsV3::RemarketingAudience] remarketing_audience_object
|
2590
|
+
# @param [String] fields
|
2591
|
+
# Selector specifying which fields to include in a partial response.
|
2592
|
+
# @param [String] quota_user
|
2593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2595
|
+
# Overrides userIp if both are provided.
|
2596
|
+
# @param [String] user_ip
|
2597
|
+
# IP address of the site where the request originates. Use this if you want to
|
2598
|
+
# enforce per-user limits.
|
2599
|
+
# @param [Google::Apis::RequestOptions] options
|
2600
|
+
# Request-specific options
|
2601
|
+
#
|
2602
|
+
# @yield [result, err] Result & error if block supplied
|
2603
|
+
# @yieldparam result [Google::Apis::AnalyticsV3::RemarketingAudience] parsed result object
|
2604
|
+
# @yieldparam err [StandardError] error object if request failed
|
2605
|
+
#
|
2606
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience]
|
2607
|
+
#
|
2608
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2609
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2610
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2611
|
+
def patch_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, remarketing_audience_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2612
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
|
2613
|
+
command.request_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
2614
|
+
command.request_object = remarketing_audience_object
|
2615
|
+
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
2616
|
+
command.response_class = Google::Apis::AnalyticsV3::RemarketingAudience
|
2617
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
2618
|
+
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2619
|
+
command.params['remarketingAudienceId'] = remarketing_audience_id unless remarketing_audience_id.nil?
|
2620
|
+
command.query['fields'] = fields unless fields.nil?
|
2621
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2622
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2623
|
+
execute_or_queue_command(command, &block)
|
2624
|
+
end
|
2625
|
+
|
2626
|
+
# Updates an existing remarketing audience.
|
2627
|
+
# @param [String] account_id
|
2628
|
+
# The account ID of the remarketing audience to update.
|
2629
|
+
# @param [String] web_property_id
|
2630
|
+
# The web property ID of the remarketing audience to update.
|
2631
|
+
# @param [String] remarketing_audience_id
|
2632
|
+
# The ID of the remarketing audience to update.
|
2633
|
+
# @param [Google::Apis::AnalyticsV3::RemarketingAudience] remarketing_audience_object
|
2634
|
+
# @param [String] fields
|
2635
|
+
# Selector specifying which fields to include in a partial response.
|
2636
|
+
# @param [String] quota_user
|
2637
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2638
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2639
|
+
# Overrides userIp if both are provided.
|
2640
|
+
# @param [String] user_ip
|
2641
|
+
# IP address of the site where the request originates. Use this if you want to
|
2642
|
+
# enforce per-user limits.
|
2643
|
+
# @param [Google::Apis::RequestOptions] options
|
2644
|
+
# Request-specific options
|
2645
|
+
#
|
2646
|
+
# @yield [result, err] Result & error if block supplied
|
2647
|
+
# @yieldparam result [Google::Apis::AnalyticsV3::RemarketingAudience] parsed result object
|
2648
|
+
# @yieldparam err [StandardError] error object if request failed
|
2649
|
+
#
|
2650
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience]
|
2651
|
+
#
|
2652
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2653
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2654
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2655
|
+
def update_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, remarketing_audience_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2656
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
|
2657
|
+
command.request_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
2658
|
+
command.request_object = remarketing_audience_object
|
2659
|
+
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
|
2660
|
+
command.response_class = Google::Apis::AnalyticsV3::RemarketingAudience
|
2661
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
2662
|
+
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2663
|
+
command.params['remarketingAudienceId'] = remarketing_audience_id unless remarketing_audience_id.nil?
|
2664
|
+
command.query['fields'] = fields unless fields.nil?
|
2665
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2666
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2667
|
+
execute_or_queue_command(command, &block)
|
2668
|
+
end
|
2669
|
+
|
2453
2670
|
# Lists segments to which the user has access.
|
2454
2671
|
# @param [Fixnum] max_results
|
2455
2672
|
# The maximum number of segments to include in this response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
|
26
26
|
module AnalyticsreportingV4
|
27
27
|
VERSION = 'V4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161011'
|
29
29
|
|
30
30
|
# View your Google Analytics data
|
31
31
|
AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
|
@@ -47,7 +47,9 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
#
|
50
|
+
# [Metrics](https://support.google.com/analytics/answer/1033861)
|
51
|
+
# are the quantitative measurements. For example, the metric `ga:users`
|
52
|
+
# indicates the total number of users for the requested time period.
|
51
53
|
class Metric
|
52
54
|
include Google::Apis::Core::Hashable
|
53
55
|
|
@@ -358,7 +360,8 @@ module Google
|
|
358
360
|
# @return [Google::Apis::AnalyticsreportingV4::CohortGroup]
|
359
361
|
attr_accessor :cohort_group
|
360
362
|
|
361
|
-
#
|
363
|
+
# The dimensions requested.
|
364
|
+
# Requests can have a total of 7 dimensions.
|
362
365
|
# Corresponds to the JSON property `dimensions`
|
363
366
|
# @return [Array<Google::Apis::AnalyticsreportingV4::Dimension>]
|
364
367
|
attr_accessor :dimensions
|
@@ -394,7 +397,7 @@ module Google
|
|
394
397
|
# @return [Array<Google::Apis::AnalyticsreportingV4::DimensionFilterClause>]
|
395
398
|
attr_accessor :dimension_filter_clauses
|
396
399
|
|
397
|
-
# The pivot definitions.
|
400
|
+
# The pivot definitions. Requests can have a maximum of 2 pivots.
|
398
401
|
# Corresponds to the JSON property `pivots`
|
399
402
|
# @return [Array<Google::Apis::AnalyticsreportingV4::Pivot>]
|
400
403
|
attr_accessor :pivots
|
@@ -407,28 +410,36 @@ module Google
|
|
407
410
|
# The `reportRequest.dateRanges` field should not be specified for cohorts
|
408
411
|
# or Lifetime value requests.
|
409
412
|
# If a date range is not provided, the default date range is (startDate:
|
410
|
-
# current date - 7 days, endDate: current date - 1 day)
|
413
|
+
# current date - 7 days, endDate: current date - 1 day). Every
|
414
|
+
# [ReportRequest](#ReportRequest) within a `batchGet` method must
|
415
|
+
# contain the same `dateRanges` definition.
|
411
416
|
# Corresponds to the JSON property `dateRanges`
|
412
417
|
# @return [Array<Google::Apis::AnalyticsreportingV4::DateRange>]
|
413
418
|
attr_accessor :date_ranges
|
414
419
|
|
415
420
|
# Segment the data returned for the request. A segment definition helps look
|
416
421
|
# at a subset of the segment request. A request can contain up to four
|
417
|
-
# segments.
|
422
|
+
# segments. Every [ReportRequest](#ReportRequest) within a
|
423
|
+
# `batchGet` method must contain the same `segments` definition. Requests
|
418
424
|
# with segments must have the `ga:segment` dimension.
|
419
425
|
# Corresponds to the JSON property `segments`
|
420
426
|
# @return [Array<Google::Apis::AnalyticsreportingV4::Segment>]
|
421
427
|
attr_accessor :segments
|
422
428
|
|
423
|
-
# The desired
|
424
|
-
#
|
425
|
-
# `samplingLevel
|
429
|
+
# The desired report
|
430
|
+
# [sample](https://support.google.com/analytics/answer/2637192) size.
|
431
|
+
# If the the `samplingLevel` field is unspecified the `DEFAULT` sampling
|
432
|
+
# level is used. Every [ReportRequest](#ReportRequest) within a
|
433
|
+
# `batchGet` method must contain the same `samplingLevel` definition. See
|
434
|
+
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
|
435
|
+
# for details.
|
426
436
|
# Corresponds to the JSON property `samplingLevel`
|
427
437
|
# @return [String]
|
428
438
|
attr_accessor :sampling_level
|
429
439
|
|
430
|
-
#
|
431
|
-
# Requests must specify at least one metric.
|
440
|
+
# The metrics requested.
|
441
|
+
# Requests must specify at least one metric. Requests can have a
|
442
|
+
# total of 10 metrics.
|
432
443
|
# Corresponds to the JSON property `metrics`
|
433
444
|
# @return [Array<Google::Apis::AnalyticsreportingV4::Metric>]
|
434
445
|
attr_accessor :metrics
|
@@ -471,7 +482,10 @@ module Google
|
|
471
482
|
attr_accessor :hide_value_ranges
|
472
483
|
alias_method :hide_value_ranges?, :hide_value_ranges
|
473
484
|
|
474
|
-
#
|
485
|
+
# The Analytics
|
486
|
+
# [view ID](https://support.google.com/analytics/answer/1009618)
|
487
|
+
# from which to retrieve data. Every [ReportRequest](#ReportRequest)
|
488
|
+
# within a `batchGet` method must contain the same `viewId`.
|
475
489
|
# Corresponds to the JSON property `viewId`
|
476
490
|
# @return [String]
|
477
491
|
attr_accessor :view_id
|
@@ -610,8 +624,13 @@ module Google
|
|
610
624
|
# @return [Fixnum]
|
611
625
|
attr_accessor :row_count
|
612
626
|
|
613
|
-
# If
|
614
|
-
#
|
627
|
+
# If the results are
|
628
|
+
# [sampled](https://support.google.com/analytics/answer/2637192),
|
629
|
+
# this returns the total number of
|
630
|
+
# samples present, one entry per date range. If the results are not sampled
|
631
|
+
# this field will not be defined. See
|
632
|
+
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
|
633
|
+
# for details.
|
615
634
|
# Corresponds to the JSON property `samplingSpaceSizes`
|
616
635
|
# @return [Array<String>]
|
617
636
|
attr_accessor :sampling_space_sizes
|
@@ -623,8 +642,12 @@ module Google
|
|
623
642
|
# @return [Array<Google::Apis::AnalyticsreportingV4::DateRangeValues>]
|
624
643
|
attr_accessor :maximums
|
625
644
|
|
626
|
-
# If
|
627
|
-
#
|
645
|
+
# If the results are
|
646
|
+
# [sampled](https://support.google.com/analytics/answer/2637192),
|
647
|
+
# this returns the total number of samples read, one entry per date range.
|
648
|
+
# If the results are not sampled this field will not be defined. See
|
649
|
+
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
|
650
|
+
# for details.
|
628
651
|
# Corresponds to the JSON property `samplesReadCounts`
|
629
652
|
# @return [Array<String>]
|
630
653
|
attr_accessor :samples_read_counts
|
@@ -684,7 +707,7 @@ module Google
|
|
684
707
|
|
685
708
|
# Requests, each request will have a separate response.
|
686
709
|
# There can be a maximum of 5 requests. All requests should have the same
|
687
|
-
# `
|
710
|
+
# `dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`.
|
688
711
|
# Corresponds to the JSON property `reportRequests`
|
689
712
|
# @return [Array<Google::Apis::AnalyticsreportingV4::ReportRequest>]
|
690
713
|
attr_accessor :report_requests
|
@@ -880,8 +903,7 @@ module Google
|
|
880
903
|
class PivotHeaderEntry
|
881
904
|
include Google::Apis::Core::Hashable
|
882
905
|
|
883
|
-
# The name of the dimensions in the
|
884
|
-
# response.
|
906
|
+
# The name of the dimensions in the pivot response.
|
885
907
|
# Corresponds to the JSON property `dimensionNames`
|
886
908
|
# @return [Array<String>]
|
887
909
|
attr_accessor :dimension_names
|
@@ -969,12 +991,15 @@ module Google
|
|
969
991
|
class Pivot
|
970
992
|
include Google::Apis::Core::Hashable
|
971
993
|
|
972
|
-
# A list of dimensions to show as pivot columns.
|
994
|
+
# A list of dimensions to show as pivot columns. A Pivot can have a maximum
|
995
|
+
# of 4 dimensions. Pivot dimensions are part of the restriction on the
|
996
|
+
# total number of dimensions allowed in the request.
|
973
997
|
# Corresponds to the JSON property `dimensions`
|
974
998
|
# @return [Array<Google::Apis::AnalyticsreportingV4::Dimension>]
|
975
999
|
attr_accessor :dimensions
|
976
1000
|
|
977
|
-
#
|
1001
|
+
# The pivot metrics. Pivot metrics are part of the
|
1002
|
+
# restriction on total number of metrics allowed in the request.
|
978
1003
|
# Corresponds to the JSON property `metrics`
|
979
1004
|
# @return [Array<Google::Apis::AnalyticsreportingV4::Metric>]
|
980
1005
|
attr_accessor :metrics
|
@@ -1144,7 +1169,7 @@ module Google
|
|
1144
1169
|
# @return [Array<String>]
|
1145
1170
|
attr_accessor :dimensions
|
1146
1171
|
|
1147
|
-
# List of metrics for each requested DateRange
|
1172
|
+
# List of metrics for each requested DateRange.
|
1148
1173
|
# Corresponds to the JSON property `metrics`
|
1149
1174
|
# @return [Array<Google::Apis::AnalyticsreportingV4::DateRangeValues>]
|
1150
1175
|
attr_accessor :metrics
|
@@ -1313,7 +1338,10 @@ module Google
|
|
1313
1338
|
end
|
1314
1339
|
end
|
1315
1340
|
|
1316
|
-
#
|
1341
|
+
# [Dimensions](https://support.google.com/analytics/answer/1033861)
|
1342
|
+
# are attributes of your data. For example, the dimension `ga:city`
|
1343
|
+
# indicates the city, for example, "Paris" or "New York", from which
|
1344
|
+
# a session originates.
|
1317
1345
|
class Dimension
|
1318
1346
|
include Google::Apis::Core::Hashable
|
1319
1347
|
|