google-api-client 0.11.3 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -7
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -393,7 +393,7 @@ module Google
|
|
393
393
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
394
394
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
395
395
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
396
|
-
def
|
396
|
+
def get_account_location_google_updated(name, fields: nil, quota_user: nil, options: nil, &block)
|
397
397
|
command = make_simple_command(:get, 'v3/{+name}:googleUpdated', options)
|
398
398
|
command.response_representation = Google::Apis::MybusinessV3::GoogleUpdatedLocation::Representation
|
399
399
|
command.response_class = Google::Apis::MybusinessV3::GoogleUpdatedLocation
|
@@ -797,7 +797,7 @@ module Google
|
|
797
797
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
798
798
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
799
799
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
800
|
-
def
|
800
|
+
def list_account_location_reviews(name, page_size: nil, page_token: nil, order_by: nil, fields: nil, quota_user: nil, options: nil, &block)
|
801
801
|
command = make_simple_command(:get, 'v3/{+name}/reviews', options)
|
802
802
|
command.response_representation = Google::Apis::MybusinessV3::ListReviewsResponse::Representation
|
803
803
|
command.response_class = Google::Apis::MybusinessV3::ListReviewsResponse
|
@@ -832,7 +832,7 @@ module Google
|
|
832
832
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
833
833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
834
834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
835
|
-
def
|
835
|
+
def get_account_location_review(name, fields: nil, quota_user: nil, options: nil, &block)
|
836
836
|
command = make_simple_command(:get, 'v3/{+name}', options)
|
837
837
|
command.response_representation = Google::Apis::MybusinessV3::Review::Representation
|
838
838
|
command.response_class = Google::Apis::MybusinessV3::Review
|
@@ -865,7 +865,7 @@ module Google
|
|
865
865
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
866
866
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
867
867
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
868
|
-
def
|
868
|
+
def reply_account_location_review(name, review_reply_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
869
869
|
command = make_simple_command(:post, 'v3/{+name}/reply', options)
|
870
870
|
command.request_representation = Google::Apis::MybusinessV3::ReviewReply::Representation
|
871
871
|
command.request_object = review_reply_object
|
@@ -898,7 +898,7 @@ module Google
|
|
898
898
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
899
899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
900
900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
901
|
-
def
|
901
|
+
def delete_account_location_review_reply(name, fields: nil, quota_user: nil, options: nil, &block)
|
902
902
|
command = make_simple_command(:delete, 'v3/{+name}/reply', options)
|
903
903
|
command.response_representation = Google::Apis::MybusinessV3::Empty::Representation
|
904
904
|
command.response_class = Google::Apis::MybusinessV3::Empty
|
@@ -177,7 +177,7 @@ module Google
|
|
177
177
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
178
178
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
179
179
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
180
|
-
def
|
180
|
+
def get_userinfo_v2_me(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
181
181
|
command = make_simple_command(:get, 'userinfo/v2/me', options)
|
182
182
|
command.response_representation = Google::Apis::Oauth2V2::Userinfoplus::Representation
|
183
183
|
command.response_class = Google::Apis::Oauth2V2::Userinfoplus
|
@@ -23,12 +23,12 @@ module Google
|
|
23
23
|
module PagespeedonlineV2
|
24
24
|
|
25
25
|
#
|
26
|
-
class
|
26
|
+
class PagespeedApiFormatStringV2
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# List of arguments for the format string.
|
30
30
|
# Corresponds to the JSON property `args`
|
31
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::
|
31
|
+
# @return [Array<Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg>]
|
32
32
|
attr_accessor :args
|
33
33
|
|
34
34
|
# A localized format string with ``FOO`` placeholders, where 'FOO' is the key of
|
@@ -63,13 +63,13 @@ module Google
|
|
63
63
|
# for a SNAPSHOT_RECT argument, it means that that argument refers to the entire
|
64
64
|
# snapshot.
|
65
65
|
# Corresponds to the JSON property `rects`
|
66
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::
|
66
|
+
# @return [Array<Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::Rect>]
|
67
67
|
attr_accessor :rects
|
68
68
|
|
69
69
|
# Secondary screen rectangles being referred to, with dimensions measured in CSS
|
70
70
|
# pixels. This is only ever used for SNAPSHOT_RECT arguments.
|
71
71
|
# Corresponds to the JSON property `secondary_rects`
|
72
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::
|
72
|
+
# @return [Array<Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::SecondaryRect>]
|
73
73
|
attr_accessor :secondary_rects
|
74
74
|
|
75
75
|
# Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION,
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
end
|
174
174
|
|
175
175
|
#
|
176
|
-
class
|
176
|
+
class PagespeedApiImageV2
|
177
177
|
include Google::Apis::Core::Hashable
|
178
178
|
|
179
179
|
# Image data base64 encoded.
|
@@ -200,7 +200,7 @@ module Google
|
|
200
200
|
# The region of the page that is captured by this image, with dimensions
|
201
201
|
# measured in CSS pixels.
|
202
202
|
# Corresponds to the JSON property `page_rect`
|
203
|
-
# @return [Google::Apis::PagespeedonlineV2::
|
203
|
+
# @return [Google::Apis::PagespeedonlineV2::PagespeedApiImageV2::PageRect]
|
204
204
|
attr_accessor :page_rect
|
205
205
|
|
206
206
|
# Width of screenshot in pixels.
|
@@ -307,7 +307,7 @@ module Google
|
|
307
307
|
|
308
308
|
# Base64-encoded screenshot of the page that was analyzed.
|
309
309
|
# Corresponds to the JSON property `screenshot`
|
310
|
-
# @return [Google::Apis::PagespeedonlineV2::
|
310
|
+
# @return [Google::Apis::PagespeedonlineV2::PagespeedApiImageV2]
|
311
311
|
attr_accessor :screenshot
|
312
312
|
|
313
313
|
# Title of the page, as displayed in the browser's title bar.
|
@@ -394,7 +394,7 @@ module Google
|
|
394
394
|
# A brief summary description for the rule, indicating at a high level what
|
395
395
|
# should be done to follow the rule and what benefit can be gained by doing so.
|
396
396
|
# Corresponds to the JSON property `summary`
|
397
|
-
# @return [Google::Apis::PagespeedonlineV2::
|
397
|
+
# @return [Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2]
|
398
398
|
attr_accessor :summary
|
399
399
|
|
400
400
|
# List of blocks of URLs. Each block may contain a heading and a list of URLs.
|
@@ -422,7 +422,7 @@ module Google
|
|
422
422
|
|
423
423
|
# Heading to be displayed with the list of URLs.
|
424
424
|
# Corresponds to the JSON property `header`
|
425
|
-
# @return [Google::Apis::PagespeedonlineV2::
|
425
|
+
# @return [Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2]
|
426
426
|
attr_accessor :header
|
427
427
|
|
428
428
|
# List of entries that provide information about URLs in the url block. Optional.
|
@@ -446,13 +446,13 @@ module Google
|
|
446
446
|
|
447
447
|
# List of entries that provide additional details about a single URL. Optional.
|
448
448
|
# Corresponds to the JSON property `details`
|
449
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::
|
449
|
+
# @return [Array<Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2>]
|
450
450
|
attr_accessor :details
|
451
451
|
|
452
452
|
# A format string that gives information about the URL, and a list of arguments
|
453
453
|
# for that format string.
|
454
454
|
# Corresponds to the JSON property `result`
|
455
|
-
# @return [Google::Apis::PagespeedonlineV2::
|
455
|
+
# @return [Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2]
|
456
456
|
attr_accessor :result
|
457
457
|
|
458
458
|
def initialize(**args)
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module PagespeedonlineV2
|
24
24
|
|
25
|
-
class
|
25
|
+
class PagespeedApiFormatStringV2
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
class Arg
|
@@ -46,7 +46,7 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class PagespeedApiImageV2
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
class PageRect
|
@@ -106,10 +106,10 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class PagespeedApiFormatStringV2
|
110
110
|
# @private
|
111
111
|
class Representation < Google::Apis::Core::JsonRepresentation
|
112
|
-
collection :args, as: 'args', class: Google::Apis::PagespeedonlineV2::
|
112
|
+
collection :args, as: 'args', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::Representation
|
113
113
|
|
114
114
|
property :format, as: 'format'
|
115
115
|
end
|
@@ -118,9 +118,9 @@ module Google
|
|
118
118
|
# @private
|
119
119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
120
120
|
property :key, as: 'key'
|
121
|
-
collection :rects, as: 'rects', class: Google::Apis::PagespeedonlineV2::
|
121
|
+
collection :rects, as: 'rects', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::Rect, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::Rect::Representation
|
122
122
|
|
123
|
-
collection :secondary_rects, as: 'secondary_rects', class: Google::Apis::PagespeedonlineV2::
|
123
|
+
collection :secondary_rects, as: 'secondary_rects', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::SecondaryRect, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::SecondaryRect::Representation
|
124
124
|
|
125
125
|
property :type, as: 'type'
|
126
126
|
property :value, as: 'value'
|
@@ -148,14 +148,14 @@ module Google
|
|
148
148
|
end
|
149
149
|
end
|
150
150
|
|
151
|
-
class
|
151
|
+
class PagespeedApiImageV2
|
152
152
|
# @private
|
153
153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
154
154
|
property :data, :base64 => true, as: 'data'
|
155
155
|
property :height, as: 'height'
|
156
156
|
property :key, as: 'key'
|
157
157
|
property :mime_type, as: 'mime_type'
|
158
|
-
property :page_rect, as: 'page_rect', class: Google::Apis::PagespeedonlineV2::
|
158
|
+
property :page_rect, as: 'page_rect', class: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2::PageRect, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2::PageRect::Representation
|
159
159
|
|
160
160
|
property :width, as: 'width'
|
161
161
|
end
|
@@ -184,7 +184,7 @@ module Google
|
|
184
184
|
property :response_code, as: 'responseCode'
|
185
185
|
hash :rule_groups, as: 'ruleGroups', class: Google::Apis::PagespeedonlineV2::Result::RuleGroup, decorator: Google::Apis::PagespeedonlineV2::Result::RuleGroup::Representation
|
186
186
|
|
187
|
-
property :screenshot, as: 'screenshot', class: Google::Apis::PagespeedonlineV2::
|
187
|
+
property :screenshot, as: 'screenshot', class: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2::Representation
|
188
188
|
|
189
189
|
property :title, as: 'title'
|
190
190
|
property :version, as: 'version', class: Google::Apis::PagespeedonlineV2::Result::Version, decorator: Google::Apis::PagespeedonlineV2::Result::Version::Representation
|
@@ -205,7 +205,7 @@ module Google
|
|
205
205
|
collection :groups, as: 'groups'
|
206
206
|
property :localized_rule_name, as: 'localizedRuleName'
|
207
207
|
property :rule_impact, as: 'ruleImpact'
|
208
|
-
property :summary, as: 'summary', class: Google::Apis::PagespeedonlineV2::
|
208
|
+
property :summary, as: 'summary', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
|
209
209
|
|
210
210
|
collection :url_blocks, as: 'urlBlocks', class: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock, decorator: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock::Representation
|
211
211
|
|
@@ -214,7 +214,7 @@ module Google
|
|
214
214
|
class UrlBlock
|
215
215
|
# @private
|
216
216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
217
|
-
property :header, as: 'header', class: Google::Apis::PagespeedonlineV2::
|
217
|
+
property :header, as: 'header', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
|
218
218
|
|
219
219
|
collection :urls, as: 'urls', class: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock::Url, decorator: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock::Url::Representation
|
220
220
|
|
@@ -223,9 +223,9 @@ module Google
|
|
223
223
|
class Url
|
224
224
|
# @private
|
225
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
226
|
-
collection :details, as: 'details', class: Google::Apis::PagespeedonlineV2::
|
226
|
+
collection :details, as: 'details', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
|
227
227
|
|
228
|
-
property :result, as: 'result', class: Google::Apis::PagespeedonlineV2::
|
228
|
+
property :result, as: 'result', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
|
229
229
|
|
230
230
|
end
|
231
231
|
end
|
@@ -91,7 +91,7 @@ module Google
|
|
91
91
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
92
92
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
93
93
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
94
|
-
def
|
94
|
+
def runpagespeed_pagespeedapi(url, filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
95
95
|
command = make_simple_command(:get, 'runPagespeed', options)
|
96
96
|
command.response_representation = Google::Apis::PagespeedonlineV2::Result::Representation
|
97
97
|
command.response_class = Google::Apis::PagespeedonlineV2::Result
|
@@ -26,6 +26,11 @@ module Google
|
|
26
26
|
class AnalyticsSummary
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
+
# Aggregated number of profile views for the `Company` for given date range.
|
30
|
+
# Corresponds to the JSON property `profileViewsCount`
|
31
|
+
# @return [Fixnum]
|
32
|
+
attr_accessor :profile_views_count
|
33
|
+
|
29
34
|
# Aggregated number of times users saw the `Company`
|
30
35
|
# in Google Partners Search results for given date range.
|
31
36
|
# Corresponds to the JSON property `searchViewsCount`
|
@@ -38,20 +43,15 @@ module Google
|
|
38
43
|
# @return [Fixnum]
|
39
44
|
attr_accessor :contacts_count
|
40
45
|
|
41
|
-
# Aggregated number of profile views for the `Company` for given date range.
|
42
|
-
# Corresponds to the JSON property `profileViewsCount`
|
43
|
-
# @return [Fixnum]
|
44
|
-
attr_accessor :profile_views_count
|
45
|
-
|
46
46
|
def initialize(**args)
|
47
47
|
update!(**args)
|
48
48
|
end
|
49
49
|
|
50
50
|
# Update properties of this object
|
51
51
|
def update!(**args)
|
52
|
+
@profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count)
|
52
53
|
@search_views_count = args[:search_views_count] if args.key?(:search_views_count)
|
53
54
|
@contacts_count = args[:contacts_count] if args.key?(:contacts_count)
|
54
|
-
@profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count)
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
@@ -60,16 +60,6 @@ module Google
|
|
60
60
|
class LogMessageRequest
|
61
61
|
include Google::Apis::Core::Hashable
|
62
62
|
|
63
|
-
# Message level of client message.
|
64
|
-
# Corresponds to the JSON property `level`
|
65
|
-
# @return [String]
|
66
|
-
attr_accessor :level
|
67
|
-
|
68
|
-
# Details about the client message.
|
69
|
-
# Corresponds to the JSON property `details`
|
70
|
-
# @return [String]
|
71
|
-
attr_accessor :details
|
72
|
-
|
73
63
|
# Map of client info, such as URL, browser navigator, browser platform, etc.
|
74
64
|
# Corresponds to the JSON property `clientInfo`
|
75
65
|
# @return [Hash<String,String>]
|
@@ -80,16 +70,26 @@ module Google
|
|
80
70
|
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
81
71
|
attr_accessor :request_metadata
|
82
72
|
|
73
|
+
# Message level of client message.
|
74
|
+
# Corresponds to the JSON property `level`
|
75
|
+
# @return [String]
|
76
|
+
attr_accessor :level
|
77
|
+
|
78
|
+
# Details about the client message.
|
79
|
+
# Corresponds to the JSON property `details`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :details
|
82
|
+
|
83
83
|
def initialize(**args)
|
84
84
|
update!(**args)
|
85
85
|
end
|
86
86
|
|
87
87
|
# Update properties of this object
|
88
88
|
def update!(**args)
|
89
|
-
@level = args[:level] if args.key?(:level)
|
90
|
-
@details = args[:details] if args.key?(:details)
|
91
89
|
@client_info = args[:client_info] if args.key?(:client_info)
|
92
90
|
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
91
|
+
@level = args[:level] if args.key?(:level)
|
92
|
+
@details = args[:details] if args.key?(:details)
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
@@ -98,6 +98,21 @@ module Google
|
|
98
98
|
class Lead
|
99
99
|
include Google::Apis::Core::Hashable
|
100
100
|
|
101
|
+
# Phone number of lead source.
|
102
|
+
# Corresponds to the JSON property `phoneNumber`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :phone_number
|
105
|
+
|
106
|
+
# The AdWords Customer ID of the lead.
|
107
|
+
# Corresponds to the JSON property `adwordsCustomerId`
|
108
|
+
# @return [Fixnum]
|
109
|
+
attr_accessor :adwords_customer_id
|
110
|
+
|
111
|
+
# Timestamp of when this lead was created.
|
112
|
+
# Corresponds to the JSON property `createTime`
|
113
|
+
# @return [String]
|
114
|
+
attr_accessor :create_time
|
115
|
+
|
101
116
|
# Whether or not the lead signed up for marketing emails
|
102
117
|
# Corresponds to the JSON property `marketingOptIn`
|
103
118
|
# @return [Boolean]
|
@@ -151,30 +166,15 @@ module Google
|
|
151
166
|
# @return [String]
|
152
167
|
attr_accessor :family_name
|
153
168
|
|
154
|
-
# Comments lead source gave.
|
155
|
-
# Corresponds to the JSON property `comments`
|
156
|
-
# @return [String]
|
157
|
-
attr_accessor :comments
|
158
|
-
|
159
169
|
# ID of the lead.
|
160
170
|
# Corresponds to the JSON property `id`
|
161
171
|
# @return [String]
|
162
172
|
attr_accessor :id
|
163
173
|
|
164
|
-
#
|
165
|
-
# Corresponds to the JSON property `
|
166
|
-
# @return [String]
|
167
|
-
attr_accessor :phone_number
|
168
|
-
|
169
|
-
# The AdWords Customer ID of the lead.
|
170
|
-
# Corresponds to the JSON property `adwordsCustomerId`
|
171
|
-
# @return [Fixnum]
|
172
|
-
attr_accessor :adwords_customer_id
|
173
|
-
|
174
|
-
# Timestamp of when this lead was created.
|
175
|
-
# Corresponds to the JSON property `createTime`
|
174
|
+
# Comments lead source gave.
|
175
|
+
# Corresponds to the JSON property `comments`
|
176
176
|
# @return [String]
|
177
|
-
attr_accessor :
|
177
|
+
attr_accessor :comments
|
178
178
|
|
179
179
|
def initialize(**args)
|
180
180
|
update!(**args)
|
@@ -182,6 +182,9 @@ module Google
|
|
182
182
|
|
183
183
|
# Update properties of this object
|
184
184
|
def update!(**args)
|
185
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
186
|
+
@adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id)
|
187
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
185
188
|
@marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in)
|
186
189
|
@type = args[:type] if args.key?(:type)
|
187
190
|
@min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget)
|
@@ -192,11 +195,8 @@ module Google
|
|
192
195
|
@gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations)
|
193
196
|
@email = args[:email] if args.key?(:email)
|
194
197
|
@family_name = args[:family_name] if args.key?(:family_name)
|
195
|
-
@comments = args[:comments] if args.key?(:comments)
|
196
198
|
@id = args[:id] if args.key?(:id)
|
197
|
-
@
|
198
|
-
@adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id)
|
199
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
199
|
+
@comments = args[:comments] if args.key?(:comments)
|
200
200
|
end
|
201
201
|
end
|
202
202
|
|
@@ -236,24 +236,24 @@ module Google
|
|
236
236
|
class ListUserStatesResponse
|
237
237
|
include Google::Apis::Core::Hashable
|
238
238
|
|
239
|
-
# Common data that is in each API response.
|
240
|
-
# Corresponds to the JSON property `responseMetadata`
|
241
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
242
|
-
attr_accessor :response_metadata
|
243
|
-
|
244
239
|
# User's states.
|
245
240
|
# Corresponds to the JSON property `userStates`
|
246
241
|
# @return [Array<String>]
|
247
242
|
attr_accessor :user_states
|
248
243
|
|
244
|
+
# Common data that is in each API response.
|
245
|
+
# Corresponds to the JSON property `responseMetadata`
|
246
|
+
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
247
|
+
attr_accessor :response_metadata
|
248
|
+
|
249
249
|
def initialize(**args)
|
250
250
|
update!(**args)
|
251
251
|
end
|
252
252
|
|
253
253
|
# Update properties of this object
|
254
254
|
def update!(**args)
|
255
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
256
255
|
@user_states = args[:user_states] if args.key?(:user_states)
|
256
|
+
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
257
257
|
end
|
258
258
|
end
|
259
259
|
|
@@ -287,12 +287,22 @@ module Google
|
|
287
287
|
# @return [String]
|
288
288
|
attr_accessor :website
|
289
289
|
|
290
|
+
# The primary country code of the company.
|
291
|
+
# Corresponds to the JSON property `primaryCountryCode`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :primary_country_code
|
294
|
+
|
290
295
|
# The ID of the company. There may be no id if this is a
|
291
296
|
# pending company.5
|
292
297
|
# Corresponds to the JSON property `companyId`
|
293
298
|
# @return [String]
|
294
299
|
attr_accessor :company_id
|
295
300
|
|
301
|
+
# The primary language code of the company.
|
302
|
+
# Corresponds to the JSON property `primaryLanguageCode`
|
303
|
+
# @return [String]
|
304
|
+
attr_accessor :primary_language_code
|
305
|
+
|
296
306
|
# A URL to a profile photo, e.g. a G+ profile photo.
|
297
307
|
# Corresponds to the JSON property `logoUrl`
|
298
308
|
# @return [String]
|
@@ -310,17 +320,17 @@ module Google
|
|
310
320
|
attr_accessor :company_admin
|
311
321
|
alias_method :company_admin?, :company_admin
|
312
322
|
|
313
|
-
# The primary address for this company.
|
314
|
-
# Corresponds to the JSON property `address`
|
315
|
-
# @return [String]
|
316
|
-
attr_accessor :address
|
317
|
-
|
318
323
|
# The flag that indicates if the company is pending verification.
|
319
324
|
# Corresponds to the JSON property `isPending`
|
320
325
|
# @return [Boolean]
|
321
326
|
attr_accessor :is_pending
|
322
327
|
alias_method :is_pending?, :is_pending
|
323
328
|
|
329
|
+
# The primary address for this company.
|
330
|
+
# Corresponds to the JSON property `address`
|
331
|
+
# @return [String]
|
332
|
+
attr_accessor :address
|
333
|
+
|
324
334
|
# The timestamp of when affiliation was requested.
|
325
335
|
# @OutputOnly
|
326
336
|
# Corresponds to the JSON property `creationTime`
|
@@ -332,6 +342,12 @@ module Google
|
|
332
342
|
# @return [String]
|
333
343
|
attr_accessor :state
|
334
344
|
|
345
|
+
# A location with address and geographic coordinates. May optionally contain a
|
346
|
+
# detailed (multi-field) version of the address.
|
347
|
+
# Corresponds to the JSON property `primaryAddress`
|
348
|
+
# @return [Google::Apis::PartnersV2::Location]
|
349
|
+
attr_accessor :primary_address
|
350
|
+
|
335
351
|
# The name (in the company's primary language) for the company.
|
336
352
|
# Corresponds to the JSON property `name`
|
337
353
|
# @return [String]
|
@@ -353,14 +369,17 @@ module Google
|
|
353
369
|
@badge_tier = args[:badge_tier] if args.key?(:badge_tier)
|
354
370
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
355
371
|
@website = args[:website] if args.key?(:website)
|
372
|
+
@primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
|
356
373
|
@company_id = args[:company_id] if args.key?(:company_id)
|
374
|
+
@primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
|
357
375
|
@logo_url = args[:logo_url] if args.key?(:logo_url)
|
358
376
|
@resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp)
|
359
377
|
@company_admin = args[:company_admin] if args.key?(:company_admin)
|
360
|
-
@address = args[:address] if args.key?(:address)
|
361
378
|
@is_pending = args[:is_pending] if args.key?(:is_pending)
|
379
|
+
@address = args[:address] if args.key?(:address)
|
362
380
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
363
381
|
@state = args[:state] if args.key?(:state)
|
382
|
+
@primary_address = args[:primary_address] if args.key?(:primary_address)
|
364
383
|
@name = args[:name] if args.key?(:name)
|
365
384
|
@manager_account = args[:manager_account] if args.key?(:manager_account)
|
366
385
|
end
|
@@ -376,6 +395,11 @@ module Google
|
|
376
395
|
class Date
|
377
396
|
include Google::Apis::Core::Hashable
|
378
397
|
|
398
|
+
# Month of year. Must be from 1 to 12.
|
399
|
+
# Corresponds to the JSON property `month`
|
400
|
+
# @return [Fixnum]
|
401
|
+
attr_accessor :month
|
402
|
+
|
379
403
|
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
380
404
|
# a year.
|
381
405
|
# Corresponds to the JSON property `year`
|
@@ -388,20 +412,15 @@ module Google
|
|
388
412
|
# @return [Fixnum]
|
389
413
|
attr_accessor :day
|
390
414
|
|
391
|
-
# Month of year. Must be from 1 to 12.
|
392
|
-
# Corresponds to the JSON property `month`
|
393
|
-
# @return [Fixnum]
|
394
|
-
attr_accessor :month
|
395
|
-
|
396
415
|
def initialize(**args)
|
397
416
|
update!(**args)
|
398
417
|
end
|
399
418
|
|
400
419
|
# Update properties of this object
|
401
420
|
def update!(**args)
|
421
|
+
@month = args[:month] if args.key?(:month)
|
402
422
|
@year = args[:year] if args.key?(:year)
|
403
423
|
@day = args[:day] if args.key?(:day)
|
404
|
-
@month = args[:month] if args.key?(:month)
|
405
424
|
end
|
406
425
|
end
|
407
426
|
|
@@ -453,6 +472,38 @@ module Google
|
|
453
472
|
end
|
454
473
|
end
|
455
474
|
|
475
|
+
# Request message for CreateLead.
|
476
|
+
class CreateLeadRequest
|
477
|
+
include Google::Apis::Core::Hashable
|
478
|
+
|
479
|
+
# A lead resource that represents an advertiser contact for a `Company`. These
|
480
|
+
# are usually generated via Google Partner Search (the advertiser portal).
|
481
|
+
# Corresponds to the JSON property `lead`
|
482
|
+
# @return [Google::Apis::PartnersV2::Lead]
|
483
|
+
attr_accessor :lead
|
484
|
+
|
485
|
+
# <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info.
|
486
|
+
# Corresponds to the JSON property `recaptchaChallenge`
|
487
|
+
# @return [Google::Apis::PartnersV2::RecaptchaChallenge]
|
488
|
+
attr_accessor :recaptcha_challenge
|
489
|
+
|
490
|
+
# Common data that is in each API request.
|
491
|
+
# Corresponds to the JSON property `requestMetadata`
|
492
|
+
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
493
|
+
attr_accessor :request_metadata
|
494
|
+
|
495
|
+
def initialize(**args)
|
496
|
+
update!(**args)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Update properties of this object
|
500
|
+
def update!(**args)
|
501
|
+
@lead = args[:lead] if args.key?(:lead)
|
502
|
+
@recaptcha_challenge = args[:recaptcha_challenge] if args.key?(:recaptcha_challenge)
|
503
|
+
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
456
507
|
# Common data that is in each API request.
|
457
508
|
class RequestMetadata
|
458
509
|
include Google::Apis::Core::Hashable
|
@@ -497,38 +548,6 @@ module Google
|
|
497
548
|
end
|
498
549
|
end
|
499
550
|
|
500
|
-
# Request message for CreateLead.
|
501
|
-
class CreateLeadRequest
|
502
|
-
include Google::Apis::Core::Hashable
|
503
|
-
|
504
|
-
# A lead resource that represents an advertiser contact for a `Company`. These
|
505
|
-
# are usually generated via Google Partner Search (the advertiser portal).
|
506
|
-
# Corresponds to the JSON property `lead`
|
507
|
-
# @return [Google::Apis::PartnersV2::Lead]
|
508
|
-
attr_accessor :lead
|
509
|
-
|
510
|
-
# <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info.
|
511
|
-
# Corresponds to the JSON property `recaptchaChallenge`
|
512
|
-
# @return [Google::Apis::PartnersV2::RecaptchaChallenge]
|
513
|
-
attr_accessor :recaptcha_challenge
|
514
|
-
|
515
|
-
# Common data that is in each API request.
|
516
|
-
# Corresponds to the JSON property `requestMetadata`
|
517
|
-
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
518
|
-
attr_accessor :request_metadata
|
519
|
-
|
520
|
-
def initialize(**args)
|
521
|
-
update!(**args)
|
522
|
-
end
|
523
|
-
|
524
|
-
# Update properties of this object
|
525
|
-
def update!(**args)
|
526
|
-
@lead = args[:lead] if args.key?(:lead)
|
527
|
-
@recaptcha_challenge = args[:recaptcha_challenge] if args.key?(:recaptcha_challenge)
|
528
|
-
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
529
|
-
end
|
530
|
-
end
|
531
|
-
|
532
551
|
# Key value data pair for an event.
|
533
552
|
class EventData
|
534
553
|
include Google::Apis::Core::Hashable
|
@@ -558,22 +577,6 @@ module Google
|
|
558
577
|
class ExamStatus
|
559
578
|
include Google::Apis::Core::Hashable
|
560
579
|
|
561
|
-
# Whether this exam is in the state of warning.
|
562
|
-
# Corresponds to the JSON property `warning`
|
563
|
-
# @return [Boolean]
|
564
|
-
attr_accessor :warning
|
565
|
-
alias_method :warning?, :warning
|
566
|
-
|
567
|
-
# Date this exam is due to expire.
|
568
|
-
# Corresponds to the JSON property `expiration`
|
569
|
-
# @return [String]
|
570
|
-
attr_accessor :expiration
|
571
|
-
|
572
|
-
# The date the user last passed this exam.
|
573
|
-
# Corresponds to the JSON property `lastPassed`
|
574
|
-
# @return [String]
|
575
|
-
attr_accessor :last_passed
|
576
|
-
|
577
580
|
# The type of the exam.
|
578
581
|
# Corresponds to the JSON property `examType`
|
579
582
|
# @return [String]
|
@@ -590,18 +593,34 @@ module Google
|
|
590
593
|
# @return [String]
|
591
594
|
attr_accessor :taken
|
592
595
|
|
596
|
+
# Whether this exam is in the state of warning.
|
597
|
+
# Corresponds to the JSON property `warning`
|
598
|
+
# @return [Boolean]
|
599
|
+
attr_accessor :warning
|
600
|
+
alias_method :warning?, :warning
|
601
|
+
|
602
|
+
# Date this exam is due to expire.
|
603
|
+
# Corresponds to the JSON property `expiration`
|
604
|
+
# @return [String]
|
605
|
+
attr_accessor :expiration
|
606
|
+
|
607
|
+
# The date the user last passed this exam.
|
608
|
+
# Corresponds to the JSON property `lastPassed`
|
609
|
+
# @return [String]
|
610
|
+
attr_accessor :last_passed
|
611
|
+
|
593
612
|
def initialize(**args)
|
594
613
|
update!(**args)
|
595
614
|
end
|
596
615
|
|
597
616
|
# Update properties of this object
|
598
617
|
def update!(**args)
|
599
|
-
@warning = args[:warning] if args.key?(:warning)
|
600
|
-
@expiration = args[:expiration] if args.key?(:expiration)
|
601
|
-
@last_passed = args[:last_passed] if args.key?(:last_passed)
|
602
618
|
@exam_type = args[:exam_type] if args.key?(:exam_type)
|
603
619
|
@passed = args[:passed] if args.key?(:passed)
|
604
620
|
@taken = args[:taken] if args.key?(:taken)
|
621
|
+
@warning = args[:warning] if args.key?(:warning)
|
622
|
+
@expiration = args[:expiration] if args.key?(:expiration)
|
623
|
+
@last_passed = args[:last_passed] if args.key?(:last_passed)
|
605
624
|
end
|
606
625
|
end
|
607
626
|
|
@@ -609,11 +628,6 @@ module Google
|
|
609
628
|
class ListOffersResponse
|
610
629
|
include Google::Apis::Core::Hashable
|
611
630
|
|
612
|
-
# Available Offers to be distributed.
|
613
|
-
# Corresponds to the JSON property `availableOffers`
|
614
|
-
# @return [Array<Google::Apis::PartnersV2::AvailableOffer>]
|
615
|
-
attr_accessor :available_offers
|
616
|
-
|
617
631
|
# Common data that is in each API response.
|
618
632
|
# Corresponds to the JSON property `responseMetadata`
|
619
633
|
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
@@ -624,15 +638,20 @@ module Google
|
|
624
638
|
# @return [String]
|
625
639
|
attr_accessor :no_offer_reason
|
626
640
|
|
641
|
+
# Available Offers to be distributed.
|
642
|
+
# Corresponds to the JSON property `availableOffers`
|
643
|
+
# @return [Array<Google::Apis::PartnersV2::AvailableOffer>]
|
644
|
+
attr_accessor :available_offers
|
645
|
+
|
627
646
|
def initialize(**args)
|
628
647
|
update!(**args)
|
629
648
|
end
|
630
649
|
|
631
650
|
# Update properties of this object
|
632
651
|
def update!(**args)
|
633
|
-
@available_offers = args[:available_offers] if args.key?(:available_offers)
|
634
652
|
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
635
653
|
@no_offer_reason = args[:no_offer_reason] if args.key?(:no_offer_reason)
|
654
|
+
@available_offers = args[:available_offers] if args.key?(:available_offers)
|
636
655
|
end
|
637
656
|
end
|
638
657
|
|
@@ -640,6 +659,11 @@ module Google
|
|
640
659
|
class CountryOfferInfo
|
641
660
|
include Google::Apis::Core::Hashable
|
642
661
|
|
662
|
+
# (localized) Get Y amount for that country's offer.
|
663
|
+
# Corresponds to the JSON property `getYAmount`
|
664
|
+
# @return [String]
|
665
|
+
attr_accessor :get_y_amount
|
666
|
+
|
643
667
|
# Country code for which offer codes may be requested.
|
644
668
|
# Corresponds to the JSON property `offerCountryCode`
|
645
669
|
# @return [String]
|
@@ -655,21 +679,16 @@ module Google
|
|
655
679
|
# @return [String]
|
656
680
|
attr_accessor :offer_type
|
657
681
|
|
658
|
-
# (localized) Get Y amount for that country's offer.
|
659
|
-
# Corresponds to the JSON property `getYAmount`
|
660
|
-
# @return [String]
|
661
|
-
attr_accessor :get_y_amount
|
662
|
-
|
663
682
|
def initialize(**args)
|
664
683
|
update!(**args)
|
665
684
|
end
|
666
685
|
|
667
686
|
# Update properties of this object
|
668
687
|
def update!(**args)
|
688
|
+
@get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
|
669
689
|
@offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
|
670
690
|
@spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
|
671
691
|
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
672
|
-
@get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
|
673
692
|
end
|
674
693
|
end
|
675
694
|
|
@@ -713,21 +732,6 @@ module Google
|
|
713
732
|
class OfferCustomer
|
714
733
|
include Google::Apis::Core::Hashable
|
715
734
|
|
716
|
-
# Formatted Get Y amount with currency code.
|
717
|
-
# Corresponds to the JSON property `getYAmount`
|
718
|
-
# @return [String]
|
719
|
-
attr_accessor :get_y_amount
|
720
|
-
|
721
|
-
# Name of the customer.
|
722
|
-
# Corresponds to the JSON property `name`
|
723
|
-
# @return [String]
|
724
|
-
attr_accessor :name
|
725
|
-
|
726
|
-
# Formatted Spend X amount with currency code.
|
727
|
-
# Corresponds to the JSON property `spendXAmount`
|
728
|
-
# @return [String]
|
729
|
-
attr_accessor :spend_x_amount
|
730
|
-
|
731
735
|
# URL to the customer's AdWords page.
|
732
736
|
# Corresponds to the JSON property `adwordsUrl`
|
733
737
|
# @return [String]
|
@@ -758,21 +762,36 @@ module Google
|
|
758
762
|
# @return [String]
|
759
763
|
attr_accessor :country_code
|
760
764
|
|
765
|
+
# Formatted Get Y amount with currency code.
|
766
|
+
# Corresponds to the JSON property `getYAmount`
|
767
|
+
# @return [String]
|
768
|
+
attr_accessor :get_y_amount
|
769
|
+
|
770
|
+
# Name of the customer.
|
771
|
+
# Corresponds to the JSON property `name`
|
772
|
+
# @return [String]
|
773
|
+
attr_accessor :name
|
774
|
+
|
775
|
+
# Formatted Spend X amount with currency code.
|
776
|
+
# Corresponds to the JSON property `spendXAmount`
|
777
|
+
# @return [String]
|
778
|
+
attr_accessor :spend_x_amount
|
779
|
+
|
761
780
|
def initialize(**args)
|
762
781
|
update!(**args)
|
763
782
|
end
|
764
783
|
|
765
784
|
# Update properties of this object
|
766
785
|
def update!(**args)
|
767
|
-
@get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
|
768
|
-
@name = args[:name] if args.key?(:name)
|
769
|
-
@spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
|
770
786
|
@adwords_url = args[:adwords_url] if args.key?(:adwords_url)
|
771
787
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
772
788
|
@eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left)
|
773
789
|
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
774
790
|
@external_cid = args[:external_cid] if args.key?(:external_cid)
|
775
791
|
@country_code = args[:country_code] if args.key?(:country_code)
|
792
|
+
@get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
|
793
|
+
@name = args[:name] if args.key?(:name)
|
794
|
+
@spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
|
776
795
|
end
|
777
796
|
end
|
778
797
|
|
@@ -780,12 +799,6 @@ module Google
|
|
780
799
|
class CertificationStatus
|
781
800
|
include Google::Apis::Core::Hashable
|
782
801
|
|
783
|
-
# Whether certification is passing.
|
784
|
-
# Corresponds to the JSON property `isCertified`
|
785
|
-
# @return [Boolean]
|
786
|
-
attr_accessor :is_certified
|
787
|
-
alias_method :is_certified?, :is_certified
|
788
|
-
|
789
802
|
# List of certification exam statuses.
|
790
803
|
# Corresponds to the JSON property `examStatuses`
|
791
804
|
# @return [Array<Google::Apis::PartnersV2::CertificationExamStatus>]
|
@@ -801,16 +814,22 @@ module Google
|
|
801
814
|
# @return [Fixnum]
|
802
815
|
attr_accessor :user_count
|
803
816
|
|
817
|
+
# Whether certification is passing.
|
818
|
+
# Corresponds to the JSON property `isCertified`
|
819
|
+
# @return [Boolean]
|
820
|
+
attr_accessor :is_certified
|
821
|
+
alias_method :is_certified?, :is_certified
|
822
|
+
|
804
823
|
def initialize(**args)
|
805
824
|
update!(**args)
|
806
825
|
end
|
807
826
|
|
808
827
|
# Update properties of this object
|
809
828
|
def update!(**args)
|
810
|
-
@is_certified = args[:is_certified] if args.key?(:is_certified)
|
811
829
|
@exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses)
|
812
830
|
@type = args[:type] if args.key?(:type)
|
813
831
|
@user_count = args[:user_count] if args.key?(:user_count)
|
832
|
+
@is_certified = args[:is_certified] if args.key?(:is_certified)
|
814
833
|
end
|
815
834
|
end
|
816
835
|
|
@@ -877,6 +896,12 @@ module Google
|
|
877
896
|
class ListOffersHistoryResponse
|
878
897
|
include Google::Apis::Core::Hashable
|
879
898
|
|
899
|
+
# True if the user has the option to show entire company history.
|
900
|
+
# Corresponds to the JSON property `canShowEntireCompany`
|
901
|
+
# @return [Boolean]
|
902
|
+
attr_accessor :can_show_entire_company
|
903
|
+
alias_method :can_show_entire_company?, :can_show_entire_company
|
904
|
+
|
880
905
|
# Number of results across all pages.
|
881
906
|
# Corresponds to the JSON property `totalResults`
|
882
907
|
# @return [Fixnum]
|
@@ -903,24 +928,18 @@ module Google
|
|
903
928
|
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
904
929
|
attr_accessor :response_metadata
|
905
930
|
|
906
|
-
# True if the user has the option to show entire company history.
|
907
|
-
# Corresponds to the JSON property `canShowEntireCompany`
|
908
|
-
# @return [Boolean]
|
909
|
-
attr_accessor :can_show_entire_company
|
910
|
-
alias_method :can_show_entire_company?, :can_show_entire_company
|
911
|
-
|
912
931
|
def initialize(**args)
|
913
932
|
update!(**args)
|
914
933
|
end
|
915
934
|
|
916
935
|
# Update properties of this object
|
917
936
|
def update!(**args)
|
937
|
+
@can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company)
|
918
938
|
@total_results = args[:total_results] if args.key?(:total_results)
|
919
939
|
@showing_entire_company = args[:showing_entire_company] if args.key?(:showing_entire_company)
|
920
940
|
@offers = args[:offers] if args.key?(:offers)
|
921
941
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
922
942
|
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
923
|
-
@can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company)
|
924
943
|
end
|
925
944
|
end
|
926
945
|
|
@@ -973,6 +992,16 @@ module Google
|
|
973
992
|
class Certification
|
974
993
|
include Google::Apis::Core::Hashable
|
975
994
|
|
995
|
+
# The type of certification, the area of expertise.
|
996
|
+
# Corresponds to the JSON property `certificationType`
|
997
|
+
# @return [String]
|
998
|
+
attr_accessor :certification_type
|
999
|
+
|
1000
|
+
# The date the user last achieved certification.
|
1001
|
+
# Corresponds to the JSON property `lastAchieved`
|
1002
|
+
# @return [String]
|
1003
|
+
attr_accessor :last_achieved
|
1004
|
+
|
976
1005
|
# Whether this certification has been achieved.
|
977
1006
|
# Corresponds to the JSON property `achieved`
|
978
1007
|
# @return [Boolean]
|
@@ -990,27 +1019,17 @@ module Google
|
|
990
1019
|
attr_accessor :warning
|
991
1020
|
alias_method :warning?, :warning
|
992
1021
|
|
993
|
-
# The type of certification, the area of expertise.
|
994
|
-
# Corresponds to the JSON property `certificationType`
|
995
|
-
# @return [String]
|
996
|
-
attr_accessor :certification_type
|
997
|
-
|
998
|
-
# The date the user last achieved certification.
|
999
|
-
# Corresponds to the JSON property `lastAchieved`
|
1000
|
-
# @return [String]
|
1001
|
-
attr_accessor :last_achieved
|
1002
|
-
|
1003
1022
|
def initialize(**args)
|
1004
1023
|
update!(**args)
|
1005
1024
|
end
|
1006
1025
|
|
1007
1026
|
# Update properties of this object
|
1008
1027
|
def update!(**args)
|
1028
|
+
@certification_type = args[:certification_type] if args.key?(:certification_type)
|
1029
|
+
@last_achieved = args[:last_achieved] if args.key?(:last_achieved)
|
1009
1030
|
@achieved = args[:achieved] if args.key?(:achieved)
|
1010
1031
|
@expiration = args[:expiration] if args.key?(:expiration)
|
1011
1032
|
@warning = args[:warning] if args.key?(:warning)
|
1012
|
-
@certification_type = args[:certification_type] if args.key?(:certification_type)
|
1013
|
-
@last_achieved = args[:last_achieved] if args.key?(:last_achieved)
|
1014
1033
|
end
|
1015
1034
|
end
|
1016
1035
|
|
@@ -1068,17 +1087,17 @@ module Google
|
|
1068
1087
|
# @return [String]
|
1069
1088
|
attr_accessor :company_verification_email
|
1070
1089
|
|
1090
|
+
# The profile information of a Partners user.
|
1091
|
+
# Corresponds to the JSON property `profile`
|
1092
|
+
# @return [Google::Apis::PartnersV2::UserProfile]
|
1093
|
+
attr_accessor :profile
|
1094
|
+
|
1071
1095
|
# A CompanyRelation resource representing information about a user's
|
1072
1096
|
# affiliation and standing with a company in Partners.
|
1073
1097
|
# Corresponds to the JSON property `company`
|
1074
1098
|
# @return [Google::Apis::PartnersV2::CompanyRelation]
|
1075
1099
|
attr_accessor :company
|
1076
1100
|
|
1077
|
-
# The profile information of a Partners user.
|
1078
|
-
# Corresponds to the JSON property `profile`
|
1079
|
-
# @return [Google::Apis::PartnersV2::UserProfile]
|
1080
|
-
attr_accessor :profile
|
1081
|
-
|
1082
1101
|
def initialize(**args)
|
1083
1102
|
update!(**args)
|
1084
1103
|
end
|
@@ -1093,8 +1112,8 @@ module Google
|
|
1093
1112
|
@public_profile = args[:public_profile] if args.key?(:public_profile)
|
1094
1113
|
@certification_status = args[:certification_status] if args.key?(:certification_status)
|
1095
1114
|
@company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email)
|
1096
|
-
@company = args[:company] if args.key?(:company)
|
1097
1115
|
@profile = args[:profile] if args.key?(:profile)
|
1116
|
+
@company = args[:company] if args.key?(:company)
|
1098
1117
|
end
|
1099
1118
|
end
|
1100
1119
|
|
@@ -1103,6 +1122,13 @@ module Google
|
|
1103
1122
|
class ListAnalyticsResponse
|
1104
1123
|
include Google::Apis::Core::Hashable
|
1105
1124
|
|
1125
|
+
# The list of analytics.
|
1126
|
+
# Sorted in ascending order of
|
1127
|
+
# Analytics.event_date.
|
1128
|
+
# Corresponds to the JSON property `analytics`
|
1129
|
+
# @return [Array<Google::Apis::PartnersV2::Analytics>]
|
1130
|
+
attr_accessor :analytics
|
1131
|
+
|
1106
1132
|
# A token to retrieve next page of results.
|
1107
1133
|
# Pass this value in the `ListAnalyticsRequest.page_token` field in the
|
1108
1134
|
# subsequent call to
|
@@ -1122,23 +1148,16 @@ module Google
|
|
1122
1148
|
# @return [Google::Apis::PartnersV2::AnalyticsSummary]
|
1123
1149
|
attr_accessor :analytics_summary
|
1124
1150
|
|
1125
|
-
# The list of analytics.
|
1126
|
-
# Sorted in ascending order of
|
1127
|
-
# Analytics.event_date.
|
1128
|
-
# Corresponds to the JSON property `analytics`
|
1129
|
-
# @return [Array<Google::Apis::PartnersV2::Analytics>]
|
1130
|
-
attr_accessor :analytics
|
1131
|
-
|
1132
1151
|
def initialize(**args)
|
1133
1152
|
update!(**args)
|
1134
1153
|
end
|
1135
1154
|
|
1136
1155
|
# Update properties of this object
|
1137
1156
|
def update!(**args)
|
1157
|
+
@analytics = args[:analytics] if args.key?(:analytics)
|
1138
1158
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1139
1159
|
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1140
1160
|
@analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary)
|
1141
|
-
@analytics = args[:analytics] if args.key?(:analytics)
|
1142
1161
|
end
|
1143
1162
|
end
|
1144
1163
|
|
@@ -1188,10 +1207,53 @@ module Google
|
|
1188
1207
|
class Company
|
1189
1208
|
include Google::Apis::Core::Hashable
|
1190
1209
|
|
1191
|
-
#
|
1192
|
-
#
|
1210
|
+
# A location with address and geographic coordinates. May optionally contain a
|
1211
|
+
# detailed (multi-field) version of the address.
|
1212
|
+
# Corresponds to the JSON property `primaryLocation`
|
1213
|
+
# @return [Google::Apis::PartnersV2::Location]
|
1214
|
+
attr_accessor :primary_location
|
1215
|
+
|
1216
|
+
# Services the company can help with.
|
1217
|
+
# Corresponds to the JSON property `services`
|
1218
|
+
# @return [Array<String>]
|
1219
|
+
attr_accessor :services
|
1220
|
+
|
1221
|
+
# Represents an amount of money with its currency type.
|
1222
|
+
# Corresponds to the JSON property `originalMinMonthlyBudget`
|
1223
|
+
# @return [Google::Apis::PartnersV2::Money]
|
1224
|
+
attr_accessor :original_min_monthly_budget
|
1225
|
+
|
1226
|
+
# Basic information from a public profile.
|
1227
|
+
# Corresponds to the JSON property `publicProfile`
|
1228
|
+
# @return [Google::Apis::PartnersV2::PublicProfile]
|
1229
|
+
attr_accessor :public_profile
|
1230
|
+
|
1231
|
+
# Information related to the ranking of the company within the list of
|
1232
|
+
# companies.
|
1233
|
+
# Corresponds to the JSON property `ranks`
|
1234
|
+
# @return [Array<Google::Apis::PartnersV2::Rank>]
|
1235
|
+
attr_accessor :ranks
|
1236
|
+
|
1237
|
+
# The list of Google Partners specialization statuses for the company.
|
1238
|
+
# Corresponds to the JSON property `specializationStatus`
|
1239
|
+
# @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
|
1240
|
+
attr_accessor :specialization_status
|
1241
|
+
|
1242
|
+
# Partner badge tier
|
1243
|
+
# Corresponds to the JSON property `badgeTier`
|
1193
1244
|
# @return [String]
|
1194
|
-
attr_accessor :
|
1245
|
+
attr_accessor :badge_tier
|
1246
|
+
|
1247
|
+
# Company type labels listed on the company's profile.
|
1248
|
+
# Corresponds to the JSON property `companyTypes`
|
1249
|
+
# @return [Array<String>]
|
1250
|
+
attr_accessor :company_types
|
1251
|
+
|
1252
|
+
# Email domains that allow users with a matching email address to get
|
1253
|
+
# auto-approved for associating with this company.
|
1254
|
+
# Corresponds to the JSON property `autoApprovalEmailDomains`
|
1255
|
+
# @return [Array<String>]
|
1256
|
+
attr_accessor :auto_approval_email_domains
|
1195
1257
|
|
1196
1258
|
# The primary language code of the company, as defined by
|
1197
1259
|
# <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
|
@@ -1200,6 +1262,11 @@ module Google
|
|
1200
1262
|
# @return [String]
|
1201
1263
|
attr_accessor :primary_language_code
|
1202
1264
|
|
1265
|
+
# The public viewability status of the company's profile.
|
1266
|
+
# Corresponds to the JSON property `profileStatus`
|
1267
|
+
# @return [String]
|
1268
|
+
attr_accessor :profile_status
|
1269
|
+
|
1203
1270
|
# The list of all company locations.
|
1204
1271
|
# If set, must include the
|
1205
1272
|
# primary_location
|
@@ -1218,11 +1285,6 @@ module Google
|
|
1218
1285
|
# @return [Array<String>]
|
1219
1286
|
attr_accessor :industries
|
1220
1287
|
|
1221
|
-
# URL of the company's website.
|
1222
|
-
# Corresponds to the JSON property `websiteUrl`
|
1223
|
-
# @return [String]
|
1224
|
-
attr_accessor :website_url
|
1225
|
-
|
1226
1288
|
# URL of the company's additional websites used to verify the dynamic badges.
|
1227
1289
|
# These are stored as full URLs as entered by the user, but only the TLD will
|
1228
1290
|
# be used for the actual verification.
|
@@ -1230,6 +1292,11 @@ module Google
|
|
1230
1292
|
# @return [Array<String>]
|
1231
1293
|
attr_accessor :additional_websites
|
1232
1294
|
|
1295
|
+
# URL of the company's website.
|
1296
|
+
# Corresponds to the JSON property `websiteUrl`
|
1297
|
+
# @return [String]
|
1298
|
+
attr_accessor :website_url
|
1299
|
+
|
1233
1300
|
# The Primary AdWords Manager Account id.
|
1234
1301
|
# Corresponds to the JSON property `primaryAdwordsManagerAccountId`
|
1235
1302
|
# @return [Fixnum]
|
@@ -1245,63 +1312,15 @@ module Google
|
|
1245
1312
|
# @return [Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>]
|
1246
1313
|
attr_accessor :localized_infos
|
1247
1314
|
|
1248
|
-
# The list of Google Partners certification statuses for the company.
|
1249
|
-
# Corresponds to the JSON property `certificationStatuses`
|
1250
|
-
# @return [Array<Google::Apis::PartnersV2::CertificationStatus>]
|
1251
|
-
attr_accessor :certification_statuses
|
1252
|
-
|
1253
1315
|
# The ID of the company.
|
1254
1316
|
# Corresponds to the JSON property `id`
|
1255
1317
|
# @return [String]
|
1256
1318
|
attr_accessor :id
|
1257
1319
|
|
1258
|
-
#
|
1259
|
-
# Corresponds to the JSON property `
|
1260
|
-
# @return [Google::Apis::PartnersV2::
|
1261
|
-
attr_accessor :
|
1262
|
-
|
1263
|
-
# Basic information from a public profile.
|
1264
|
-
# Corresponds to the JSON property `publicProfile`
|
1265
|
-
# @return [Google::Apis::PartnersV2::PublicProfile]
|
1266
|
-
attr_accessor :public_profile
|
1267
|
-
|
1268
|
-
# A location with address and geographic coordinates. May optionally contain a
|
1269
|
-
# detailed (multi-field) version of the address.
|
1270
|
-
# Corresponds to the JSON property `primaryLocation`
|
1271
|
-
# @return [Google::Apis::PartnersV2::Location]
|
1272
|
-
attr_accessor :primary_location
|
1273
|
-
|
1274
|
-
# Services the company can help with.
|
1275
|
-
# Corresponds to the JSON property `services`
|
1276
|
-
# @return [Array<String>]
|
1277
|
-
attr_accessor :services
|
1278
|
-
|
1279
|
-
# Information related to the ranking of the company within the list of
|
1280
|
-
# companies.
|
1281
|
-
# Corresponds to the JSON property `ranks`
|
1282
|
-
# @return [Array<Google::Apis::PartnersV2::Rank>]
|
1283
|
-
attr_accessor :ranks
|
1284
|
-
|
1285
|
-
# The list of Google Partners specialization statuses for the company.
|
1286
|
-
# Corresponds to the JSON property `specializationStatus`
|
1287
|
-
# @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
|
1288
|
-
attr_accessor :specialization_status
|
1289
|
-
|
1290
|
-
# Partner badge tier
|
1291
|
-
# Corresponds to the JSON property `badgeTier`
|
1292
|
-
# @return [String]
|
1293
|
-
attr_accessor :badge_tier
|
1294
|
-
|
1295
|
-
# Email domains that allow users with a matching email address to get
|
1296
|
-
# auto-approved for associating with this company.
|
1297
|
-
# Corresponds to the JSON property `autoApprovalEmailDomains`
|
1298
|
-
# @return [Array<String>]
|
1299
|
-
attr_accessor :auto_approval_email_domains
|
1300
|
-
|
1301
|
-
# Company type labels listed on the company's profile.
|
1302
|
-
# Corresponds to the JSON property `companyTypes`
|
1303
|
-
# @return [Array<String>]
|
1304
|
-
attr_accessor :company_types
|
1320
|
+
# The list of Google Partners certification statuses for the company.
|
1321
|
+
# Corresponds to the JSON property `certificationStatuses`
|
1322
|
+
# @return [Array<Google::Apis::PartnersV2::CertificationStatus>]
|
1323
|
+
attr_accessor :certification_statuses
|
1305
1324
|
|
1306
1325
|
def initialize(**args)
|
1307
1326
|
update!(**args)
|
@@ -1309,27 +1328,27 @@ module Google
|
|
1309
1328
|
|
1310
1329
|
# Update properties of this object
|
1311
1330
|
def update!(**args)
|
1312
|
-
@
|
1331
|
+
@primary_location = args[:primary_location] if args.key?(:primary_location)
|
1332
|
+
@services = args[:services] if args.key?(:services)
|
1333
|
+
@original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget)
|
1334
|
+
@public_profile = args[:public_profile] if args.key?(:public_profile)
|
1335
|
+
@ranks = args[:ranks] if args.key?(:ranks)
|
1336
|
+
@specialization_status = args[:specialization_status] if args.key?(:specialization_status)
|
1337
|
+
@badge_tier = args[:badge_tier] if args.key?(:badge_tier)
|
1338
|
+
@company_types = args[:company_types] if args.key?(:company_types)
|
1339
|
+
@auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains)
|
1313
1340
|
@primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
|
1341
|
+
@profile_status = args[:profile_status] if args.key?(:profile_status)
|
1314
1342
|
@locations = args[:locations] if args.key?(:locations)
|
1315
1343
|
@converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget)
|
1316
1344
|
@industries = args[:industries] if args.key?(:industries)
|
1317
|
-
@website_url = args[:website_url] if args.key?(:website_url)
|
1318
1345
|
@additional_websites = args[:additional_websites] if args.key?(:additional_websites)
|
1346
|
+
@website_url = args[:website_url] if args.key?(:website_url)
|
1319
1347
|
@primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id)
|
1320
1348
|
@name = args[:name] if args.key?(:name)
|
1321
1349
|
@localized_infos = args[:localized_infos] if args.key?(:localized_infos)
|
1322
|
-
@certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
|
1323
1350
|
@id = args[:id] if args.key?(:id)
|
1324
|
-
@
|
1325
|
-
@public_profile = args[:public_profile] if args.key?(:public_profile)
|
1326
|
-
@primary_location = args[:primary_location] if args.key?(:primary_location)
|
1327
|
-
@services = args[:services] if args.key?(:services)
|
1328
|
-
@ranks = args[:ranks] if args.key?(:ranks)
|
1329
|
-
@specialization_status = args[:specialization_status] if args.key?(:specialization_status)
|
1330
|
-
@badge_tier = args[:badge_tier] if args.key?(:badge_tier)
|
1331
|
-
@auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains)
|
1332
|
-
@company_types = args[:company_types] if args.key?(:company_types)
|
1351
|
+
@certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
|
1333
1352
|
end
|
1334
1353
|
end
|
1335
1354
|
|
@@ -1337,11 +1356,6 @@ module Google
|
|
1337
1356
|
class CreateLeadResponse
|
1338
1357
|
include Google::Apis::Core::Hashable
|
1339
1358
|
|
1340
|
-
# Common data that is in each API response.
|
1341
|
-
# Corresponds to the JSON property `responseMetadata`
|
1342
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1343
|
-
attr_accessor :response_metadata
|
1344
|
-
|
1345
1359
|
# A lead resource that represents an advertiser contact for a `Company`. These
|
1346
1360
|
# are usually generated via Google Partner Search (the advertiser portal).
|
1347
1361
|
# Corresponds to the JSON property `lead`
|
@@ -1354,15 +1368,20 @@ module Google
|
|
1354
1368
|
# @return [String]
|
1355
1369
|
attr_accessor :recaptcha_status
|
1356
1370
|
|
1371
|
+
# Common data that is in each API response.
|
1372
|
+
# Corresponds to the JSON property `responseMetadata`
|
1373
|
+
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1374
|
+
attr_accessor :response_metadata
|
1375
|
+
|
1357
1376
|
def initialize(**args)
|
1358
1377
|
update!(**args)
|
1359
1378
|
end
|
1360
1379
|
|
1361
1380
|
# Update properties of this object
|
1362
1381
|
def update!(**args)
|
1363
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1364
1382
|
@lead = args[:lead] if args.key?(:lead)
|
1365
1383
|
@recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status)
|
1384
|
+
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1366
1385
|
end
|
1367
1386
|
end
|
1368
1387
|
|
@@ -1397,28 +1416,6 @@ module Google
|
|
1397
1416
|
class Location
|
1398
1417
|
include Google::Apis::Core::Hashable
|
1399
1418
|
|
1400
|
-
# Values are frequently alphanumeric.
|
1401
|
-
# Corresponds to the JSON property `postalCode`
|
1402
|
-
# @return [String]
|
1403
|
-
attr_accessor :postal_code
|
1404
|
-
|
1405
|
-
# Use of this code is very country-specific, but will refer to a secondary
|
1406
|
-
# classification code for sorting mail.
|
1407
|
-
# Corresponds to the JSON property `sortingCode`
|
1408
|
-
# @return [String]
|
1409
|
-
attr_accessor :sorting_code
|
1410
|
-
|
1411
|
-
# Language code of the address. Should be in BCP 47 format.
|
1412
|
-
# Corresponds to the JSON property `languageCode`
|
1413
|
-
# @return [String]
|
1414
|
-
attr_accessor :language_code
|
1415
|
-
|
1416
|
-
# The following address lines represent the most specific part of any
|
1417
|
-
# address.
|
1418
|
-
# Corresponds to the JSON property `addressLine`
|
1419
|
-
# @return [Array<String>]
|
1420
|
-
attr_accessor :address_line
|
1421
|
-
|
1422
1419
|
# Generally refers to the city/town portion of an address.
|
1423
1420
|
# Corresponds to the JSON property `locality`
|
1424
1421
|
# @return [String]
|
@@ -1464,8 +1461,6 @@ module Google
|
|
1464
1461
|
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
1465
1462
|
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
1466
1463
|
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
1467
|
-
# The code in logs/storage/validator/logs_validator_traits.cc treats this type
|
1468
|
-
# as if it were annotated as ST_LOCATION.
|
1469
1464
|
# Corresponds to the JSON property `latLng`
|
1470
1465
|
# @return [Google::Apis::PartnersV2::LatLng]
|
1471
1466
|
attr_accessor :lat_lng
|
@@ -1475,16 +1470,38 @@ module Google
|
|
1475
1470
|
# @return [String]
|
1476
1471
|
attr_accessor :address
|
1477
1472
|
|
1473
|
+
# Dependent locality or sublocality. Used for UK dependent localities, or
|
1474
|
+
# neighborhoods or boroughs in other locations.
|
1475
|
+
# Corresponds to the JSON property `dependentLocality`
|
1476
|
+
# @return [String]
|
1477
|
+
attr_accessor :dependent_locality
|
1478
|
+
|
1478
1479
|
# CLDR (Common Locale Data Repository) region code .
|
1479
1480
|
# Corresponds to the JSON property `regionCode`
|
1480
1481
|
# @return [String]
|
1481
1482
|
attr_accessor :region_code
|
1482
1483
|
|
1483
|
-
#
|
1484
|
-
#
|
1485
|
-
# Corresponds to the JSON property `dependentLocality`
|
1484
|
+
# Values are frequently alphanumeric.
|
1485
|
+
# Corresponds to the JSON property `postalCode`
|
1486
1486
|
# @return [String]
|
1487
|
-
attr_accessor :
|
1487
|
+
attr_accessor :postal_code
|
1488
|
+
|
1489
|
+
# Language code of the address. Should be in BCP 47 format.
|
1490
|
+
# Corresponds to the JSON property `languageCode`
|
1491
|
+
# @return [String]
|
1492
|
+
attr_accessor :language_code
|
1493
|
+
|
1494
|
+
# Use of this code is very country-specific, but will refer to a secondary
|
1495
|
+
# classification code for sorting mail.
|
1496
|
+
# Corresponds to the JSON property `sortingCode`
|
1497
|
+
# @return [String]
|
1498
|
+
attr_accessor :sorting_code
|
1499
|
+
|
1500
|
+
# The following address lines represent the most specific part of any
|
1501
|
+
# address.
|
1502
|
+
# Corresponds to the JSON property `addressLine`
|
1503
|
+
# @return [Array<String>]
|
1504
|
+
attr_accessor :address_line
|
1488
1505
|
|
1489
1506
|
def initialize(**args)
|
1490
1507
|
update!(**args)
|
@@ -1492,32 +1509,37 @@ module Google
|
|
1492
1509
|
|
1493
1510
|
# Update properties of this object
|
1494
1511
|
def update!(**args)
|
1495
|
-
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
1496
|
-
@sorting_code = args[:sorting_code] if args.key?(:sorting_code)
|
1497
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
1498
|
-
@address_line = args[:address_line] if args.key?(:address_line)
|
1499
1512
|
@locality = args[:locality] if args.key?(:locality)
|
1500
1513
|
@administrative_area = args[:administrative_area] if args.key?(:administrative_area)
|
1501
1514
|
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
|
1502
1515
|
@address = args[:address] if args.key?(:address)
|
1503
|
-
@region_code = args[:region_code] if args.key?(:region_code)
|
1504
1516
|
@dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality)
|
1517
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
1518
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
1519
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
1520
|
+
@sorting_code = args[:sorting_code] if args.key?(:sorting_code)
|
1521
|
+
@address_line = args[:address_line] if args.key?(:address_line)
|
1505
1522
|
end
|
1506
1523
|
end
|
1507
1524
|
|
1508
|
-
#
|
1509
|
-
class
|
1525
|
+
# A token that allows a user to take an exam.
|
1526
|
+
class ExamToken
|
1510
1527
|
include Google::Apis::Core::Hashable
|
1511
1528
|
|
1512
|
-
# The
|
1513
|
-
# Corresponds to the JSON property `
|
1529
|
+
# The id of the exam the token is for.
|
1530
|
+
# Corresponds to the JSON property `examId`
|
1514
1531
|
# @return [Fixnum]
|
1515
|
-
attr_accessor :
|
1532
|
+
attr_accessor :exam_id
|
1516
1533
|
|
1517
|
-
# The
|
1518
|
-
# Corresponds to the JSON property `
|
1534
|
+
# The token, only present if the user has access to the exam.
|
1535
|
+
# Corresponds to the JSON property `token`
|
1519
1536
|
# @return [String]
|
1520
|
-
attr_accessor :
|
1537
|
+
attr_accessor :token
|
1538
|
+
|
1539
|
+
# The type of the exam the token belongs to.
|
1540
|
+
# Corresponds to the JSON property `examType`
|
1541
|
+
# @return [String]
|
1542
|
+
attr_accessor :exam_type
|
1521
1543
|
|
1522
1544
|
def initialize(**args)
|
1523
1545
|
update!(**args)
|
@@ -1525,29 +1547,25 @@ module Google
|
|
1525
1547
|
|
1526
1548
|
# Update properties of this object
|
1527
1549
|
def update!(**args)
|
1528
|
-
@
|
1529
|
-
@
|
1550
|
+
@exam_id = args[:exam_id] if args.key?(:exam_id)
|
1551
|
+
@token = args[:token] if args.key?(:token)
|
1552
|
+
@exam_type = args[:exam_type] if args.key?(:exam_type)
|
1530
1553
|
end
|
1531
1554
|
end
|
1532
1555
|
|
1533
|
-
#
|
1534
|
-
class
|
1556
|
+
# Status for a Google Partners certification exam.
|
1557
|
+
class CertificationExamStatus
|
1535
1558
|
include Google::Apis::Core::Hashable
|
1536
1559
|
|
1537
|
-
# The
|
1538
|
-
# Corresponds to the JSON property `
|
1539
|
-
# @return [String]
|
1540
|
-
attr_accessor :token
|
1541
|
-
|
1542
|
-
# The type of the exam the token belongs to.
|
1543
|
-
# Corresponds to the JSON property `examType`
|
1560
|
+
# The type of certification exam.
|
1561
|
+
# Corresponds to the JSON property `type`
|
1544
1562
|
# @return [String]
|
1545
|
-
attr_accessor :
|
1563
|
+
attr_accessor :type
|
1546
1564
|
|
1547
|
-
# The
|
1548
|
-
# Corresponds to the JSON property `
|
1565
|
+
# The number of people who have passed the certification exam.
|
1566
|
+
# Corresponds to the JSON property `numberUsersPass`
|
1549
1567
|
# @return [Fixnum]
|
1550
|
-
attr_accessor :
|
1568
|
+
attr_accessor :number_users_pass
|
1551
1569
|
|
1552
1570
|
def initialize(**args)
|
1553
1571
|
update!(**args)
|
@@ -1555,9 +1573,8 @@ module Google
|
|
1555
1573
|
|
1556
1574
|
# Update properties of this object
|
1557
1575
|
def update!(**args)
|
1558
|
-
@
|
1559
|
-
@
|
1560
|
-
@exam_id = args[:exam_id] if args.key?(:exam_id)
|
1576
|
+
@type = args[:type] if args.key?(:type)
|
1577
|
+
@number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass)
|
1561
1578
|
end
|
1562
1579
|
end
|
1563
1580
|
|
@@ -1565,6 +1582,19 @@ module Google
|
|
1565
1582
|
class OptIns
|
1566
1583
|
include Google::Apis::Core::Hashable
|
1567
1584
|
|
1585
|
+
# An opt-in about receiving email regarding new features and products.
|
1586
|
+
# Corresponds to the JSON property `specialOffers`
|
1587
|
+
# @return [Boolean]
|
1588
|
+
attr_accessor :special_offers
|
1589
|
+
alias_method :special_offers?, :special_offers
|
1590
|
+
|
1591
|
+
# An opt-in about receiving email with customized AdWords campaign management
|
1592
|
+
# tips.
|
1593
|
+
# Corresponds to the JSON property `performanceSuggestions`
|
1594
|
+
# @return [Boolean]
|
1595
|
+
attr_accessor :performance_suggestions
|
1596
|
+
alias_method :performance_suggestions?, :performance_suggestions
|
1597
|
+
|
1568
1598
|
# An opt-in to receive special promotional gifts and material in the mail.
|
1569
1599
|
# Corresponds to the JSON property `physicalMail`
|
1570
1600
|
# @return [Boolean]
|
@@ -1584,30 +1614,17 @@ module Google
|
|
1584
1614
|
attr_accessor :market_comm
|
1585
1615
|
alias_method :market_comm?, :market_comm
|
1586
1616
|
|
1587
|
-
# An opt-in about receiving email regarding new features and products.
|
1588
|
-
# Corresponds to the JSON property `specialOffers`
|
1589
|
-
# @return [Boolean]
|
1590
|
-
attr_accessor :special_offers
|
1591
|
-
alias_method :special_offers?, :special_offers
|
1592
|
-
|
1593
|
-
# An opt-in about receiving email with customized AdWords campaign management
|
1594
|
-
# tips.
|
1595
|
-
# Corresponds to the JSON property `performanceSuggestions`
|
1596
|
-
# @return [Boolean]
|
1597
|
-
attr_accessor :performance_suggestions
|
1598
|
-
alias_method :performance_suggestions?, :performance_suggestions
|
1599
|
-
|
1600
1617
|
def initialize(**args)
|
1601
1618
|
update!(**args)
|
1602
1619
|
end
|
1603
1620
|
|
1604
1621
|
# Update properties of this object
|
1605
1622
|
def update!(**args)
|
1623
|
+
@special_offers = args[:special_offers] if args.key?(:special_offers)
|
1624
|
+
@performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions)
|
1606
1625
|
@physical_mail = args[:physical_mail] if args.key?(:physical_mail)
|
1607
1626
|
@phone_contact = args[:phone_contact] if args.key?(:phone_contact)
|
1608
1627
|
@market_comm = args[:market_comm] if args.key?(:market_comm)
|
1609
|
-
@special_offers = args[:special_offers] if args.key?(:special_offers)
|
1610
|
-
@performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions)
|
1611
1628
|
end
|
1612
1629
|
end
|
1613
1630
|
|
@@ -1640,6 +1657,27 @@ module Google
|
|
1640
1657
|
class UserProfile
|
1641
1658
|
include Google::Apis::Core::Hashable
|
1642
1659
|
|
1660
|
+
# The email address the user has selected on the Partners site as primary.
|
1661
|
+
# Corresponds to the JSON property `emailAddress`
|
1662
|
+
# @return [String]
|
1663
|
+
attr_accessor :email_address
|
1664
|
+
|
1665
|
+
# Whether the user's public profile is visible to anyone with the URL.
|
1666
|
+
# Corresponds to the JSON property `profilePublic`
|
1667
|
+
# @return [Boolean]
|
1668
|
+
attr_accessor :profile_public
|
1669
|
+
alias_method :profile_public?, :profile_public
|
1670
|
+
|
1671
|
+
# A list of ids representing which channels the user selected they were in.
|
1672
|
+
# Corresponds to the JSON property `channels`
|
1673
|
+
# @return [Array<String>]
|
1674
|
+
attr_accessor :channels
|
1675
|
+
|
1676
|
+
# A list of ids represnting which job categories the user selected.
|
1677
|
+
# Corresponds to the JSON property `jobFunctions`
|
1678
|
+
# @return [Array<String>]
|
1679
|
+
attr_accessor :job_functions
|
1680
|
+
|
1643
1681
|
# The user's given name.
|
1644
1682
|
# Corresponds to the JSON property `givenName`
|
1645
1683
|
# @return [String]
|
@@ -1661,16 +1699,16 @@ module Google
|
|
1661
1699
|
# @return [Array<String>]
|
1662
1700
|
attr_accessor :languages
|
1663
1701
|
|
1664
|
-
# A set of opt-ins for a user.
|
1665
|
-
# Corresponds to the JSON property `emailOptIns`
|
1666
|
-
# @return [Google::Apis::PartnersV2::OptIns]
|
1667
|
-
attr_accessor :email_opt_ins
|
1668
|
-
|
1669
1702
|
# The user's family name.
|
1670
1703
|
# Corresponds to the JSON property `familyName`
|
1671
1704
|
# @return [String]
|
1672
1705
|
attr_accessor :family_name
|
1673
1706
|
|
1707
|
+
# A set of opt-ins for a user.
|
1708
|
+
# Corresponds to the JSON property `emailOptIns`
|
1709
|
+
# @return [Google::Apis::PartnersV2::OptIns]
|
1710
|
+
attr_accessor :email_opt_ins
|
1711
|
+
|
1674
1712
|
# A list of ids representing which markets the user was interested in.
|
1675
1713
|
# Corresponds to the JSON property `markets`
|
1676
1714
|
# @return [Array<String>]
|
@@ -1693,47 +1731,26 @@ module Google
|
|
1693
1731
|
# @return [String]
|
1694
1732
|
attr_accessor :primary_country_code
|
1695
1733
|
|
1696
|
-
# The email address the user has selected on the Partners site as primary.
|
1697
|
-
# Corresponds to the JSON property `emailAddress`
|
1698
|
-
# @return [String]
|
1699
|
-
attr_accessor :email_address
|
1700
|
-
|
1701
|
-
# A list of ids representing which channels the user selected they were in.
|
1702
|
-
# Corresponds to the JSON property `channels`
|
1703
|
-
# @return [Array<String>]
|
1704
|
-
attr_accessor :channels
|
1705
|
-
|
1706
|
-
# Whether the user's public profile is visible to anyone with the URL.
|
1707
|
-
# Corresponds to the JSON property `profilePublic`
|
1708
|
-
# @return [Boolean]
|
1709
|
-
attr_accessor :profile_public
|
1710
|
-
alias_method :profile_public?, :profile_public
|
1711
|
-
|
1712
|
-
# A list of ids represnting which job categories the user selected.
|
1713
|
-
# Corresponds to the JSON property `jobFunctions`
|
1714
|
-
# @return [Array<String>]
|
1715
|
-
attr_accessor :job_functions
|
1716
|
-
|
1717
1734
|
def initialize(**args)
|
1718
1735
|
update!(**args)
|
1719
1736
|
end
|
1720
1737
|
|
1721
1738
|
# Update properties of this object
|
1722
1739
|
def update!(**args)
|
1740
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
1741
|
+
@profile_public = args[:profile_public] if args.key?(:profile_public)
|
1742
|
+
@channels = args[:channels] if args.key?(:channels)
|
1743
|
+
@job_functions = args[:job_functions] if args.key?(:job_functions)
|
1723
1744
|
@given_name = args[:given_name] if args.key?(:given_name)
|
1724
1745
|
@address = args[:address] if args.key?(:address)
|
1725
1746
|
@industries = args[:industries] if args.key?(:industries)
|
1726
1747
|
@languages = args[:languages] if args.key?(:languages)
|
1727
|
-
@email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins)
|
1728
1748
|
@family_name = args[:family_name] if args.key?(:family_name)
|
1749
|
+
@email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins)
|
1729
1750
|
@markets = args[:markets] if args.key?(:markets)
|
1730
1751
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
1731
1752
|
@adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account)
|
1732
1753
|
@primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
|
1733
|
-
@email_address = args[:email_address] if args.key?(:email_address)
|
1734
|
-
@channels = args[:channels] if args.key?(:channels)
|
1735
|
-
@profile_public = args[:profile_public] if args.key?(:profile_public)
|
1736
|
-
@job_functions = args[:job_functions] if args.key?(:job_functions)
|
1737
1754
|
end
|
1738
1755
|
end
|
1739
1756
|
|
@@ -1761,21 +1778,36 @@ module Google
|
|
1761
1778
|
class HistoricalOffer
|
1762
1779
|
include Google::Apis::Core::Hashable
|
1763
1780
|
|
1781
|
+
# Country Code for the offer country.
|
1782
|
+
# Corresponds to the JSON property `offerCountryCode`
|
1783
|
+
# @return [String]
|
1784
|
+
attr_accessor :offer_country_code
|
1785
|
+
|
1786
|
+
# Time this offer expires.
|
1787
|
+
# Corresponds to the JSON property `expirationTime`
|
1788
|
+
# @return [String]
|
1789
|
+
attr_accessor :expiration_time
|
1790
|
+
|
1791
|
+
# Offer code.
|
1792
|
+
# Corresponds to the JSON property `offerCode`
|
1793
|
+
# @return [String]
|
1794
|
+
attr_accessor :offer_code
|
1795
|
+
|
1764
1796
|
# Time offer was first created.
|
1765
1797
|
# Corresponds to the JSON property `creationTime`
|
1766
1798
|
# @return [String]
|
1767
1799
|
attr_accessor :creation_time
|
1768
1800
|
|
1769
|
-
# Status of the offer.
|
1770
|
-
# Corresponds to the JSON property `status`
|
1771
|
-
# @return [String]
|
1772
|
-
attr_accessor :status
|
1773
|
-
|
1774
1801
|
# Email address for client.
|
1775
1802
|
# Corresponds to the JSON property `clientEmail`
|
1776
1803
|
# @return [String]
|
1777
1804
|
attr_accessor :client_email
|
1778
1805
|
|
1806
|
+
# Status of the offer.
|
1807
|
+
# Corresponds to the JSON property `status`
|
1808
|
+
# @return [String]
|
1809
|
+
attr_accessor :status
|
1810
|
+
|
1779
1811
|
# ID of client.
|
1780
1812
|
# Corresponds to the JSON property `clientId`
|
1781
1813
|
# @return [Fixnum]
|
@@ -1806,39 +1838,24 @@ module Google
|
|
1806
1838
|
# @return [String]
|
1807
1839
|
attr_accessor :sender_name
|
1808
1840
|
|
1809
|
-
# Country Code for the offer country.
|
1810
|
-
# Corresponds to the JSON property `offerCountryCode`
|
1811
|
-
# @return [String]
|
1812
|
-
attr_accessor :offer_country_code
|
1813
|
-
|
1814
|
-
# Time this offer expires.
|
1815
|
-
# Corresponds to the JSON property `expirationTime`
|
1816
|
-
# @return [String]
|
1817
|
-
attr_accessor :expiration_time
|
1818
|
-
|
1819
|
-
# Offer code.
|
1820
|
-
# Corresponds to the JSON property `offerCode`
|
1821
|
-
# @return [String]
|
1822
|
-
attr_accessor :offer_code
|
1823
|
-
|
1824
1841
|
def initialize(**args)
|
1825
1842
|
update!(**args)
|
1826
1843
|
end
|
1827
1844
|
|
1828
1845
|
# Update properties of this object
|
1829
1846
|
def update!(**args)
|
1847
|
+
@offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
|
1848
|
+
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
1849
|
+
@offer_code = args[:offer_code] if args.key?(:offer_code)
|
1830
1850
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
1831
|
-
@status = args[:status] if args.key?(:status)
|
1832
1851
|
@client_email = args[:client_email] if args.key?(:client_email)
|
1852
|
+
@status = args[:status] if args.key?(:status)
|
1833
1853
|
@client_id = args[:client_id] if args.key?(:client_id)
|
1834
1854
|
@client_name = args[:client_name] if args.key?(:client_name)
|
1835
1855
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
1836
1856
|
@adwords_url = args[:adwords_url] if args.key?(:adwords_url)
|
1837
1857
|
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
1838
1858
|
@sender_name = args[:sender_name] if args.key?(:sender_name)
|
1839
|
-
@offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
|
1840
|
-
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
1841
|
-
@offer_code = args[:offer_code] if args.key?(:offer_code)
|
1842
1859
|
end
|
1843
1860
|
end
|
1844
1861
|
|
@@ -1847,32 +1864,16 @@ module Google
|
|
1847
1864
|
class LogUserEventRequest
|
1848
1865
|
include Google::Apis::Core::Hashable
|
1849
1866
|
|
1850
|
-
#
|
1851
|
-
# Corresponds to the JSON property `
|
1852
|
-
# @return [
|
1853
|
-
attr_accessor :
|
1854
|
-
|
1855
|
-
# A lead resource that represents an advertiser contact for a `Company`. These
|
1856
|
-
# are usually generated via Google Partner Search (the advertiser portal).
|
1857
|
-
# Corresponds to the JSON property `lead`
|
1858
|
-
# @return [Google::Apis::PartnersV2::Lead]
|
1859
|
-
attr_accessor :lead
|
1860
|
-
|
1861
|
-
# The action that occurred.
|
1862
|
-
# Corresponds to the JSON property `eventAction`
|
1863
|
-
# @return [String]
|
1864
|
-
attr_accessor :event_action
|
1867
|
+
# Common data that is in each API request.
|
1868
|
+
# Corresponds to the JSON property `requestMetadata`
|
1869
|
+
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
1870
|
+
attr_accessor :request_metadata
|
1865
1871
|
|
1866
1872
|
# The URL where the event occurred.
|
1867
1873
|
# Corresponds to the JSON property `url`
|
1868
1874
|
# @return [String]
|
1869
1875
|
attr_accessor :url
|
1870
1876
|
|
1871
|
-
# Common data that is in each API request.
|
1872
|
-
# Corresponds to the JSON property `requestMetadata`
|
1873
|
-
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
1874
|
-
attr_accessor :request_metadata
|
1875
|
-
|
1876
1877
|
# List of event data for the event.
|
1877
1878
|
# Corresponds to the JSON property `eventDatas`
|
1878
1879
|
# @return [Array<Google::Apis::PartnersV2::EventData>]
|
@@ -1883,19 +1884,35 @@ module Google
|
|
1883
1884
|
# @return [String]
|
1884
1885
|
attr_accessor :event_scope
|
1885
1886
|
|
1887
|
+
# The category the action belongs to.
|
1888
|
+
# Corresponds to the JSON property `eventCategory`
|
1889
|
+
# @return [String]
|
1890
|
+
attr_accessor :event_category
|
1891
|
+
|
1892
|
+
# A lead resource that represents an advertiser contact for a `Company`. These
|
1893
|
+
# are usually generated via Google Partner Search (the advertiser portal).
|
1894
|
+
# Corresponds to the JSON property `lead`
|
1895
|
+
# @return [Google::Apis::PartnersV2::Lead]
|
1896
|
+
attr_accessor :lead
|
1897
|
+
|
1898
|
+
# The action that occurred.
|
1899
|
+
# Corresponds to the JSON property `eventAction`
|
1900
|
+
# @return [String]
|
1901
|
+
attr_accessor :event_action
|
1902
|
+
|
1886
1903
|
def initialize(**args)
|
1887
1904
|
update!(**args)
|
1888
1905
|
end
|
1889
1906
|
|
1890
1907
|
# Update properties of this object
|
1891
1908
|
def update!(**args)
|
1892
|
-
@event_category = args[:event_category] if args.key?(:event_category)
|
1893
|
-
@lead = args[:lead] if args.key?(:lead)
|
1894
|
-
@event_action = args[:event_action] if args.key?(:event_action)
|
1895
|
-
@url = args[:url] if args.key?(:url)
|
1896
1909
|
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
1910
|
+
@url = args[:url] if args.key?(:url)
|
1897
1911
|
@event_datas = args[:event_datas] if args.key?(:event_datas)
|
1898
1912
|
@event_scope = args[:event_scope] if args.key?(:event_scope)
|
1913
|
+
@event_category = args[:event_category] if args.key?(:event_category)
|
1914
|
+
@lead = args[:lead] if args.key?(:lead)
|
1915
|
+
@event_action = args[:event_action] if args.key?(:event_action)
|
1899
1916
|
end
|
1900
1917
|
end
|
1901
1918
|
|
@@ -1904,24 +1921,24 @@ module Google
|
|
1904
1921
|
class UserOverrides
|
1905
1922
|
include Google::Apis::Core::Hashable
|
1906
1923
|
|
1907
|
-
# IP address to use instead of the user's geo-located IP address.
|
1908
|
-
# Corresponds to the JSON property `ipAddress`
|
1909
|
-
# @return [String]
|
1910
|
-
attr_accessor :ip_address
|
1911
|
-
|
1912
1924
|
# Logged-in user ID to impersonate instead of the user's ID.
|
1913
1925
|
# Corresponds to the JSON property `userId`
|
1914
1926
|
# @return [String]
|
1915
1927
|
attr_accessor :user_id
|
1916
1928
|
|
1929
|
+
# IP address to use instead of the user's geo-located IP address.
|
1930
|
+
# Corresponds to the JSON property `ipAddress`
|
1931
|
+
# @return [String]
|
1932
|
+
attr_accessor :ip_address
|
1933
|
+
|
1917
1934
|
def initialize(**args)
|
1918
1935
|
update!(**args)
|
1919
1936
|
end
|
1920
1937
|
|
1921
1938
|
# Update properties of this object
|
1922
1939
|
def update!(**args)
|
1923
|
-
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1924
1940
|
@user_id = args[:user_id] if args.key?(:user_id)
|
1941
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1925
1942
|
end
|
1926
1943
|
end
|
1927
1944
|
|
@@ -1929,25 +1946,25 @@ module Google
|
|
1929
1946
|
class AnalyticsDataPoint
|
1930
1947
|
include Google::Apis::Core::Hashable
|
1931
1948
|
|
1932
|
-
# Location information of where these events occurred.
|
1933
|
-
# Corresponds to the JSON property `eventLocations`
|
1934
|
-
# @return [Array<Google::Apis::PartnersV2::LatLng>]
|
1935
|
-
attr_accessor :event_locations
|
1936
|
-
|
1937
1949
|
# Number of times the type of event occurred.
|
1938
1950
|
# Meaning depends on context (e.g. profile views, contacts, etc.).
|
1939
1951
|
# Corresponds to the JSON property `eventCount`
|
1940
1952
|
# @return [Fixnum]
|
1941
1953
|
attr_accessor :event_count
|
1942
1954
|
|
1955
|
+
# Location information of where these events occurred.
|
1956
|
+
# Corresponds to the JSON property `eventLocations`
|
1957
|
+
# @return [Array<Google::Apis::PartnersV2::LatLng>]
|
1958
|
+
attr_accessor :event_locations
|
1959
|
+
|
1943
1960
|
def initialize(**args)
|
1944
1961
|
update!(**args)
|
1945
1962
|
end
|
1946
1963
|
|
1947
1964
|
# Update properties of this object
|
1948
1965
|
def update!(**args)
|
1949
|
-
@event_locations = args[:event_locations] if args.key?(:event_locations)
|
1950
1966
|
@event_count = args[:event_count] if args.key?(:event_count)
|
1967
|
+
@event_locations = args[:event_locations] if args.key?(:event_locations)
|
1951
1968
|
end
|
1952
1969
|
end
|
1953
1970
|
|
@@ -1955,11 +1972,6 @@ module Google
|
|
1955
1972
|
class Analytics
|
1956
1973
|
include Google::Apis::Core::Hashable
|
1957
1974
|
|
1958
|
-
# Details of the analytics events for a `Company` within a single day.
|
1959
|
-
# Corresponds to the JSON property `contacts`
|
1960
|
-
# @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
|
1961
|
-
attr_accessor :contacts
|
1962
|
-
|
1963
1975
|
# Represents a whole calendar date, e.g. date of birth. The time of day and
|
1964
1976
|
# time zone are either specified elsewhere or are not significant. The date
|
1965
1977
|
# is relative to the Proleptic Gregorian Calendar. The day may be 0 to
|
@@ -1981,47 +1993,38 @@ module Google
|
|
1981
1993
|
# @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
|
1982
1994
|
attr_accessor :search_views
|
1983
1995
|
|
1996
|
+
# Details of the analytics events for a `Company` within a single day.
|
1997
|
+
# Corresponds to the JSON property `contacts`
|
1998
|
+
# @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
|
1999
|
+
attr_accessor :contacts
|
2000
|
+
|
1984
2001
|
def initialize(**args)
|
1985
2002
|
update!(**args)
|
1986
2003
|
end
|
1987
2004
|
|
1988
2005
|
# Update properties of this object
|
1989
2006
|
def update!(**args)
|
1990
|
-
@contacts = args[:contacts] if args.key?(:contacts)
|
1991
2007
|
@event_date = args[:event_date] if args.key?(:event_date)
|
1992
2008
|
@profile_views = args[:profile_views] if args.key?(:profile_views)
|
1993
2009
|
@search_views = args[:search_views] if args.key?(:search_views)
|
2010
|
+
@contacts = args[:contacts] if args.key?(:contacts)
|
1994
2011
|
end
|
1995
2012
|
end
|
1996
2013
|
|
1997
|
-
#
|
1998
|
-
|
2014
|
+
# Information about a particular AdWords Manager Account.
|
2015
|
+
# Read more at https://support.google.com/adwords/answer/6139186
|
2016
|
+
class AdWordsManagerAccountInfo
|
1999
2017
|
include Google::Apis::Core::Hashable
|
2000
2018
|
|
2001
|
-
# The
|
2002
|
-
# Corresponds to the JSON property `profileImage`
|
2003
|
-
# @return [String]
|
2004
|
-
attr_accessor :profile_image
|
2005
|
-
|
2006
|
-
# The display name of the public profile.
|
2007
|
-
# Corresponds to the JSON property `displayName`
|
2008
|
-
# @return [String]
|
2009
|
-
attr_accessor :display_name
|
2010
|
-
|
2011
|
-
# The URL to the main display image of the public profile. Being deprecated.
|
2012
|
-
# Corresponds to the JSON property `displayImageUrl`
|
2013
|
-
# @return [String]
|
2014
|
-
attr_accessor :display_image_url
|
2015
|
-
|
2016
|
-
# The ID which can be used to retrieve more details about the public profile.
|
2019
|
+
# The AdWords Manager Account id.
|
2017
2020
|
# Corresponds to the JSON property `id`
|
2018
|
-
# @return [
|
2021
|
+
# @return [Fixnum]
|
2019
2022
|
attr_accessor :id
|
2020
2023
|
|
2021
|
-
#
|
2022
|
-
# Corresponds to the JSON property `
|
2024
|
+
# Name of the customer this account represents.
|
2025
|
+
# Corresponds to the JSON property `customerName`
|
2023
2026
|
# @return [String]
|
2024
|
-
attr_accessor :
|
2027
|
+
attr_accessor :customer_name
|
2025
2028
|
|
2026
2029
|
def initialize(**args)
|
2027
2030
|
update!(**args)
|
@@ -2029,28 +2032,39 @@ module Google
|
|
2029
2032
|
|
2030
2033
|
# Update properties of this object
|
2031
2034
|
def update!(**args)
|
2032
|
-
@profile_image = args[:profile_image] if args.key?(:profile_image)
|
2033
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2034
|
-
@display_image_url = args[:display_image_url] if args.key?(:display_image_url)
|
2035
2035
|
@id = args[:id] if args.key?(:id)
|
2036
|
-
@
|
2036
|
+
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
2037
2037
|
end
|
2038
2038
|
end
|
2039
2039
|
|
2040
|
-
#
|
2041
|
-
|
2042
|
-
class AdWordsManagerAccountInfo
|
2040
|
+
# Basic information from a public profile.
|
2041
|
+
class PublicProfile
|
2043
2042
|
include Google::Apis::Core::Hashable
|
2044
2043
|
|
2045
|
-
# The
|
2044
|
+
# The ID which can be used to retrieve more details about the public profile.
|
2046
2045
|
# Corresponds to the JSON property `id`
|
2047
|
-
# @return [
|
2046
|
+
# @return [String]
|
2048
2047
|
attr_accessor :id
|
2049
2048
|
|
2050
|
-
#
|
2051
|
-
# Corresponds to the JSON property `
|
2049
|
+
# The URL of the public profile.
|
2050
|
+
# Corresponds to the JSON property `url`
|
2052
2051
|
# @return [String]
|
2053
|
-
attr_accessor :
|
2052
|
+
attr_accessor :url
|
2053
|
+
|
2054
|
+
# The URL to the main profile image of the public profile.
|
2055
|
+
# Corresponds to the JSON property `profileImage`
|
2056
|
+
# @return [String]
|
2057
|
+
attr_accessor :profile_image
|
2058
|
+
|
2059
|
+
# The display name of the public profile.
|
2060
|
+
# Corresponds to the JSON property `displayName`
|
2061
|
+
# @return [String]
|
2062
|
+
attr_accessor :display_name
|
2063
|
+
|
2064
|
+
# The URL to the main display image of the public profile. Being deprecated.
|
2065
|
+
# Corresponds to the JSON property `displayImageUrl`
|
2066
|
+
# @return [String]
|
2067
|
+
attr_accessor :display_image_url
|
2054
2068
|
|
2055
2069
|
def initialize(**args)
|
2056
2070
|
update!(**args)
|
@@ -2059,7 +2073,10 @@ module Google
|
|
2059
2073
|
# Update properties of this object
|
2060
2074
|
def update!(**args)
|
2061
2075
|
@id = args[:id] if args.key?(:id)
|
2062
|
-
@
|
2076
|
+
@url = args[:url] if args.key?(:url)
|
2077
|
+
@profile_image = args[:profile_image] if args.key?(:profile_image)
|
2078
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2079
|
+
@display_image_url = args[:display_image_url] if args.key?(:display_image_url)
|
2063
2080
|
end
|
2064
2081
|
end
|
2065
2082
|
|
@@ -2086,24 +2103,24 @@ module Google
|
|
2086
2103
|
class RecaptchaChallenge
|
2087
2104
|
include Google::Apis::Core::Hashable
|
2088
2105
|
|
2089
|
-
# The ID of the reCaptcha challenge.
|
2090
|
-
# Corresponds to the JSON property `id`
|
2091
|
-
# @return [String]
|
2092
|
-
attr_accessor :id
|
2093
|
-
|
2094
2106
|
# The response to the reCaptcha challenge.
|
2095
2107
|
# Corresponds to the JSON property `response`
|
2096
2108
|
# @return [String]
|
2097
2109
|
attr_accessor :response
|
2098
2110
|
|
2111
|
+
# The ID of the reCaptcha challenge.
|
2112
|
+
# Corresponds to the JSON property `id`
|
2113
|
+
# @return [String]
|
2114
|
+
attr_accessor :id
|
2115
|
+
|
2099
2116
|
def initialize(**args)
|
2100
2117
|
update!(**args)
|
2101
2118
|
end
|
2102
2119
|
|
2103
2120
|
# Update properties of this object
|
2104
2121
|
def update!(**args)
|
2105
|
-
@id = args[:id] if args.key?(:id)
|
2106
2122
|
@response = args[:response] if args.key?(:response)
|
2123
|
+
@id = args[:id] if args.key?(:id)
|
2107
2124
|
end
|
2108
2125
|
end
|
2109
2126
|
|
@@ -2111,6 +2128,27 @@ module Google
|
|
2111
2128
|
class AvailableOffer
|
2112
2129
|
include Google::Apis::Core::Hashable
|
2113
2130
|
|
2131
|
+
# Level of this offer.
|
2132
|
+
# Corresponds to the JSON property `offerLevel`
|
2133
|
+
# @return [String]
|
2134
|
+
attr_accessor :offer_level
|
2135
|
+
|
2136
|
+
# Name of the offer.
|
2137
|
+
# Corresponds to the JSON property `name`
|
2138
|
+
# @return [String]
|
2139
|
+
attr_accessor :name
|
2140
|
+
|
2141
|
+
# Whether or not the list of qualified customers is definitely complete.
|
2142
|
+
# Corresponds to the JSON property `qualifiedCustomersComplete`
|
2143
|
+
# @return [Boolean]
|
2144
|
+
attr_accessor :qualified_customers_complete
|
2145
|
+
alias_method :qualified_customers_complete?, :qualified_customers_complete
|
2146
|
+
|
2147
|
+
# ID of this offer.
|
2148
|
+
# Corresponds to the JSON property `id`
|
2149
|
+
# @return [Fixnum]
|
2150
|
+
attr_accessor :id
|
2151
|
+
|
2114
2152
|
# Offer info by country.
|
2115
2153
|
# Corresponds to the JSON property `countryOfferInfos`
|
2116
2154
|
# @return [Array<Google::Apis::PartnersV2::CountryOfferInfo>]
|
@@ -2152,33 +2190,16 @@ module Google
|
|
2152
2190
|
# @return [String]
|
2153
2191
|
attr_accessor :description
|
2154
2192
|
|
2155
|
-
# Level of this offer.
|
2156
|
-
# Corresponds to the JSON property `offerLevel`
|
2157
|
-
# @return [String]
|
2158
|
-
attr_accessor :offer_level
|
2159
|
-
|
2160
|
-
# Name of the offer.
|
2161
|
-
# Corresponds to the JSON property `name`
|
2162
|
-
# @return [String]
|
2163
|
-
attr_accessor :name
|
2164
|
-
|
2165
|
-
# ID of this offer.
|
2166
|
-
# Corresponds to the JSON property `id`
|
2167
|
-
# @return [Fixnum]
|
2168
|
-
attr_accessor :id
|
2169
|
-
|
2170
|
-
# Whether or not the list of qualified customers is definitely complete.
|
2171
|
-
# Corresponds to the JSON property `qualifiedCustomersComplete`
|
2172
|
-
# @return [Boolean]
|
2173
|
-
attr_accessor :qualified_customers_complete
|
2174
|
-
alias_method :qualified_customers_complete?, :qualified_customers_complete
|
2175
|
-
|
2176
2193
|
def initialize(**args)
|
2177
2194
|
update!(**args)
|
2178
2195
|
end
|
2179
2196
|
|
2180
2197
|
# Update properties of this object
|
2181
2198
|
def update!(**args)
|
2199
|
+
@offer_level = args[:offer_level] if args.key?(:offer_level)
|
2200
|
+
@name = args[:name] if args.key?(:name)
|
2201
|
+
@qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete)
|
2202
|
+
@id = args[:id] if args.key?(:id)
|
2182
2203
|
@country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos)
|
2183
2204
|
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
2184
2205
|
@max_account_age = args[:max_account_age] if args.key?(:max_account_age)
|
@@ -2187,10 +2208,6 @@ module Google
|
|
2187
2208
|
@show_special_offer_copy = args[:show_special_offer_copy] if args.key?(:show_special_offer_copy)
|
2188
2209
|
@available = args[:available] if args.key?(:available)
|
2189
2210
|
@description = args[:description] if args.key?(:description)
|
2190
|
-
@offer_level = args[:offer_level] if args.key?(:offer_level)
|
2191
|
-
@name = args[:name] if args.key?(:name)
|
2192
|
-
@id = args[:id] if args.key?(:id)
|
2193
|
-
@qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete)
|
2194
2211
|
end
|
2195
2212
|
end
|
2196
2213
|
|
@@ -2229,29 +2246,27 @@ module Google
|
|
2229
2246
|
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
2230
2247
|
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
2231
2248
|
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
2232
|
-
# The code in logs/storage/validator/logs_validator_traits.cc treats this type
|
2233
|
-
# as if it were annotated as ST_LOCATION.
|
2234
2249
|
class LatLng
|
2235
2250
|
include Google::Apis::Core::Hashable
|
2236
2251
|
|
2237
|
-
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
2238
|
-
# Corresponds to the JSON property `latitude`
|
2239
|
-
# @return [Float]
|
2240
|
-
attr_accessor :latitude
|
2241
|
-
|
2242
2252
|
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
2243
2253
|
# Corresponds to the JSON property `longitude`
|
2244
2254
|
# @return [Float]
|
2245
2255
|
attr_accessor :longitude
|
2246
2256
|
|
2257
|
+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
2258
|
+
# Corresponds to the JSON property `latitude`
|
2259
|
+
# @return [Float]
|
2260
|
+
attr_accessor :latitude
|
2261
|
+
|
2247
2262
|
def initialize(**args)
|
2248
2263
|
update!(**args)
|
2249
2264
|
end
|
2250
2265
|
|
2251
2266
|
# Update properties of this object
|
2252
2267
|
def update!(**args)
|
2253
|
-
@latitude = args[:latitude] if args.key?(:latitude)
|
2254
2268
|
@longitude = args[:longitude] if args.key?(:longitude)
|
2269
|
+
@latitude = args[:latitude] if args.key?(:latitude)
|
2255
2270
|
end
|
2256
2271
|
end
|
2257
2272
|
|
@@ -2259,6 +2274,12 @@ module Google
|
|
2259
2274
|
class Money
|
2260
2275
|
include Google::Apis::Core::Hashable
|
2261
2276
|
|
2277
|
+
# The whole units of the amount.
|
2278
|
+
# For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
2279
|
+
# Corresponds to the JSON property `units`
|
2280
|
+
# @return [Fixnum]
|
2281
|
+
attr_accessor :units
|
2282
|
+
|
2262
2283
|
# The 3-letter currency code defined in ISO 4217.
|
2263
2284
|
# Corresponds to the JSON property `currencyCode`
|
2264
2285
|
# @return [String]
|
@@ -2274,21 +2295,15 @@ module Google
|
|
2274
2295
|
# @return [Fixnum]
|
2275
2296
|
attr_accessor :nanos
|
2276
2297
|
|
2277
|
-
# The whole units of the amount.
|
2278
|
-
# For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
2279
|
-
# Corresponds to the JSON property `units`
|
2280
|
-
# @return [Fixnum]
|
2281
|
-
attr_accessor :units
|
2282
|
-
|
2283
2298
|
def initialize(**args)
|
2284
2299
|
update!(**args)
|
2285
2300
|
end
|
2286
2301
|
|
2287
2302
|
# Update properties of this object
|
2288
2303
|
def update!(**args)
|
2304
|
+
@units = args[:units] if args.key?(:units)
|
2289
2305
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
2290
2306
|
@nanos = args[:nanos] if args.key?(:nanos)
|
2291
|
-
@units = args[:units] if args.key?(:units)
|
2292
2307
|
end
|
2293
2308
|
end
|
2294
2309
|
end
|