google-api-client 0.28.4 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
@@ -1,2260 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module PartnersV2
|
24
|
-
|
25
|
-
# Information about a particular AdWords Manager Account.
|
26
|
-
# Read more at https://support.google.com/adwords/answer/6139186
|
27
|
-
class AdWordsManagerAccountInfo
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# Name of the customer this account represents.
|
31
|
-
# Corresponds to the JSON property `customerName`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :customer_name
|
34
|
-
|
35
|
-
# The AdWords Manager Account id.
|
36
|
-
# Corresponds to the JSON property `id`
|
37
|
-
# @return [Fixnum]
|
38
|
-
attr_accessor :id
|
39
|
-
|
40
|
-
def initialize(**args)
|
41
|
-
update!(**args)
|
42
|
-
end
|
43
|
-
|
44
|
-
# Update properties of this object
|
45
|
-
def update!(**args)
|
46
|
-
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
47
|
-
@id = args[:id] if args.key?(:id)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
# Analytics data for a `Company` within a single day.
|
52
|
-
class Analytics
|
53
|
-
include Google::Apis::Core::Hashable
|
54
|
-
|
55
|
-
# Details of the analytics events for a `Company` within a single day.
|
56
|
-
# Corresponds to the JSON property `contacts`
|
57
|
-
# @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
|
58
|
-
attr_accessor :contacts
|
59
|
-
|
60
|
-
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
61
|
-
# and time zone are either specified elsewhere or are not significant. The date
|
62
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
63
|
-
# * A full date, with non-zero year, month and day values
|
64
|
-
# * A month and day value, with a zero year, e.g. an anniversary
|
65
|
-
# * A year on its own, with zero month and day values
|
66
|
-
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
67
|
-
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
68
|
-
# Corresponds to the JSON property `eventDate`
|
69
|
-
# @return [Google::Apis::PartnersV2::Date]
|
70
|
-
attr_accessor :event_date
|
71
|
-
|
72
|
-
# Details of the analytics events for a `Company` within a single day.
|
73
|
-
# Corresponds to the JSON property `profileViews`
|
74
|
-
# @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
|
75
|
-
attr_accessor :profile_views
|
76
|
-
|
77
|
-
# Details of the analytics events for a `Company` within a single day.
|
78
|
-
# Corresponds to the JSON property `searchViews`
|
79
|
-
# @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
|
80
|
-
attr_accessor :search_views
|
81
|
-
|
82
|
-
def initialize(**args)
|
83
|
-
update!(**args)
|
84
|
-
end
|
85
|
-
|
86
|
-
# Update properties of this object
|
87
|
-
def update!(**args)
|
88
|
-
@contacts = args[:contacts] if args.key?(:contacts)
|
89
|
-
@event_date = args[:event_date] if args.key?(:event_date)
|
90
|
-
@profile_views = args[:profile_views] if args.key?(:profile_views)
|
91
|
-
@search_views = args[:search_views] if args.key?(:search_views)
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
# Details of the analytics events for a `Company` within a single day.
|
96
|
-
class AnalyticsDataPoint
|
97
|
-
include Google::Apis::Core::Hashable
|
98
|
-
|
99
|
-
# Number of times the type of event occurred.
|
100
|
-
# Meaning depends on context (e.g. profile views, contacts, etc.).
|
101
|
-
# Corresponds to the JSON property `eventCount`
|
102
|
-
# @return [Fixnum]
|
103
|
-
attr_accessor :event_count
|
104
|
-
|
105
|
-
# Location information of where these events occurred.
|
106
|
-
# Corresponds to the JSON property `eventLocations`
|
107
|
-
# @return [Array<Google::Apis::PartnersV2::LatLng>]
|
108
|
-
attr_accessor :event_locations
|
109
|
-
|
110
|
-
def initialize(**args)
|
111
|
-
update!(**args)
|
112
|
-
end
|
113
|
-
|
114
|
-
# Update properties of this object
|
115
|
-
def update!(**args)
|
116
|
-
@event_count = args[:event_count] if args.key?(:event_count)
|
117
|
-
@event_locations = args[:event_locations] if args.key?(:event_locations)
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
|
-
# Analytics aggregated data for a `Company` for a given date range.
|
122
|
-
class AnalyticsSummary
|
123
|
-
include Google::Apis::Core::Hashable
|
124
|
-
|
125
|
-
# Aggregated number of times users contacted the `Company`
|
126
|
-
# for given date range.
|
127
|
-
# Corresponds to the JSON property `contactsCount`
|
128
|
-
# @return [Fixnum]
|
129
|
-
attr_accessor :contacts_count
|
130
|
-
|
131
|
-
# Aggregated number of profile views for the `Company` for given date range.
|
132
|
-
# Corresponds to the JSON property `profileViewsCount`
|
133
|
-
# @return [Fixnum]
|
134
|
-
attr_accessor :profile_views_count
|
135
|
-
|
136
|
-
# Aggregated number of times users saw the `Company`
|
137
|
-
# in Google Partners Search results for given date range.
|
138
|
-
# Corresponds to the JSON property `searchViewsCount`
|
139
|
-
# @return [Fixnum]
|
140
|
-
attr_accessor :search_views_count
|
141
|
-
|
142
|
-
def initialize(**args)
|
143
|
-
update!(**args)
|
144
|
-
end
|
145
|
-
|
146
|
-
# Update properties of this object
|
147
|
-
def update!(**args)
|
148
|
-
@contacts_count = args[:contacts_count] if args.key?(:contacts_count)
|
149
|
-
@profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count)
|
150
|
-
@search_views_count = args[:search_views_count] if args.key?(:search_views_count)
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
|
-
# Available Offers to be distributed.
|
155
|
-
class AvailableOffer
|
156
|
-
include Google::Apis::Core::Hashable
|
157
|
-
|
158
|
-
# The number of codes for this offer that are available for distribution.
|
159
|
-
# Corresponds to the JSON property `available`
|
160
|
-
# @return [Fixnum]
|
161
|
-
attr_accessor :available
|
162
|
-
|
163
|
-
# Offer info by country.
|
164
|
-
# Corresponds to the JSON property `countryOfferInfos`
|
165
|
-
# @return [Array<Google::Apis::PartnersV2::CountryOfferInfo>]
|
166
|
-
attr_accessor :country_offer_infos
|
167
|
-
|
168
|
-
# Description of the offer.
|
169
|
-
# Corresponds to the JSON property `description`
|
170
|
-
# @return [String]
|
171
|
-
attr_accessor :description
|
172
|
-
|
173
|
-
# ID of this offer.
|
174
|
-
# Corresponds to the JSON property `id`
|
175
|
-
# @return [Fixnum]
|
176
|
-
attr_accessor :id
|
177
|
-
|
178
|
-
# The maximum age of an account [in days] to be eligible.
|
179
|
-
# Corresponds to the JSON property `maxAccountAge`
|
180
|
-
# @return [Fixnum]
|
181
|
-
attr_accessor :max_account_age
|
182
|
-
|
183
|
-
# Name of the offer.
|
184
|
-
# Corresponds to the JSON property `name`
|
185
|
-
# @return [String]
|
186
|
-
attr_accessor :name
|
187
|
-
|
188
|
-
# Level of this offer.
|
189
|
-
# Corresponds to the JSON property `offerLevel`
|
190
|
-
# @return [String]
|
191
|
-
attr_accessor :offer_level
|
192
|
-
|
193
|
-
# Type of offer.
|
194
|
-
# Corresponds to the JSON property `offerType`
|
195
|
-
# @return [String]
|
196
|
-
attr_accessor :offer_type
|
197
|
-
|
198
|
-
# Customers who qualify for this offer.
|
199
|
-
# Corresponds to the JSON property `qualifiedCustomer`
|
200
|
-
# @return [Array<Google::Apis::PartnersV2::OfferCustomer>]
|
201
|
-
attr_accessor :qualified_customer
|
202
|
-
|
203
|
-
# Whether or not the list of qualified customers is definitely complete.
|
204
|
-
# Corresponds to the JSON property `qualifiedCustomersComplete`
|
205
|
-
# @return [Boolean]
|
206
|
-
attr_accessor :qualified_customers_complete
|
207
|
-
alias_method :qualified_customers_complete?, :qualified_customers_complete
|
208
|
-
|
209
|
-
# Should special text be shown on the offers page.
|
210
|
-
# Corresponds to the JSON property `showSpecialOfferCopy`
|
211
|
-
# @return [Boolean]
|
212
|
-
attr_accessor :show_special_offer_copy
|
213
|
-
alias_method :show_special_offer_copy?, :show_special_offer_copy
|
214
|
-
|
215
|
-
# Terms of the offer.
|
216
|
-
# Corresponds to the JSON property `terms`
|
217
|
-
# @return [String]
|
218
|
-
attr_accessor :terms
|
219
|
-
|
220
|
-
def initialize(**args)
|
221
|
-
update!(**args)
|
222
|
-
end
|
223
|
-
|
224
|
-
# Update properties of this object
|
225
|
-
def update!(**args)
|
226
|
-
@available = args[:available] if args.key?(:available)
|
227
|
-
@country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos)
|
228
|
-
@description = args[:description] if args.key?(:description)
|
229
|
-
@id = args[:id] if args.key?(:id)
|
230
|
-
@max_account_age = args[:max_account_age] if args.key?(:max_account_age)
|
231
|
-
@name = args[:name] if args.key?(:name)
|
232
|
-
@offer_level = args[:offer_level] if args.key?(:offer_level)
|
233
|
-
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
234
|
-
@qualified_customer = args[:qualified_customer] if args.key?(:qualified_customer)
|
235
|
-
@qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete)
|
236
|
-
@show_special_offer_copy = args[:show_special_offer_copy] if args.key?(:show_special_offer_copy)
|
237
|
-
@terms = args[:terms] if args.key?(:terms)
|
238
|
-
end
|
239
|
-
end
|
240
|
-
|
241
|
-
# A user's information on a specific certification.
|
242
|
-
class Certification
|
243
|
-
include Google::Apis::Core::Hashable
|
244
|
-
|
245
|
-
# Whether this certification has been achieved.
|
246
|
-
# Corresponds to the JSON property `achieved`
|
247
|
-
# @return [Boolean]
|
248
|
-
attr_accessor :achieved
|
249
|
-
alias_method :achieved?, :achieved
|
250
|
-
|
251
|
-
# The type of certification, the area of expertise.
|
252
|
-
# Corresponds to the JSON property `certificationType`
|
253
|
-
# @return [String]
|
254
|
-
attr_accessor :certification_type
|
255
|
-
|
256
|
-
# Date this certification is due to expire.
|
257
|
-
# Corresponds to the JSON property `expiration`
|
258
|
-
# @return [String]
|
259
|
-
attr_accessor :expiration
|
260
|
-
|
261
|
-
# The date the user last achieved certification.
|
262
|
-
# Corresponds to the JSON property `lastAchieved`
|
263
|
-
# @return [String]
|
264
|
-
attr_accessor :last_achieved
|
265
|
-
|
266
|
-
# Whether this certification is in the state of warning.
|
267
|
-
# Corresponds to the JSON property `warning`
|
268
|
-
# @return [Boolean]
|
269
|
-
attr_accessor :warning
|
270
|
-
alias_method :warning?, :warning
|
271
|
-
|
272
|
-
def initialize(**args)
|
273
|
-
update!(**args)
|
274
|
-
end
|
275
|
-
|
276
|
-
# Update properties of this object
|
277
|
-
def update!(**args)
|
278
|
-
@achieved = args[:achieved] if args.key?(:achieved)
|
279
|
-
@certification_type = args[:certification_type] if args.key?(:certification_type)
|
280
|
-
@expiration = args[:expiration] if args.key?(:expiration)
|
281
|
-
@last_achieved = args[:last_achieved] if args.key?(:last_achieved)
|
282
|
-
@warning = args[:warning] if args.key?(:warning)
|
283
|
-
end
|
284
|
-
end
|
285
|
-
|
286
|
-
# Status for a Google Partners certification exam.
|
287
|
-
class CertificationExamStatus
|
288
|
-
include Google::Apis::Core::Hashable
|
289
|
-
|
290
|
-
# The number of people who have passed the certification exam.
|
291
|
-
# Corresponds to the JSON property `numberUsersPass`
|
292
|
-
# @return [Fixnum]
|
293
|
-
attr_accessor :number_users_pass
|
294
|
-
|
295
|
-
# The type of certification exam.
|
296
|
-
# Corresponds to the JSON property `type`
|
297
|
-
# @return [String]
|
298
|
-
attr_accessor :type
|
299
|
-
|
300
|
-
def initialize(**args)
|
301
|
-
update!(**args)
|
302
|
-
end
|
303
|
-
|
304
|
-
# Update properties of this object
|
305
|
-
def update!(**args)
|
306
|
-
@number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass)
|
307
|
-
@type = args[:type] if args.key?(:type)
|
308
|
-
end
|
309
|
-
end
|
310
|
-
|
311
|
-
# Google Partners certification status.
|
312
|
-
class CertificationStatus
|
313
|
-
include Google::Apis::Core::Hashable
|
314
|
-
|
315
|
-
# List of certification exam statuses.
|
316
|
-
# Corresponds to the JSON property `examStatuses`
|
317
|
-
# @return [Array<Google::Apis::PartnersV2::CertificationExamStatus>]
|
318
|
-
attr_accessor :exam_statuses
|
319
|
-
|
320
|
-
# Whether certification is passing.
|
321
|
-
# Corresponds to the JSON property `isCertified`
|
322
|
-
# @return [Boolean]
|
323
|
-
attr_accessor :is_certified
|
324
|
-
alias_method :is_certified?, :is_certified
|
325
|
-
|
326
|
-
# The type of the certification.
|
327
|
-
# Corresponds to the JSON property `type`
|
328
|
-
# @return [String]
|
329
|
-
attr_accessor :type
|
330
|
-
|
331
|
-
# Number of people who are certified,
|
332
|
-
# Corresponds to the JSON property `userCount`
|
333
|
-
# @return [Fixnum]
|
334
|
-
attr_accessor :user_count
|
335
|
-
|
336
|
-
def initialize(**args)
|
337
|
-
update!(**args)
|
338
|
-
end
|
339
|
-
|
340
|
-
# Update properties of this object
|
341
|
-
def update!(**args)
|
342
|
-
@exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses)
|
343
|
-
@is_certified = args[:is_certified] if args.key?(:is_certified)
|
344
|
-
@type = args[:type] if args.key?(:type)
|
345
|
-
@user_count = args[:user_count] if args.key?(:user_count)
|
346
|
-
end
|
347
|
-
end
|
348
|
-
|
349
|
-
# A company resource in the Google Partners API. Once certified, it qualifies
|
350
|
-
# for being searched by advertisers.
|
351
|
-
class Company
|
352
|
-
include Google::Apis::Core::Hashable
|
353
|
-
|
354
|
-
# URL of the company's additional websites used to verify the dynamic badges.
|
355
|
-
# These are stored as full URLs as entered by the user, but only the TLD will
|
356
|
-
# be used for the actual verification.
|
357
|
-
# Corresponds to the JSON property `additionalWebsites`
|
358
|
-
# @return [Array<String>]
|
359
|
-
attr_accessor :additional_websites
|
360
|
-
|
361
|
-
# Email domains that allow users with a matching email address to get
|
362
|
-
# auto-approved for associating with this company.
|
363
|
-
# Corresponds to the JSON property `autoApprovalEmailDomains`
|
364
|
-
# @return [Array<String>]
|
365
|
-
attr_accessor :auto_approval_email_domains
|
366
|
-
|
367
|
-
# Whether the company's badge authority is in AWN
|
368
|
-
# Corresponds to the JSON property `badgeAuthorityInAwn`
|
369
|
-
# @return [Boolean]
|
370
|
-
attr_accessor :badge_authority_in_awn
|
371
|
-
alias_method :badge_authority_in_awn?, :badge_authority_in_awn
|
372
|
-
|
373
|
-
# Partner badge tier
|
374
|
-
# Corresponds to the JSON property `badgeTier`
|
375
|
-
# @return [String]
|
376
|
-
attr_accessor :badge_tier
|
377
|
-
|
378
|
-
# The list of Google Partners certification statuses for the company.
|
379
|
-
# Corresponds to the JSON property `certificationStatuses`
|
380
|
-
# @return [Array<Google::Apis::PartnersV2::CertificationStatus>]
|
381
|
-
attr_accessor :certification_statuses
|
382
|
-
|
383
|
-
# Company type labels listed on the company's profile.
|
384
|
-
# Corresponds to the JSON property `companyTypes`
|
385
|
-
# @return [Array<String>]
|
386
|
-
attr_accessor :company_types
|
387
|
-
|
388
|
-
# Represents an amount of money with its currency type.
|
389
|
-
# Corresponds to the JSON property `convertedMinMonthlyBudget`
|
390
|
-
# @return [Google::Apis::PartnersV2::Money]
|
391
|
-
attr_accessor :converted_min_monthly_budget
|
392
|
-
|
393
|
-
# The ID of the company.
|
394
|
-
# Corresponds to the JSON property `id`
|
395
|
-
# @return [String]
|
396
|
-
attr_accessor :id
|
397
|
-
|
398
|
-
# Industries the company can help with.
|
399
|
-
# Corresponds to the JSON property `industries`
|
400
|
-
# @return [Array<String>]
|
401
|
-
attr_accessor :industries
|
402
|
-
|
403
|
-
# The list of localized info for the company.
|
404
|
-
# Corresponds to the JSON property `localizedInfos`
|
405
|
-
# @return [Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>]
|
406
|
-
attr_accessor :localized_infos
|
407
|
-
|
408
|
-
# The list of all company locations.
|
409
|
-
# If set, must include the
|
410
|
-
# primary_location
|
411
|
-
# in the list.
|
412
|
-
# Corresponds to the JSON property `locations`
|
413
|
-
# @return [Array<Google::Apis::PartnersV2::Location>]
|
414
|
-
attr_accessor :locations
|
415
|
-
|
416
|
-
# The name of the company.
|
417
|
-
# Corresponds to the JSON property `name`
|
418
|
-
# @return [String]
|
419
|
-
attr_accessor :name
|
420
|
-
|
421
|
-
# Represents an amount of money with its currency type.
|
422
|
-
# Corresponds to the JSON property `originalMinMonthlyBudget`
|
423
|
-
# @return [Google::Apis::PartnersV2::Money]
|
424
|
-
attr_accessor :original_min_monthly_budget
|
425
|
-
|
426
|
-
# The Primary AdWords Manager Account id.
|
427
|
-
# Corresponds to the JSON property `primaryAdwordsManagerAccountId`
|
428
|
-
# @return [Fixnum]
|
429
|
-
attr_accessor :primary_adwords_manager_account_id
|
430
|
-
|
431
|
-
# The primary language code of the company, as defined by
|
432
|
-
# <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
|
433
|
-
# (IETF BCP 47, "Tags for Identifying Languages").
|
434
|
-
# Corresponds to the JSON property `primaryLanguageCode`
|
435
|
-
# @return [String]
|
436
|
-
attr_accessor :primary_language_code
|
437
|
-
|
438
|
-
# A location with address and geographic coordinates. May optionally contain a
|
439
|
-
# detailed (multi-field) version of the address.
|
440
|
-
# Corresponds to the JSON property `primaryLocation`
|
441
|
-
# @return [Google::Apis::PartnersV2::Location]
|
442
|
-
attr_accessor :primary_location
|
443
|
-
|
444
|
-
# The public viewability status of the company's profile.
|
445
|
-
# Corresponds to the JSON property `profileStatus`
|
446
|
-
# @return [String]
|
447
|
-
attr_accessor :profile_status
|
448
|
-
|
449
|
-
# Basic information from a public profile.
|
450
|
-
# Corresponds to the JSON property `publicProfile`
|
451
|
-
# @return [Google::Apis::PartnersV2::PublicProfile]
|
452
|
-
attr_accessor :public_profile
|
453
|
-
|
454
|
-
# Information related to the ranking of the company within the list of
|
455
|
-
# companies.
|
456
|
-
# Corresponds to the JSON property `ranks`
|
457
|
-
# @return [Array<Google::Apis::PartnersV2::Rank>]
|
458
|
-
attr_accessor :ranks
|
459
|
-
|
460
|
-
# Services the company can help with.
|
461
|
-
# Corresponds to the JSON property `services`
|
462
|
-
# @return [Array<String>]
|
463
|
-
attr_accessor :services
|
464
|
-
|
465
|
-
# The list of Google Partners specialization statuses for the company.
|
466
|
-
# Corresponds to the JSON property `specializationStatus`
|
467
|
-
# @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
|
468
|
-
attr_accessor :specialization_status
|
469
|
-
|
470
|
-
# URL of the company's website.
|
471
|
-
# Corresponds to the JSON property `websiteUrl`
|
472
|
-
# @return [String]
|
473
|
-
attr_accessor :website_url
|
474
|
-
|
475
|
-
def initialize(**args)
|
476
|
-
update!(**args)
|
477
|
-
end
|
478
|
-
|
479
|
-
# Update properties of this object
|
480
|
-
def update!(**args)
|
481
|
-
@additional_websites = args[:additional_websites] if args.key?(:additional_websites)
|
482
|
-
@auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains)
|
483
|
-
@badge_authority_in_awn = args[:badge_authority_in_awn] if args.key?(:badge_authority_in_awn)
|
484
|
-
@badge_tier = args[:badge_tier] if args.key?(:badge_tier)
|
485
|
-
@certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
|
486
|
-
@company_types = args[:company_types] if args.key?(:company_types)
|
487
|
-
@converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget)
|
488
|
-
@id = args[:id] if args.key?(:id)
|
489
|
-
@industries = args[:industries] if args.key?(:industries)
|
490
|
-
@localized_infos = args[:localized_infos] if args.key?(:localized_infos)
|
491
|
-
@locations = args[:locations] if args.key?(:locations)
|
492
|
-
@name = args[:name] if args.key?(:name)
|
493
|
-
@original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget)
|
494
|
-
@primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id)
|
495
|
-
@primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
|
496
|
-
@primary_location = args[:primary_location] if args.key?(:primary_location)
|
497
|
-
@profile_status = args[:profile_status] if args.key?(:profile_status)
|
498
|
-
@public_profile = args[:public_profile] if args.key?(:public_profile)
|
499
|
-
@ranks = args[:ranks] if args.key?(:ranks)
|
500
|
-
@services = args[:services] if args.key?(:services)
|
501
|
-
@specialization_status = args[:specialization_status] if args.key?(:specialization_status)
|
502
|
-
@website_url = args[:website_url] if args.key?(:website_url)
|
503
|
-
end
|
504
|
-
end
|
505
|
-
|
506
|
-
# A CompanyRelation resource representing information about a user's
|
507
|
-
# affiliation and standing with a company in Partners.
|
508
|
-
class CompanyRelation
|
509
|
-
include Google::Apis::Core::Hashable
|
510
|
-
|
511
|
-
# The primary address for this company.
|
512
|
-
# Corresponds to the JSON property `address`
|
513
|
-
# @return [String]
|
514
|
-
attr_accessor :address
|
515
|
-
|
516
|
-
# Whether the company is a Partner.
|
517
|
-
# Corresponds to the JSON property `badgeTier`
|
518
|
-
# @return [String]
|
519
|
-
attr_accessor :badge_tier
|
520
|
-
|
521
|
-
# Indicates if the user is an admin for this company.
|
522
|
-
# Corresponds to the JSON property `companyAdmin`
|
523
|
-
# @return [Boolean]
|
524
|
-
attr_accessor :company_admin
|
525
|
-
alias_method :company_admin?, :company_admin
|
526
|
-
|
527
|
-
# The ID of the company. There may be no id if this is a
|
528
|
-
# pending company.5
|
529
|
-
# Corresponds to the JSON property `companyId`
|
530
|
-
# @return [String]
|
531
|
-
attr_accessor :company_id
|
532
|
-
|
533
|
-
# The timestamp of when affiliation was requested.
|
534
|
-
# @OutputOnly
|
535
|
-
# Corresponds to the JSON property `creationTime`
|
536
|
-
# @return [String]
|
537
|
-
attr_accessor :creation_time
|
538
|
-
|
539
|
-
# The internal company ID.
|
540
|
-
# Only available for a whitelisted set of api clients.
|
541
|
-
# Corresponds to the JSON property `internalCompanyId`
|
542
|
-
# @return [String]
|
543
|
-
attr_accessor :internal_company_id
|
544
|
-
|
545
|
-
# The flag that indicates if the company is pending verification.
|
546
|
-
# Corresponds to the JSON property `isPending`
|
547
|
-
# @return [Boolean]
|
548
|
-
attr_accessor :is_pending
|
549
|
-
alias_method :is_pending?, :is_pending
|
550
|
-
|
551
|
-
# A URL to a profile photo, e.g. a G+ profile photo.
|
552
|
-
# Corresponds to the JSON property `logoUrl`
|
553
|
-
# @return [String]
|
554
|
-
attr_accessor :logo_url
|
555
|
-
|
556
|
-
# The AdWords manager account # associated this company.
|
557
|
-
# Corresponds to the JSON property `managerAccount`
|
558
|
-
# @return [Fixnum]
|
559
|
-
attr_accessor :manager_account
|
560
|
-
|
561
|
-
# The name (in the company's primary language) for the company.
|
562
|
-
# Corresponds to the JSON property `name`
|
563
|
-
# @return [String]
|
564
|
-
attr_accessor :name
|
565
|
-
|
566
|
-
# The phone number for the company's primary address.
|
567
|
-
# Corresponds to the JSON property `phoneNumber`
|
568
|
-
# @return [String]
|
569
|
-
attr_accessor :phone_number
|
570
|
-
|
571
|
-
# A location with address and geographic coordinates. May optionally contain a
|
572
|
-
# detailed (multi-field) version of the address.
|
573
|
-
# Corresponds to the JSON property `primaryAddress`
|
574
|
-
# @return [Google::Apis::PartnersV2::Location]
|
575
|
-
attr_accessor :primary_address
|
576
|
-
|
577
|
-
# The primary country code of the company.
|
578
|
-
# Corresponds to the JSON property `primaryCountryCode`
|
579
|
-
# @return [String]
|
580
|
-
attr_accessor :primary_country_code
|
581
|
-
|
582
|
-
# The primary language code of the company.
|
583
|
-
# Corresponds to the JSON property `primaryLanguageCode`
|
584
|
-
# @return [String]
|
585
|
-
attr_accessor :primary_language_code
|
586
|
-
|
587
|
-
# The timestamp when the user was approved.
|
588
|
-
# @OutputOnly
|
589
|
-
# Corresponds to the JSON property `resolvedTimestamp`
|
590
|
-
# @return [String]
|
591
|
-
attr_accessor :resolved_timestamp
|
592
|
-
|
593
|
-
# The segment the company is classified as.
|
594
|
-
# Corresponds to the JSON property `segment`
|
595
|
-
# @return [Array<String>]
|
596
|
-
attr_accessor :segment
|
597
|
-
|
598
|
-
# The list of Google Partners specialization statuses for the company.
|
599
|
-
# Corresponds to the JSON property `specializationStatus`
|
600
|
-
# @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
|
601
|
-
attr_accessor :specialization_status
|
602
|
-
|
603
|
-
# The state of relationship, in terms of approvals.
|
604
|
-
# Corresponds to the JSON property `state`
|
605
|
-
# @return [String]
|
606
|
-
attr_accessor :state
|
607
|
-
|
608
|
-
# The website URL for this company.
|
609
|
-
# Corresponds to the JSON property `website`
|
610
|
-
# @return [String]
|
611
|
-
attr_accessor :website
|
612
|
-
|
613
|
-
def initialize(**args)
|
614
|
-
update!(**args)
|
615
|
-
end
|
616
|
-
|
617
|
-
# Update properties of this object
|
618
|
-
def update!(**args)
|
619
|
-
@address = args[:address] if args.key?(:address)
|
620
|
-
@badge_tier = args[:badge_tier] if args.key?(:badge_tier)
|
621
|
-
@company_admin = args[:company_admin] if args.key?(:company_admin)
|
622
|
-
@company_id = args[:company_id] if args.key?(:company_id)
|
623
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
624
|
-
@internal_company_id = args[:internal_company_id] if args.key?(:internal_company_id)
|
625
|
-
@is_pending = args[:is_pending] if args.key?(:is_pending)
|
626
|
-
@logo_url = args[:logo_url] if args.key?(:logo_url)
|
627
|
-
@manager_account = args[:manager_account] if args.key?(:manager_account)
|
628
|
-
@name = args[:name] if args.key?(:name)
|
629
|
-
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
630
|
-
@primary_address = args[:primary_address] if args.key?(:primary_address)
|
631
|
-
@primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
|
632
|
-
@primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
|
633
|
-
@resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp)
|
634
|
-
@segment = args[:segment] if args.key?(:segment)
|
635
|
-
@specialization_status = args[:specialization_status] if args.key?(:specialization_status)
|
636
|
-
@state = args[:state] if args.key?(:state)
|
637
|
-
@website = args[:website] if args.key?(:website)
|
638
|
-
end
|
639
|
-
end
|
640
|
-
|
641
|
-
# Offer info by country.
|
642
|
-
class CountryOfferInfo
|
643
|
-
include Google::Apis::Core::Hashable
|
644
|
-
|
645
|
-
# (localized) Get Y amount for that country's offer.
|
646
|
-
# Corresponds to the JSON property `getYAmount`
|
647
|
-
# @return [String]
|
648
|
-
attr_accessor :get_y_amount
|
649
|
-
|
650
|
-
# Country code for which offer codes may be requested.
|
651
|
-
# Corresponds to the JSON property `offerCountryCode`
|
652
|
-
# @return [String]
|
653
|
-
attr_accessor :offer_country_code
|
654
|
-
|
655
|
-
# Type of offer country is eligible for.
|
656
|
-
# Corresponds to the JSON property `offerType`
|
657
|
-
# @return [String]
|
658
|
-
attr_accessor :offer_type
|
659
|
-
|
660
|
-
# (localized) Spend X amount for that country's offer.
|
661
|
-
# Corresponds to the JSON property `spendXAmount`
|
662
|
-
# @return [String]
|
663
|
-
attr_accessor :spend_x_amount
|
664
|
-
|
665
|
-
def initialize(**args)
|
666
|
-
update!(**args)
|
667
|
-
end
|
668
|
-
|
669
|
-
# Update properties of this object
|
670
|
-
def update!(**args)
|
671
|
-
@get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
|
672
|
-
@offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
|
673
|
-
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
674
|
-
@spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
|
675
|
-
end
|
676
|
-
end
|
677
|
-
|
678
|
-
# Request message for CreateLead.
|
679
|
-
class CreateLeadRequest
|
680
|
-
include Google::Apis::Core::Hashable
|
681
|
-
|
682
|
-
# A lead resource that represents an advertiser contact for a `Company`. These
|
683
|
-
# are usually generated via Google Partner Search (the advertiser portal).
|
684
|
-
# Corresponds to the JSON property `lead`
|
685
|
-
# @return [Google::Apis::PartnersV2::Lead]
|
686
|
-
attr_accessor :lead
|
687
|
-
|
688
|
-
# <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info.
|
689
|
-
# Corresponds to the JSON property `recaptchaChallenge`
|
690
|
-
# @return [Google::Apis::PartnersV2::RecaptchaChallenge]
|
691
|
-
attr_accessor :recaptcha_challenge
|
692
|
-
|
693
|
-
# Common data that is in each API request.
|
694
|
-
# Corresponds to the JSON property `requestMetadata`
|
695
|
-
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
696
|
-
attr_accessor :request_metadata
|
697
|
-
|
698
|
-
def initialize(**args)
|
699
|
-
update!(**args)
|
700
|
-
end
|
701
|
-
|
702
|
-
# Update properties of this object
|
703
|
-
def update!(**args)
|
704
|
-
@lead = args[:lead] if args.key?(:lead)
|
705
|
-
@recaptcha_challenge = args[:recaptcha_challenge] if args.key?(:recaptcha_challenge)
|
706
|
-
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
707
|
-
end
|
708
|
-
end
|
709
|
-
|
710
|
-
# Response message for CreateLead.
|
711
|
-
class CreateLeadResponse
|
712
|
-
include Google::Apis::Core::Hashable
|
713
|
-
|
714
|
-
# A lead resource that represents an advertiser contact for a `Company`. These
|
715
|
-
# are usually generated via Google Partner Search (the advertiser portal).
|
716
|
-
# Corresponds to the JSON property `lead`
|
717
|
-
# @return [Google::Apis::PartnersV2::Lead]
|
718
|
-
attr_accessor :lead
|
719
|
-
|
720
|
-
# The outcome of <a href="https://www.google.com/recaptcha/">reCaptcha</a>
|
721
|
-
# validation.
|
722
|
-
# Corresponds to the JSON property `recaptchaStatus`
|
723
|
-
# @return [String]
|
724
|
-
attr_accessor :recaptcha_status
|
725
|
-
|
726
|
-
# Common data that is in each API response.
|
727
|
-
# Corresponds to the JSON property `responseMetadata`
|
728
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
729
|
-
attr_accessor :response_metadata
|
730
|
-
|
731
|
-
def initialize(**args)
|
732
|
-
update!(**args)
|
733
|
-
end
|
734
|
-
|
735
|
-
# Update properties of this object
|
736
|
-
def update!(**args)
|
737
|
-
@lead = args[:lead] if args.key?(:lead)
|
738
|
-
@recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status)
|
739
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
740
|
-
end
|
741
|
-
end
|
742
|
-
|
743
|
-
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
744
|
-
# and time zone are either specified elsewhere or are not significant. The date
|
745
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
746
|
-
# * A full date, with non-zero year, month and day values
|
747
|
-
# * A month and day value, with a zero year, e.g. an anniversary
|
748
|
-
# * A year on its own, with zero month and day values
|
749
|
-
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
750
|
-
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
751
|
-
class Date
|
752
|
-
include Google::Apis::Core::Hashable
|
753
|
-
|
754
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
755
|
-
# if specifying a year by itself or a year and month where the day is not
|
756
|
-
# significant.
|
757
|
-
# Corresponds to the JSON property `day`
|
758
|
-
# @return [Fixnum]
|
759
|
-
attr_accessor :day
|
760
|
-
|
761
|
-
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
762
|
-
# month and day.
|
763
|
-
# Corresponds to the JSON property `month`
|
764
|
-
# @return [Fixnum]
|
765
|
-
attr_accessor :month
|
766
|
-
|
767
|
-
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
768
|
-
# a year.
|
769
|
-
# Corresponds to the JSON property `year`
|
770
|
-
# @return [Fixnum]
|
771
|
-
attr_accessor :year
|
772
|
-
|
773
|
-
def initialize(**args)
|
774
|
-
update!(**args)
|
775
|
-
end
|
776
|
-
|
777
|
-
# Update properties of this object
|
778
|
-
def update!(**args)
|
779
|
-
@day = args[:day] if args.key?(:day)
|
780
|
-
@month = args[:month] if args.key?(:month)
|
781
|
-
@year = args[:year] if args.key?(:year)
|
782
|
-
end
|
783
|
-
end
|
784
|
-
|
785
|
-
# Debug information about this request.
|
786
|
-
class DebugInfo
|
787
|
-
include Google::Apis::Core::Hashable
|
788
|
-
|
789
|
-
# Info about the server that serviced this request.
|
790
|
-
# Corresponds to the JSON property `serverInfo`
|
791
|
-
# @return [String]
|
792
|
-
attr_accessor :server_info
|
793
|
-
|
794
|
-
# Server-side debug stack trace.
|
795
|
-
# Corresponds to the JSON property `serverTraceInfo`
|
796
|
-
# @return [String]
|
797
|
-
attr_accessor :server_trace_info
|
798
|
-
|
799
|
-
# URL of the service that handled this request.
|
800
|
-
# Corresponds to the JSON property `serviceUrl`
|
801
|
-
# @return [String]
|
802
|
-
attr_accessor :service_url
|
803
|
-
|
804
|
-
def initialize(**args)
|
805
|
-
update!(**args)
|
806
|
-
end
|
807
|
-
|
808
|
-
# Update properties of this object
|
809
|
-
def update!(**args)
|
810
|
-
@server_info = args[:server_info] if args.key?(:server_info)
|
811
|
-
@server_trace_info = args[:server_trace_info] if args.key?(:server_trace_info)
|
812
|
-
@service_url = args[:service_url] if args.key?(:service_url)
|
813
|
-
end
|
814
|
-
end
|
815
|
-
|
816
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
817
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
818
|
-
# or the response type of an API method. For instance:
|
819
|
-
# service Foo `
|
820
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
821
|
-
# `
|
822
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
823
|
-
class Empty
|
824
|
-
include Google::Apis::Core::Hashable
|
825
|
-
|
826
|
-
def initialize(**args)
|
827
|
-
update!(**args)
|
828
|
-
end
|
829
|
-
|
830
|
-
# Update properties of this object
|
831
|
-
def update!(**args)
|
832
|
-
end
|
833
|
-
end
|
834
|
-
|
835
|
-
# Key value data pair for an event.
|
836
|
-
class EventData
|
837
|
-
include Google::Apis::Core::Hashable
|
838
|
-
|
839
|
-
# Data type.
|
840
|
-
# Corresponds to the JSON property `key`
|
841
|
-
# @return [String]
|
842
|
-
attr_accessor :key
|
843
|
-
|
844
|
-
# Data values.
|
845
|
-
# Corresponds to the JSON property `values`
|
846
|
-
# @return [Array<String>]
|
847
|
-
attr_accessor :values
|
848
|
-
|
849
|
-
def initialize(**args)
|
850
|
-
update!(**args)
|
851
|
-
end
|
852
|
-
|
853
|
-
# Update properties of this object
|
854
|
-
def update!(**args)
|
855
|
-
@key = args[:key] if args.key?(:key)
|
856
|
-
@values = args[:values] if args.key?(:values)
|
857
|
-
end
|
858
|
-
end
|
859
|
-
|
860
|
-
# A user's information on a specific exam.
|
861
|
-
class ExamStatus
|
862
|
-
include Google::Apis::Core::Hashable
|
863
|
-
|
864
|
-
# The type of the exam.
|
865
|
-
# Corresponds to the JSON property `examType`
|
866
|
-
# @return [String]
|
867
|
-
attr_accessor :exam_type
|
868
|
-
|
869
|
-
# Date this exam is due to expire.
|
870
|
-
# Corresponds to the JSON property `expiration`
|
871
|
-
# @return [String]
|
872
|
-
attr_accessor :expiration
|
873
|
-
|
874
|
-
# The date the user last passed this exam.
|
875
|
-
# Corresponds to the JSON property `lastPassed`
|
876
|
-
# @return [String]
|
877
|
-
attr_accessor :last_passed
|
878
|
-
|
879
|
-
# Whether this exam has been passed and not expired.
|
880
|
-
# Corresponds to the JSON property `passed`
|
881
|
-
# @return [Boolean]
|
882
|
-
attr_accessor :passed
|
883
|
-
alias_method :passed?, :passed
|
884
|
-
|
885
|
-
# The date the user last taken this exam.
|
886
|
-
# Corresponds to the JSON property `taken`
|
887
|
-
# @return [String]
|
888
|
-
attr_accessor :taken
|
889
|
-
|
890
|
-
# Whether this exam is in the state of warning.
|
891
|
-
# Corresponds to the JSON property `warning`
|
892
|
-
# @return [Boolean]
|
893
|
-
attr_accessor :warning
|
894
|
-
alias_method :warning?, :warning
|
895
|
-
|
896
|
-
def initialize(**args)
|
897
|
-
update!(**args)
|
898
|
-
end
|
899
|
-
|
900
|
-
# Update properties of this object
|
901
|
-
def update!(**args)
|
902
|
-
@exam_type = args[:exam_type] if args.key?(:exam_type)
|
903
|
-
@expiration = args[:expiration] if args.key?(:expiration)
|
904
|
-
@last_passed = args[:last_passed] if args.key?(:last_passed)
|
905
|
-
@passed = args[:passed] if args.key?(:passed)
|
906
|
-
@taken = args[:taken] if args.key?(:taken)
|
907
|
-
@warning = args[:warning] if args.key?(:warning)
|
908
|
-
end
|
909
|
-
end
|
910
|
-
|
911
|
-
# Response message for GetCompany.
|
912
|
-
class GetCompanyResponse
|
913
|
-
include Google::Apis::Core::Hashable
|
914
|
-
|
915
|
-
# A company resource in the Google Partners API. Once certified, it qualifies
|
916
|
-
# for being searched by advertisers.
|
917
|
-
# Corresponds to the JSON property `company`
|
918
|
-
# @return [Google::Apis::PartnersV2::Company]
|
919
|
-
attr_accessor :company
|
920
|
-
|
921
|
-
# Common data that is in each API response.
|
922
|
-
# Corresponds to the JSON property `responseMetadata`
|
923
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
924
|
-
attr_accessor :response_metadata
|
925
|
-
|
926
|
-
def initialize(**args)
|
927
|
-
update!(**args)
|
928
|
-
end
|
929
|
-
|
930
|
-
# Update properties of this object
|
931
|
-
def update!(**args)
|
932
|
-
@company = args[:company] if args.key?(:company)
|
933
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
934
|
-
end
|
935
|
-
end
|
936
|
-
|
937
|
-
# Response message for
|
938
|
-
# GetPartnersStatus.
|
939
|
-
class GetPartnersStatusResponse
|
940
|
-
include Google::Apis::Core::Hashable
|
941
|
-
|
942
|
-
# Common data that is in each API response.
|
943
|
-
# Corresponds to the JSON property `responseMetadata`
|
944
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
945
|
-
attr_accessor :response_metadata
|
946
|
-
|
947
|
-
def initialize(**args)
|
948
|
-
update!(**args)
|
949
|
-
end
|
950
|
-
|
951
|
-
# Update properties of this object
|
952
|
-
def update!(**args)
|
953
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
954
|
-
end
|
955
|
-
end
|
956
|
-
|
957
|
-
# Historical information about a Google Partners Offer.
|
958
|
-
class HistoricalOffer
|
959
|
-
include Google::Apis::Core::Hashable
|
960
|
-
|
961
|
-
# Client's AdWords page URL.
|
962
|
-
# Corresponds to the JSON property `adwordsUrl`
|
963
|
-
# @return [String]
|
964
|
-
attr_accessor :adwords_url
|
965
|
-
|
966
|
-
# Email address for client.
|
967
|
-
# Corresponds to the JSON property `clientEmail`
|
968
|
-
# @return [String]
|
969
|
-
attr_accessor :client_email
|
970
|
-
|
971
|
-
# ID of client.
|
972
|
-
# Corresponds to the JSON property `clientId`
|
973
|
-
# @return [Fixnum]
|
974
|
-
attr_accessor :client_id
|
975
|
-
|
976
|
-
# Name of the client.
|
977
|
-
# Corresponds to the JSON property `clientName`
|
978
|
-
# @return [String]
|
979
|
-
attr_accessor :client_name
|
980
|
-
|
981
|
-
# Time offer was first created.
|
982
|
-
# Corresponds to the JSON property `creationTime`
|
983
|
-
# @return [String]
|
984
|
-
attr_accessor :creation_time
|
985
|
-
|
986
|
-
# Time this offer expires.
|
987
|
-
# Corresponds to the JSON property `expirationTime`
|
988
|
-
# @return [String]
|
989
|
-
attr_accessor :expiration_time
|
990
|
-
|
991
|
-
# Time last action was taken.
|
992
|
-
# Corresponds to the JSON property `lastModifiedTime`
|
993
|
-
# @return [String]
|
994
|
-
attr_accessor :last_modified_time
|
995
|
-
|
996
|
-
# Offer code.
|
997
|
-
# Corresponds to the JSON property `offerCode`
|
998
|
-
# @return [String]
|
999
|
-
attr_accessor :offer_code
|
1000
|
-
|
1001
|
-
# Country Code for the offer country.
|
1002
|
-
# Corresponds to the JSON property `offerCountryCode`
|
1003
|
-
# @return [String]
|
1004
|
-
attr_accessor :offer_country_code
|
1005
|
-
|
1006
|
-
# Type of offer.
|
1007
|
-
# Corresponds to the JSON property `offerType`
|
1008
|
-
# @return [String]
|
1009
|
-
attr_accessor :offer_type
|
1010
|
-
|
1011
|
-
# Name (First + Last) of the partners user to whom the incentive is allocated.
|
1012
|
-
# Corresponds to the JSON property `senderName`
|
1013
|
-
# @return [String]
|
1014
|
-
attr_accessor :sender_name
|
1015
|
-
|
1016
|
-
# Status of the offer.
|
1017
|
-
# Corresponds to the JSON property `status`
|
1018
|
-
# @return [String]
|
1019
|
-
attr_accessor :status
|
1020
|
-
|
1021
|
-
def initialize(**args)
|
1022
|
-
update!(**args)
|
1023
|
-
end
|
1024
|
-
|
1025
|
-
# Update properties of this object
|
1026
|
-
def update!(**args)
|
1027
|
-
@adwords_url = args[:adwords_url] if args.key?(:adwords_url)
|
1028
|
-
@client_email = args[:client_email] if args.key?(:client_email)
|
1029
|
-
@client_id = args[:client_id] if args.key?(:client_id)
|
1030
|
-
@client_name = args[:client_name] if args.key?(:client_name)
|
1031
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
1032
|
-
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
1033
|
-
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
1034
|
-
@offer_code = args[:offer_code] if args.key?(:offer_code)
|
1035
|
-
@offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
|
1036
|
-
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
1037
|
-
@sender_name = args[:sender_name] if args.key?(:sender_name)
|
1038
|
-
@status = args[:status] if args.key?(:status)
|
1039
|
-
end
|
1040
|
-
end
|
1041
|
-
|
1042
|
-
# An object representing a latitude/longitude pair. This is expressed as a pair
|
1043
|
-
# of doubles representing degrees latitude and degrees longitude. Unless
|
1044
|
-
# specified otherwise, this must conform to the
|
1045
|
-
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
1046
|
-
# standard</a>. Values must be within normalized ranges.
|
1047
|
-
class LatLng
|
1048
|
-
include Google::Apis::Core::Hashable
|
1049
|
-
|
1050
|
-
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
1051
|
-
# Corresponds to the JSON property `latitude`
|
1052
|
-
# @return [Float]
|
1053
|
-
attr_accessor :latitude
|
1054
|
-
|
1055
|
-
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
1056
|
-
# Corresponds to the JSON property `longitude`
|
1057
|
-
# @return [Float]
|
1058
|
-
attr_accessor :longitude
|
1059
|
-
|
1060
|
-
def initialize(**args)
|
1061
|
-
update!(**args)
|
1062
|
-
end
|
1063
|
-
|
1064
|
-
# Update properties of this object
|
1065
|
-
def update!(**args)
|
1066
|
-
@latitude = args[:latitude] if args.key?(:latitude)
|
1067
|
-
@longitude = args[:longitude] if args.key?(:longitude)
|
1068
|
-
end
|
1069
|
-
end
|
1070
|
-
|
1071
|
-
# A lead resource that represents an advertiser contact for a `Company`. These
|
1072
|
-
# are usually generated via Google Partner Search (the advertiser portal).
|
1073
|
-
class Lead
|
1074
|
-
include Google::Apis::Core::Hashable
|
1075
|
-
|
1076
|
-
# The AdWords Customer ID of the lead.
|
1077
|
-
# Corresponds to the JSON property `adwordsCustomerId`
|
1078
|
-
# @return [Fixnum]
|
1079
|
-
attr_accessor :adwords_customer_id
|
1080
|
-
|
1081
|
-
# Comments lead source gave.
|
1082
|
-
# Corresponds to the JSON property `comments`
|
1083
|
-
# @return [String]
|
1084
|
-
attr_accessor :comments
|
1085
|
-
|
1086
|
-
# Timestamp of when this lead was created.
|
1087
|
-
# Corresponds to the JSON property `createTime`
|
1088
|
-
# @return [String]
|
1089
|
-
attr_accessor :create_time
|
1090
|
-
|
1091
|
-
# Email address of lead source.
|
1092
|
-
# Corresponds to the JSON property `email`
|
1093
|
-
# @return [String]
|
1094
|
-
attr_accessor :email
|
1095
|
-
|
1096
|
-
# Last name of lead source.
|
1097
|
-
# Corresponds to the JSON property `familyName`
|
1098
|
-
# @return [String]
|
1099
|
-
attr_accessor :family_name
|
1100
|
-
|
1101
|
-
# First name of lead source.
|
1102
|
-
# Corresponds to the JSON property `givenName`
|
1103
|
-
# @return [String]
|
1104
|
-
attr_accessor :given_name
|
1105
|
-
|
1106
|
-
# List of reasons for using Google Partner Search and creating a lead.
|
1107
|
-
# Corresponds to the JSON property `gpsMotivations`
|
1108
|
-
# @return [Array<String>]
|
1109
|
-
attr_accessor :gps_motivations
|
1110
|
-
|
1111
|
-
# ID of the lead.
|
1112
|
-
# Corresponds to the JSON property `id`
|
1113
|
-
# @return [String]
|
1114
|
-
attr_accessor :id
|
1115
|
-
|
1116
|
-
# Language code of the lead's language preference, as defined by
|
1117
|
-
# <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
|
1118
|
-
# (IETF BCP 47, "Tags for Identifying Languages").
|
1119
|
-
# Corresponds to the JSON property `languageCode`
|
1120
|
-
# @return [String]
|
1121
|
-
attr_accessor :language_code
|
1122
|
-
|
1123
|
-
# Whether or not the lead signed up for marketing emails
|
1124
|
-
# Corresponds to the JSON property `marketingOptIn`
|
1125
|
-
# @return [Boolean]
|
1126
|
-
attr_accessor :marketing_opt_in
|
1127
|
-
alias_method :marketing_opt_in?, :marketing_opt_in
|
1128
|
-
|
1129
|
-
# Represents an amount of money with its currency type.
|
1130
|
-
# Corresponds to the JSON property `minMonthlyBudget`
|
1131
|
-
# @return [Google::Apis::PartnersV2::Money]
|
1132
|
-
attr_accessor :min_monthly_budget
|
1133
|
-
|
1134
|
-
# Phone number of lead source.
|
1135
|
-
# Corresponds to the JSON property `phoneNumber`
|
1136
|
-
# @return [String]
|
1137
|
-
attr_accessor :phone_number
|
1138
|
-
|
1139
|
-
# The lead's state in relation to the company.
|
1140
|
-
# Corresponds to the JSON property `state`
|
1141
|
-
# @return [String]
|
1142
|
-
attr_accessor :state
|
1143
|
-
|
1144
|
-
# Type of lead.
|
1145
|
-
# Corresponds to the JSON property `type`
|
1146
|
-
# @return [String]
|
1147
|
-
attr_accessor :type
|
1148
|
-
|
1149
|
-
# Website URL of lead source.
|
1150
|
-
# Corresponds to the JSON property `websiteUrl`
|
1151
|
-
# @return [String]
|
1152
|
-
attr_accessor :website_url
|
1153
|
-
|
1154
|
-
def initialize(**args)
|
1155
|
-
update!(**args)
|
1156
|
-
end
|
1157
|
-
|
1158
|
-
# Update properties of this object
|
1159
|
-
def update!(**args)
|
1160
|
-
@adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id)
|
1161
|
-
@comments = args[:comments] if args.key?(:comments)
|
1162
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1163
|
-
@email = args[:email] if args.key?(:email)
|
1164
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
1165
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
1166
|
-
@gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations)
|
1167
|
-
@id = args[:id] if args.key?(:id)
|
1168
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
1169
|
-
@marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in)
|
1170
|
-
@min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget)
|
1171
|
-
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
1172
|
-
@state = args[:state] if args.key?(:state)
|
1173
|
-
@type = args[:type] if args.key?(:type)
|
1174
|
-
@website_url = args[:website_url] if args.key?(:website_url)
|
1175
|
-
end
|
1176
|
-
end
|
1177
|
-
|
1178
|
-
# Response message for
|
1179
|
-
# ListAnalytics.
|
1180
|
-
class ListAnalyticsResponse
|
1181
|
-
include Google::Apis::Core::Hashable
|
1182
|
-
|
1183
|
-
# The list of analytics.
|
1184
|
-
# Sorted in ascending order of
|
1185
|
-
# Analytics.event_date.
|
1186
|
-
# Corresponds to the JSON property `analytics`
|
1187
|
-
# @return [Array<Google::Apis::PartnersV2::Analytics>]
|
1188
|
-
attr_accessor :analytics
|
1189
|
-
|
1190
|
-
# Analytics aggregated data for a `Company` for a given date range.
|
1191
|
-
# Corresponds to the JSON property `analyticsSummary`
|
1192
|
-
# @return [Google::Apis::PartnersV2::AnalyticsSummary]
|
1193
|
-
attr_accessor :analytics_summary
|
1194
|
-
|
1195
|
-
# A token to retrieve next page of results.
|
1196
|
-
# Pass this value in the `ListAnalyticsRequest.page_token` field in the
|
1197
|
-
# subsequent call to
|
1198
|
-
# ListAnalytics to retrieve the
|
1199
|
-
# next page of results.
|
1200
|
-
# Corresponds to the JSON property `nextPageToken`
|
1201
|
-
# @return [String]
|
1202
|
-
attr_accessor :next_page_token
|
1203
|
-
|
1204
|
-
# Common data that is in each API response.
|
1205
|
-
# Corresponds to the JSON property `responseMetadata`
|
1206
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1207
|
-
attr_accessor :response_metadata
|
1208
|
-
|
1209
|
-
def initialize(**args)
|
1210
|
-
update!(**args)
|
1211
|
-
end
|
1212
|
-
|
1213
|
-
# Update properties of this object
|
1214
|
-
def update!(**args)
|
1215
|
-
@analytics = args[:analytics] if args.key?(:analytics)
|
1216
|
-
@analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary)
|
1217
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1218
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1219
|
-
end
|
1220
|
-
end
|
1221
|
-
|
1222
|
-
# Response message for
|
1223
|
-
# ListCompanies.
|
1224
|
-
class ListCompaniesResponse
|
1225
|
-
include Google::Apis::Core::Hashable
|
1226
|
-
|
1227
|
-
# The list of companies.
|
1228
|
-
# Corresponds to the JSON property `companies`
|
1229
|
-
# @return [Array<Google::Apis::PartnersV2::Company>]
|
1230
|
-
attr_accessor :companies
|
1231
|
-
|
1232
|
-
# A token to retrieve next page of results.
|
1233
|
-
# Pass this value in the `ListCompaniesRequest.page_token` field in the
|
1234
|
-
# subsequent call to
|
1235
|
-
# ListCompanies to retrieve the
|
1236
|
-
# next page of results.
|
1237
|
-
# Corresponds to the JSON property `nextPageToken`
|
1238
|
-
# @return [String]
|
1239
|
-
attr_accessor :next_page_token
|
1240
|
-
|
1241
|
-
# Common data that is in each API response.
|
1242
|
-
# Corresponds to the JSON property `responseMetadata`
|
1243
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1244
|
-
attr_accessor :response_metadata
|
1245
|
-
|
1246
|
-
def initialize(**args)
|
1247
|
-
update!(**args)
|
1248
|
-
end
|
1249
|
-
|
1250
|
-
# Update properties of this object
|
1251
|
-
def update!(**args)
|
1252
|
-
@companies = args[:companies] if args.key?(:companies)
|
1253
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1254
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1255
|
-
end
|
1256
|
-
end
|
1257
|
-
|
1258
|
-
# Response message for ListLeads.
|
1259
|
-
class ListLeadsResponse
|
1260
|
-
include Google::Apis::Core::Hashable
|
1261
|
-
|
1262
|
-
# The list of leads.
|
1263
|
-
# Corresponds to the JSON property `leads`
|
1264
|
-
# @return [Array<Google::Apis::PartnersV2::Lead>]
|
1265
|
-
attr_accessor :leads
|
1266
|
-
|
1267
|
-
# A token to retrieve next page of results.
|
1268
|
-
# Pass this value in the `ListLeadsRequest.page_token` field in the
|
1269
|
-
# subsequent call to
|
1270
|
-
# ListLeads to retrieve the
|
1271
|
-
# next page of results.
|
1272
|
-
# Corresponds to the JSON property `nextPageToken`
|
1273
|
-
# @return [String]
|
1274
|
-
attr_accessor :next_page_token
|
1275
|
-
|
1276
|
-
# Common data that is in each API response.
|
1277
|
-
# Corresponds to the JSON property `responseMetadata`
|
1278
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1279
|
-
attr_accessor :response_metadata
|
1280
|
-
|
1281
|
-
# The total count of leads for the given company.
|
1282
|
-
# Corresponds to the JSON property `totalSize`
|
1283
|
-
# @return [Fixnum]
|
1284
|
-
attr_accessor :total_size
|
1285
|
-
|
1286
|
-
def initialize(**args)
|
1287
|
-
update!(**args)
|
1288
|
-
end
|
1289
|
-
|
1290
|
-
# Update properties of this object
|
1291
|
-
def update!(**args)
|
1292
|
-
@leads = args[:leads] if args.key?(:leads)
|
1293
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1294
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1295
|
-
@total_size = args[:total_size] if args.key?(:total_size)
|
1296
|
-
end
|
1297
|
-
end
|
1298
|
-
|
1299
|
-
# Response for ListOfferHistory.
|
1300
|
-
class ListOffersHistoryResponse
|
1301
|
-
include Google::Apis::Core::Hashable
|
1302
|
-
|
1303
|
-
# True if the user has the option to show entire company history.
|
1304
|
-
# Corresponds to the JSON property `canShowEntireCompany`
|
1305
|
-
# @return [Boolean]
|
1306
|
-
attr_accessor :can_show_entire_company
|
1307
|
-
alias_method :can_show_entire_company?, :can_show_entire_company
|
1308
|
-
|
1309
|
-
# Supply this token in a ListOffersHistoryRequest to retrieve the next page.
|
1310
|
-
# Corresponds to the JSON property `nextPageToken`
|
1311
|
-
# @return [String]
|
1312
|
-
attr_accessor :next_page_token
|
1313
|
-
|
1314
|
-
# Historical offers meeting request.
|
1315
|
-
# Corresponds to the JSON property `offers`
|
1316
|
-
# @return [Array<Google::Apis::PartnersV2::HistoricalOffer>]
|
1317
|
-
attr_accessor :offers
|
1318
|
-
|
1319
|
-
# Common data that is in each API response.
|
1320
|
-
# Corresponds to the JSON property `responseMetadata`
|
1321
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1322
|
-
attr_accessor :response_metadata
|
1323
|
-
|
1324
|
-
# True if this response is showing entire company history.
|
1325
|
-
# Corresponds to the JSON property `showingEntireCompany`
|
1326
|
-
# @return [Boolean]
|
1327
|
-
attr_accessor :showing_entire_company
|
1328
|
-
alias_method :showing_entire_company?, :showing_entire_company
|
1329
|
-
|
1330
|
-
# Number of results across all pages.
|
1331
|
-
# Corresponds to the JSON property `totalResults`
|
1332
|
-
# @return [Fixnum]
|
1333
|
-
attr_accessor :total_results
|
1334
|
-
|
1335
|
-
def initialize(**args)
|
1336
|
-
update!(**args)
|
1337
|
-
end
|
1338
|
-
|
1339
|
-
# Update properties of this object
|
1340
|
-
def update!(**args)
|
1341
|
-
@can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company)
|
1342
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1343
|
-
@offers = args[:offers] if args.key?(:offers)
|
1344
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1345
|
-
@showing_entire_company = args[:showing_entire_company] if args.key?(:showing_entire_company)
|
1346
|
-
@total_results = args[:total_results] if args.key?(:total_results)
|
1347
|
-
end
|
1348
|
-
end
|
1349
|
-
|
1350
|
-
# Response for ListOffer.
|
1351
|
-
class ListOffersResponse
|
1352
|
-
include Google::Apis::Core::Hashable
|
1353
|
-
|
1354
|
-
# Available Offers to be distributed.
|
1355
|
-
# Corresponds to the JSON property `availableOffers`
|
1356
|
-
# @return [Array<Google::Apis::PartnersV2::AvailableOffer>]
|
1357
|
-
attr_accessor :available_offers
|
1358
|
-
|
1359
|
-
# Reason why no Offers are available.
|
1360
|
-
# Corresponds to the JSON property `noOfferReason`
|
1361
|
-
# @return [String]
|
1362
|
-
attr_accessor :no_offer_reason
|
1363
|
-
|
1364
|
-
# Common data that is in each API response.
|
1365
|
-
# Corresponds to the JSON property `responseMetadata`
|
1366
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1367
|
-
attr_accessor :response_metadata
|
1368
|
-
|
1369
|
-
def initialize(**args)
|
1370
|
-
update!(**args)
|
1371
|
-
end
|
1372
|
-
|
1373
|
-
# Update properties of this object
|
1374
|
-
def update!(**args)
|
1375
|
-
@available_offers = args[:available_offers] if args.key?(:available_offers)
|
1376
|
-
@no_offer_reason = args[:no_offer_reason] if args.key?(:no_offer_reason)
|
1377
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1378
|
-
end
|
1379
|
-
end
|
1380
|
-
|
1381
|
-
# Response message for
|
1382
|
-
# ListUserStates.
|
1383
|
-
class ListUserStatesResponse
|
1384
|
-
include Google::Apis::Core::Hashable
|
1385
|
-
|
1386
|
-
# Common data that is in each API response.
|
1387
|
-
# Corresponds to the JSON property `responseMetadata`
|
1388
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1389
|
-
attr_accessor :response_metadata
|
1390
|
-
|
1391
|
-
# User's states.
|
1392
|
-
# Corresponds to the JSON property `userStates`
|
1393
|
-
# @return [Array<String>]
|
1394
|
-
attr_accessor :user_states
|
1395
|
-
|
1396
|
-
def initialize(**args)
|
1397
|
-
update!(**args)
|
1398
|
-
end
|
1399
|
-
|
1400
|
-
# Update properties of this object
|
1401
|
-
def update!(**args)
|
1402
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1403
|
-
@user_states = args[:user_states] if args.key?(:user_states)
|
1404
|
-
end
|
1405
|
-
end
|
1406
|
-
|
1407
|
-
# The localized company information.
|
1408
|
-
class LocalizedCompanyInfo
|
1409
|
-
include Google::Apis::Core::Hashable
|
1410
|
-
|
1411
|
-
# List of country codes for the localized company info.
|
1412
|
-
# Corresponds to the JSON property `countryCodes`
|
1413
|
-
# @return [Array<String>]
|
1414
|
-
attr_accessor :country_codes
|
1415
|
-
|
1416
|
-
# Localized display name.
|
1417
|
-
# Corresponds to the JSON property `displayName`
|
1418
|
-
# @return [String]
|
1419
|
-
attr_accessor :display_name
|
1420
|
-
|
1421
|
-
# Language code of the localized company info, as defined by
|
1422
|
-
# <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
|
1423
|
-
# (IETF BCP 47, "Tags for Identifying Languages").
|
1424
|
-
# Corresponds to the JSON property `languageCode`
|
1425
|
-
# @return [String]
|
1426
|
-
attr_accessor :language_code
|
1427
|
-
|
1428
|
-
# Localized brief description that the company uses to advertise themselves.
|
1429
|
-
# Corresponds to the JSON property `overview`
|
1430
|
-
# @return [String]
|
1431
|
-
attr_accessor :overview
|
1432
|
-
|
1433
|
-
def initialize(**args)
|
1434
|
-
update!(**args)
|
1435
|
-
end
|
1436
|
-
|
1437
|
-
# Update properties of this object
|
1438
|
-
def update!(**args)
|
1439
|
-
@country_codes = args[:country_codes] if args.key?(:country_codes)
|
1440
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1441
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
1442
|
-
@overview = args[:overview] if args.key?(:overview)
|
1443
|
-
end
|
1444
|
-
end
|
1445
|
-
|
1446
|
-
# A location with address and geographic coordinates. May optionally contain a
|
1447
|
-
# detailed (multi-field) version of the address.
|
1448
|
-
class Location
|
1449
|
-
include Google::Apis::Core::Hashable
|
1450
|
-
|
1451
|
-
# The single string version of the address.
|
1452
|
-
# Corresponds to the JSON property `address`
|
1453
|
-
# @return [String]
|
1454
|
-
attr_accessor :address
|
1455
|
-
|
1456
|
-
# The following address lines represent the most specific part of any
|
1457
|
-
# address.
|
1458
|
-
# Corresponds to the JSON property `addressLine`
|
1459
|
-
# @return [Array<String>]
|
1460
|
-
attr_accessor :address_line
|
1461
|
-
|
1462
|
-
# Top-level administrative subdivision of this country.
|
1463
|
-
# Corresponds to the JSON property `administrativeArea`
|
1464
|
-
# @return [String]
|
1465
|
-
attr_accessor :administrative_area
|
1466
|
-
|
1467
|
-
# Dependent locality or sublocality. Used for UK dependent localities, or
|
1468
|
-
# neighborhoods or boroughs in other locations.
|
1469
|
-
# Corresponds to the JSON property `dependentLocality`
|
1470
|
-
# @return [String]
|
1471
|
-
attr_accessor :dependent_locality
|
1472
|
-
|
1473
|
-
# Language code of the address. Should be in BCP 47 format.
|
1474
|
-
# Corresponds to the JSON property `languageCode`
|
1475
|
-
# @return [String]
|
1476
|
-
attr_accessor :language_code
|
1477
|
-
|
1478
|
-
# An object representing a latitude/longitude pair. This is expressed as a pair
|
1479
|
-
# of doubles representing degrees latitude and degrees longitude. Unless
|
1480
|
-
# specified otherwise, this must conform to the
|
1481
|
-
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
1482
|
-
# standard</a>. Values must be within normalized ranges.
|
1483
|
-
# Corresponds to the JSON property `latLng`
|
1484
|
-
# @return [Google::Apis::PartnersV2::LatLng]
|
1485
|
-
attr_accessor :lat_lng
|
1486
|
-
|
1487
|
-
# Generally refers to the city/town portion of an address.
|
1488
|
-
# Corresponds to the JSON property `locality`
|
1489
|
-
# @return [String]
|
1490
|
-
attr_accessor :locality
|
1491
|
-
|
1492
|
-
# Values are frequently alphanumeric.
|
1493
|
-
# Corresponds to the JSON property `postalCode`
|
1494
|
-
# @return [String]
|
1495
|
-
attr_accessor :postal_code
|
1496
|
-
|
1497
|
-
# CLDR (Common Locale Data Repository) region code .
|
1498
|
-
# Corresponds to the JSON property `regionCode`
|
1499
|
-
# @return [String]
|
1500
|
-
attr_accessor :region_code
|
1501
|
-
|
1502
|
-
# Use of this code is very country-specific, but will refer to a secondary
|
1503
|
-
# classification code for sorting mail.
|
1504
|
-
# Corresponds to the JSON property `sortingCode`
|
1505
|
-
# @return [String]
|
1506
|
-
attr_accessor :sorting_code
|
1507
|
-
|
1508
|
-
def initialize(**args)
|
1509
|
-
update!(**args)
|
1510
|
-
end
|
1511
|
-
|
1512
|
-
# Update properties of this object
|
1513
|
-
def update!(**args)
|
1514
|
-
@address = args[:address] if args.key?(:address)
|
1515
|
-
@address_line = args[:address_line] if args.key?(:address_line)
|
1516
|
-
@administrative_area = args[:administrative_area] if args.key?(:administrative_area)
|
1517
|
-
@dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality)
|
1518
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
1519
|
-
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
|
1520
|
-
@locality = args[:locality] if args.key?(:locality)
|
1521
|
-
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
1522
|
-
@region_code = args[:region_code] if args.key?(:region_code)
|
1523
|
-
@sorting_code = args[:sorting_code] if args.key?(:sorting_code)
|
1524
|
-
end
|
1525
|
-
end
|
1526
|
-
|
1527
|
-
# Request message for
|
1528
|
-
# LogClientMessage.
|
1529
|
-
class LogMessageRequest
|
1530
|
-
include Google::Apis::Core::Hashable
|
1531
|
-
|
1532
|
-
# Map of client info, such as URL, browser navigator, browser platform, etc.
|
1533
|
-
# Corresponds to the JSON property `clientInfo`
|
1534
|
-
# @return [Hash<String,String>]
|
1535
|
-
attr_accessor :client_info
|
1536
|
-
|
1537
|
-
# Details about the client message.
|
1538
|
-
# Corresponds to the JSON property `details`
|
1539
|
-
# @return [String]
|
1540
|
-
attr_accessor :details
|
1541
|
-
|
1542
|
-
# Message level of client message.
|
1543
|
-
# Corresponds to the JSON property `level`
|
1544
|
-
# @return [String]
|
1545
|
-
attr_accessor :level
|
1546
|
-
|
1547
|
-
# Common data that is in each API request.
|
1548
|
-
# Corresponds to the JSON property `requestMetadata`
|
1549
|
-
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
1550
|
-
attr_accessor :request_metadata
|
1551
|
-
|
1552
|
-
def initialize(**args)
|
1553
|
-
update!(**args)
|
1554
|
-
end
|
1555
|
-
|
1556
|
-
# Update properties of this object
|
1557
|
-
def update!(**args)
|
1558
|
-
@client_info = args[:client_info] if args.key?(:client_info)
|
1559
|
-
@details = args[:details] if args.key?(:details)
|
1560
|
-
@level = args[:level] if args.key?(:level)
|
1561
|
-
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
1562
|
-
end
|
1563
|
-
end
|
1564
|
-
|
1565
|
-
# Response message for
|
1566
|
-
# LogClientMessage.
|
1567
|
-
class LogMessageResponse
|
1568
|
-
include Google::Apis::Core::Hashable
|
1569
|
-
|
1570
|
-
# Common data that is in each API response.
|
1571
|
-
# Corresponds to the JSON property `responseMetadata`
|
1572
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1573
|
-
attr_accessor :response_metadata
|
1574
|
-
|
1575
|
-
def initialize(**args)
|
1576
|
-
update!(**args)
|
1577
|
-
end
|
1578
|
-
|
1579
|
-
# Update properties of this object
|
1580
|
-
def update!(**args)
|
1581
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1582
|
-
end
|
1583
|
-
end
|
1584
|
-
|
1585
|
-
# Request message for
|
1586
|
-
# LogUserEvent.
|
1587
|
-
class LogUserEventRequest
|
1588
|
-
include Google::Apis::Core::Hashable
|
1589
|
-
|
1590
|
-
# The action that occurred.
|
1591
|
-
# Corresponds to the JSON property `eventAction`
|
1592
|
-
# @return [String]
|
1593
|
-
attr_accessor :event_action
|
1594
|
-
|
1595
|
-
# The category the action belongs to.
|
1596
|
-
# Corresponds to the JSON property `eventCategory`
|
1597
|
-
# @return [String]
|
1598
|
-
attr_accessor :event_category
|
1599
|
-
|
1600
|
-
# List of event data for the event.
|
1601
|
-
# Corresponds to the JSON property `eventDatas`
|
1602
|
-
# @return [Array<Google::Apis::PartnersV2::EventData>]
|
1603
|
-
attr_accessor :event_datas
|
1604
|
-
|
1605
|
-
# The scope of the event.
|
1606
|
-
# Corresponds to the JSON property `eventScope`
|
1607
|
-
# @return [String]
|
1608
|
-
attr_accessor :event_scope
|
1609
|
-
|
1610
|
-
# A lead resource that represents an advertiser contact for a `Company`. These
|
1611
|
-
# are usually generated via Google Partner Search (the advertiser portal).
|
1612
|
-
# Corresponds to the JSON property `lead`
|
1613
|
-
# @return [Google::Apis::PartnersV2::Lead]
|
1614
|
-
attr_accessor :lead
|
1615
|
-
|
1616
|
-
# Common data that is in each API request.
|
1617
|
-
# Corresponds to the JSON property `requestMetadata`
|
1618
|
-
# @return [Google::Apis::PartnersV2::RequestMetadata]
|
1619
|
-
attr_accessor :request_metadata
|
1620
|
-
|
1621
|
-
# The URL where the event occurred.
|
1622
|
-
# Corresponds to the JSON property `url`
|
1623
|
-
# @return [String]
|
1624
|
-
attr_accessor :url
|
1625
|
-
|
1626
|
-
def initialize(**args)
|
1627
|
-
update!(**args)
|
1628
|
-
end
|
1629
|
-
|
1630
|
-
# Update properties of this object
|
1631
|
-
def update!(**args)
|
1632
|
-
@event_action = args[:event_action] if args.key?(:event_action)
|
1633
|
-
@event_category = args[:event_category] if args.key?(:event_category)
|
1634
|
-
@event_datas = args[:event_datas] if args.key?(:event_datas)
|
1635
|
-
@event_scope = args[:event_scope] if args.key?(:event_scope)
|
1636
|
-
@lead = args[:lead] if args.key?(:lead)
|
1637
|
-
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
1638
|
-
@url = args[:url] if args.key?(:url)
|
1639
|
-
end
|
1640
|
-
end
|
1641
|
-
|
1642
|
-
# Response message for
|
1643
|
-
# LogUserEvent.
|
1644
|
-
class LogUserEventResponse
|
1645
|
-
include Google::Apis::Core::Hashable
|
1646
|
-
|
1647
|
-
# Common data that is in each API response.
|
1648
|
-
# Corresponds to the JSON property `responseMetadata`
|
1649
|
-
# @return [Google::Apis::PartnersV2::ResponseMetadata]
|
1650
|
-
attr_accessor :response_metadata
|
1651
|
-
|
1652
|
-
def initialize(**args)
|
1653
|
-
update!(**args)
|
1654
|
-
end
|
1655
|
-
|
1656
|
-
# Update properties of this object
|
1657
|
-
def update!(**args)
|
1658
|
-
@response_metadata = args[:response_metadata] if args.key?(:response_metadata)
|
1659
|
-
end
|
1660
|
-
end
|
1661
|
-
|
1662
|
-
# Represents an amount of money with its currency type.
|
1663
|
-
class Money
|
1664
|
-
include Google::Apis::Core::Hashable
|
1665
|
-
|
1666
|
-
# The 3-letter currency code defined in ISO 4217.
|
1667
|
-
# Corresponds to the JSON property `currencyCode`
|
1668
|
-
# @return [String]
|
1669
|
-
attr_accessor :currency_code
|
1670
|
-
|
1671
|
-
# Number of nano (10^-9) units of the amount.
|
1672
|
-
# The value must be between -999,999,999 and +999,999,999 inclusive.
|
1673
|
-
# If `units` is positive, `nanos` must be positive or zero.
|
1674
|
-
# If `units` is zero, `nanos` can be positive, zero, or negative.
|
1675
|
-
# If `units` is negative, `nanos` must be negative or zero.
|
1676
|
-
# For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
1677
|
-
# Corresponds to the JSON property `nanos`
|
1678
|
-
# @return [Fixnum]
|
1679
|
-
attr_accessor :nanos
|
1680
|
-
|
1681
|
-
# The whole units of the amount.
|
1682
|
-
# For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
1683
|
-
# Corresponds to the JSON property `units`
|
1684
|
-
# @return [Fixnum]
|
1685
|
-
attr_accessor :units
|
1686
|
-
|
1687
|
-
def initialize(**args)
|
1688
|
-
update!(**args)
|
1689
|
-
end
|
1690
|
-
|
1691
|
-
# Update properties of this object
|
1692
|
-
def update!(**args)
|
1693
|
-
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1694
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
1695
|
-
@units = args[:units] if args.key?(:units)
|
1696
|
-
end
|
1697
|
-
end
|
1698
|
-
|
1699
|
-
# Customers qualified for an offer.
|
1700
|
-
class OfferCustomer
|
1701
|
-
include Google::Apis::Core::Hashable
|
1702
|
-
|
1703
|
-
# URL to the customer's AdWords page.
|
1704
|
-
# Corresponds to the JSON property `adwordsUrl`
|
1705
|
-
# @return [String]
|
1706
|
-
attr_accessor :adwords_url
|
1707
|
-
|
1708
|
-
# Country code of the customer.
|
1709
|
-
# Corresponds to the JSON property `countryCode`
|
1710
|
-
# @return [String]
|
1711
|
-
attr_accessor :country_code
|
1712
|
-
|
1713
|
-
# Time the customer was created.
|
1714
|
-
# Corresponds to the JSON property `creationTime`
|
1715
|
-
# @return [String]
|
1716
|
-
attr_accessor :creation_time
|
1717
|
-
|
1718
|
-
# Days the customer is still eligible.
|
1719
|
-
# Corresponds to the JSON property `eligibilityDaysLeft`
|
1720
|
-
# @return [Fixnum]
|
1721
|
-
attr_accessor :eligibility_days_left
|
1722
|
-
|
1723
|
-
# External CID for the customer.
|
1724
|
-
# Corresponds to the JSON property `externalCid`
|
1725
|
-
# @return [Fixnum]
|
1726
|
-
attr_accessor :external_cid
|
1727
|
-
|
1728
|
-
# Formatted Get Y amount with currency code.
|
1729
|
-
# Corresponds to the JSON property `getYAmount`
|
1730
|
-
# @return [String]
|
1731
|
-
attr_accessor :get_y_amount
|
1732
|
-
|
1733
|
-
# Name of the customer.
|
1734
|
-
# Corresponds to the JSON property `name`
|
1735
|
-
# @return [String]
|
1736
|
-
attr_accessor :name
|
1737
|
-
|
1738
|
-
# Type of the offer
|
1739
|
-
# Corresponds to the JSON property `offerType`
|
1740
|
-
# @return [String]
|
1741
|
-
attr_accessor :offer_type
|
1742
|
-
|
1743
|
-
# Formatted Spend X amount with currency code.
|
1744
|
-
# Corresponds to the JSON property `spendXAmount`
|
1745
|
-
# @return [String]
|
1746
|
-
attr_accessor :spend_x_amount
|
1747
|
-
|
1748
|
-
def initialize(**args)
|
1749
|
-
update!(**args)
|
1750
|
-
end
|
1751
|
-
|
1752
|
-
# Update properties of this object
|
1753
|
-
def update!(**args)
|
1754
|
-
@adwords_url = args[:adwords_url] if args.key?(:adwords_url)
|
1755
|
-
@country_code = args[:country_code] if args.key?(:country_code)
|
1756
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
1757
|
-
@eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left)
|
1758
|
-
@external_cid = args[:external_cid] if args.key?(:external_cid)
|
1759
|
-
@get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
|
1760
|
-
@name = args[:name] if args.key?(:name)
|
1761
|
-
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
1762
|
-
@spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
|
1763
|
-
end
|
1764
|
-
end
|
1765
|
-
|
1766
|
-
# A set of opt-ins for a user.
|
1767
|
-
class OptIns
|
1768
|
-
include Google::Apis::Core::Hashable
|
1769
|
-
|
1770
|
-
# An opt-in about receiving email from Partners marketing teams. Includes
|
1771
|
-
# member-only events and special promotional offers for Google products.
|
1772
|
-
# Corresponds to the JSON property `marketComm`
|
1773
|
-
# @return [Boolean]
|
1774
|
-
attr_accessor :market_comm
|
1775
|
-
alias_method :market_comm?, :market_comm
|
1776
|
-
|
1777
|
-
# An opt-in about receiving email with customized AdWords campaign management
|
1778
|
-
# tips.
|
1779
|
-
# Corresponds to the JSON property `performanceSuggestions`
|
1780
|
-
# @return [Boolean]
|
1781
|
-
attr_accessor :performance_suggestions
|
1782
|
-
alias_method :performance_suggestions?, :performance_suggestions
|
1783
|
-
|
1784
|
-
# An opt-in to allow recieivng phone calls about their Partners account.
|
1785
|
-
# Corresponds to the JSON property `phoneContact`
|
1786
|
-
# @return [Boolean]
|
1787
|
-
attr_accessor :phone_contact
|
1788
|
-
alias_method :phone_contact?, :phone_contact
|
1789
|
-
|
1790
|
-
# An opt-in to receive special promotional gifts and material in the mail.
|
1791
|
-
# Corresponds to the JSON property `physicalMail`
|
1792
|
-
# @return [Boolean]
|
1793
|
-
attr_accessor :physical_mail
|
1794
|
-
alias_method :physical_mail?, :physical_mail
|
1795
|
-
|
1796
|
-
# An opt-in about receiving email regarding new features and products.
|
1797
|
-
# Corresponds to the JSON property `specialOffers`
|
1798
|
-
# @return [Boolean]
|
1799
|
-
attr_accessor :special_offers
|
1800
|
-
alias_method :special_offers?, :special_offers
|
1801
|
-
|
1802
|
-
def initialize(**args)
|
1803
|
-
update!(**args)
|
1804
|
-
end
|
1805
|
-
|
1806
|
-
# Update properties of this object
|
1807
|
-
def update!(**args)
|
1808
|
-
@market_comm = args[:market_comm] if args.key?(:market_comm)
|
1809
|
-
@performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions)
|
1810
|
-
@phone_contact = args[:phone_contact] if args.key?(:phone_contact)
|
1811
|
-
@physical_mail = args[:physical_mail] if args.key?(:physical_mail)
|
1812
|
-
@special_offers = args[:special_offers] if args.key?(:special_offers)
|
1813
|
-
end
|
1814
|
-
end
|
1815
|
-
|
1816
|
-
# Basic information from a public profile.
|
1817
|
-
class PublicProfile
|
1818
|
-
include Google::Apis::Core::Hashable
|
1819
|
-
|
1820
|
-
# The URL to the main display image of the public profile. Being deprecated.
|
1821
|
-
# Corresponds to the JSON property `displayImageUrl`
|
1822
|
-
# @return [String]
|
1823
|
-
attr_accessor :display_image_url
|
1824
|
-
|
1825
|
-
# The display name of the public profile.
|
1826
|
-
# Corresponds to the JSON property `displayName`
|
1827
|
-
# @return [String]
|
1828
|
-
attr_accessor :display_name
|
1829
|
-
|
1830
|
-
# The ID which can be used to retrieve more details about the public profile.
|
1831
|
-
# Corresponds to the JSON property `id`
|
1832
|
-
# @return [String]
|
1833
|
-
attr_accessor :id
|
1834
|
-
|
1835
|
-
# The URL to the main profile image of the public profile.
|
1836
|
-
# Corresponds to the JSON property `profileImage`
|
1837
|
-
# @return [String]
|
1838
|
-
attr_accessor :profile_image
|
1839
|
-
|
1840
|
-
# The URL of the public profile.
|
1841
|
-
# Corresponds to the JSON property `url`
|
1842
|
-
# @return [String]
|
1843
|
-
attr_accessor :url
|
1844
|
-
|
1845
|
-
def initialize(**args)
|
1846
|
-
update!(**args)
|
1847
|
-
end
|
1848
|
-
|
1849
|
-
# Update properties of this object
|
1850
|
-
def update!(**args)
|
1851
|
-
@display_image_url = args[:display_image_url] if args.key?(:display_image_url)
|
1852
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1853
|
-
@id = args[:id] if args.key?(:id)
|
1854
|
-
@profile_image = args[:profile_image] if args.key?(:profile_image)
|
1855
|
-
@url = args[:url] if args.key?(:url)
|
1856
|
-
end
|
1857
|
-
end
|
1858
|
-
|
1859
|
-
# Information related to ranking of results.
|
1860
|
-
class Rank
|
1861
|
-
include Google::Apis::Core::Hashable
|
1862
|
-
|
1863
|
-
# The type of rank.
|
1864
|
-
# Corresponds to the JSON property `type`
|
1865
|
-
# @return [String]
|
1866
|
-
attr_accessor :type
|
1867
|
-
|
1868
|
-
# The numerical value of the rank.
|
1869
|
-
# Corresponds to the JSON property `value`
|
1870
|
-
# @return [Float]
|
1871
|
-
attr_accessor :value
|
1872
|
-
|
1873
|
-
def initialize(**args)
|
1874
|
-
update!(**args)
|
1875
|
-
end
|
1876
|
-
|
1877
|
-
# Update properties of this object
|
1878
|
-
def update!(**args)
|
1879
|
-
@type = args[:type] if args.key?(:type)
|
1880
|
-
@value = args[:value] if args.key?(:value)
|
1881
|
-
end
|
1882
|
-
end
|
1883
|
-
|
1884
|
-
# <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info.
|
1885
|
-
class RecaptchaChallenge
|
1886
|
-
include Google::Apis::Core::Hashable
|
1887
|
-
|
1888
|
-
# The ID of the reCaptcha challenge.
|
1889
|
-
# Corresponds to the JSON property `id`
|
1890
|
-
# @return [String]
|
1891
|
-
attr_accessor :id
|
1892
|
-
|
1893
|
-
# The response to the reCaptcha challenge.
|
1894
|
-
# Corresponds to the JSON property `response`
|
1895
|
-
# @return [String]
|
1896
|
-
attr_accessor :response
|
1897
|
-
|
1898
|
-
def initialize(**args)
|
1899
|
-
update!(**args)
|
1900
|
-
end
|
1901
|
-
|
1902
|
-
# Update properties of this object
|
1903
|
-
def update!(**args)
|
1904
|
-
@id = args[:id] if args.key?(:id)
|
1905
|
-
@response = args[:response] if args.key?(:response)
|
1906
|
-
end
|
1907
|
-
end
|
1908
|
-
|
1909
|
-
# Common data that is in each API request.
|
1910
|
-
class RequestMetadata
|
1911
|
-
include Google::Apis::Core::Hashable
|
1912
|
-
|
1913
|
-
# Experiment IDs the current request belongs to.
|
1914
|
-
# Corresponds to the JSON property `experimentIds`
|
1915
|
-
# @return [Array<String>]
|
1916
|
-
attr_accessor :experiment_ids
|
1917
|
-
|
1918
|
-
# Locale to use for the current request.
|
1919
|
-
# Corresponds to the JSON property `locale`
|
1920
|
-
# @return [String]
|
1921
|
-
attr_accessor :locale
|
1922
|
-
|
1923
|
-
# Google Partners session ID.
|
1924
|
-
# Corresponds to the JSON property `partnersSessionId`
|
1925
|
-
# @return [String]
|
1926
|
-
attr_accessor :partners_session_id
|
1927
|
-
|
1928
|
-
# Source of traffic for the current request.
|
1929
|
-
# Corresponds to the JSON property `trafficSource`
|
1930
|
-
# @return [Google::Apis::PartnersV2::TrafficSource]
|
1931
|
-
attr_accessor :traffic_source
|
1932
|
-
|
1933
|
-
# Values to use instead of the user's respective defaults. These are only
|
1934
|
-
# honored by whitelisted products.
|
1935
|
-
# Corresponds to the JSON property `userOverrides`
|
1936
|
-
# @return [Google::Apis::PartnersV2::UserOverrides]
|
1937
|
-
attr_accessor :user_overrides
|
1938
|
-
|
1939
|
-
def initialize(**args)
|
1940
|
-
update!(**args)
|
1941
|
-
end
|
1942
|
-
|
1943
|
-
# Update properties of this object
|
1944
|
-
def update!(**args)
|
1945
|
-
@experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
|
1946
|
-
@locale = args[:locale] if args.key?(:locale)
|
1947
|
-
@partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id)
|
1948
|
-
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
1949
|
-
@user_overrides = args[:user_overrides] if args.key?(:user_overrides)
|
1950
|
-
end
|
1951
|
-
end
|
1952
|
-
|
1953
|
-
# Common data that is in each API response.
|
1954
|
-
class ResponseMetadata
|
1955
|
-
include Google::Apis::Core::Hashable
|
1956
|
-
|
1957
|
-
# Debug information about this request.
|
1958
|
-
# Corresponds to the JSON property `debugInfo`
|
1959
|
-
# @return [Google::Apis::PartnersV2::DebugInfo]
|
1960
|
-
attr_accessor :debug_info
|
1961
|
-
|
1962
|
-
def initialize(**args)
|
1963
|
-
update!(**args)
|
1964
|
-
end
|
1965
|
-
|
1966
|
-
# Update properties of this object
|
1967
|
-
def update!(**args)
|
1968
|
-
@debug_info = args[:debug_info] if args.key?(:debug_info)
|
1969
|
-
end
|
1970
|
-
end
|
1971
|
-
|
1972
|
-
# Agency specialization status
|
1973
|
-
class SpecializationStatus
|
1974
|
-
include Google::Apis::Core::Hashable
|
1975
|
-
|
1976
|
-
# The specialization this status is for.
|
1977
|
-
# Corresponds to the JSON property `badgeSpecialization`
|
1978
|
-
# @return [String]
|
1979
|
-
attr_accessor :badge_specialization
|
1980
|
-
|
1981
|
-
# State of agency specialization.
|
1982
|
-
# Corresponds to the JSON property `badgeSpecializationState`
|
1983
|
-
# @return [String]
|
1984
|
-
attr_accessor :badge_specialization_state
|
1985
|
-
|
1986
|
-
def initialize(**args)
|
1987
|
-
update!(**args)
|
1988
|
-
end
|
1989
|
-
|
1990
|
-
# Update properties of this object
|
1991
|
-
def update!(**args)
|
1992
|
-
@badge_specialization = args[:badge_specialization] if args.key?(:badge_specialization)
|
1993
|
-
@badge_specialization_state = args[:badge_specialization_state] if args.key?(:badge_specialization_state)
|
1994
|
-
end
|
1995
|
-
end
|
1996
|
-
|
1997
|
-
# Source of traffic for the current request.
|
1998
|
-
class TrafficSource
|
1999
|
-
include Google::Apis::Core::Hashable
|
2000
|
-
|
2001
|
-
# Identifier to indicate where the traffic comes from.
|
2002
|
-
# An identifier has multiple letters created by a team which redirected the
|
2003
|
-
# traffic to us.
|
2004
|
-
# Corresponds to the JSON property `trafficSourceId`
|
2005
|
-
# @return [String]
|
2006
|
-
attr_accessor :traffic_source_id
|
2007
|
-
|
2008
|
-
# Second level identifier to indicate where the traffic comes from.
|
2009
|
-
# An identifier has multiple letters created by a team which redirected the
|
2010
|
-
# traffic to us.
|
2011
|
-
# Corresponds to the JSON property `trafficSubId`
|
2012
|
-
# @return [String]
|
2013
|
-
attr_accessor :traffic_sub_id
|
2014
|
-
|
2015
|
-
def initialize(**args)
|
2016
|
-
update!(**args)
|
2017
|
-
end
|
2018
|
-
|
2019
|
-
# Update properties of this object
|
2020
|
-
def update!(**args)
|
2021
|
-
@traffic_source_id = args[:traffic_source_id] if args.key?(:traffic_source_id)
|
2022
|
-
@traffic_sub_id = args[:traffic_sub_id] if args.key?(:traffic_sub_id)
|
2023
|
-
end
|
2024
|
-
end
|
2025
|
-
|
2026
|
-
# A resource representing a user of the Partners platform.
|
2027
|
-
class User
|
2028
|
-
include Google::Apis::Core::Hashable
|
2029
|
-
|
2030
|
-
# Whether or not the user has opted to share their Academy for Ads info with
|
2031
|
-
# Google Partners.
|
2032
|
-
# Corresponds to the JSON property `afaInfoShared`
|
2033
|
-
# @return [Boolean]
|
2034
|
-
attr_accessor :afa_info_shared
|
2035
|
-
alias_method :afa_info_shared?, :afa_info_shared
|
2036
|
-
|
2037
|
-
# This is the list of AdWords Manager Accounts the user has edit access to.
|
2038
|
-
# If the user has edit access to multiple accounts, the user can choose the
|
2039
|
-
# preferred account and we use this when a personal account is needed. Can
|
2040
|
-
# be empty meaning the user has access to no accounts.
|
2041
|
-
# @OutputOnly
|
2042
|
-
# Corresponds to the JSON property `availableAdwordsManagerAccounts`
|
2043
|
-
# @return [Array<Google::Apis::PartnersV2::AdWordsManagerAccountInfo>]
|
2044
|
-
attr_accessor :available_adwords_manager_accounts
|
2045
|
-
|
2046
|
-
# The list of achieved certifications. These are calculated based on exam
|
2047
|
-
# results and other requirements.
|
2048
|
-
# @OutputOnly
|
2049
|
-
# Corresponds to the JSON property `certificationStatus`
|
2050
|
-
# @return [Array<Google::Apis::PartnersV2::Certification>]
|
2051
|
-
attr_accessor :certification_status
|
2052
|
-
|
2053
|
-
# A CompanyRelation resource representing information about a user's
|
2054
|
-
# affiliation and standing with a company in Partners.
|
2055
|
-
# Corresponds to the JSON property `company`
|
2056
|
-
# @return [Google::Apis::PartnersV2::CompanyRelation]
|
2057
|
-
attr_accessor :company
|
2058
|
-
|
2059
|
-
# The email address used by the user used for company verification.
|
2060
|
-
# @OutputOnly
|
2061
|
-
# Corresponds to the JSON property `companyVerificationEmail`
|
2062
|
-
# @return [String]
|
2063
|
-
attr_accessor :company_verification_email
|
2064
|
-
|
2065
|
-
# The list of exams the user ever taken. For each type of exam, only one
|
2066
|
-
# entry is listed.
|
2067
|
-
# Corresponds to the JSON property `examStatus`
|
2068
|
-
# @return [Array<Google::Apis::PartnersV2::ExamStatus>]
|
2069
|
-
attr_accessor :exam_status
|
2070
|
-
|
2071
|
-
# The ID of the user.
|
2072
|
-
# Corresponds to the JSON property `id`
|
2073
|
-
# @return [String]
|
2074
|
-
attr_accessor :id
|
2075
|
-
|
2076
|
-
# The internal user ID.
|
2077
|
-
# Only available for a whitelisted set of api clients.
|
2078
|
-
# Corresponds to the JSON property `internalId`
|
2079
|
-
# @return [String]
|
2080
|
-
attr_accessor :internal_id
|
2081
|
-
|
2082
|
-
# The most recent time the user interacted with the Partners site.
|
2083
|
-
# @OutputOnly
|
2084
|
-
# Corresponds to the JSON property `lastAccessTime`
|
2085
|
-
# @return [String]
|
2086
|
-
attr_accessor :last_access_time
|
2087
|
-
|
2088
|
-
# The list of emails the user has access to/can select as primary.
|
2089
|
-
# @OutputOnly
|
2090
|
-
# Corresponds to the JSON property `primaryEmails`
|
2091
|
-
# @return [Array<String>]
|
2092
|
-
attr_accessor :primary_emails
|
2093
|
-
|
2094
|
-
# The profile information of a Partners user.
|
2095
|
-
# Corresponds to the JSON property `profile`
|
2096
|
-
# @return [Google::Apis::PartnersV2::UserProfile]
|
2097
|
-
attr_accessor :profile
|
2098
|
-
|
2099
|
-
# Basic information from a public profile.
|
2100
|
-
# Corresponds to the JSON property `publicProfile`
|
2101
|
-
# @return [Google::Apis::PartnersV2::PublicProfile]
|
2102
|
-
attr_accessor :public_profile
|
2103
|
-
|
2104
|
-
def initialize(**args)
|
2105
|
-
update!(**args)
|
2106
|
-
end
|
2107
|
-
|
2108
|
-
# Update properties of this object
|
2109
|
-
def update!(**args)
|
2110
|
-
@afa_info_shared = args[:afa_info_shared] if args.key?(:afa_info_shared)
|
2111
|
-
@available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts)
|
2112
|
-
@certification_status = args[:certification_status] if args.key?(:certification_status)
|
2113
|
-
@company = args[:company] if args.key?(:company)
|
2114
|
-
@company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email)
|
2115
|
-
@exam_status = args[:exam_status] if args.key?(:exam_status)
|
2116
|
-
@id = args[:id] if args.key?(:id)
|
2117
|
-
@internal_id = args[:internal_id] if args.key?(:internal_id)
|
2118
|
-
@last_access_time = args[:last_access_time] if args.key?(:last_access_time)
|
2119
|
-
@primary_emails = args[:primary_emails] if args.key?(:primary_emails)
|
2120
|
-
@profile = args[:profile] if args.key?(:profile)
|
2121
|
-
@public_profile = args[:public_profile] if args.key?(:public_profile)
|
2122
|
-
end
|
2123
|
-
end
|
2124
|
-
|
2125
|
-
# Values to use instead of the user's respective defaults. These are only
|
2126
|
-
# honored by whitelisted products.
|
2127
|
-
class UserOverrides
|
2128
|
-
include Google::Apis::Core::Hashable
|
2129
|
-
|
2130
|
-
# IP address to use instead of the user's geo-located IP address.
|
2131
|
-
# Corresponds to the JSON property `ipAddress`
|
2132
|
-
# @return [String]
|
2133
|
-
attr_accessor :ip_address
|
2134
|
-
|
2135
|
-
# Logged-in user ID to impersonate instead of the user's ID.
|
2136
|
-
# Corresponds to the JSON property `userId`
|
2137
|
-
# @return [String]
|
2138
|
-
attr_accessor :user_id
|
2139
|
-
|
2140
|
-
def initialize(**args)
|
2141
|
-
update!(**args)
|
2142
|
-
end
|
2143
|
-
|
2144
|
-
# Update properties of this object
|
2145
|
-
def update!(**args)
|
2146
|
-
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
2147
|
-
@user_id = args[:user_id] if args.key?(:user_id)
|
2148
|
-
end
|
2149
|
-
end
|
2150
|
-
|
2151
|
-
# The profile information of a Partners user.
|
2152
|
-
class UserProfile
|
2153
|
-
include Google::Apis::Core::Hashable
|
2154
|
-
|
2155
|
-
# A location with address and geographic coordinates. May optionally contain a
|
2156
|
-
# detailed (multi-field) version of the address.
|
2157
|
-
# Corresponds to the JSON property `address`
|
2158
|
-
# @return [Google::Apis::PartnersV2::Location]
|
2159
|
-
attr_accessor :address
|
2160
|
-
|
2161
|
-
# If the user has edit access to multiple accounts, the user can choose the
|
2162
|
-
# preferred account and it is used when a personal account is needed. Can
|
2163
|
-
# be empty.
|
2164
|
-
# Corresponds to the JSON property `adwordsManagerAccount`
|
2165
|
-
# @return [Fixnum]
|
2166
|
-
attr_accessor :adwords_manager_account
|
2167
|
-
|
2168
|
-
# A list of ids representing which channels the user selected they were in.
|
2169
|
-
# Corresponds to the JSON property `channels`
|
2170
|
-
# @return [Array<String>]
|
2171
|
-
attr_accessor :channels
|
2172
|
-
|
2173
|
-
# The email address the user has selected on the Partners site as primary.
|
2174
|
-
# Corresponds to the JSON property `emailAddress`
|
2175
|
-
# @return [String]
|
2176
|
-
attr_accessor :email_address
|
2177
|
-
|
2178
|
-
# A set of opt-ins for a user.
|
2179
|
-
# Corresponds to the JSON property `emailOptIns`
|
2180
|
-
# @return [Google::Apis::PartnersV2::OptIns]
|
2181
|
-
attr_accessor :email_opt_ins
|
2182
|
-
|
2183
|
-
# The user's family name.
|
2184
|
-
# Corresponds to the JSON property `familyName`
|
2185
|
-
# @return [String]
|
2186
|
-
attr_accessor :family_name
|
2187
|
-
|
2188
|
-
# The user's given name.
|
2189
|
-
# Corresponds to the JSON property `givenName`
|
2190
|
-
# @return [String]
|
2191
|
-
attr_accessor :given_name
|
2192
|
-
|
2193
|
-
# A list of ids representing which industries the user selected.
|
2194
|
-
# Corresponds to the JSON property `industries`
|
2195
|
-
# @return [Array<String>]
|
2196
|
-
attr_accessor :industries
|
2197
|
-
|
2198
|
-
# A list of ids represnting which job categories the user selected.
|
2199
|
-
# Corresponds to the JSON property `jobFunctions`
|
2200
|
-
# @return [Array<String>]
|
2201
|
-
attr_accessor :job_functions
|
2202
|
-
|
2203
|
-
# The list of languages this user understands.
|
2204
|
-
# Corresponds to the JSON property `languages`
|
2205
|
-
# @return [Array<String>]
|
2206
|
-
attr_accessor :languages
|
2207
|
-
|
2208
|
-
# A list of ids representing which markets the user was interested in.
|
2209
|
-
# Corresponds to the JSON property `markets`
|
2210
|
-
# @return [Array<String>]
|
2211
|
-
attr_accessor :markets
|
2212
|
-
|
2213
|
-
# Whether or not to migrate the user's exam data to Academy for Ads.
|
2214
|
-
# Corresponds to the JSON property `migrateToAfa`
|
2215
|
-
# @return [Boolean]
|
2216
|
-
attr_accessor :migrate_to_afa
|
2217
|
-
alias_method :migrate_to_afa?, :migrate_to_afa
|
2218
|
-
|
2219
|
-
# The user's phone number.
|
2220
|
-
# Corresponds to the JSON property `phoneNumber`
|
2221
|
-
# @return [String]
|
2222
|
-
attr_accessor :phone_number
|
2223
|
-
|
2224
|
-
# The user's primary country, an ISO 2-character code.
|
2225
|
-
# Corresponds to the JSON property `primaryCountryCode`
|
2226
|
-
# @return [String]
|
2227
|
-
attr_accessor :primary_country_code
|
2228
|
-
|
2229
|
-
# Whether the user's public profile is visible to anyone with the URL.
|
2230
|
-
# Corresponds to the JSON property `profilePublic`
|
2231
|
-
# @return [Boolean]
|
2232
|
-
attr_accessor :profile_public
|
2233
|
-
alias_method :profile_public?, :profile_public
|
2234
|
-
|
2235
|
-
def initialize(**args)
|
2236
|
-
update!(**args)
|
2237
|
-
end
|
2238
|
-
|
2239
|
-
# Update properties of this object
|
2240
|
-
def update!(**args)
|
2241
|
-
@address = args[:address] if args.key?(:address)
|
2242
|
-
@adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account)
|
2243
|
-
@channels = args[:channels] if args.key?(:channels)
|
2244
|
-
@email_address = args[:email_address] if args.key?(:email_address)
|
2245
|
-
@email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins)
|
2246
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
2247
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
2248
|
-
@industries = args[:industries] if args.key?(:industries)
|
2249
|
-
@job_functions = args[:job_functions] if args.key?(:job_functions)
|
2250
|
-
@languages = args[:languages] if args.key?(:languages)
|
2251
|
-
@markets = args[:markets] if args.key?(:markets)
|
2252
|
-
@migrate_to_afa = args[:migrate_to_afa] if args.key?(:migrate_to_afa)
|
2253
|
-
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
2254
|
-
@primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
|
2255
|
-
@profile_public = args[:profile_public] if args.key?(:profile_public)
|
2256
|
-
end
|
2257
|
-
end
|
2258
|
-
end
|
2259
|
-
end
|
2260
|
-
end
|