google-api-client 0.8.6 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +20 -0
- data/.rspec +2 -0
- data/.rubocop.yml +7 -0
- data/.rubocop_todo.yml +63 -0
- data/.travis.yml +22 -0
- data/.yardopts +12 -0
- data/CHANGELOG.md +41 -2
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +32 -2
- data/MIGRATING.md +171 -0
- data/README.md +181 -148
- data/Rakefile +1 -40
- data/api_names.yaml +1036 -0
- data/api_names_out.yaml +26053 -0
- data/bin/generate-api +95 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
- data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +113 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1029 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
- data/generated/google/apis/admin_reports_v1.rb +38 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
- data/generated/google/apis/admin_reports_v1/service.rb +336 -0
- data/generated/google/apis/adsense_v1_4.rb +38 -0
- data/generated/google/apis/adsense_v1_4/classes.rb +1285 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +494 -0
- data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
- data/generated/google/apis/adsensehost_v4_1.rb +35 -0
- data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
- data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
- data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
- data/generated/google/apis/analytics_v3.rb +49 -0
- data/generated/google/apis/analytics_v3/classes.rb +5118 -0
- data/generated/google/apis/analytics_v3/representations.rb +1662 -0
- data/generated/google/apis/analytics_v3/service.rb +3568 -0
- data/generated/google/apis/androidenterprise_v1.rb +35 -0
- data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +538 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +2602 -0
- data/generated/google/apis/androidpublisher_v2.rb +34 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +646 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +46 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
- data/generated/google/apis/appsactivity_v1/service.rb +128 -0
- data/generated/google/apis/appstate_v1.rb +34 -0
- data/generated/google/apis/appstate_v1/classes.rb +154 -0
- data/generated/google/apis/appstate_v1/representations.rb +79 -0
- data/generated/google/apis/appstate_v1/service.rb +260 -0
- data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
- data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
- data/generated/google/apis/bigquery_v2.rb +52 -0
- data/generated/google/apis/bigquery_v2/classes.rb +2471 -0
- data/generated/google/apis/bigquery_v2/representations.rb +816 -0
- data/generated/google/apis/bigquery_v2/service.rb +982 -0
- data/generated/google/apis/blogger_v3.rb +37 -0
- data/generated/google/apis/blogger_v3/classes.rb +1354 -0
- data/generated/google/apis/blogger_v3/representations.rb +562 -0
- data/generated/google/apis/blogger_v3/service.rb +1587 -0
- data/generated/google/apis/books_v1.rb +34 -0
- data/generated/google/apis/books_v1/classes.rb +3956 -0
- data/generated/google/apis/books_v1/representations.rb +1538 -0
- data/generated/google/apis/books_v1/service.rb +2290 -0
- data/generated/google/apis/calendar_v3.rb +37 -0
- data/generated/google/apis/calendar_v3/classes.rb +1742 -0
- data/generated/google/apis/calendar_v3/representations.rb +567 -0
- data/generated/google/apis/calendar_v3/service.rb +1968 -0
- data/{lib/google/api_client/service_account.rb → generated/google/apis/civicinfo_v2.rb} +18 -8
- data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +383 -0
- data/generated/google/apis/civicinfo_v2/service.rb +279 -0
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/classroom_v1beta1.rb +49 -0
- data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
- data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
- data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +437 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +188 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +623 -0
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +49 -0
- data/generated/google/apis/compute_v1/classes.rb +8681 -0
- data/generated/google/apis/compute_v1/representations.rb +2895 -0
- data/generated/google/apis/compute_v1/service.rb +9252 -0
- data/generated/google/apis/container_v1.rb +35 -0
- data/generated/google/apis/container_v1/classes.rb +463 -0
- data/generated/google/apis/container_v1/representations.rb +175 -0
- data/generated/google/apis/container_v1/service.rb +367 -0
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +466 -0
- data/generated/google/apis/container_v1beta1/representations.rb +177 -0
- data/generated/google/apis/container_v1beta1/service.rb +394 -0
- data/generated/google/apis/content_v2.rb +35 -0
- data/generated/google/apis/content_v2/classes.rb +5986 -0
- data/generated/google/apis/content_v2/representations.rb +2288 -0
- data/generated/google/apis/content_v2/service.rb +2338 -0
- data/generated/google/apis/coordinate_v1.rb +37 -0
- data/generated/google/apis/coordinate_v1/classes.rb +669 -0
- data/generated/google/apis/coordinate_v1/representations.rb +285 -0
- data/generated/google/apis/coordinate_v1/service.rb +678 -0
- data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
- data/generated/google/apis/customsearch_v1/classes.rb +771 -0
- data/generated/google/apis/customsearch_v1/representations.rb +276 -0
- data/generated/google/apis/customsearch_v1/service.rb +207 -0
- data/generated/google/apis/datastore_v1beta2.rb +40 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
- data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
- data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1091 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
- data/generated/google/apis/dfareporting_v2_1.rb +37 -0
- data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
- data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
- data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
- data/generated/google/apis/discovery_v1.rb +32 -0
- data/generated/google/apis/discovery_v1/classes.rb +961 -0
- data/generated/google/apis/discovery_v1/representations.rb +357 -0
- data/generated/google/apis/discovery_v1/service.rb +142 -0
- data/generated/google/apis/dns_v1.rb +44 -0
- data/generated/google/apis/dns_v1/classes.rb +406 -0
- data/generated/google/apis/dns_v1/representations.rb +151 -0
- data/generated/google/apis/dns_v1/service.rb +454 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +716 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +298 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +341 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +956 -0
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +316 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
- data/generated/google/apis/drive_v2.rb +58 -0
- data/generated/google/apis/drive_v2/classes.rb +2562 -0
- data/generated/google/apis/drive_v2/representations.rb +795 -0
- data/generated/google/apis/drive_v2/service.rb +2696 -0
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +49 -0
- data/generated/google/apis/fitness_v1/classes.rb +885 -0
- data/generated/google/apis/fitness_v1/representations.rb +320 -0
- data/generated/google/apis/fitness_v1/service.rb +675 -0
- data/generated/google/apis/fusiontables_v2.rb +37 -0
- data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
- data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
- data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
- data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +40 -0
- data/generated/google/apis/games_v1/classes.rb +4617 -0
- data/generated/google/apis/games_v1/representations.rb +1584 -0
- data/generated/google/apis/games_v1/service.rb +2290 -0
- data/generated/google/apis/gan_v1beta1.rb +31 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
- data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
- data/generated/google/apis/gan_v1beta1/service.rb +682 -0
- data/generated/google/apis/genomics_v1.rb +49 -0
- data/generated/google/apis/genomics_v1/classes.rb +2609 -0
- data/generated/google/apis/genomics_v1/representations.rb +909 -0
- data/generated/google/apis/genomics_v1/service.rb +1676 -0
- data/generated/google/apis/genomics_v1beta2.rb +46 -0
- data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
- data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
- data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
- data/generated/google/apis/gmail_v1.rb +52 -0
- data/generated/google/apis/gmail_v1/classes.rb +794 -0
- data/generated/google/apis/gmail_v1/representations.rb +339 -0
- data/generated/google/apis/gmail_v1/service.rb +1470 -0
- data/generated/google/apis/groupsmigration_v1.rb +34 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
- data/generated/google/apis/groupssettings_v1.rb +34 -0
- data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
- data/generated/google/apis/groupssettings_v1/service.rb +179 -0
- data/generated/google/apis/identitytoolkit_v3.rb +31 -0
- data/generated/google/apis/identitytoolkit_v3/classes.rb +1466 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +509 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +581 -0
- data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +34 -0
- data/generated/google/apis/licensing_v1/classes.rb +132 -0
- data/generated/google/apis/licensing_v1/representations.rb +68 -0
- data/generated/google/apis/licensing_v1/service.rb +369 -0
- data/generated/google/apis/logging_v1beta3.rb +47 -0
- data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
- data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
- data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
- data/generated/google/apis/manager_v1beta2.rb +53 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
- data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
- data/generated/google/apis/manager_v1beta2/service.rb +372 -0
- data/generated/google/apis/mapsengine_v1.rb +38 -0
- data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
- data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
- data/generated/google/apis/mapsengine_v1/service.rb +3388 -0
- data/generated/google/apis/mirror_v1.rb +37 -0
- data/generated/google/apis/mirror_v1/classes.rb +1072 -0
- data/generated/google/apis/mirror_v1/representations.rb +350 -0
- data/generated/google/apis/mirror_v1/service.rb +977 -0
- data/generated/google/apis/oauth2_v2.rb +43 -0
- data/generated/google/apis/oauth2_v2/classes.rb +245 -0
- data/generated/google/apis/oauth2_v2/representations.rb +94 -0
- data/generated/google/apis/oauth2_v2/service.rb +199 -0
- data/generated/google/apis/pagespeedonline_v2.rb +32 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
- data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +61 -0
- data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +987 -0
- data/generated/google/apis/plus_domains_v1/service.rb +904 -0
- data/generated/google/apis/plus_v1.rb +43 -0
- data/generated/google/apis/plus_v1/classes.rb +2094 -0
- data/generated/google/apis/plus_v1/representations.rb +805 -0
- data/generated/google/apis/plus_v1/service.rb +470 -0
- data/generated/google/apis/prediction_v1_6.rb +44 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
- data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
- data/generated/google/apis/prediction_v1_6/service.rb +380 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
- data/generated/google/apis/qpx_express_v1.rb +31 -0
- data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
- data/generated/google/apis/qpx_express_v1/service.rb +100 -0
- data/generated/google/apis/replicapool_v1beta2.rb +44 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
- data/generated/google/apis/replicapool_v1beta2/representations.rb +236 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +264 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
- data/generated/google/apis/reseller_v1.rb +37 -0
- data/generated/google/apis/reseller_v1/classes.rb +520 -0
- data/generated/google/apis/reseller_v1/representations.rb +200 -0
- data/generated/google/apis/reseller_v1/service.rb +623 -0
- data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +37 -0
- data/generated/google/apis/site_verification_v1/classes.rb +185 -0
- data/generated/google/apis/site_verification_v1/representations.rb +101 -0
- data/generated/google/apis/site_verification_v1/service.rb +315 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +2001 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +758 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
- data/generated/google/apis/storage_v1.rb +46 -0
- data/generated/google/apis/storage_v1/classes.rb +1222 -0
- data/generated/google/apis/storage_v1/representations.rb +445 -0
- data/generated/google/apis/storage_v1/service.rb +1903 -0
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +52 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +1384 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +515 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1817 -0
- data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
- data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
- data/generated/google/apis/tasks_v1.rb +37 -0
- data/generated/google/apis/tasks_v1/classes.rb +296 -0
- data/generated/google/apis/tasks_v1/representations.rb +115 -0
- data/generated/google/apis/tasks_v1/service.rb +643 -0
- data/generated/google/apis/translate_v2.rb +31 -0
- data/generated/google/apis/translate_v2/classes.rb +168 -0
- data/generated/google/apis/translate_v2/representations.rb +109 -0
- data/generated/google/apis/translate_v2/service.rb +182 -0
- data/generated/google/apis/urlshortener_v1.rb +34 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
- data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
- data/generated/google/apis/urlshortener_v1/service.rb +176 -0
- data/generated/google/apis/webmasters_v3.rb +37 -0
- data/generated/google/apis/webmasters_v3/classes.rb +563 -0
- data/generated/google/apis/webmasters_v3/representations.rb +250 -0
- data/generated/google/apis/webmasters_v3/service.rb +573 -0
- data/generated/google/apis/youtube_analytics_v1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +243 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
- data/generated/google/apis/youtube_v3.rb +49 -0
- data/generated/google/apis/youtube_v3/classes.rb +8136 -0
- data/generated/google/apis/youtube_v3/representations.rb +2838 -0
- data/generated/google/apis/youtube_v3/service.rb +4403 -0
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +27 -39
- data/lib/google/api_client/auth/installed_app.rb +7 -5
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +4 -2
- data/lib/google/api_client/auth/storages/file_store.rb +2 -3
- data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis.rb +48 -0
- data/lib/google/apis/core/api_command.rb +135 -0
- data/lib/google/apis/core/base_service.rb +317 -0
- data/lib/google/apis/core/batch.rb +239 -0
- data/lib/google/apis/core/download.rb +94 -0
- data/lib/google/apis/core/hashable.rb +44 -0
- data/lib/google/apis/core/http_client_adapter.rb +82 -0
- data/lib/google/apis/core/http_command.rb +312 -0
- data/lib/google/apis/core/json_representation.rb +127 -0
- data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
- data/lib/google/apis/core/multipart.rb +187 -0
- data/lib/google/apis/core/upload.rb +288 -0
- data/lib/google/{api_client → apis}/errors.rb +39 -28
- data/lib/google/apis/generator.rb +70 -0
- data/lib/google/apis/generator/annotator.rb +295 -0
- data/lib/google/apis/generator/helpers.rb +74 -0
- data/lib/google/apis/generator/model.rb +143 -0
- data/lib/google/apis/generator/template.rb +124 -0
- data/lib/google/apis/generator/templates/_class.tmpl +40 -0
- data/lib/google/apis/generator/templates/_method.tmpl +92 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
- data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
- data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
- data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
- data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
- data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
- data/lib/google/apis/options.rb +85 -0
- data/lib/google/apis/version.rb +39 -0
- data/rakelib/metrics.rake +22 -0
- data/rakelib/rubocop.rake +10 -0
- data/rakelib/spec.rake +11 -0
- data/rakelib/yard.rake +11 -0
- data/samples/Gemfile +7 -0
- data/samples/README.md +51 -0
- data/samples/google-api-samples +32 -0
- data/samples/lib/base_cli.rb +94 -0
- data/samples/lib/samples/analytics.rb +62 -0
- data/samples/lib/samples/calendar.rb +83 -0
- data/samples/lib/samples/drive.rb +82 -0
- data/samples/lib/samples/gmail.rb +50 -0
- data/samples/lib/samples/pubsub.rb +114 -0
- data/samples/lib/samples/translate.rb +44 -0
- data/samples/lib/samples/you_tube.rb +44 -0
- data/script/generate +95 -0
- data/script/package +8 -0
- data/script/release +15 -0
- data/spec/fixtures/files/api_names.yaml +3 -0
- data/spec/fixtures/files/auth_stored_credentials.json +8 -0
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/client_secrets.json +1 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/fixtures/files/test.blah +1 -0
- data/spec/fixtures/files/test.txt +1 -0
- data/spec/fixtures/files/test_api.json +440 -0
- data/spec/google/api_client/auth/storage_spec.rb +1 -3
- data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
- data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/api_command_spec.rb +209 -0
- data/spec/google/apis/core/batch_spec.rb +142 -0
- data/spec/google/apis/core/download_spec.rb +103 -0
- data/spec/google/apis/core/hashable_spec.rb +60 -0
- data/spec/google/apis/core/http_command_spec.rb +284 -0
- data/spec/google/apis/core/json_representation_spec.rb +192 -0
- data/spec/google/apis/core/service_spec.rb +247 -0
- data/spec/google/apis/core/upload_spec.rb +300 -0
- data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
- data/spec/google/apis/generator/generator_spec.rb +272 -0
- data/spec/google/apis/logging_spec.rb +45 -0
- data/spec/google/apis/options_spec.rb +40 -0
- data/spec/integration_tests/adsense_spec.rb +29 -0
- data/spec/integration_tests/drive_spec.rb +35 -0
- data/spec/integration_tests/pubsub_spec.rb +48 -0
- data/spec/integration_tests/url_shortener_spec.rb +45 -0
- data/spec/spec_helper.rb +131 -44
- data/spec/spec_helper/load_path_spec.rb +33 -0
- data/third_party/hurley_patches.rb +103 -0
- metadata +533 -170
- data/lib/compat/multi_json.rb +0 -19
- data/lib/google/api_client.rb +0 -750
- data/lib/google/api_client/auth/file_storage.rb +0 -59
- data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
- data/lib/google/api_client/auth/pkcs12.rb +0 -41
- data/lib/google/api_client/batch.rb +0 -326
- data/lib/google/api_client/charset.rb +0 -33
- data/lib/google/api_client/discovery/api.rb +0 -310
- data/lib/google/api_client/discovery/media.rb +0 -77
- data/lib/google/api_client/discovery/method.rb +0 -363
- data/lib/google/api_client/discovery/resource.rb +0 -156
- data/lib/google/api_client/discovery/schema.rb +0 -117
- data/lib/google/api_client/environment.rb +0 -42
- data/lib/google/api_client/gzip.rb +0 -28
- data/lib/google/api_client/logging.rb +0 -32
- data/lib/google/api_client/media.rb +0 -259
- data/lib/google/api_client/railtie.rb +0 -18
- data/lib/google/api_client/request.rb +0 -350
- data/lib/google/api_client/result.rb +0 -255
- data/lib/google/api_client/service.rb +0 -233
- data/lib/google/api_client/service/batch.rb +0 -110
- data/lib/google/api_client/service/request.rb +0 -144
- data/lib/google/api_client/service/resource.rb +0 -40
- data/lib/google/api_client/service/result.rb +0 -162
- data/lib/google/api_client/service/simple_file_store.rb +0 -151
- data/lib/google/api_client/service/stub_generator.rb +0 -61
- data/spec/google/api_client/batch_spec.rb +0 -248
- data/spec/google/api_client/discovery_spec.rb +0 -708
- data/spec/google/api_client/gzip_spec.rb +0 -98
- data/spec/google/api_client/media_spec.rb +0 -178
- data/spec/google/api_client/result_spec.rb +0 -207
- data/spec/google/api_client/service_account_spec.rb +0 -169
- data/spec/google/api_client/service_spec.rb +0 -618
- data/spec/google/api_client/simple_file_store_spec.rb +0 -133
- data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,52 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/tagmanager_v1/service.rb'
|
16
|
+
require 'google/apis/tagmanager_v1/classes.rb'
|
17
|
+
require 'google/apis/tagmanager_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Tag Manager API
|
22
|
+
#
|
23
|
+
# API for accessing Tag Manager accounts and containers.
|
24
|
+
#
|
25
|
+
# @see https://developers.google.com/tag-manager/api/v1/
|
26
|
+
module TagmanagerV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20151112'
|
29
|
+
|
30
|
+
# Delete your Google Tag Manager containers
|
31
|
+
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
32
|
+
|
33
|
+
# Manage your Google Tag Manager containers
|
34
|
+
AUTH_TAGMANAGER_EDIT_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.edit.containers'
|
35
|
+
|
36
|
+
# Manage your Google Tag Manager container versions
|
37
|
+
AUTH_TAGMANAGER_EDIT_CONTAINERVERSIONS = 'https://www.googleapis.com/auth/tagmanager.edit.containerversions'
|
38
|
+
|
39
|
+
# Manage your Google Tag Manager accounts
|
40
|
+
AUTH_TAGMANAGER_MANAGE_ACCOUNTS = 'https://www.googleapis.com/auth/tagmanager.manage.accounts'
|
41
|
+
|
42
|
+
# Manage user permissions of your Google Tag Manager data
|
43
|
+
AUTH_TAGMANAGER_MANAGE_USERS = 'https://www.googleapis.com/auth/tagmanager.manage.users'
|
44
|
+
|
45
|
+
# Publish your Google Tag Manager containers
|
46
|
+
AUTH_TAGMANAGER_PUBLISH = 'https://www.googleapis.com/auth/tagmanager.publish'
|
47
|
+
|
48
|
+
# View your Google Tag Manager containers
|
49
|
+
AUTH_TAGMANAGER_READONLY = 'https://www.googleapis.com/auth/tagmanager.readonly'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,1384 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module TagmanagerV1
|
24
|
+
|
25
|
+
# Represents a Google Tag Manager Account.
|
26
|
+
class Account
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# The Account ID uniquely identifies the GTM Account.
|
30
|
+
# Corresponds to the JSON property `accountId`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :account_id
|
33
|
+
|
34
|
+
# The fingerprint of the GTM Account as computed at storage time. This value is
|
35
|
+
# recomputed whenever the account is modified.
|
36
|
+
# Corresponds to the JSON property `fingerprint`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :fingerprint
|
39
|
+
|
40
|
+
# Account display name.
|
41
|
+
# Corresponds to the JSON property `name`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :name
|
44
|
+
|
45
|
+
# Whether the account shares data anonymously with Google and others.
|
46
|
+
# Corresponds to the JSON property `shareData`
|
47
|
+
# @return [Boolean]
|
48
|
+
attr_accessor :share_data
|
49
|
+
alias_method :share_data?, :share_data
|
50
|
+
|
51
|
+
def initialize(**args)
|
52
|
+
update!(**args)
|
53
|
+
end
|
54
|
+
|
55
|
+
# Update properties of this object
|
56
|
+
def update!(**args)
|
57
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
58
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
59
|
+
@name = args[:name] unless args[:name].nil?
|
60
|
+
@share_data = args[:share_data] unless args[:share_data].nil?
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# Defines the Google Tag Manager Account access permissions.
|
65
|
+
class AccountAccess
|
66
|
+
include Google::Apis::Core::Hashable
|
67
|
+
|
68
|
+
# List of Account permissions. Valid account permissions are read and manage.
|
69
|
+
# Corresponds to the JSON property `permission`
|
70
|
+
# @return [Array<String>]
|
71
|
+
attr_accessor :permission
|
72
|
+
|
73
|
+
def initialize(**args)
|
74
|
+
update!(**args)
|
75
|
+
end
|
76
|
+
|
77
|
+
# Update properties of this object
|
78
|
+
def update!(**args)
|
79
|
+
@permission = args[:permission] unless args[:permission].nil?
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# Represents a predicate.
|
84
|
+
class Condition
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# A list of named parameters (key/value), depending on the condition's type.
|
88
|
+
# Notes:
|
89
|
+
# - For binary operators, include parameters named arg0 and arg1 for specifying
|
90
|
+
# the left and right operands, respectively.
|
91
|
+
# - At this time, the left operand (arg0) must be a reference to a variable.
|
92
|
+
# - For case-insensitive Regex matching, include a boolean parameter named
|
93
|
+
# ignore_case that is set to true. If not specified or set to any other value,
|
94
|
+
# the matching will be case sensitive.
|
95
|
+
# - To negate an operator, include a boolean parameter named negate boolean
|
96
|
+
# parameter that is set to true.
|
97
|
+
# Corresponds to the JSON property `parameter`
|
98
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
99
|
+
attr_accessor :parameter
|
100
|
+
|
101
|
+
# The type of operator for this condition.
|
102
|
+
# Corresponds to the JSON property `type`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :type
|
105
|
+
|
106
|
+
def initialize(**args)
|
107
|
+
update!(**args)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Update properties of this object
|
111
|
+
def update!(**args)
|
112
|
+
@parameter = args[:parameter] unless args[:parameter].nil?
|
113
|
+
@type = args[:type] unless args[:type].nil?
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# Represents a Google Tag Manager Container.
|
118
|
+
class Container
|
119
|
+
include Google::Apis::Core::Hashable
|
120
|
+
|
121
|
+
# GTM Account ID.
|
122
|
+
# Corresponds to the JSON property `accountId`
|
123
|
+
# @return [String]
|
124
|
+
attr_accessor :account_id
|
125
|
+
|
126
|
+
# The Container ID uniquely identifies the GTM Container.
|
127
|
+
# Corresponds to the JSON property `containerId`
|
128
|
+
# @return [String]
|
129
|
+
attr_accessor :container_id
|
130
|
+
|
131
|
+
# Optional list of domain names associated with the Container.
|
132
|
+
# Corresponds to the JSON property `domainName`
|
133
|
+
# @return [Array<String>]
|
134
|
+
attr_accessor :domain_name
|
135
|
+
|
136
|
+
# List of enabled built-in variables. Valid values include: pageUrl,
|
137
|
+
# pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId,
|
138
|
+
# clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget,
|
139
|
+
# formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment,
|
140
|
+
# oldHistoryFragment, newHistoryState, oldHistoryState, historySource,
|
141
|
+
# containerVersion, debugMode, randomNumber, containerId.
|
142
|
+
# Corresponds to the JSON property `enabledBuiltInVariable`
|
143
|
+
# @return [Array<String>]
|
144
|
+
attr_accessor :enabled_built_in_variable
|
145
|
+
|
146
|
+
# The fingerprint of the GTM Container as computed at storage time. This value
|
147
|
+
# is recomputed whenever the account is modified.
|
148
|
+
# Corresponds to the JSON property `fingerprint`
|
149
|
+
# @return [String]
|
150
|
+
attr_accessor :fingerprint
|
151
|
+
|
152
|
+
# Container display name.
|
153
|
+
# Corresponds to the JSON property `name`
|
154
|
+
# @return [String]
|
155
|
+
attr_accessor :name
|
156
|
+
|
157
|
+
# Container Notes.
|
158
|
+
# Corresponds to the JSON property `notes`
|
159
|
+
# @return [String]
|
160
|
+
attr_accessor :notes
|
161
|
+
|
162
|
+
# Container Public ID.
|
163
|
+
# Corresponds to the JSON property `publicId`
|
164
|
+
# @return [String]
|
165
|
+
attr_accessor :public_id
|
166
|
+
|
167
|
+
# Container Country ID.
|
168
|
+
# Corresponds to the JSON property `timeZoneCountryId`
|
169
|
+
# @return [String]
|
170
|
+
attr_accessor :time_zone_country_id
|
171
|
+
|
172
|
+
# Container Time Zone ID.
|
173
|
+
# Corresponds to the JSON property `timeZoneId`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :time_zone_id
|
176
|
+
|
177
|
+
# List of Usage Contexts for the Container. Valid values include: web, android,
|
178
|
+
# ios.
|
179
|
+
# Corresponds to the JSON property `usageContext`
|
180
|
+
# @return [Array<String>]
|
181
|
+
attr_accessor :usage_context
|
182
|
+
|
183
|
+
def initialize(**args)
|
184
|
+
update!(**args)
|
185
|
+
end
|
186
|
+
|
187
|
+
# Update properties of this object
|
188
|
+
def update!(**args)
|
189
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
190
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
191
|
+
@domain_name = args[:domain_name] unless args[:domain_name].nil?
|
192
|
+
@enabled_built_in_variable = args[:enabled_built_in_variable] unless args[:enabled_built_in_variable].nil?
|
193
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
194
|
+
@name = args[:name] unless args[:name].nil?
|
195
|
+
@notes = args[:notes] unless args[:notes].nil?
|
196
|
+
@public_id = args[:public_id] unless args[:public_id].nil?
|
197
|
+
@time_zone_country_id = args[:time_zone_country_id] unless args[:time_zone_country_id].nil?
|
198
|
+
@time_zone_id = args[:time_zone_id] unless args[:time_zone_id].nil?
|
199
|
+
@usage_context = args[:usage_context] unless args[:usage_context].nil?
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# Defines the Google Tag Manager Container access permissions.
|
204
|
+
class ContainerAccess
|
205
|
+
include Google::Apis::Core::Hashable
|
206
|
+
|
207
|
+
# GTM Container ID.
|
208
|
+
# Corresponds to the JSON property `containerId`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :container_id
|
211
|
+
|
212
|
+
# List of Container permissions. Valid container permissions are: read, edit,
|
213
|
+
# delete, publish.
|
214
|
+
# Corresponds to the JSON property `permission`
|
215
|
+
# @return [Array<String>]
|
216
|
+
attr_accessor :permission
|
217
|
+
|
218
|
+
def initialize(**args)
|
219
|
+
update!(**args)
|
220
|
+
end
|
221
|
+
|
222
|
+
# Update properties of this object
|
223
|
+
def update!(**args)
|
224
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
225
|
+
@permission = args[:permission] unless args[:permission].nil?
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# Represents a Google Tag Manager Container Version.
|
230
|
+
class ContainerVersion
|
231
|
+
include Google::Apis::Core::Hashable
|
232
|
+
|
233
|
+
# GTM Account ID.
|
234
|
+
# Corresponds to the JSON property `accountId`
|
235
|
+
# @return [String]
|
236
|
+
attr_accessor :account_id
|
237
|
+
|
238
|
+
# Represents a Google Tag Manager Container.
|
239
|
+
# Corresponds to the JSON property `container`
|
240
|
+
# @return [Google::Apis::TagmanagerV1::Container]
|
241
|
+
attr_accessor :container
|
242
|
+
|
243
|
+
# GTM Container ID.
|
244
|
+
# Corresponds to the JSON property `containerId`
|
245
|
+
# @return [String]
|
246
|
+
attr_accessor :container_id
|
247
|
+
|
248
|
+
# The Container Version ID uniquely identifies the GTM Container Version.
|
249
|
+
# Corresponds to the JSON property `containerVersionId`
|
250
|
+
# @return [String]
|
251
|
+
attr_accessor :container_version_id
|
252
|
+
|
253
|
+
# A value of true indicates this container version has been deleted.
|
254
|
+
# Corresponds to the JSON property `deleted`
|
255
|
+
# @return [Boolean]
|
256
|
+
attr_accessor :deleted
|
257
|
+
alias_method :deleted?, :deleted
|
258
|
+
|
259
|
+
# The fingerprint of the GTM Container Version as computed at storage time. This
|
260
|
+
# value is recomputed whenever the container version is modified.
|
261
|
+
# Corresponds to the JSON property `fingerprint`
|
262
|
+
# @return [String]
|
263
|
+
attr_accessor :fingerprint
|
264
|
+
|
265
|
+
# The folders in the container that this version was taken from.
|
266
|
+
# Corresponds to the JSON property `folder`
|
267
|
+
# @return [Array<Google::Apis::TagmanagerV1::Folder>]
|
268
|
+
attr_accessor :folder
|
269
|
+
|
270
|
+
# The macros in the container that this version was taken from.
|
271
|
+
# Corresponds to the JSON property `macro`
|
272
|
+
# @return [Array<Google::Apis::TagmanagerV1::Macro>]
|
273
|
+
attr_accessor :macro
|
274
|
+
|
275
|
+
# Container version display name.
|
276
|
+
# Corresponds to the JSON property `name`
|
277
|
+
# @return [String]
|
278
|
+
attr_accessor :name
|
279
|
+
|
280
|
+
# User notes on how to apply this container version in the container.
|
281
|
+
# Corresponds to the JSON property `notes`
|
282
|
+
# @return [String]
|
283
|
+
attr_accessor :notes
|
284
|
+
|
285
|
+
# The rules in the container that this version was taken from.
|
286
|
+
# Corresponds to the JSON property `rule`
|
287
|
+
# @return [Array<Google::Apis::TagmanagerV1::Rule>]
|
288
|
+
attr_accessor :rule
|
289
|
+
|
290
|
+
# The tags in the container that this version was taken from.
|
291
|
+
# Corresponds to the JSON property `tag`
|
292
|
+
# @return [Array<Google::Apis::TagmanagerV1::Tag>]
|
293
|
+
attr_accessor :tag
|
294
|
+
|
295
|
+
# The triggers in the container that this version was taken from.
|
296
|
+
# Corresponds to the JSON property `trigger`
|
297
|
+
# @return [Array<Google::Apis::TagmanagerV1::Trigger>]
|
298
|
+
attr_accessor :trigger
|
299
|
+
|
300
|
+
# The variables in the container that this version was taken from.
|
301
|
+
# Corresponds to the JSON property `variable`
|
302
|
+
# @return [Array<Google::Apis::TagmanagerV1::Variable>]
|
303
|
+
attr_accessor :variable
|
304
|
+
|
305
|
+
def initialize(**args)
|
306
|
+
update!(**args)
|
307
|
+
end
|
308
|
+
|
309
|
+
# Update properties of this object
|
310
|
+
def update!(**args)
|
311
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
312
|
+
@container = args[:container] unless args[:container].nil?
|
313
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
314
|
+
@container_version_id = args[:container_version_id] unless args[:container_version_id].nil?
|
315
|
+
@deleted = args[:deleted] unless args[:deleted].nil?
|
316
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
317
|
+
@folder = args[:folder] unless args[:folder].nil?
|
318
|
+
@macro = args[:macro] unless args[:macro].nil?
|
319
|
+
@name = args[:name] unless args[:name].nil?
|
320
|
+
@notes = args[:notes] unless args[:notes].nil?
|
321
|
+
@rule = args[:rule] unless args[:rule].nil?
|
322
|
+
@tag = args[:tag] unless args[:tag].nil?
|
323
|
+
@trigger = args[:trigger] unless args[:trigger].nil?
|
324
|
+
@variable = args[:variable] unless args[:variable].nil?
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
# Represents a Google Tag Manager Container Version Header.
|
329
|
+
class ContainerVersionHeader
|
330
|
+
include Google::Apis::Core::Hashable
|
331
|
+
|
332
|
+
# GTM Account ID.
|
333
|
+
# Corresponds to the JSON property `accountId`
|
334
|
+
# @return [String]
|
335
|
+
attr_accessor :account_id
|
336
|
+
|
337
|
+
# GTM Container ID.
|
338
|
+
# Corresponds to the JSON property `containerId`
|
339
|
+
# @return [String]
|
340
|
+
attr_accessor :container_id
|
341
|
+
|
342
|
+
# The Container Version ID uniquely identifies the GTM Container Version.
|
343
|
+
# Corresponds to the JSON property `containerVersionId`
|
344
|
+
# @return [String]
|
345
|
+
attr_accessor :container_version_id
|
346
|
+
|
347
|
+
# A value of true indicates this container version has been deleted.
|
348
|
+
# Corresponds to the JSON property `deleted`
|
349
|
+
# @return [Boolean]
|
350
|
+
attr_accessor :deleted
|
351
|
+
alias_method :deleted?, :deleted
|
352
|
+
|
353
|
+
# Container version display name.
|
354
|
+
# Corresponds to the JSON property `name`
|
355
|
+
# @return [String]
|
356
|
+
attr_accessor :name
|
357
|
+
|
358
|
+
# Number of macros in the container version.
|
359
|
+
# Corresponds to the JSON property `numMacros`
|
360
|
+
# @return [String]
|
361
|
+
attr_accessor :num_macros
|
362
|
+
|
363
|
+
# Number of rules in the container version.
|
364
|
+
# Corresponds to the JSON property `numRules`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :num_rules
|
367
|
+
|
368
|
+
# Number of tags in the container version.
|
369
|
+
# Corresponds to the JSON property `numTags`
|
370
|
+
# @return [String]
|
371
|
+
attr_accessor :num_tags
|
372
|
+
|
373
|
+
# Number of triggers in the container version.
|
374
|
+
# Corresponds to the JSON property `numTriggers`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :num_triggers
|
377
|
+
|
378
|
+
# Number of variables in the container version.
|
379
|
+
# Corresponds to the JSON property `numVariables`
|
380
|
+
# @return [String]
|
381
|
+
attr_accessor :num_variables
|
382
|
+
|
383
|
+
def initialize(**args)
|
384
|
+
update!(**args)
|
385
|
+
end
|
386
|
+
|
387
|
+
# Update properties of this object
|
388
|
+
def update!(**args)
|
389
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
390
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
391
|
+
@container_version_id = args[:container_version_id] unless args[:container_version_id].nil?
|
392
|
+
@deleted = args[:deleted] unless args[:deleted].nil?
|
393
|
+
@name = args[:name] unless args[:name].nil?
|
394
|
+
@num_macros = args[:num_macros] unless args[:num_macros].nil?
|
395
|
+
@num_rules = args[:num_rules] unless args[:num_rules].nil?
|
396
|
+
@num_tags = args[:num_tags] unless args[:num_tags].nil?
|
397
|
+
@num_triggers = args[:num_triggers] unless args[:num_triggers].nil?
|
398
|
+
@num_variables = args[:num_variables] unless args[:num_variables].nil?
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
# Options for new container versions.
|
403
|
+
class CreateContainerVersionRequestVersionOptions
|
404
|
+
include Google::Apis::Core::Hashable
|
405
|
+
|
406
|
+
# The name of the container version to be created.
|
407
|
+
# Corresponds to the JSON property `name`
|
408
|
+
# @return [String]
|
409
|
+
attr_accessor :name
|
410
|
+
|
411
|
+
# The notes of the container version to be created.
|
412
|
+
# Corresponds to the JSON property `notes`
|
413
|
+
# @return [String]
|
414
|
+
attr_accessor :notes
|
415
|
+
|
416
|
+
# The creation of this version may be for quick preview and shouldn't be saved.
|
417
|
+
# Corresponds to the JSON property `quickPreview`
|
418
|
+
# @return [Boolean]
|
419
|
+
attr_accessor :quick_preview
|
420
|
+
alias_method :quick_preview?, :quick_preview
|
421
|
+
|
422
|
+
def initialize(**args)
|
423
|
+
update!(**args)
|
424
|
+
end
|
425
|
+
|
426
|
+
# Update properties of this object
|
427
|
+
def update!(**args)
|
428
|
+
@name = args[:name] unless args[:name].nil?
|
429
|
+
@notes = args[:notes] unless args[:notes].nil?
|
430
|
+
@quick_preview = args[:quick_preview] unless args[:quick_preview].nil?
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
# Create container versions response.
|
435
|
+
class CreateContainerVersionResponse
|
436
|
+
include Google::Apis::Core::Hashable
|
437
|
+
|
438
|
+
# Compiler errors or not.
|
439
|
+
# Corresponds to the JSON property `compilerError`
|
440
|
+
# @return [Boolean]
|
441
|
+
attr_accessor :compiler_error
|
442
|
+
alias_method :compiler_error?, :compiler_error
|
443
|
+
|
444
|
+
# Represents a Google Tag Manager Container Version.
|
445
|
+
# Corresponds to the JSON property `containerVersion`
|
446
|
+
# @return [Google::Apis::TagmanagerV1::ContainerVersion]
|
447
|
+
attr_accessor :container_version
|
448
|
+
|
449
|
+
def initialize(**args)
|
450
|
+
update!(**args)
|
451
|
+
end
|
452
|
+
|
453
|
+
# Update properties of this object
|
454
|
+
def update!(**args)
|
455
|
+
@compiler_error = args[:compiler_error] unless args[:compiler_error].nil?
|
456
|
+
@container_version = args[:container_version] unless args[:container_version].nil?
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# Represents a Google Tag Manager Folder.
|
461
|
+
class Folder
|
462
|
+
include Google::Apis::Core::Hashable
|
463
|
+
|
464
|
+
# GTM Account ID.
|
465
|
+
# Corresponds to the JSON property `accountId`
|
466
|
+
# @return [String]
|
467
|
+
attr_accessor :account_id
|
468
|
+
|
469
|
+
# GTM Container ID.
|
470
|
+
# Corresponds to the JSON property `containerId`
|
471
|
+
# @return [String]
|
472
|
+
attr_accessor :container_id
|
473
|
+
|
474
|
+
# The fingerprint of the GTM Folder as computed at storage time. This value is
|
475
|
+
# recomputed whenever the folder is modified.
|
476
|
+
# Corresponds to the JSON property `fingerprint`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :fingerprint
|
479
|
+
|
480
|
+
# The Folder ID uniquely identifies the GTM Folder.
|
481
|
+
# Corresponds to the JSON property `folderId`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :folder_id
|
484
|
+
|
485
|
+
# Folder display name.
|
486
|
+
# Corresponds to the JSON property `name`
|
487
|
+
# @return [String]
|
488
|
+
attr_accessor :name
|
489
|
+
|
490
|
+
def initialize(**args)
|
491
|
+
update!(**args)
|
492
|
+
end
|
493
|
+
|
494
|
+
# Update properties of this object
|
495
|
+
def update!(**args)
|
496
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
497
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
498
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
499
|
+
@folder_id = args[:folder_id] unless args[:folder_id].nil?
|
500
|
+
@name = args[:name] unless args[:name].nil?
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
# Represents a Google Tag Manager Folder's contents.
|
505
|
+
class FolderEntities
|
506
|
+
include Google::Apis::Core::Hashable
|
507
|
+
|
508
|
+
# The list of tags inside the folder.
|
509
|
+
# Corresponds to the JSON property `tag`
|
510
|
+
# @return [Array<Google::Apis::TagmanagerV1::Tag>]
|
511
|
+
attr_accessor :tag
|
512
|
+
|
513
|
+
# The list of triggers inside the folder.
|
514
|
+
# Corresponds to the JSON property `trigger`
|
515
|
+
# @return [Array<Google::Apis::TagmanagerV1::Trigger>]
|
516
|
+
attr_accessor :trigger
|
517
|
+
|
518
|
+
# The list of variables inside the folder.
|
519
|
+
# Corresponds to the JSON property `variable`
|
520
|
+
# @return [Array<Google::Apis::TagmanagerV1::Variable>]
|
521
|
+
attr_accessor :variable
|
522
|
+
|
523
|
+
def initialize(**args)
|
524
|
+
update!(**args)
|
525
|
+
end
|
526
|
+
|
527
|
+
# Update properties of this object
|
528
|
+
def update!(**args)
|
529
|
+
@tag = args[:tag] unless args[:tag].nil?
|
530
|
+
@trigger = args[:trigger] unless args[:trigger].nil?
|
531
|
+
@variable = args[:variable] unless args[:variable].nil?
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
# List AccountUsers Response.
|
536
|
+
class ListAccountUsersResponse
|
537
|
+
include Google::Apis::Core::Hashable
|
538
|
+
|
539
|
+
# All GTM AccountUsers of a GTM Account.
|
540
|
+
# Corresponds to the JSON property `userAccess`
|
541
|
+
# @return [Array<Google::Apis::TagmanagerV1::UserAccess>]
|
542
|
+
attr_accessor :user_access
|
543
|
+
|
544
|
+
def initialize(**args)
|
545
|
+
update!(**args)
|
546
|
+
end
|
547
|
+
|
548
|
+
# Update properties of this object
|
549
|
+
def update!(**args)
|
550
|
+
@user_access = args[:user_access] unless args[:user_access].nil?
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
554
|
+
# List Accounts Response.
|
555
|
+
class ListAccountsResponse
|
556
|
+
include Google::Apis::Core::Hashable
|
557
|
+
|
558
|
+
# List of GTM Accounts that a user has access to.
|
559
|
+
# Corresponds to the JSON property `accounts`
|
560
|
+
# @return [Array<Google::Apis::TagmanagerV1::Account>]
|
561
|
+
attr_accessor :accounts
|
562
|
+
|
563
|
+
def initialize(**args)
|
564
|
+
update!(**args)
|
565
|
+
end
|
566
|
+
|
567
|
+
# Update properties of this object
|
568
|
+
def update!(**args)
|
569
|
+
@accounts = args[:accounts] unless args[:accounts].nil?
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
573
|
+
# List container versions response.
|
574
|
+
class ListContainerVersionsResponse
|
575
|
+
include Google::Apis::Core::Hashable
|
576
|
+
|
577
|
+
# All versions of a GTM Container.
|
578
|
+
# Corresponds to the JSON property `containerVersion`
|
579
|
+
# @return [Array<Google::Apis::TagmanagerV1::ContainerVersion>]
|
580
|
+
attr_accessor :container_version
|
581
|
+
|
582
|
+
# All container version headers of a GTM Container.
|
583
|
+
# Corresponds to the JSON property `containerVersionHeader`
|
584
|
+
# @return [Array<Google::Apis::TagmanagerV1::ContainerVersionHeader>]
|
585
|
+
attr_accessor :container_version_header
|
586
|
+
|
587
|
+
def initialize(**args)
|
588
|
+
update!(**args)
|
589
|
+
end
|
590
|
+
|
591
|
+
# Update properties of this object
|
592
|
+
def update!(**args)
|
593
|
+
@container_version = args[:container_version] unless args[:container_version].nil?
|
594
|
+
@container_version_header = args[:container_version_header] unless args[:container_version_header].nil?
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
598
|
+
# List Containers Response.
|
599
|
+
class ListContainersResponse
|
600
|
+
include Google::Apis::Core::Hashable
|
601
|
+
|
602
|
+
# All Containers of a GTM Account.
|
603
|
+
# Corresponds to the JSON property `containers`
|
604
|
+
# @return [Array<Google::Apis::TagmanagerV1::Container>]
|
605
|
+
attr_accessor :containers
|
606
|
+
|
607
|
+
def initialize(**args)
|
608
|
+
update!(**args)
|
609
|
+
end
|
610
|
+
|
611
|
+
# Update properties of this object
|
612
|
+
def update!(**args)
|
613
|
+
@containers = args[:containers] unless args[:containers].nil?
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
617
|
+
# List Folders Response.
|
618
|
+
class ListFoldersResponse
|
619
|
+
include Google::Apis::Core::Hashable
|
620
|
+
|
621
|
+
# All GTM Folders of a GTM Container.
|
622
|
+
# Corresponds to the JSON property `folders`
|
623
|
+
# @return [Array<Google::Apis::TagmanagerV1::Folder>]
|
624
|
+
attr_accessor :folders
|
625
|
+
|
626
|
+
def initialize(**args)
|
627
|
+
update!(**args)
|
628
|
+
end
|
629
|
+
|
630
|
+
# Update properties of this object
|
631
|
+
def update!(**args)
|
632
|
+
@folders = args[:folders] unless args[:folders].nil?
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# List Tags Response.
|
637
|
+
class ListTagsResponse
|
638
|
+
include Google::Apis::Core::Hashable
|
639
|
+
|
640
|
+
# All GTM Tags of a GTM Container.
|
641
|
+
# Corresponds to the JSON property `tags`
|
642
|
+
# @return [Array<Google::Apis::TagmanagerV1::Tag>]
|
643
|
+
attr_accessor :tags
|
644
|
+
|
645
|
+
def initialize(**args)
|
646
|
+
update!(**args)
|
647
|
+
end
|
648
|
+
|
649
|
+
# Update properties of this object
|
650
|
+
def update!(**args)
|
651
|
+
@tags = args[:tags] unless args[:tags].nil?
|
652
|
+
end
|
653
|
+
end
|
654
|
+
|
655
|
+
# List triggers response.
|
656
|
+
class ListTriggersResponse
|
657
|
+
include Google::Apis::Core::Hashable
|
658
|
+
|
659
|
+
# All GTM Triggers of a GTM Container.
|
660
|
+
# Corresponds to the JSON property `triggers`
|
661
|
+
# @return [Array<Google::Apis::TagmanagerV1::Trigger>]
|
662
|
+
attr_accessor :triggers
|
663
|
+
|
664
|
+
def initialize(**args)
|
665
|
+
update!(**args)
|
666
|
+
end
|
667
|
+
|
668
|
+
# Update properties of this object
|
669
|
+
def update!(**args)
|
670
|
+
@triggers = args[:triggers] unless args[:triggers].nil?
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
# List Variables Response.
|
675
|
+
class ListVariablesResponse
|
676
|
+
include Google::Apis::Core::Hashable
|
677
|
+
|
678
|
+
# All GTM Variables of a GTM Container.
|
679
|
+
# Corresponds to the JSON property `variables`
|
680
|
+
# @return [Array<Google::Apis::TagmanagerV1::Variable>]
|
681
|
+
attr_accessor :variables
|
682
|
+
|
683
|
+
def initialize(**args)
|
684
|
+
update!(**args)
|
685
|
+
end
|
686
|
+
|
687
|
+
# Update properties of this object
|
688
|
+
def update!(**args)
|
689
|
+
@variables = args[:variables] unless args[:variables].nil?
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
# Represents a Google Tag Manager Macro.
|
694
|
+
class Macro
|
695
|
+
include Google::Apis::Core::Hashable
|
696
|
+
|
697
|
+
# GTM Account ID.
|
698
|
+
# Corresponds to the JSON property `accountId`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :account_id
|
701
|
+
|
702
|
+
# GTM Container ID.
|
703
|
+
# Corresponds to the JSON property `containerId`
|
704
|
+
# @return [String]
|
705
|
+
attr_accessor :container_id
|
706
|
+
|
707
|
+
# For mobile containers only: A list of rule IDs for disabling conditional
|
708
|
+
# macros; the macro is enabled if one of the enabling rules is true while all
|
709
|
+
# the disabling rules are false. Treated as an unordered set.
|
710
|
+
# Corresponds to the JSON property `disablingRuleId`
|
711
|
+
# @return [Array<String>]
|
712
|
+
attr_accessor :disabling_rule_id
|
713
|
+
|
714
|
+
# For mobile containers only: A list of rule IDs for enabling conditional macros;
|
715
|
+
# the macro is enabled if one of the enabling rules is true while all the
|
716
|
+
# disabling rules are false. Treated as an unordered set.
|
717
|
+
# Corresponds to the JSON property `enablingRuleId`
|
718
|
+
# @return [Array<String>]
|
719
|
+
attr_accessor :enabling_rule_id
|
720
|
+
|
721
|
+
# The fingerprint of the GTM Macro as computed at storage time. This value is
|
722
|
+
# recomputed whenever the macro is modified.
|
723
|
+
# Corresponds to the JSON property `fingerprint`
|
724
|
+
# @return [String]
|
725
|
+
attr_accessor :fingerprint
|
726
|
+
|
727
|
+
# The Macro ID uniquely identifies the GTM Macro.
|
728
|
+
# Corresponds to the JSON property `macroId`
|
729
|
+
# @return [String]
|
730
|
+
attr_accessor :macro_id
|
731
|
+
|
732
|
+
# Macro display name.
|
733
|
+
# Corresponds to the JSON property `name`
|
734
|
+
# @return [String]
|
735
|
+
attr_accessor :name
|
736
|
+
|
737
|
+
# User notes on how to apply this macro in the container.
|
738
|
+
# Corresponds to the JSON property `notes`
|
739
|
+
# @return [String]
|
740
|
+
attr_accessor :notes
|
741
|
+
|
742
|
+
# The macro's parameters.
|
743
|
+
# Corresponds to the JSON property `parameter`
|
744
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
745
|
+
attr_accessor :parameter
|
746
|
+
|
747
|
+
# Parent folder id.
|
748
|
+
# Corresponds to the JSON property `parentFolderId`
|
749
|
+
# @return [String]
|
750
|
+
attr_accessor :parent_folder_id
|
751
|
+
|
752
|
+
# The end timestamp in milliseconds to schedule a macro.
|
753
|
+
# Corresponds to the JSON property `scheduleEndMs`
|
754
|
+
# @return [String]
|
755
|
+
attr_accessor :schedule_end_ms
|
756
|
+
|
757
|
+
# The start timestamp in milliseconds to schedule a macro.
|
758
|
+
# Corresponds to the JSON property `scheduleStartMs`
|
759
|
+
# @return [String]
|
760
|
+
attr_accessor :schedule_start_ms
|
761
|
+
|
762
|
+
# GTM Macro Type.
|
763
|
+
# Corresponds to the JSON property `type`
|
764
|
+
# @return [String]
|
765
|
+
attr_accessor :type
|
766
|
+
|
767
|
+
def initialize(**args)
|
768
|
+
update!(**args)
|
769
|
+
end
|
770
|
+
|
771
|
+
# Update properties of this object
|
772
|
+
def update!(**args)
|
773
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
774
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
775
|
+
@disabling_rule_id = args[:disabling_rule_id] unless args[:disabling_rule_id].nil?
|
776
|
+
@enabling_rule_id = args[:enabling_rule_id] unless args[:enabling_rule_id].nil?
|
777
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
778
|
+
@macro_id = args[:macro_id] unless args[:macro_id].nil?
|
779
|
+
@name = args[:name] unless args[:name].nil?
|
780
|
+
@notes = args[:notes] unless args[:notes].nil?
|
781
|
+
@parameter = args[:parameter] unless args[:parameter].nil?
|
782
|
+
@parent_folder_id = args[:parent_folder_id] unless args[:parent_folder_id].nil?
|
783
|
+
@schedule_end_ms = args[:schedule_end_ms] unless args[:schedule_end_ms].nil?
|
784
|
+
@schedule_start_ms = args[:schedule_start_ms] unless args[:schedule_start_ms].nil?
|
785
|
+
@type = args[:type] unless args[:type].nil?
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
789
|
+
# Represents a Google Tag Manager Parameter.
|
790
|
+
class Parameter
|
791
|
+
include Google::Apis::Core::Hashable
|
792
|
+
|
793
|
+
# The named key that uniquely identifies a parameter. Required for top-level
|
794
|
+
# parameters, as well as map values. Ignored for list values.
|
795
|
+
# Corresponds to the JSON property `key`
|
796
|
+
# @return [String]
|
797
|
+
attr_accessor :key
|
798
|
+
|
799
|
+
# This list parameter's parameters (keys will be ignored).
|
800
|
+
# Corresponds to the JSON property `list`
|
801
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
802
|
+
attr_accessor :list
|
803
|
+
|
804
|
+
# This map parameter's parameters (must have keys; keys must be unique).
|
805
|
+
# Corresponds to the JSON property `map`
|
806
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
807
|
+
attr_accessor :map
|
808
|
+
|
809
|
+
# The parameter type. Valid values are:
|
810
|
+
# - boolean: The value represents a boolean, represented as 'true' or 'false'
|
811
|
+
# - integer: The value represents a 64-bit signed integer value, in base 10
|
812
|
+
# - list: A list of parameters should be specified
|
813
|
+
# - map: A map of parameters should be specified
|
814
|
+
# - template: The value represents any text; this can include variable
|
815
|
+
# references (even variable references that might return non-string types)
|
816
|
+
# Corresponds to the JSON property `type`
|
817
|
+
# @return [String]
|
818
|
+
attr_accessor :type
|
819
|
+
|
820
|
+
# A parameter's value (may contain variable references such as "``myVariable``")
|
821
|
+
# as appropriate to the specified type.
|
822
|
+
# Corresponds to the JSON property `value`
|
823
|
+
# @return [String]
|
824
|
+
attr_accessor :value
|
825
|
+
|
826
|
+
def initialize(**args)
|
827
|
+
update!(**args)
|
828
|
+
end
|
829
|
+
|
830
|
+
# Update properties of this object
|
831
|
+
def update!(**args)
|
832
|
+
@key = args[:key] unless args[:key].nil?
|
833
|
+
@list = args[:list] unless args[:list].nil?
|
834
|
+
@map = args[:map] unless args[:map].nil?
|
835
|
+
@type = args[:type] unless args[:type].nil?
|
836
|
+
@value = args[:value] unless args[:value].nil?
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
# Publish container version response.
|
841
|
+
class PublishContainerVersionResponse
|
842
|
+
include Google::Apis::Core::Hashable
|
843
|
+
|
844
|
+
# Compiler errors or not.
|
845
|
+
# Corresponds to the JSON property `compilerError`
|
846
|
+
# @return [Boolean]
|
847
|
+
attr_accessor :compiler_error
|
848
|
+
alias_method :compiler_error?, :compiler_error
|
849
|
+
|
850
|
+
# Represents a Google Tag Manager Container Version.
|
851
|
+
# Corresponds to the JSON property `containerVersion`
|
852
|
+
# @return [Google::Apis::TagmanagerV1::ContainerVersion]
|
853
|
+
attr_accessor :container_version
|
854
|
+
|
855
|
+
def initialize(**args)
|
856
|
+
update!(**args)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Update properties of this object
|
860
|
+
def update!(**args)
|
861
|
+
@compiler_error = args[:compiler_error] unless args[:compiler_error].nil?
|
862
|
+
@container_version = args[:container_version] unless args[:container_version].nil?
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
866
|
+
# Represents a Google Tag Manager Rule.
|
867
|
+
class Rule
|
868
|
+
include Google::Apis::Core::Hashable
|
869
|
+
|
870
|
+
# GTM Account ID.
|
871
|
+
# Corresponds to the JSON property `accountId`
|
872
|
+
# @return [String]
|
873
|
+
attr_accessor :account_id
|
874
|
+
|
875
|
+
# The list of conditions that make up this rule (implicit AND between them).
|
876
|
+
# Corresponds to the JSON property `condition`
|
877
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
878
|
+
attr_accessor :condition
|
879
|
+
|
880
|
+
# GTM Container ID.
|
881
|
+
# Corresponds to the JSON property `containerId`
|
882
|
+
# @return [String]
|
883
|
+
attr_accessor :container_id
|
884
|
+
|
885
|
+
# The fingerprint of the GTM Rule as computed at storage time. This value is
|
886
|
+
# recomputed whenever the rule is modified.
|
887
|
+
# Corresponds to the JSON property `fingerprint`
|
888
|
+
# @return [String]
|
889
|
+
attr_accessor :fingerprint
|
890
|
+
|
891
|
+
# Rule display name.
|
892
|
+
# Corresponds to the JSON property `name`
|
893
|
+
# @return [String]
|
894
|
+
attr_accessor :name
|
895
|
+
|
896
|
+
# User notes on how to apply this rule in the container.
|
897
|
+
# Corresponds to the JSON property `notes`
|
898
|
+
# @return [String]
|
899
|
+
attr_accessor :notes
|
900
|
+
|
901
|
+
# The Rule ID uniquely identifies the GTM Rule.
|
902
|
+
# Corresponds to the JSON property `ruleId`
|
903
|
+
# @return [String]
|
904
|
+
attr_accessor :rule_id
|
905
|
+
|
906
|
+
def initialize(**args)
|
907
|
+
update!(**args)
|
908
|
+
end
|
909
|
+
|
910
|
+
# Update properties of this object
|
911
|
+
def update!(**args)
|
912
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
913
|
+
@condition = args[:condition] unless args[:condition].nil?
|
914
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
915
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
916
|
+
@name = args[:name] unless args[:name].nil?
|
917
|
+
@notes = args[:notes] unless args[:notes].nil?
|
918
|
+
@rule_id = args[:rule_id] unless args[:rule_id].nil?
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
922
|
+
#
|
923
|
+
class SetupTag
|
924
|
+
include Google::Apis::Core::Hashable
|
925
|
+
|
926
|
+
# If true, fire the main tag if and only if the setup tag fires successfully. If
|
927
|
+
# false, fire the main tag regardless of setup tag firing status.
|
928
|
+
# Corresponds to the JSON property `stopOnSetupFailure`
|
929
|
+
# @return [Boolean]
|
930
|
+
attr_accessor :stop_on_setup_failure
|
931
|
+
alias_method :stop_on_setup_failure?, :stop_on_setup_failure
|
932
|
+
|
933
|
+
# The name of the setup tag.
|
934
|
+
# Corresponds to the JSON property `tagName`
|
935
|
+
# @return [String]
|
936
|
+
attr_accessor :tag_name
|
937
|
+
|
938
|
+
def initialize(**args)
|
939
|
+
update!(**args)
|
940
|
+
end
|
941
|
+
|
942
|
+
# Update properties of this object
|
943
|
+
def update!(**args)
|
944
|
+
@stop_on_setup_failure = args[:stop_on_setup_failure] unless args[:stop_on_setup_failure].nil?
|
945
|
+
@tag_name = args[:tag_name] unless args[:tag_name].nil?
|
946
|
+
end
|
947
|
+
end
|
948
|
+
|
949
|
+
# Represents a Google Tag Manager Tag.
|
950
|
+
class Tag
|
951
|
+
include Google::Apis::Core::Hashable
|
952
|
+
|
953
|
+
# GTM Account ID.
|
954
|
+
# Corresponds to the JSON property `accountId`
|
955
|
+
# @return [String]
|
956
|
+
attr_accessor :account_id
|
957
|
+
|
958
|
+
# Blocking rule IDs. If any of the listed rules evaluate to true, the tag will
|
959
|
+
# not fire.
|
960
|
+
# Corresponds to the JSON property `blockingRuleId`
|
961
|
+
# @return [Array<String>]
|
962
|
+
attr_accessor :blocking_rule_id
|
963
|
+
|
964
|
+
# Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag
|
965
|
+
# will not fire.
|
966
|
+
# Corresponds to the JSON property `blockingTriggerId`
|
967
|
+
# @return [Array<String>]
|
968
|
+
attr_accessor :blocking_trigger_id
|
969
|
+
|
970
|
+
# GTM Container ID.
|
971
|
+
# Corresponds to the JSON property `containerId`
|
972
|
+
# @return [String]
|
973
|
+
attr_accessor :container_id
|
974
|
+
|
975
|
+
# The fingerprint of the GTM Tag as computed at storage time. This value is
|
976
|
+
# recomputed whenever the tag is modified.
|
977
|
+
# Corresponds to the JSON property `fingerprint`
|
978
|
+
# @return [String]
|
979
|
+
attr_accessor :fingerprint
|
980
|
+
|
981
|
+
# Firing rule IDs. A tag will fire when any of the listed rules are true and all
|
982
|
+
# of its blockingRuleIds (if any specified) are false.
|
983
|
+
# Corresponds to the JSON property `firingRuleId`
|
984
|
+
# @return [Array<String>]
|
985
|
+
attr_accessor :firing_rule_id
|
986
|
+
|
987
|
+
# Firing trigger IDs. A tag will fire when any of the listed triggers are true
|
988
|
+
# and all of its blockingTriggerIds (if any specified) are false.
|
989
|
+
# Corresponds to the JSON property `firingTriggerId`
|
990
|
+
# @return [Array<String>]
|
991
|
+
attr_accessor :firing_trigger_id
|
992
|
+
|
993
|
+
# If set to true, this tag will only fire in the live environment (e.g. not in
|
994
|
+
# preview or debug mode).
|
995
|
+
# Corresponds to the JSON property `liveOnly`
|
996
|
+
# @return [Boolean]
|
997
|
+
attr_accessor :live_only
|
998
|
+
alias_method :live_only?, :live_only
|
999
|
+
|
1000
|
+
# Tag display name.
|
1001
|
+
# Corresponds to the JSON property `name`
|
1002
|
+
# @return [String]
|
1003
|
+
attr_accessor :name
|
1004
|
+
|
1005
|
+
# User notes on how to apply this tag in the container.
|
1006
|
+
# Corresponds to the JSON property `notes`
|
1007
|
+
# @return [String]
|
1008
|
+
attr_accessor :notes
|
1009
|
+
|
1010
|
+
# The tag's parameters.
|
1011
|
+
# Corresponds to the JSON property `parameter`
|
1012
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
1013
|
+
attr_accessor :parameter
|
1014
|
+
|
1015
|
+
# Parent folder id.
|
1016
|
+
# Corresponds to the JSON property `parentFolderId`
|
1017
|
+
# @return [String]
|
1018
|
+
attr_accessor :parent_folder_id
|
1019
|
+
|
1020
|
+
# Represents a Google Tag Manager Parameter.
|
1021
|
+
# Corresponds to the JSON property `priority`
|
1022
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1023
|
+
attr_accessor :priority
|
1024
|
+
|
1025
|
+
# The end timestamp in milliseconds to schedule a tag.
|
1026
|
+
# Corresponds to the JSON property `scheduleEndMs`
|
1027
|
+
# @return [String]
|
1028
|
+
attr_accessor :schedule_end_ms
|
1029
|
+
|
1030
|
+
# The start timestamp in milliseconds to schedule a tag.
|
1031
|
+
# Corresponds to the JSON property `scheduleStartMs`
|
1032
|
+
# @return [String]
|
1033
|
+
attr_accessor :schedule_start_ms
|
1034
|
+
|
1035
|
+
# The list of setup tags. Currently we only allow one.
|
1036
|
+
# Corresponds to the JSON property `setupTag`
|
1037
|
+
# @return [Array<Google::Apis::TagmanagerV1::SetupTag>]
|
1038
|
+
attr_accessor :setup_tag
|
1039
|
+
|
1040
|
+
# Option to fire this tag.
|
1041
|
+
# Corresponds to the JSON property `tagFiringOption`
|
1042
|
+
# @return [String]
|
1043
|
+
attr_accessor :tag_firing_option
|
1044
|
+
|
1045
|
+
# The Tag ID uniquely identifies the GTM Tag.
|
1046
|
+
# Corresponds to the JSON property `tagId`
|
1047
|
+
# @return [String]
|
1048
|
+
attr_accessor :tag_id
|
1049
|
+
|
1050
|
+
# The list of teardown tags. Currently we only allow one.
|
1051
|
+
# Corresponds to the JSON property `teardownTag`
|
1052
|
+
# @return [Array<Google::Apis::TagmanagerV1::TeardownTag>]
|
1053
|
+
attr_accessor :teardown_tag
|
1054
|
+
|
1055
|
+
# GTM Tag Type.
|
1056
|
+
# Corresponds to the JSON property `type`
|
1057
|
+
# @return [String]
|
1058
|
+
attr_accessor :type
|
1059
|
+
|
1060
|
+
def initialize(**args)
|
1061
|
+
update!(**args)
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# Update properties of this object
|
1065
|
+
def update!(**args)
|
1066
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
1067
|
+
@blocking_rule_id = args[:blocking_rule_id] unless args[:blocking_rule_id].nil?
|
1068
|
+
@blocking_trigger_id = args[:blocking_trigger_id] unless args[:blocking_trigger_id].nil?
|
1069
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
1070
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
1071
|
+
@firing_rule_id = args[:firing_rule_id] unless args[:firing_rule_id].nil?
|
1072
|
+
@firing_trigger_id = args[:firing_trigger_id] unless args[:firing_trigger_id].nil?
|
1073
|
+
@live_only = args[:live_only] unless args[:live_only].nil?
|
1074
|
+
@name = args[:name] unless args[:name].nil?
|
1075
|
+
@notes = args[:notes] unless args[:notes].nil?
|
1076
|
+
@parameter = args[:parameter] unless args[:parameter].nil?
|
1077
|
+
@parent_folder_id = args[:parent_folder_id] unless args[:parent_folder_id].nil?
|
1078
|
+
@priority = args[:priority] unless args[:priority].nil?
|
1079
|
+
@schedule_end_ms = args[:schedule_end_ms] unless args[:schedule_end_ms].nil?
|
1080
|
+
@schedule_start_ms = args[:schedule_start_ms] unless args[:schedule_start_ms].nil?
|
1081
|
+
@setup_tag = args[:setup_tag] unless args[:setup_tag].nil?
|
1082
|
+
@tag_firing_option = args[:tag_firing_option] unless args[:tag_firing_option].nil?
|
1083
|
+
@tag_id = args[:tag_id] unless args[:tag_id].nil?
|
1084
|
+
@teardown_tag = args[:teardown_tag] unless args[:teardown_tag].nil?
|
1085
|
+
@type = args[:type] unless args[:type].nil?
|
1086
|
+
end
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
#
|
1090
|
+
class TeardownTag
|
1091
|
+
include Google::Apis::Core::Hashable
|
1092
|
+
|
1093
|
+
# If true, fire the teardown tag if and only if the main tag fires successfully.
|
1094
|
+
# If false, fire the teardown tag regardless of main tag firing status.
|
1095
|
+
# Corresponds to the JSON property `stopTeardownOnFailure`
|
1096
|
+
# @return [Boolean]
|
1097
|
+
attr_accessor :stop_teardown_on_failure
|
1098
|
+
alias_method :stop_teardown_on_failure?, :stop_teardown_on_failure
|
1099
|
+
|
1100
|
+
# The name of the teardown tag.
|
1101
|
+
# Corresponds to the JSON property `tagName`
|
1102
|
+
# @return [String]
|
1103
|
+
attr_accessor :tag_name
|
1104
|
+
|
1105
|
+
def initialize(**args)
|
1106
|
+
update!(**args)
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
# Update properties of this object
|
1110
|
+
def update!(**args)
|
1111
|
+
@stop_teardown_on_failure = args[:stop_teardown_on_failure] unless args[:stop_teardown_on_failure].nil?
|
1112
|
+
@tag_name = args[:tag_name] unless args[:tag_name].nil?
|
1113
|
+
end
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
# Represents a Google Tag Manager Trigger
|
1117
|
+
class Trigger
|
1118
|
+
include Google::Apis::Core::Hashable
|
1119
|
+
|
1120
|
+
# GTM Account ID.
|
1121
|
+
# Corresponds to the JSON property `accountId`
|
1122
|
+
# @return [String]
|
1123
|
+
attr_accessor :account_id
|
1124
|
+
|
1125
|
+
# Used in the case of auto event tracking.
|
1126
|
+
# Corresponds to the JSON property `autoEventFilter`
|
1127
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
1128
|
+
attr_accessor :auto_event_filter
|
1129
|
+
|
1130
|
+
# Represents a Google Tag Manager Parameter.
|
1131
|
+
# Corresponds to the JSON property `checkValidation`
|
1132
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1133
|
+
attr_accessor :check_validation
|
1134
|
+
|
1135
|
+
# GTM Container ID.
|
1136
|
+
# Corresponds to the JSON property `containerId`
|
1137
|
+
# @return [String]
|
1138
|
+
attr_accessor :container_id
|
1139
|
+
|
1140
|
+
# Used in the case of custom event, which is fired iff all Conditions are true.
|
1141
|
+
# Corresponds to the JSON property `customEventFilter`
|
1142
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
1143
|
+
attr_accessor :custom_event_filter
|
1144
|
+
|
1145
|
+
# Represents a Google Tag Manager Parameter.
|
1146
|
+
# Corresponds to the JSON property `enableAllVideos`
|
1147
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1148
|
+
attr_accessor :enable_all_videos
|
1149
|
+
|
1150
|
+
# Represents a Google Tag Manager Parameter.
|
1151
|
+
# Corresponds to the JSON property `eventName`
|
1152
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1153
|
+
attr_accessor :event_name
|
1154
|
+
|
1155
|
+
# The trigger will only fire iff all Conditions are true.
|
1156
|
+
# Corresponds to the JSON property `filter`
|
1157
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
1158
|
+
attr_accessor :filter
|
1159
|
+
|
1160
|
+
# The fingerprint of the GTM Trigger as computed at storage time. This value is
|
1161
|
+
# recomputed whenever the trigger is modified.
|
1162
|
+
# Corresponds to the JSON property `fingerprint`
|
1163
|
+
# @return [String]
|
1164
|
+
attr_accessor :fingerprint
|
1165
|
+
|
1166
|
+
# Represents a Google Tag Manager Parameter.
|
1167
|
+
# Corresponds to the JSON property `interval`
|
1168
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1169
|
+
attr_accessor :interval
|
1170
|
+
|
1171
|
+
# Represents a Google Tag Manager Parameter.
|
1172
|
+
# Corresponds to the JSON property `limit`
|
1173
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1174
|
+
attr_accessor :limit
|
1175
|
+
|
1176
|
+
# Trigger display name.
|
1177
|
+
# Corresponds to the JSON property `name`
|
1178
|
+
# @return [String]
|
1179
|
+
attr_accessor :name
|
1180
|
+
|
1181
|
+
# Parent folder id.
|
1182
|
+
# Corresponds to the JSON property `parentFolderId`
|
1183
|
+
# @return [String]
|
1184
|
+
attr_accessor :parent_folder_id
|
1185
|
+
|
1186
|
+
# The Trigger ID uniquely identifies the GTM Trigger.
|
1187
|
+
# Corresponds to the JSON property `triggerId`
|
1188
|
+
# @return [String]
|
1189
|
+
attr_accessor :trigger_id
|
1190
|
+
|
1191
|
+
# Defines the data layer event that causes this trigger.
|
1192
|
+
# Corresponds to the JSON property `type`
|
1193
|
+
# @return [String]
|
1194
|
+
attr_accessor :type
|
1195
|
+
|
1196
|
+
# Represents a Google Tag Manager Parameter.
|
1197
|
+
# Corresponds to the JSON property `uniqueTriggerId`
|
1198
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1199
|
+
attr_accessor :unique_trigger_id
|
1200
|
+
|
1201
|
+
# Represents a Google Tag Manager Parameter.
|
1202
|
+
# Corresponds to the JSON property `videoPercentageList`
|
1203
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1204
|
+
attr_accessor :video_percentage_list
|
1205
|
+
|
1206
|
+
# Represents a Google Tag Manager Parameter.
|
1207
|
+
# Corresponds to the JSON property `waitForTags`
|
1208
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1209
|
+
attr_accessor :wait_for_tags
|
1210
|
+
|
1211
|
+
# Represents a Google Tag Manager Parameter.
|
1212
|
+
# Corresponds to the JSON property `waitForTagsTimeout`
|
1213
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1214
|
+
attr_accessor :wait_for_tags_timeout
|
1215
|
+
|
1216
|
+
def initialize(**args)
|
1217
|
+
update!(**args)
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# Update properties of this object
|
1221
|
+
def update!(**args)
|
1222
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
1223
|
+
@auto_event_filter = args[:auto_event_filter] unless args[:auto_event_filter].nil?
|
1224
|
+
@check_validation = args[:check_validation] unless args[:check_validation].nil?
|
1225
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
1226
|
+
@custom_event_filter = args[:custom_event_filter] unless args[:custom_event_filter].nil?
|
1227
|
+
@enable_all_videos = args[:enable_all_videos] unless args[:enable_all_videos].nil?
|
1228
|
+
@event_name = args[:event_name] unless args[:event_name].nil?
|
1229
|
+
@filter = args[:filter] unless args[:filter].nil?
|
1230
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
1231
|
+
@interval = args[:interval] unless args[:interval].nil?
|
1232
|
+
@limit = args[:limit] unless args[:limit].nil?
|
1233
|
+
@name = args[:name] unless args[:name].nil?
|
1234
|
+
@parent_folder_id = args[:parent_folder_id] unless args[:parent_folder_id].nil?
|
1235
|
+
@trigger_id = args[:trigger_id] unless args[:trigger_id].nil?
|
1236
|
+
@type = args[:type] unless args[:type].nil?
|
1237
|
+
@unique_trigger_id = args[:unique_trigger_id] unless args[:unique_trigger_id].nil?
|
1238
|
+
@video_percentage_list = args[:video_percentage_list] unless args[:video_percentage_list].nil?
|
1239
|
+
@wait_for_tags = args[:wait_for_tags] unless args[:wait_for_tags].nil?
|
1240
|
+
@wait_for_tags_timeout = args[:wait_for_tags_timeout] unless args[:wait_for_tags_timeout].nil?
|
1241
|
+
end
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# Represents a user's permissions to an account and its container.
|
1245
|
+
class UserAccess
|
1246
|
+
include Google::Apis::Core::Hashable
|
1247
|
+
|
1248
|
+
# Defines the Google Tag Manager Account access permissions.
|
1249
|
+
# Corresponds to the JSON property `accountAccess`
|
1250
|
+
# @return [Google::Apis::TagmanagerV1::AccountAccess]
|
1251
|
+
attr_accessor :account_access
|
1252
|
+
|
1253
|
+
# GTM Account ID.
|
1254
|
+
# Corresponds to the JSON property `accountId`
|
1255
|
+
# @return [String]
|
1256
|
+
attr_accessor :account_id
|
1257
|
+
|
1258
|
+
# GTM Container access permissions.
|
1259
|
+
# Corresponds to the JSON property `containerAccess`
|
1260
|
+
# @return [Array<Google::Apis::TagmanagerV1::ContainerAccess>]
|
1261
|
+
attr_accessor :container_access
|
1262
|
+
|
1263
|
+
# User's email address.
|
1264
|
+
# Corresponds to the JSON property `emailAddress`
|
1265
|
+
# @return [String]
|
1266
|
+
attr_accessor :email_address
|
1267
|
+
|
1268
|
+
# Account Permission ID.
|
1269
|
+
# Corresponds to the JSON property `permissionId`
|
1270
|
+
# @return [String]
|
1271
|
+
attr_accessor :permission_id
|
1272
|
+
|
1273
|
+
def initialize(**args)
|
1274
|
+
update!(**args)
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# Update properties of this object
|
1278
|
+
def update!(**args)
|
1279
|
+
@account_access = args[:account_access] unless args[:account_access].nil?
|
1280
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
1281
|
+
@container_access = args[:container_access] unless args[:container_access].nil?
|
1282
|
+
@email_address = args[:email_address] unless args[:email_address].nil?
|
1283
|
+
@permission_id = args[:permission_id] unless args[:permission_id].nil?
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Represents a Google Tag Manager Variable.
|
1288
|
+
class Variable
|
1289
|
+
include Google::Apis::Core::Hashable
|
1290
|
+
|
1291
|
+
# GTM Account ID.
|
1292
|
+
# Corresponds to the JSON property `accountId`
|
1293
|
+
# @return [String]
|
1294
|
+
attr_accessor :account_id
|
1295
|
+
|
1296
|
+
# GTM Container ID.
|
1297
|
+
# Corresponds to the JSON property `containerId`
|
1298
|
+
# @return [String]
|
1299
|
+
attr_accessor :container_id
|
1300
|
+
|
1301
|
+
# For mobile containers only: A list of trigger IDs for disabling conditional
|
1302
|
+
# variables; the variable is enabled if one of the enabling trigger is true
|
1303
|
+
# while all the disabling trigger are false. Treated as an unordered set.
|
1304
|
+
# Corresponds to the JSON property `disablingTriggerId`
|
1305
|
+
# @return [Array<String>]
|
1306
|
+
attr_accessor :disabling_trigger_id
|
1307
|
+
|
1308
|
+
# For mobile containers only: A list of trigger IDs for enabling conditional
|
1309
|
+
# variables; the variable is enabled if one of the enabling triggers is true
|
1310
|
+
# while all the disabling triggers are false. Treated as an unordered set.
|
1311
|
+
# Corresponds to the JSON property `enablingTriggerId`
|
1312
|
+
# @return [Array<String>]
|
1313
|
+
attr_accessor :enabling_trigger_id
|
1314
|
+
|
1315
|
+
# The fingerprint of the GTM Variable as computed at storage time. This value is
|
1316
|
+
# recomputed whenever the variable is modified.
|
1317
|
+
# Corresponds to the JSON property `fingerprint`
|
1318
|
+
# @return [String]
|
1319
|
+
attr_accessor :fingerprint
|
1320
|
+
|
1321
|
+
# Variable display name.
|
1322
|
+
# Corresponds to the JSON property `name`
|
1323
|
+
# @return [String]
|
1324
|
+
attr_accessor :name
|
1325
|
+
|
1326
|
+
# User notes on how to apply this variable in the container.
|
1327
|
+
# Corresponds to the JSON property `notes`
|
1328
|
+
# @return [String]
|
1329
|
+
attr_accessor :notes
|
1330
|
+
|
1331
|
+
# The variable's parameters.
|
1332
|
+
# Corresponds to the JSON property `parameter`
|
1333
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
1334
|
+
attr_accessor :parameter
|
1335
|
+
|
1336
|
+
# Parent folder id.
|
1337
|
+
# Corresponds to the JSON property `parentFolderId`
|
1338
|
+
# @return [String]
|
1339
|
+
attr_accessor :parent_folder_id
|
1340
|
+
|
1341
|
+
# The end timestamp in milliseconds to schedule a variable.
|
1342
|
+
# Corresponds to the JSON property `scheduleEndMs`
|
1343
|
+
# @return [String]
|
1344
|
+
attr_accessor :schedule_end_ms
|
1345
|
+
|
1346
|
+
# The start timestamp in milliseconds to schedule a variable.
|
1347
|
+
# Corresponds to the JSON property `scheduleStartMs`
|
1348
|
+
# @return [String]
|
1349
|
+
attr_accessor :schedule_start_ms
|
1350
|
+
|
1351
|
+
# GTM Variable Type.
|
1352
|
+
# Corresponds to the JSON property `type`
|
1353
|
+
# @return [String]
|
1354
|
+
attr_accessor :type
|
1355
|
+
|
1356
|
+
# The Variable ID uniquely identifies the GTM Variable.
|
1357
|
+
# Corresponds to the JSON property `variableId`
|
1358
|
+
# @return [String]
|
1359
|
+
attr_accessor :variable_id
|
1360
|
+
|
1361
|
+
def initialize(**args)
|
1362
|
+
update!(**args)
|
1363
|
+
end
|
1364
|
+
|
1365
|
+
# Update properties of this object
|
1366
|
+
def update!(**args)
|
1367
|
+
@account_id = args[:account_id] unless args[:account_id].nil?
|
1368
|
+
@container_id = args[:container_id] unless args[:container_id].nil?
|
1369
|
+
@disabling_trigger_id = args[:disabling_trigger_id] unless args[:disabling_trigger_id].nil?
|
1370
|
+
@enabling_trigger_id = args[:enabling_trigger_id] unless args[:enabling_trigger_id].nil?
|
1371
|
+
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
1372
|
+
@name = args[:name] unless args[:name].nil?
|
1373
|
+
@notes = args[:notes] unless args[:notes].nil?
|
1374
|
+
@parameter = args[:parameter] unless args[:parameter].nil?
|
1375
|
+
@parent_folder_id = args[:parent_folder_id] unless args[:parent_folder_id].nil?
|
1376
|
+
@schedule_end_ms = args[:schedule_end_ms] unless args[:schedule_end_ms].nil?
|
1377
|
+
@schedule_start_ms = args[:schedule_start_ms] unless args[:schedule_start_ms].nil?
|
1378
|
+
@type = args[:type] unless args[:type].nil?
|
1379
|
+
@variable_id = args[:variable_id] unless args[:variable_id].nil?
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
end
|
1383
|
+
end
|
1384
|
+
end
|