lemboy-google-api-client 0.9.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/.rspec +2 -0
- data/.rubocop.yml +7 -0
- data/.rubocop_todo.yml +63 -0
- data/.travis.yml +27 -0
- data/.yardopts +12 -0
- data/CHANGELOG.md +309 -0
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +53 -0
- data/LICENSE +202 -0
- data/MIGRATING.md +171 -0
- data/README.md +327 -0
- data/Rakefile +2 -0
- data/api_names.yaml +36215 -0
- data/bin/generate-api +109 -0
- 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_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/adexchangebuyer_v1_4.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3550 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1421 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1538 -0
- data/generated/google/apis/adexchangeseller_v2_0.rb +37 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +667 -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 +130 -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 +3241 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1172 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3857 -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 +257 -0
- data/generated/google/apis/admin_reports_v1/service.rb +336 -0
- data/generated/google/apis/adsense_v1_4.rb +37 -0
- data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
- data/generated/google/apis/adsense_v1_4/service.rb +1713 -0
- data/generated/google/apis/adsensehost_v4_1.rb +35 -0
- data/generated/google/apis/adsensehost_v4_1/classes.rb +836 -0
- data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -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 +5536 -0
- data/generated/google/apis/analytics_v3/representations.rb +1992 -0
- data/generated/google/apis/analytics_v3/service.rb +3785 -0
- data/generated/google/apis/analyticsreporting_v4.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1420 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +598 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
- data/generated/google/apis/androidenterprise_v1.rb +34 -0
- data/generated/google/apis/androidenterprise_v1/classes.rb +2250 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +970 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +3267 -0
- data/generated/google/apis/androidpublisher_v2.rb +34 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +1941 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +975 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +2572 -0
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
- data/generated/google/apis/appengine_v1beta5.rb +40 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +1984 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +765 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +864 -0
- data/generated/google/apis/appsactivity_v1.rb +46 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +415 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +209 -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 +87 -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 +710 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +296 -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 +3081 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1094 -0
- data/generated/google/apis/bigquery_v2/service.rb +988 -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 +632 -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 +4160 -0
- data/generated/google/apis/books_v1/representations.rb +1799 -0
- data/generated/google/apis/books_v1/service.rb +2300 -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 +631 -0
- data/generated/google/apis/calendar_v3/service.rb +1968 -0
- data/generated/google/apis/civicinfo_v2.rb +32 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +1499 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +572 -0
- data/generated/google/apis/civicinfo_v2/service.rb +300 -0
- data/generated/google/apis/classroom_v1.rb +70 -0
- data/generated/google/apis/classroom_v1/classes.rb +1572 -0
- data/generated/google/apis/classroom_v1/representations.rb +729 -0
- data/generated/google/apis/classroom_v1/service.rb +1945 -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 +87 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/cloudbuild_v1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1/classes.rb +919 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +364 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +492 -0
- data/generated/google/apis/clouddebugger_v2.rb +38 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1081 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +465 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +396 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
- data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
- data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -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 +353 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +886 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +359 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +686 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +682 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +312 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +710 -0
- data/generated/google/apis/cloudtrace_v1.rb +43 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +192 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +907 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +12261 -0
- data/generated/google/apis/compute_beta/representations.rb +4615 -0
- data/generated/google/apis/compute_beta/service.rb +15330 -0
- data/generated/google/apis/compute_v1.rb +49 -0
- data/generated/google/apis/compute_v1/classes.rb +11179 -0
- data/generated/google/apis/compute_v1/representations.rb +4203 -0
- data/generated/google/apis/compute_v1/service.rb +12937 -0
- data/generated/google/apis/container_v1.rb +35 -0
- data/generated/google/apis/container_v1/classes.rb +1040 -0
- data/generated/google/apis/container_v1/representations.rb +415 -0
- data/generated/google/apis/container_v1/service.rb +659 -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 +6887 -0
- data/generated/google/apis/content_v2/representations.rb +2963 -0
- data/generated/google/apis/content_v2/service.rb +2653 -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 +321 -0
- data/generated/google/apis/coordinate_v1/service.rb +678 -0
- data/generated/google/apis/customsearch_v1.rb +31 -0
- data/generated/google/apis/customsearch_v1/classes.rb +771 -0
- data/generated/google/apis/customsearch_v1/representations.rb +302 -0
- data/generated/google/apis/customsearch_v1/service.rb +207 -0
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4225 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1809 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +874 -0
- data/generated/google/apis/dataproc_v1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +1716 -0
- data/generated/google/apis/dataproc_v1/representations.rb +678 -0
- data/generated/google/apis/dataproc_v1/service.rb +670 -0
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -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_v1beta2.rb +40 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
- data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
- data/generated/google/apis/datastore_v1beta2/service.rb +294 -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 +43 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1582 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +686 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +1026 -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/dfareporting_v2_3.rb +37 -0
- data/generated/google/apis/dfareporting_v2_3/classes.rb +10839 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
- data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
- 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/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -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 +397 -0
- data/generated/google/apis/discovery_v1/service.rb +142 -0
- data/generated/google/apis/dns_v1.rb +43 -0
- data/generated/google/apis/dns_v1/classes.rb +406 -0
- data/generated/google/apis/dns_v1/representations.rb +167 -0
- data/generated/google/apis/dns_v1/service.rb +453 -0
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +795 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +368 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +376 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +960 -0
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
- data/generated/google/apis/drive_v2.rb +59 -0
- data/generated/google/apis/drive_v2/classes.rb +2633 -0
- data/generated/google/apis/drive_v2/representations.rb +885 -0
- data/generated/google/apis/drive_v2/service.rb +2754 -0
- data/generated/google/apis/drive_v3.rb +56 -0
- data/generated/google/apis/drive_v3/classes.rb +1611 -0
- data/generated/google/apis/drive_v3/representations.rb +555 -0
- data/generated/google/apis/drive_v3/service.rb +1553 -0
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +943 -0
- data/generated/google/apis/fitness_v1/representations.rb +380 -0
- data/generated/google/apis/fitness_v1/service.rb +674 -0
- data/generated/google/apis/fusiontables_v2.rb +37 -0
- data/generated/google/apis/fusiontables_v2/classes.rb +1049 -0
- data/generated/google/apis/fusiontables_v2/representations.rb +457 -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 +228 -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 +567 -0
- data/generated/google/apis/games_management_v1management/representations.rb +278 -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 +4667 -0
- data/generated/google/apis/games_v1/representations.rb +1800 -0
- data/generated/google/apis/games_v1/service.rb +2449 -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 +462 -0
- data/generated/google/apis/gan_v1beta1/service.rb +682 -0
- data/generated/google/apis/genomics_v1.rb +46 -0
- data/generated/google/apis/genomics_v1/classes.rb +3477 -0
- data/generated/google/apis/genomics_v1/representations.rb +1284 -0
- data/generated/google/apis/genomics_v1/service.rb +2207 -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 +61 -0
- data/generated/google/apis/gmail_v1/classes.rb +1382 -0
- data/generated/google/apis/gmail_v1/representations.rb +624 -0
- data/generated/google/apis/gmail_v1/service.rb +2447 -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 +40 -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 +240 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +69 -0
- data/generated/google/apis/groupssettings_v1/service.rb +179 -0
- data/generated/google/apis/iam_v1.rb +36 -0
- data/generated/google/apis/iam_v1/classes.rb +640 -0
- data/generated/google/apis/iam_v1/representations.rb +316 -0
- data/generated/google/apis/iam_v1/service.rb +554 -0
- data/generated/google/apis/identitytoolkit_v3.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/classes.rb +2182 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +742 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +657 -0
- data/generated/google/apis/kgsearch_v1.rb +31 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
- data/generated/google/apis/kgsearch_v1/service.rb +113 -0
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +184 -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 +74 -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/logging_v2beta1.rb +46 -0
- data/generated/google/apis/logging_v2beta1/classes.rb +1254 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +421 -0
- data/generated/google/apis/logging_v2beta1/service.rb +788 -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 +606 -0
- data/generated/google/apis/manager_v1beta2/service.rb +372 -0
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -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 +390 -0
- data/generated/google/apis/mirror_v1/service.rb +977 -0
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1335 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/mybusiness_v3.rb +32 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
- data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
- data/generated/google/apis/mybusiness_v3/service.rb +960 -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 +102 -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 +272 -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 +454 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/people_v1.rb +59 -0
- data/generated/google/apis/people_v1/classes.rb +1521 -0
- data/generated/google/apis/people_v1/representations.rb +663 -0
- data/generated/google/apis/people_v1/service.rb +189 -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 +1111 -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 +907 -0
- data/generated/google/apis/plus_v1/service.rb +470 -0
- data/generated/google/apis/prediction_v1_6.rb +47 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
- data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
- data/generated/google/apis/prediction_v1_6/service.rb +380 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +34 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +786 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +347 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +806 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +676 -0
- data/generated/google/apis/pubsub_v1/representations.rb +323 -0
- data/generated/google/apis/pubsub_v1/service.rb +900 -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 +1274 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +473 -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 +264 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +45 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +509 -0
- data/generated/google/apis/reseller_v1.rb +37 -0
- data/generated/google/apis/reseller_v1/classes.rb +540 -0
- data/generated/google/apis/reseller_v1/representations.rb +225 -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 +301 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
- data/generated/google/apis/script_v1.rb +64 -0
- data/generated/google/apis/script_v1/classes.rb +265 -0
- data/generated/google/apis/script_v1/representations.rb +119 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/sheets_v4.rb +43 -0
- data/generated/google/apis/sheets_v4/classes.rb +6368 -0
- data/generated/google/apis/sheets_v4/representations.rb +2289 -0
- data/generated/google/apis/sheets_v4/service.rb +569 -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 +113 -0
- data/generated/google/apis/site_verification_v1/service.rb +315 -0
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4044 -0
- data/generated/google/apis/slides_v1/representations.rb +1765 -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 +513 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
- data/generated/google/apis/speech_v1beta1/service.rb +273 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +2142 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +893 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1709 -0
- data/generated/google/apis/storage_v1.rb +46 -0
- data/generated/google/apis/storage_v1/classes.rb +1255 -0
- data/generated/google/apis/storage_v1/representations.rb +502 -0
- data/generated/google/apis/storage_v1/service.rb +1906 -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 +418 -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 +1494 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2119 -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 +126 -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 +125 -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 +121 -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 +121 -0
- data/generated/google/apis/urlshortener_v1/service.rb +176 -0
- data/generated/google/apis/vision_v1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +1267 -0
- data/generated/google/apis/vision_v1/representations.rb +418 -0
- data/generated/google/apis/vision_v1/service.rb +90 -0
- data/generated/google/apis/webmasters_v3.rb +37 -0
- data/generated/google/apis/webmasters_v3/classes.rb +570 -0
- data/generated/google/apis/webmasters_v3/representations.rb +283 -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 +337 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +486 -0
- data/generated/google/apis/youtube_partner_v1.rb +37 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +3854 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1537 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +3269 -0
- data/generated/google/apis/youtube_v3.rb +50 -0
- data/generated/google/apis/youtube_v3/classes.rb +8375 -0
- data/generated/google/apis/youtube_v3/representations.rb +3273 -0
- data/generated/google/apis/youtube_v3/service.rb +4440 -0
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +302 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +149 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +385 -0
- data/google-api-client.gemspec +33 -0
- data/lib/cacerts.pem +2183 -0
- data/lib/google/api_client/auth/installed_app.rb +128 -0
- data/lib/google/api_client/auth/key_utils.rb +94 -0
- data/lib/google/api_client/auth/storage.rb +104 -0
- data/lib/google/api_client/auth/storages/file_store.rb +57 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +59 -0
- data/lib/google/api_client/client_secrets.rb +177 -0
- data/lib/google/apis.rb +58 -0
- data/lib/google/apis/core/api_command.rb +146 -0
- data/lib/google/apis/core/base_service.rb +401 -0
- data/lib/google/apis/core/batch.rb +239 -0
- data/lib/google/apis/core/download.rb +108 -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 +332 -0
- data/lib/google/apis/core/json_representation.rb +145 -0
- data/lib/google/apis/core/logging.rb +30 -0
- data/lib/google/apis/core/multipart.rb +187 -0
- data/lib/google/apis/core/upload.rb +295 -0
- data/lib/google/apis/errors.rb +80 -0
- data/lib/google/apis/generator.rb +70 -0
- data/lib/google/apis/generator/annotator.rb +301 -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 +17 -0
- data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
- data/lib/google/apis/generator/templates/classes.rb.tmpl +29 -0
- 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/cli/.env +4 -0
- data/samples/cli/Gemfile +7 -0
- data/samples/cli/README.md +51 -0
- data/samples/cli/google-api-samples +32 -0
- data/samples/cli/lib/base_cli.rb +95 -0
- data/samples/cli/lib/samples/analytics.rb +62 -0
- data/samples/cli/lib/samples/androidpublisher.rb +47 -0
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +83 -0
- data/samples/cli/lib/samples/drive.rb +82 -0
- data/samples/cli/lib/samples/gmail.rb +124 -0
- data/samples/cli/lib/samples/pubsub.rb +114 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/translate.rb +44 -0
- data/samples/cli/lib/samples/you_tube.rb +44 -0
- data/samples/web/.env +2 -0
- data/samples/web/Gemfile +7 -0
- data/samples/web/README.md +44 -0
- data/samples/web/app.rb +120 -0
- data/samples/web/views/calendar.erb +34 -0
- data/samples/web/views/drive.erb +33 -0
- data/samples/web/views/home.erb +34 -0
- data/samples/web/views/layout.erb +40 -0
- data/sync.rb +71 -0
- data/third_party/hurley_patches.rb +103 -0
- metadata +735 -0
@@ -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
|
+
# Accesses Tag Manager accounts and containers.
|
24
|
+
#
|
25
|
+
# @see https://developers.google.com/tag-manager/api/v1/
|
26
|
+
module TagmanagerV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20160310'
|
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 container and its subcomponents, excluding versioning and publishing
|
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
|
+
# View and 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 account and container
|
43
|
+
AUTH_TAGMANAGER_MANAGE_USERS = 'https://www.googleapis.com/auth/tagmanager.manage.users'
|
44
|
+
|
45
|
+
# Publish your Google Tag Manager container versions
|
46
|
+
AUTH_TAGMANAGER_PUBLISH = 'https://www.googleapis.com/auth/tagmanager.publish'
|
47
|
+
|
48
|
+
# View your Google Tag Manager container and its subcomponents
|
49
|
+
AUTH_TAGMANAGER_READONLY = 'https://www.googleapis.com/auth/tagmanager.readonly'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,1494 @@
|
|
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] if args.key?(:account_id)
|
58
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
59
|
+
@name = args[:name] if args.key?(:name)
|
60
|
+
@share_data = args[:share_data] if args.key?(:share_data)
|
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] if args.key?(:permission)
|
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] if args.key?(:parameter)
|
113
|
+
@type = args[:type] if args.key?(:type)
|
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] if args.key?(:account_id)
|
190
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
191
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
192
|
+
@enabled_built_in_variable = args[:enabled_built_in_variable] if args.key?(:enabled_built_in_variable)
|
193
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
194
|
+
@name = args[:name] if args.key?(:name)
|
195
|
+
@notes = args[:notes] if args.key?(:notes)
|
196
|
+
@public_id = args[:public_id] if args.key?(:public_id)
|
197
|
+
@time_zone_country_id = args[:time_zone_country_id] if args.key?(:time_zone_country_id)
|
198
|
+
@time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
|
199
|
+
@usage_context = args[:usage_context] if args.key?(:usage_context)
|
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] if args.key?(:container_id)
|
225
|
+
@permission = args[:permission] if args.key?(:permission)
|
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] if args.key?(:account_id)
|
312
|
+
@container = args[:container] if args.key?(:container)
|
313
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
314
|
+
@container_version_id = args[:container_version_id] if args.key?(:container_version_id)
|
315
|
+
@deleted = args[:deleted] if args.key?(:deleted)
|
316
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
317
|
+
@folder = args[:folder] if args.key?(:folder)
|
318
|
+
@macro = args[:macro] if args.key?(:macro)
|
319
|
+
@name = args[:name] if args.key?(:name)
|
320
|
+
@notes = args[:notes] if args.key?(:notes)
|
321
|
+
@rule = args[:rule] if args.key?(:rule)
|
322
|
+
@tag = args[:tag] if args.key?(:tag)
|
323
|
+
@trigger = args[:trigger] if args.key?(:trigger)
|
324
|
+
@variable = args[:variable] if args.key?(:variable)
|
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] if args.key?(:account_id)
|
390
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
391
|
+
@container_version_id = args[:container_version_id] if args.key?(:container_version_id)
|
392
|
+
@deleted = args[:deleted] if args.key?(:deleted)
|
393
|
+
@name = args[:name] if args.key?(:name)
|
394
|
+
@num_macros = args[:num_macros] if args.key?(:num_macros)
|
395
|
+
@num_rules = args[:num_rules] if args.key?(:num_rules)
|
396
|
+
@num_tags = args[:num_tags] if args.key?(:num_tags)
|
397
|
+
@num_triggers = args[:num_triggers] if args.key?(:num_triggers)
|
398
|
+
@num_variables = args[:num_variables] if args.key?(:num_variables)
|
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] if args.key?(:name)
|
429
|
+
@notes = args[:notes] if args.key?(:notes)
|
430
|
+
@quick_preview = args[:quick_preview] if args.key?(:quick_preview)
|
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] if args.key?(:compiler_error)
|
456
|
+
@container_version = args[:container_version] if args.key?(:container_version)
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# Represents a Google Tag Manager Environment. Note that a user can create,
|
461
|
+
# delete and update environments of type USER, but can only update the
|
462
|
+
# enable_debug and url fields of environments of other types.
|
463
|
+
class Environment
|
464
|
+
include Google::Apis::Core::Hashable
|
465
|
+
|
466
|
+
# GTM Account ID.
|
467
|
+
# Corresponds to the JSON property `accountId`
|
468
|
+
# @return [String]
|
469
|
+
attr_accessor :account_id
|
470
|
+
|
471
|
+
# The environment authorization code.
|
472
|
+
# Corresponds to the JSON property `authorizationCode`
|
473
|
+
# @return [String]
|
474
|
+
attr_accessor :authorization_code
|
475
|
+
|
476
|
+
# The last update time-stamp for the authorization code.
|
477
|
+
# Corresponds to the JSON property `authorizationTimestampMs`
|
478
|
+
# @return [String]
|
479
|
+
attr_accessor :authorization_timestamp_ms
|
480
|
+
|
481
|
+
# GTM Container ID.
|
482
|
+
# Corresponds to the JSON property `containerId`
|
483
|
+
# @return [String]
|
484
|
+
attr_accessor :container_id
|
485
|
+
|
486
|
+
#
|
487
|
+
# Corresponds to the JSON property `containerVersionId`
|
488
|
+
# @return [String]
|
489
|
+
attr_accessor :container_version_id
|
490
|
+
|
491
|
+
# The environment description. Can be set or changed only on USER type
|
492
|
+
# environments.
|
493
|
+
# Corresponds to the JSON property `description`
|
494
|
+
# @return [String]
|
495
|
+
attr_accessor :description
|
496
|
+
|
497
|
+
# Whether or not to enable debug by default on for the environment.
|
498
|
+
# Corresponds to the JSON property `enableDebug`
|
499
|
+
# @return [Boolean]
|
500
|
+
attr_accessor :enable_debug
|
501
|
+
alias_method :enable_debug?, :enable_debug
|
502
|
+
|
503
|
+
# GTM Environment ID uniquely identifies the GTM Environment.
|
504
|
+
# Corresponds to the JSON property `environmentId`
|
505
|
+
# @return [String]
|
506
|
+
attr_accessor :environment_id
|
507
|
+
|
508
|
+
# The fingerprint of the GTM environment as computed at storage time. This value
|
509
|
+
# is recomputed whenever the environment is modified.
|
510
|
+
# Corresponds to the JSON property `fingerprint`
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :fingerprint
|
513
|
+
|
514
|
+
# The environment display name. Can be set or changed only on USER type
|
515
|
+
# environments.
|
516
|
+
# Corresponds to the JSON property `name`
|
517
|
+
# @return [String]
|
518
|
+
attr_accessor :name
|
519
|
+
|
520
|
+
# The type of this environment.
|
521
|
+
# Corresponds to the JSON property `type`
|
522
|
+
# @return [String]
|
523
|
+
attr_accessor :type
|
524
|
+
|
525
|
+
# Default preview page url for the environment.
|
526
|
+
# Corresponds to the JSON property `url`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :url
|
529
|
+
|
530
|
+
def initialize(**args)
|
531
|
+
update!(**args)
|
532
|
+
end
|
533
|
+
|
534
|
+
# Update properties of this object
|
535
|
+
def update!(**args)
|
536
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
537
|
+
@authorization_code = args[:authorization_code] if args.key?(:authorization_code)
|
538
|
+
@authorization_timestamp_ms = args[:authorization_timestamp_ms] if args.key?(:authorization_timestamp_ms)
|
539
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
540
|
+
@container_version_id = args[:container_version_id] if args.key?(:container_version_id)
|
541
|
+
@description = args[:description] if args.key?(:description)
|
542
|
+
@enable_debug = args[:enable_debug] if args.key?(:enable_debug)
|
543
|
+
@environment_id = args[:environment_id] if args.key?(:environment_id)
|
544
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
545
|
+
@name = args[:name] if args.key?(:name)
|
546
|
+
@type = args[:type] if args.key?(:type)
|
547
|
+
@url = args[:url] if args.key?(:url)
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
# Represents a Google Tag Manager Folder.
|
552
|
+
class Folder
|
553
|
+
include Google::Apis::Core::Hashable
|
554
|
+
|
555
|
+
# GTM Account ID.
|
556
|
+
# Corresponds to the JSON property `accountId`
|
557
|
+
# @return [String]
|
558
|
+
attr_accessor :account_id
|
559
|
+
|
560
|
+
# GTM Container ID.
|
561
|
+
# Corresponds to the JSON property `containerId`
|
562
|
+
# @return [String]
|
563
|
+
attr_accessor :container_id
|
564
|
+
|
565
|
+
# The fingerprint of the GTM Folder as computed at storage time. This value is
|
566
|
+
# recomputed whenever the folder is modified.
|
567
|
+
# Corresponds to the JSON property `fingerprint`
|
568
|
+
# @return [String]
|
569
|
+
attr_accessor :fingerprint
|
570
|
+
|
571
|
+
# The Folder ID uniquely identifies the GTM Folder.
|
572
|
+
# Corresponds to the JSON property `folderId`
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :folder_id
|
575
|
+
|
576
|
+
# Folder display name.
|
577
|
+
# Corresponds to the JSON property `name`
|
578
|
+
# @return [String]
|
579
|
+
attr_accessor :name
|
580
|
+
|
581
|
+
def initialize(**args)
|
582
|
+
update!(**args)
|
583
|
+
end
|
584
|
+
|
585
|
+
# Update properties of this object
|
586
|
+
def update!(**args)
|
587
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
588
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
589
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
590
|
+
@folder_id = args[:folder_id] if args.key?(:folder_id)
|
591
|
+
@name = args[:name] if args.key?(:name)
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
595
|
+
# Represents a Google Tag Manager Folder's contents.
|
596
|
+
class FolderEntities
|
597
|
+
include Google::Apis::Core::Hashable
|
598
|
+
|
599
|
+
# The list of tags inside the folder.
|
600
|
+
# Corresponds to the JSON property `tag`
|
601
|
+
# @return [Array<Google::Apis::TagmanagerV1::Tag>]
|
602
|
+
attr_accessor :tag
|
603
|
+
|
604
|
+
# The list of triggers inside the folder.
|
605
|
+
# Corresponds to the JSON property `trigger`
|
606
|
+
# @return [Array<Google::Apis::TagmanagerV1::Trigger>]
|
607
|
+
attr_accessor :trigger
|
608
|
+
|
609
|
+
# The list of variables inside the folder.
|
610
|
+
# Corresponds to the JSON property `variable`
|
611
|
+
# @return [Array<Google::Apis::TagmanagerV1::Variable>]
|
612
|
+
attr_accessor :variable
|
613
|
+
|
614
|
+
def initialize(**args)
|
615
|
+
update!(**args)
|
616
|
+
end
|
617
|
+
|
618
|
+
# Update properties of this object
|
619
|
+
def update!(**args)
|
620
|
+
@tag = args[:tag] if args.key?(:tag)
|
621
|
+
@trigger = args[:trigger] if args.key?(:trigger)
|
622
|
+
@variable = args[:variable] if args.key?(:variable)
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
# List AccountUsers Response.
|
627
|
+
class ListAccountUsersResponse
|
628
|
+
include Google::Apis::Core::Hashable
|
629
|
+
|
630
|
+
# All GTM AccountUsers of a GTM Account.
|
631
|
+
# Corresponds to the JSON property `userAccess`
|
632
|
+
# @return [Array<Google::Apis::TagmanagerV1::UserAccess>]
|
633
|
+
attr_accessor :user_access
|
634
|
+
|
635
|
+
def initialize(**args)
|
636
|
+
update!(**args)
|
637
|
+
end
|
638
|
+
|
639
|
+
# Update properties of this object
|
640
|
+
def update!(**args)
|
641
|
+
@user_access = args[:user_access] if args.key?(:user_access)
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
# List Accounts Response.
|
646
|
+
class ListAccountsResponse
|
647
|
+
include Google::Apis::Core::Hashable
|
648
|
+
|
649
|
+
# List of GTM Accounts that a user has access to.
|
650
|
+
# Corresponds to the JSON property `accounts`
|
651
|
+
# @return [Array<Google::Apis::TagmanagerV1::Account>]
|
652
|
+
attr_accessor :accounts
|
653
|
+
|
654
|
+
def initialize(**args)
|
655
|
+
update!(**args)
|
656
|
+
end
|
657
|
+
|
658
|
+
# Update properties of this object
|
659
|
+
def update!(**args)
|
660
|
+
@accounts = args[:accounts] if args.key?(:accounts)
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
# List container versions response.
|
665
|
+
class ListContainerVersionsResponse
|
666
|
+
include Google::Apis::Core::Hashable
|
667
|
+
|
668
|
+
# All versions of a GTM Container.
|
669
|
+
# Corresponds to the JSON property `containerVersion`
|
670
|
+
# @return [Array<Google::Apis::TagmanagerV1::ContainerVersion>]
|
671
|
+
attr_accessor :container_version
|
672
|
+
|
673
|
+
# All container version headers of a GTM Container.
|
674
|
+
# Corresponds to the JSON property `containerVersionHeader`
|
675
|
+
# @return [Array<Google::Apis::TagmanagerV1::ContainerVersionHeader>]
|
676
|
+
attr_accessor :container_version_header
|
677
|
+
|
678
|
+
def initialize(**args)
|
679
|
+
update!(**args)
|
680
|
+
end
|
681
|
+
|
682
|
+
# Update properties of this object
|
683
|
+
def update!(**args)
|
684
|
+
@container_version = args[:container_version] if args.key?(:container_version)
|
685
|
+
@container_version_header = args[:container_version_header] if args.key?(:container_version_header)
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
# List Containers Response.
|
690
|
+
class ListContainersResponse
|
691
|
+
include Google::Apis::Core::Hashable
|
692
|
+
|
693
|
+
# All Containers of a GTM Account.
|
694
|
+
# Corresponds to the JSON property `containers`
|
695
|
+
# @return [Array<Google::Apis::TagmanagerV1::Container>]
|
696
|
+
attr_accessor :containers
|
697
|
+
|
698
|
+
def initialize(**args)
|
699
|
+
update!(**args)
|
700
|
+
end
|
701
|
+
|
702
|
+
# Update properties of this object
|
703
|
+
def update!(**args)
|
704
|
+
@containers = args[:containers] if args.key?(:containers)
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
# List Environments Response.
|
709
|
+
class ListEnvironmentsResponse
|
710
|
+
include Google::Apis::Core::Hashable
|
711
|
+
|
712
|
+
# All Environments of a GTM Container.
|
713
|
+
# Corresponds to the JSON property `environments`
|
714
|
+
# @return [Array<Google::Apis::TagmanagerV1::Environment>]
|
715
|
+
attr_accessor :environments
|
716
|
+
|
717
|
+
def initialize(**args)
|
718
|
+
update!(**args)
|
719
|
+
end
|
720
|
+
|
721
|
+
# Update properties of this object
|
722
|
+
def update!(**args)
|
723
|
+
@environments = args[:environments] if args.key?(:environments)
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
# List Folders Response.
|
728
|
+
class ListFoldersResponse
|
729
|
+
include Google::Apis::Core::Hashable
|
730
|
+
|
731
|
+
# All GTM Folders of a GTM Container.
|
732
|
+
# Corresponds to the JSON property `folders`
|
733
|
+
# @return [Array<Google::Apis::TagmanagerV1::Folder>]
|
734
|
+
attr_accessor :folders
|
735
|
+
|
736
|
+
def initialize(**args)
|
737
|
+
update!(**args)
|
738
|
+
end
|
739
|
+
|
740
|
+
# Update properties of this object
|
741
|
+
def update!(**args)
|
742
|
+
@folders = args[:folders] if args.key?(:folders)
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
# List Tags Response.
|
747
|
+
class ListTagsResponse
|
748
|
+
include Google::Apis::Core::Hashable
|
749
|
+
|
750
|
+
# All GTM Tags of a GTM Container.
|
751
|
+
# Corresponds to the JSON property `tags`
|
752
|
+
# @return [Array<Google::Apis::TagmanagerV1::Tag>]
|
753
|
+
attr_accessor :tags
|
754
|
+
|
755
|
+
def initialize(**args)
|
756
|
+
update!(**args)
|
757
|
+
end
|
758
|
+
|
759
|
+
# Update properties of this object
|
760
|
+
def update!(**args)
|
761
|
+
@tags = args[:tags] if args.key?(:tags)
|
762
|
+
end
|
763
|
+
end
|
764
|
+
|
765
|
+
# List triggers response.
|
766
|
+
class ListTriggersResponse
|
767
|
+
include Google::Apis::Core::Hashable
|
768
|
+
|
769
|
+
# All GTM Triggers of a GTM Container.
|
770
|
+
# Corresponds to the JSON property `triggers`
|
771
|
+
# @return [Array<Google::Apis::TagmanagerV1::Trigger>]
|
772
|
+
attr_accessor :triggers
|
773
|
+
|
774
|
+
def initialize(**args)
|
775
|
+
update!(**args)
|
776
|
+
end
|
777
|
+
|
778
|
+
# Update properties of this object
|
779
|
+
def update!(**args)
|
780
|
+
@triggers = args[:triggers] if args.key?(:triggers)
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
784
|
+
# List Variables Response.
|
785
|
+
class ListVariablesResponse
|
786
|
+
include Google::Apis::Core::Hashable
|
787
|
+
|
788
|
+
# All GTM Variables of a GTM Container.
|
789
|
+
# Corresponds to the JSON property `variables`
|
790
|
+
# @return [Array<Google::Apis::TagmanagerV1::Variable>]
|
791
|
+
attr_accessor :variables
|
792
|
+
|
793
|
+
def initialize(**args)
|
794
|
+
update!(**args)
|
795
|
+
end
|
796
|
+
|
797
|
+
# Update properties of this object
|
798
|
+
def update!(**args)
|
799
|
+
@variables = args[:variables] if args.key?(:variables)
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
# Represents a Google Tag Manager Macro.
|
804
|
+
class Macro
|
805
|
+
include Google::Apis::Core::Hashable
|
806
|
+
|
807
|
+
# GTM Account ID.
|
808
|
+
# Corresponds to the JSON property `accountId`
|
809
|
+
# @return [String]
|
810
|
+
attr_accessor :account_id
|
811
|
+
|
812
|
+
# GTM Container ID.
|
813
|
+
# Corresponds to the JSON property `containerId`
|
814
|
+
# @return [String]
|
815
|
+
attr_accessor :container_id
|
816
|
+
|
817
|
+
# For mobile containers only: A list of rule IDs for disabling conditional
|
818
|
+
# macros; the macro is enabled if one of the enabling rules is true while all
|
819
|
+
# the disabling rules are false. Treated as an unordered set.
|
820
|
+
# Corresponds to the JSON property `disablingRuleId`
|
821
|
+
# @return [Array<String>]
|
822
|
+
attr_accessor :disabling_rule_id
|
823
|
+
|
824
|
+
# For mobile containers only: A list of rule IDs for enabling conditional macros;
|
825
|
+
# the macro is enabled if one of the enabling rules is true while all the
|
826
|
+
# disabling rules are false. Treated as an unordered set.
|
827
|
+
# Corresponds to the JSON property `enablingRuleId`
|
828
|
+
# @return [Array<String>]
|
829
|
+
attr_accessor :enabling_rule_id
|
830
|
+
|
831
|
+
# The fingerprint of the GTM Macro as computed at storage time. This value is
|
832
|
+
# recomputed whenever the macro is modified.
|
833
|
+
# Corresponds to the JSON property `fingerprint`
|
834
|
+
# @return [String]
|
835
|
+
attr_accessor :fingerprint
|
836
|
+
|
837
|
+
# The Macro ID uniquely identifies the GTM Macro.
|
838
|
+
# Corresponds to the JSON property `macroId`
|
839
|
+
# @return [String]
|
840
|
+
attr_accessor :macro_id
|
841
|
+
|
842
|
+
# Macro display name.
|
843
|
+
# Corresponds to the JSON property `name`
|
844
|
+
# @return [String]
|
845
|
+
attr_accessor :name
|
846
|
+
|
847
|
+
# User notes on how to apply this macro in the container.
|
848
|
+
# Corresponds to the JSON property `notes`
|
849
|
+
# @return [String]
|
850
|
+
attr_accessor :notes
|
851
|
+
|
852
|
+
# The macro's parameters.
|
853
|
+
# Corresponds to the JSON property `parameter`
|
854
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
855
|
+
attr_accessor :parameter
|
856
|
+
|
857
|
+
# Parent folder id.
|
858
|
+
# Corresponds to the JSON property `parentFolderId`
|
859
|
+
# @return [String]
|
860
|
+
attr_accessor :parent_folder_id
|
861
|
+
|
862
|
+
# The end timestamp in milliseconds to schedule a macro.
|
863
|
+
# Corresponds to the JSON property `scheduleEndMs`
|
864
|
+
# @return [String]
|
865
|
+
attr_accessor :schedule_end_ms
|
866
|
+
|
867
|
+
# The start timestamp in milliseconds to schedule a macro.
|
868
|
+
# Corresponds to the JSON property `scheduleStartMs`
|
869
|
+
# @return [String]
|
870
|
+
attr_accessor :schedule_start_ms
|
871
|
+
|
872
|
+
# GTM Macro Type.
|
873
|
+
# Corresponds to the JSON property `type`
|
874
|
+
# @return [String]
|
875
|
+
attr_accessor :type
|
876
|
+
|
877
|
+
def initialize(**args)
|
878
|
+
update!(**args)
|
879
|
+
end
|
880
|
+
|
881
|
+
# Update properties of this object
|
882
|
+
def update!(**args)
|
883
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
884
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
885
|
+
@disabling_rule_id = args[:disabling_rule_id] if args.key?(:disabling_rule_id)
|
886
|
+
@enabling_rule_id = args[:enabling_rule_id] if args.key?(:enabling_rule_id)
|
887
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
888
|
+
@macro_id = args[:macro_id] if args.key?(:macro_id)
|
889
|
+
@name = args[:name] if args.key?(:name)
|
890
|
+
@notes = args[:notes] if args.key?(:notes)
|
891
|
+
@parameter = args[:parameter] if args.key?(:parameter)
|
892
|
+
@parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
|
893
|
+
@schedule_end_ms = args[:schedule_end_ms] if args.key?(:schedule_end_ms)
|
894
|
+
@schedule_start_ms = args[:schedule_start_ms] if args.key?(:schedule_start_ms)
|
895
|
+
@type = args[:type] if args.key?(:type)
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
# Represents a Google Tag Manager Parameter.
|
900
|
+
class Parameter
|
901
|
+
include Google::Apis::Core::Hashable
|
902
|
+
|
903
|
+
# The named key that uniquely identifies a parameter. Required for top-level
|
904
|
+
# parameters, as well as map values. Ignored for list values.
|
905
|
+
# Corresponds to the JSON property `key`
|
906
|
+
# @return [String]
|
907
|
+
attr_accessor :key
|
908
|
+
|
909
|
+
# This list parameter's parameters (keys will be ignored).
|
910
|
+
# Corresponds to the JSON property `list`
|
911
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
912
|
+
attr_accessor :list
|
913
|
+
|
914
|
+
# This map parameter's parameters (must have keys; keys must be unique).
|
915
|
+
# Corresponds to the JSON property `map`
|
916
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
917
|
+
attr_accessor :map
|
918
|
+
|
919
|
+
# The parameter type. Valid values are:
|
920
|
+
# - boolean: The value represents a boolean, represented as 'true' or 'false'
|
921
|
+
# - integer: The value represents a 64-bit signed integer value, in base 10
|
922
|
+
# - list: A list of parameters should be specified
|
923
|
+
# - map: A map of parameters should be specified
|
924
|
+
# - template: The value represents any text; this can include variable
|
925
|
+
# references (even variable references that might return non-string types)
|
926
|
+
# Corresponds to the JSON property `type`
|
927
|
+
# @return [String]
|
928
|
+
attr_accessor :type
|
929
|
+
|
930
|
+
# A parameter's value (may contain variable references such as "``myVariable``")
|
931
|
+
# as appropriate to the specified type.
|
932
|
+
# Corresponds to the JSON property `value`
|
933
|
+
# @return [String]
|
934
|
+
attr_accessor :value
|
935
|
+
|
936
|
+
def initialize(**args)
|
937
|
+
update!(**args)
|
938
|
+
end
|
939
|
+
|
940
|
+
# Update properties of this object
|
941
|
+
def update!(**args)
|
942
|
+
@key = args[:key] if args.key?(:key)
|
943
|
+
@list = args[:list] if args.key?(:list)
|
944
|
+
@map = args[:map] if args.key?(:map)
|
945
|
+
@type = args[:type] if args.key?(:type)
|
946
|
+
@value = args[:value] if args.key?(:value)
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
950
|
+
# Publish container version response.
|
951
|
+
class PublishContainerVersionResponse
|
952
|
+
include Google::Apis::Core::Hashable
|
953
|
+
|
954
|
+
# Compiler errors or not.
|
955
|
+
# Corresponds to the JSON property `compilerError`
|
956
|
+
# @return [Boolean]
|
957
|
+
attr_accessor :compiler_error
|
958
|
+
alias_method :compiler_error?, :compiler_error
|
959
|
+
|
960
|
+
# Represents a Google Tag Manager Container Version.
|
961
|
+
# Corresponds to the JSON property `containerVersion`
|
962
|
+
# @return [Google::Apis::TagmanagerV1::ContainerVersion]
|
963
|
+
attr_accessor :container_version
|
964
|
+
|
965
|
+
def initialize(**args)
|
966
|
+
update!(**args)
|
967
|
+
end
|
968
|
+
|
969
|
+
# Update properties of this object
|
970
|
+
def update!(**args)
|
971
|
+
@compiler_error = args[:compiler_error] if args.key?(:compiler_error)
|
972
|
+
@container_version = args[:container_version] if args.key?(:container_version)
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
976
|
+
# Represents a Google Tag Manager Rule.
|
977
|
+
class Rule
|
978
|
+
include Google::Apis::Core::Hashable
|
979
|
+
|
980
|
+
# GTM Account ID.
|
981
|
+
# Corresponds to the JSON property `accountId`
|
982
|
+
# @return [String]
|
983
|
+
attr_accessor :account_id
|
984
|
+
|
985
|
+
# The list of conditions that make up this rule (implicit AND between them).
|
986
|
+
# Corresponds to the JSON property `condition`
|
987
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
988
|
+
attr_accessor :condition
|
989
|
+
|
990
|
+
# GTM Container ID.
|
991
|
+
# Corresponds to the JSON property `containerId`
|
992
|
+
# @return [String]
|
993
|
+
attr_accessor :container_id
|
994
|
+
|
995
|
+
# The fingerprint of the GTM Rule as computed at storage time. This value is
|
996
|
+
# recomputed whenever the rule is modified.
|
997
|
+
# Corresponds to the JSON property `fingerprint`
|
998
|
+
# @return [String]
|
999
|
+
attr_accessor :fingerprint
|
1000
|
+
|
1001
|
+
# Rule display name.
|
1002
|
+
# Corresponds to the JSON property `name`
|
1003
|
+
# @return [String]
|
1004
|
+
attr_accessor :name
|
1005
|
+
|
1006
|
+
# User notes on how to apply this rule in the container.
|
1007
|
+
# Corresponds to the JSON property `notes`
|
1008
|
+
# @return [String]
|
1009
|
+
attr_accessor :notes
|
1010
|
+
|
1011
|
+
# The Rule ID uniquely identifies the GTM Rule.
|
1012
|
+
# Corresponds to the JSON property `ruleId`
|
1013
|
+
# @return [String]
|
1014
|
+
attr_accessor :rule_id
|
1015
|
+
|
1016
|
+
def initialize(**args)
|
1017
|
+
update!(**args)
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
# Update properties of this object
|
1021
|
+
def update!(**args)
|
1022
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
1023
|
+
@condition = args[:condition] if args.key?(:condition)
|
1024
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
1025
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
1026
|
+
@name = args[:name] if args.key?(:name)
|
1027
|
+
@notes = args[:notes] if args.key?(:notes)
|
1028
|
+
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
#
|
1033
|
+
class SetupTag
|
1034
|
+
include Google::Apis::Core::Hashable
|
1035
|
+
|
1036
|
+
# If true, fire the main tag if and only if the setup tag fires successfully. If
|
1037
|
+
# false, fire the main tag regardless of setup tag firing status.
|
1038
|
+
# Corresponds to the JSON property `stopOnSetupFailure`
|
1039
|
+
# @return [Boolean]
|
1040
|
+
attr_accessor :stop_on_setup_failure
|
1041
|
+
alias_method :stop_on_setup_failure?, :stop_on_setup_failure
|
1042
|
+
|
1043
|
+
# The name of the setup tag.
|
1044
|
+
# Corresponds to the JSON property `tagName`
|
1045
|
+
# @return [String]
|
1046
|
+
attr_accessor :tag_name
|
1047
|
+
|
1048
|
+
def initialize(**args)
|
1049
|
+
update!(**args)
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# Update properties of this object
|
1053
|
+
def update!(**args)
|
1054
|
+
@stop_on_setup_failure = args[:stop_on_setup_failure] if args.key?(:stop_on_setup_failure)
|
1055
|
+
@tag_name = args[:tag_name] if args.key?(:tag_name)
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# Represents a Google Tag Manager Tag.
|
1060
|
+
class Tag
|
1061
|
+
include Google::Apis::Core::Hashable
|
1062
|
+
|
1063
|
+
# GTM Account ID.
|
1064
|
+
# Corresponds to the JSON property `accountId`
|
1065
|
+
# @return [String]
|
1066
|
+
attr_accessor :account_id
|
1067
|
+
|
1068
|
+
# Blocking rule IDs. If any of the listed rules evaluate to true, the tag will
|
1069
|
+
# not fire.
|
1070
|
+
# Corresponds to the JSON property `blockingRuleId`
|
1071
|
+
# @return [Array<String>]
|
1072
|
+
attr_accessor :blocking_rule_id
|
1073
|
+
|
1074
|
+
# Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag
|
1075
|
+
# will not fire.
|
1076
|
+
# Corresponds to the JSON property `blockingTriggerId`
|
1077
|
+
# @return [Array<String>]
|
1078
|
+
attr_accessor :blocking_trigger_id
|
1079
|
+
|
1080
|
+
# GTM Container ID.
|
1081
|
+
# Corresponds to the JSON property `containerId`
|
1082
|
+
# @return [String]
|
1083
|
+
attr_accessor :container_id
|
1084
|
+
|
1085
|
+
# The fingerprint of the GTM Tag as computed at storage time. This value is
|
1086
|
+
# recomputed whenever the tag is modified.
|
1087
|
+
# Corresponds to the JSON property `fingerprint`
|
1088
|
+
# @return [String]
|
1089
|
+
attr_accessor :fingerprint
|
1090
|
+
|
1091
|
+
# Firing rule IDs. A tag will fire when any of the listed rules are true and all
|
1092
|
+
# of its blockingRuleIds (if any specified) are false.
|
1093
|
+
# Corresponds to the JSON property `firingRuleId`
|
1094
|
+
# @return [Array<String>]
|
1095
|
+
attr_accessor :firing_rule_id
|
1096
|
+
|
1097
|
+
# Firing trigger IDs. A tag will fire when any of the listed triggers are true
|
1098
|
+
# and all of its blockingTriggerIds (if any specified) are false.
|
1099
|
+
# Corresponds to the JSON property `firingTriggerId`
|
1100
|
+
# @return [Array<String>]
|
1101
|
+
attr_accessor :firing_trigger_id
|
1102
|
+
|
1103
|
+
# If set to true, this tag will only fire in the live environment (e.g. not in
|
1104
|
+
# preview or debug mode).
|
1105
|
+
# Corresponds to the JSON property `liveOnly`
|
1106
|
+
# @return [Boolean]
|
1107
|
+
attr_accessor :live_only
|
1108
|
+
alias_method :live_only?, :live_only
|
1109
|
+
|
1110
|
+
# Tag display name.
|
1111
|
+
# Corresponds to the JSON property `name`
|
1112
|
+
# @return [String]
|
1113
|
+
attr_accessor :name
|
1114
|
+
|
1115
|
+
# User notes on how to apply this tag in the container.
|
1116
|
+
# Corresponds to the JSON property `notes`
|
1117
|
+
# @return [String]
|
1118
|
+
attr_accessor :notes
|
1119
|
+
|
1120
|
+
# The tag's parameters.
|
1121
|
+
# Corresponds to the JSON property `parameter`
|
1122
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
1123
|
+
attr_accessor :parameter
|
1124
|
+
|
1125
|
+
# Parent folder id.
|
1126
|
+
# Corresponds to the JSON property `parentFolderId`
|
1127
|
+
# @return [String]
|
1128
|
+
attr_accessor :parent_folder_id
|
1129
|
+
|
1130
|
+
# Represents a Google Tag Manager Parameter.
|
1131
|
+
# Corresponds to the JSON property `priority`
|
1132
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1133
|
+
attr_accessor :priority
|
1134
|
+
|
1135
|
+
# The end timestamp in milliseconds to schedule a tag.
|
1136
|
+
# Corresponds to the JSON property `scheduleEndMs`
|
1137
|
+
# @return [String]
|
1138
|
+
attr_accessor :schedule_end_ms
|
1139
|
+
|
1140
|
+
# The start timestamp in milliseconds to schedule a tag.
|
1141
|
+
# Corresponds to the JSON property `scheduleStartMs`
|
1142
|
+
# @return [String]
|
1143
|
+
attr_accessor :schedule_start_ms
|
1144
|
+
|
1145
|
+
# The list of setup tags. Currently we only allow one.
|
1146
|
+
# Corresponds to the JSON property `setupTag`
|
1147
|
+
# @return [Array<Google::Apis::TagmanagerV1::SetupTag>]
|
1148
|
+
attr_accessor :setup_tag
|
1149
|
+
|
1150
|
+
# Option to fire this tag.
|
1151
|
+
# Corresponds to the JSON property `tagFiringOption`
|
1152
|
+
# @return [String]
|
1153
|
+
attr_accessor :tag_firing_option
|
1154
|
+
|
1155
|
+
# The Tag ID uniquely identifies the GTM Tag.
|
1156
|
+
# Corresponds to the JSON property `tagId`
|
1157
|
+
# @return [String]
|
1158
|
+
attr_accessor :tag_id
|
1159
|
+
|
1160
|
+
# The list of teardown tags. Currently we only allow one.
|
1161
|
+
# Corresponds to the JSON property `teardownTag`
|
1162
|
+
# @return [Array<Google::Apis::TagmanagerV1::TeardownTag>]
|
1163
|
+
attr_accessor :teardown_tag
|
1164
|
+
|
1165
|
+
# GTM Tag Type.
|
1166
|
+
# Corresponds to the JSON property `type`
|
1167
|
+
# @return [String]
|
1168
|
+
attr_accessor :type
|
1169
|
+
|
1170
|
+
def initialize(**args)
|
1171
|
+
update!(**args)
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
# Update properties of this object
|
1175
|
+
def update!(**args)
|
1176
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
1177
|
+
@blocking_rule_id = args[:blocking_rule_id] if args.key?(:blocking_rule_id)
|
1178
|
+
@blocking_trigger_id = args[:blocking_trigger_id] if args.key?(:blocking_trigger_id)
|
1179
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
1180
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
1181
|
+
@firing_rule_id = args[:firing_rule_id] if args.key?(:firing_rule_id)
|
1182
|
+
@firing_trigger_id = args[:firing_trigger_id] if args.key?(:firing_trigger_id)
|
1183
|
+
@live_only = args[:live_only] if args.key?(:live_only)
|
1184
|
+
@name = args[:name] if args.key?(:name)
|
1185
|
+
@notes = args[:notes] if args.key?(:notes)
|
1186
|
+
@parameter = args[:parameter] if args.key?(:parameter)
|
1187
|
+
@parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
|
1188
|
+
@priority = args[:priority] if args.key?(:priority)
|
1189
|
+
@schedule_end_ms = args[:schedule_end_ms] if args.key?(:schedule_end_ms)
|
1190
|
+
@schedule_start_ms = args[:schedule_start_ms] if args.key?(:schedule_start_ms)
|
1191
|
+
@setup_tag = args[:setup_tag] if args.key?(:setup_tag)
|
1192
|
+
@tag_firing_option = args[:tag_firing_option] if args.key?(:tag_firing_option)
|
1193
|
+
@tag_id = args[:tag_id] if args.key?(:tag_id)
|
1194
|
+
@teardown_tag = args[:teardown_tag] if args.key?(:teardown_tag)
|
1195
|
+
@type = args[:type] if args.key?(:type)
|
1196
|
+
end
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
#
|
1200
|
+
class TeardownTag
|
1201
|
+
include Google::Apis::Core::Hashable
|
1202
|
+
|
1203
|
+
# If true, fire the teardown tag if and only if the main tag fires successfully.
|
1204
|
+
# If false, fire the teardown tag regardless of main tag firing status.
|
1205
|
+
# Corresponds to the JSON property `stopTeardownOnFailure`
|
1206
|
+
# @return [Boolean]
|
1207
|
+
attr_accessor :stop_teardown_on_failure
|
1208
|
+
alias_method :stop_teardown_on_failure?, :stop_teardown_on_failure
|
1209
|
+
|
1210
|
+
# The name of the teardown tag.
|
1211
|
+
# Corresponds to the JSON property `tagName`
|
1212
|
+
# @return [String]
|
1213
|
+
attr_accessor :tag_name
|
1214
|
+
|
1215
|
+
def initialize(**args)
|
1216
|
+
update!(**args)
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
# Update properties of this object
|
1220
|
+
def update!(**args)
|
1221
|
+
@stop_teardown_on_failure = args[:stop_teardown_on_failure] if args.key?(:stop_teardown_on_failure)
|
1222
|
+
@tag_name = args[:tag_name] if args.key?(:tag_name)
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# Represents a Google Tag Manager Trigger
|
1227
|
+
class Trigger
|
1228
|
+
include Google::Apis::Core::Hashable
|
1229
|
+
|
1230
|
+
# GTM Account ID.
|
1231
|
+
# Corresponds to the JSON property `accountId`
|
1232
|
+
# @return [String]
|
1233
|
+
attr_accessor :account_id
|
1234
|
+
|
1235
|
+
# Used in the case of auto event tracking.
|
1236
|
+
# Corresponds to the JSON property `autoEventFilter`
|
1237
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
1238
|
+
attr_accessor :auto_event_filter
|
1239
|
+
|
1240
|
+
# Represents a Google Tag Manager Parameter.
|
1241
|
+
# Corresponds to the JSON property `checkValidation`
|
1242
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1243
|
+
attr_accessor :check_validation
|
1244
|
+
|
1245
|
+
# GTM Container ID.
|
1246
|
+
# Corresponds to the JSON property `containerId`
|
1247
|
+
# @return [String]
|
1248
|
+
attr_accessor :container_id
|
1249
|
+
|
1250
|
+
# Used in the case of custom event, which is fired iff all Conditions are true.
|
1251
|
+
# Corresponds to the JSON property `customEventFilter`
|
1252
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
1253
|
+
attr_accessor :custom_event_filter
|
1254
|
+
|
1255
|
+
# Represents a Google Tag Manager Parameter.
|
1256
|
+
# Corresponds to the JSON property `enableAllVideos`
|
1257
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1258
|
+
attr_accessor :enable_all_videos
|
1259
|
+
|
1260
|
+
# Represents a Google Tag Manager Parameter.
|
1261
|
+
# Corresponds to the JSON property `eventName`
|
1262
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1263
|
+
attr_accessor :event_name
|
1264
|
+
|
1265
|
+
# The trigger will only fire iff all Conditions are true.
|
1266
|
+
# Corresponds to the JSON property `filter`
|
1267
|
+
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
1268
|
+
attr_accessor :filter
|
1269
|
+
|
1270
|
+
# The fingerprint of the GTM Trigger as computed at storage time. This value is
|
1271
|
+
# recomputed whenever the trigger is modified.
|
1272
|
+
# Corresponds to the JSON property `fingerprint`
|
1273
|
+
# @return [String]
|
1274
|
+
attr_accessor :fingerprint
|
1275
|
+
|
1276
|
+
# Represents a Google Tag Manager Parameter.
|
1277
|
+
# Corresponds to the JSON property `interval`
|
1278
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1279
|
+
attr_accessor :interval
|
1280
|
+
|
1281
|
+
# Represents a Google Tag Manager Parameter.
|
1282
|
+
# Corresponds to the JSON property `limit`
|
1283
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1284
|
+
attr_accessor :limit
|
1285
|
+
|
1286
|
+
# Trigger display name.
|
1287
|
+
# Corresponds to the JSON property `name`
|
1288
|
+
# @return [String]
|
1289
|
+
attr_accessor :name
|
1290
|
+
|
1291
|
+
# Parent folder id.
|
1292
|
+
# Corresponds to the JSON property `parentFolderId`
|
1293
|
+
# @return [String]
|
1294
|
+
attr_accessor :parent_folder_id
|
1295
|
+
|
1296
|
+
# The Trigger ID uniquely identifies the GTM Trigger.
|
1297
|
+
# Corresponds to the JSON property `triggerId`
|
1298
|
+
# @return [String]
|
1299
|
+
attr_accessor :trigger_id
|
1300
|
+
|
1301
|
+
# Defines the data layer event that causes this trigger.
|
1302
|
+
# Corresponds to the JSON property `type`
|
1303
|
+
# @return [String]
|
1304
|
+
attr_accessor :type
|
1305
|
+
|
1306
|
+
# Represents a Google Tag Manager Parameter.
|
1307
|
+
# Corresponds to the JSON property `uniqueTriggerId`
|
1308
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1309
|
+
attr_accessor :unique_trigger_id
|
1310
|
+
|
1311
|
+
# Represents a Google Tag Manager Parameter.
|
1312
|
+
# Corresponds to the JSON property `videoPercentageList`
|
1313
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1314
|
+
attr_accessor :video_percentage_list
|
1315
|
+
|
1316
|
+
# Represents a Google Tag Manager Parameter.
|
1317
|
+
# Corresponds to the JSON property `waitForTags`
|
1318
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1319
|
+
attr_accessor :wait_for_tags
|
1320
|
+
|
1321
|
+
# Represents a Google Tag Manager Parameter.
|
1322
|
+
# Corresponds to the JSON property `waitForTagsTimeout`
|
1323
|
+
# @return [Google::Apis::TagmanagerV1::Parameter]
|
1324
|
+
attr_accessor :wait_for_tags_timeout
|
1325
|
+
|
1326
|
+
def initialize(**args)
|
1327
|
+
update!(**args)
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# Update properties of this object
|
1331
|
+
def update!(**args)
|
1332
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
1333
|
+
@auto_event_filter = args[:auto_event_filter] if args.key?(:auto_event_filter)
|
1334
|
+
@check_validation = args[:check_validation] if args.key?(:check_validation)
|
1335
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
1336
|
+
@custom_event_filter = args[:custom_event_filter] if args.key?(:custom_event_filter)
|
1337
|
+
@enable_all_videos = args[:enable_all_videos] if args.key?(:enable_all_videos)
|
1338
|
+
@event_name = args[:event_name] if args.key?(:event_name)
|
1339
|
+
@filter = args[:filter] if args.key?(:filter)
|
1340
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
1341
|
+
@interval = args[:interval] if args.key?(:interval)
|
1342
|
+
@limit = args[:limit] if args.key?(:limit)
|
1343
|
+
@name = args[:name] if args.key?(:name)
|
1344
|
+
@parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
|
1345
|
+
@trigger_id = args[:trigger_id] if args.key?(:trigger_id)
|
1346
|
+
@type = args[:type] if args.key?(:type)
|
1347
|
+
@unique_trigger_id = args[:unique_trigger_id] if args.key?(:unique_trigger_id)
|
1348
|
+
@video_percentage_list = args[:video_percentage_list] if args.key?(:video_percentage_list)
|
1349
|
+
@wait_for_tags = args[:wait_for_tags] if args.key?(:wait_for_tags)
|
1350
|
+
@wait_for_tags_timeout = args[:wait_for_tags_timeout] if args.key?(:wait_for_tags_timeout)
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
# Represents a user's permissions to an account and its container.
|
1355
|
+
class UserAccess
|
1356
|
+
include Google::Apis::Core::Hashable
|
1357
|
+
|
1358
|
+
# Defines the Google Tag Manager Account access permissions.
|
1359
|
+
# Corresponds to the JSON property `accountAccess`
|
1360
|
+
# @return [Google::Apis::TagmanagerV1::AccountAccess]
|
1361
|
+
attr_accessor :account_access
|
1362
|
+
|
1363
|
+
# GTM Account ID.
|
1364
|
+
# Corresponds to the JSON property `accountId`
|
1365
|
+
# @return [String]
|
1366
|
+
attr_accessor :account_id
|
1367
|
+
|
1368
|
+
# GTM Container access permissions.
|
1369
|
+
# Corresponds to the JSON property `containerAccess`
|
1370
|
+
# @return [Array<Google::Apis::TagmanagerV1::ContainerAccess>]
|
1371
|
+
attr_accessor :container_access
|
1372
|
+
|
1373
|
+
# User's email address.
|
1374
|
+
# Corresponds to the JSON property `emailAddress`
|
1375
|
+
# @return [String]
|
1376
|
+
attr_accessor :email_address
|
1377
|
+
|
1378
|
+
# Account Permission ID.
|
1379
|
+
# Corresponds to the JSON property `permissionId`
|
1380
|
+
# @return [String]
|
1381
|
+
attr_accessor :permission_id
|
1382
|
+
|
1383
|
+
def initialize(**args)
|
1384
|
+
update!(**args)
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
# Update properties of this object
|
1388
|
+
def update!(**args)
|
1389
|
+
@account_access = args[:account_access] if args.key?(:account_access)
|
1390
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
1391
|
+
@container_access = args[:container_access] if args.key?(:container_access)
|
1392
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
1393
|
+
@permission_id = args[:permission_id] if args.key?(:permission_id)
|
1394
|
+
end
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
# Represents a Google Tag Manager Variable.
|
1398
|
+
class Variable
|
1399
|
+
include Google::Apis::Core::Hashable
|
1400
|
+
|
1401
|
+
# GTM Account ID.
|
1402
|
+
# Corresponds to the JSON property `accountId`
|
1403
|
+
# @return [String]
|
1404
|
+
attr_accessor :account_id
|
1405
|
+
|
1406
|
+
# GTM Container ID.
|
1407
|
+
# Corresponds to the JSON property `containerId`
|
1408
|
+
# @return [String]
|
1409
|
+
attr_accessor :container_id
|
1410
|
+
|
1411
|
+
# For mobile containers only: A list of trigger IDs for disabling conditional
|
1412
|
+
# variables; the variable is enabled if one of the enabling trigger is true
|
1413
|
+
# while all the disabling trigger are false. Treated as an unordered set.
|
1414
|
+
# Corresponds to the JSON property `disablingTriggerId`
|
1415
|
+
# @return [Array<String>]
|
1416
|
+
attr_accessor :disabling_trigger_id
|
1417
|
+
|
1418
|
+
# For mobile containers only: A list of trigger IDs for enabling conditional
|
1419
|
+
# variables; the variable is enabled if one of the enabling triggers is true
|
1420
|
+
# while all the disabling triggers are false. Treated as an unordered set.
|
1421
|
+
# Corresponds to the JSON property `enablingTriggerId`
|
1422
|
+
# @return [Array<String>]
|
1423
|
+
attr_accessor :enabling_trigger_id
|
1424
|
+
|
1425
|
+
# The fingerprint of the GTM Variable as computed at storage time. This value is
|
1426
|
+
# recomputed whenever the variable is modified.
|
1427
|
+
# Corresponds to the JSON property `fingerprint`
|
1428
|
+
# @return [String]
|
1429
|
+
attr_accessor :fingerprint
|
1430
|
+
|
1431
|
+
# Variable display name.
|
1432
|
+
# Corresponds to the JSON property `name`
|
1433
|
+
# @return [String]
|
1434
|
+
attr_accessor :name
|
1435
|
+
|
1436
|
+
# User notes on how to apply this variable in the container.
|
1437
|
+
# Corresponds to the JSON property `notes`
|
1438
|
+
# @return [String]
|
1439
|
+
attr_accessor :notes
|
1440
|
+
|
1441
|
+
# The variable's parameters.
|
1442
|
+
# Corresponds to the JSON property `parameter`
|
1443
|
+
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
1444
|
+
attr_accessor :parameter
|
1445
|
+
|
1446
|
+
# Parent folder id.
|
1447
|
+
# Corresponds to the JSON property `parentFolderId`
|
1448
|
+
# @return [String]
|
1449
|
+
attr_accessor :parent_folder_id
|
1450
|
+
|
1451
|
+
# The end timestamp in milliseconds to schedule a variable.
|
1452
|
+
# Corresponds to the JSON property `scheduleEndMs`
|
1453
|
+
# @return [String]
|
1454
|
+
attr_accessor :schedule_end_ms
|
1455
|
+
|
1456
|
+
# The start timestamp in milliseconds to schedule a variable.
|
1457
|
+
# Corresponds to the JSON property `scheduleStartMs`
|
1458
|
+
# @return [String]
|
1459
|
+
attr_accessor :schedule_start_ms
|
1460
|
+
|
1461
|
+
# GTM Variable Type.
|
1462
|
+
# Corresponds to the JSON property `type`
|
1463
|
+
# @return [String]
|
1464
|
+
attr_accessor :type
|
1465
|
+
|
1466
|
+
# The Variable ID uniquely identifies the GTM Variable.
|
1467
|
+
# Corresponds to the JSON property `variableId`
|
1468
|
+
# @return [String]
|
1469
|
+
attr_accessor :variable_id
|
1470
|
+
|
1471
|
+
def initialize(**args)
|
1472
|
+
update!(**args)
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
# Update properties of this object
|
1476
|
+
def update!(**args)
|
1477
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
1478
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
1479
|
+
@disabling_trigger_id = args[:disabling_trigger_id] if args.key?(:disabling_trigger_id)
|
1480
|
+
@enabling_trigger_id = args[:enabling_trigger_id] if args.key?(:enabling_trigger_id)
|
1481
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
1482
|
+
@name = args[:name] if args.key?(:name)
|
1483
|
+
@notes = args[:notes] if args.key?(:notes)
|
1484
|
+
@parameter = args[:parameter] if args.key?(:parameter)
|
1485
|
+
@parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
|
1486
|
+
@schedule_end_ms = args[:schedule_end_ms] if args.key?(:schedule_end_ms)
|
1487
|
+
@schedule_start_ms = args[:schedule_start_ms] if args.key?(:schedule_start_ms)
|
1488
|
+
@type = args[:type] if args.key?(:type)
|
1489
|
+
@variable_id = args[:variable_id] if args.key?(:variable_id)
|
1490
|
+
end
|
1491
|
+
end
|
1492
|
+
end
|
1493
|
+
end
|
1494
|
+
end
|