google-api-client 0.42.1 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +205 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +739 -1192
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +885 -1126
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +15 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +15 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +192 -316
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +257 -285
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +796 -0
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +943 -1175
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +1007 -1316
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200713'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -58,6 +58,11 @@ module Google
|
|
58
58
|
# @return [Google::Apis::ContainerV1::CloudRunConfig]
|
59
59
|
attr_accessor :cloud_run_config
|
60
60
|
|
61
|
+
# Configuration options for the Config Connector add-on.
|
62
|
+
# Corresponds to the JSON property `configConnectorConfig`
|
63
|
+
# @return [Google::Apis::ContainerV1::ConfigConnectorConfig]
|
64
|
+
attr_accessor :config_connector_config
|
65
|
+
|
61
66
|
# Configuration for NodeLocal DNSCache
|
62
67
|
# Corresponds to the JSON property `dnsCacheConfig`
|
63
68
|
# @return [Google::Apis::ContainerV1::DnsCacheConfig]
|
@@ -95,6 +100,7 @@ module Google
|
|
95
100
|
# Update properties of this object
|
96
101
|
def update!(**args)
|
97
102
|
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
|
103
|
+
@config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
|
98
104
|
@dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
|
99
105
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
100
106
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
@@ -1066,6 +1072,26 @@ module Google
|
|
1066
1072
|
end
|
1067
1073
|
end
|
1068
1074
|
|
1075
|
+
# Configuration options for the Config Connector add-on.
|
1076
|
+
class ConfigConnectorConfig
|
1077
|
+
include Google::Apis::Core::Hashable
|
1078
|
+
|
1079
|
+
# Whether Cloud Connector is enabled for this cluster.
|
1080
|
+
# Corresponds to the JSON property `enabled`
|
1081
|
+
# @return [Boolean]
|
1082
|
+
attr_accessor :enabled
|
1083
|
+
alias_method :enabled?, :enabled
|
1084
|
+
|
1085
|
+
def initialize(**args)
|
1086
|
+
update!(**args)
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# Update properties of this object
|
1090
|
+
def update!(**args)
|
1091
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
|
1069
1095
|
# Parameters for controlling consumption metering.
|
1070
1096
|
class ConsumptionMeteringConfig
|
1071
1097
|
include Google::Apis::Core::Hashable
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class ConfigConnectorConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class ConsumptionMeteringConfig
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -563,6 +569,8 @@ module Google
|
|
563
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
564
570
|
property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1::CloudRunConfig, decorator: Google::Apis::ContainerV1::CloudRunConfig::Representation
|
565
571
|
|
572
|
+
property :config_connector_config, as: 'configConnectorConfig', class: Google::Apis::ContainerV1::ConfigConnectorConfig, decorator: Google::Apis::ContainerV1::ConfigConnectorConfig::Representation
|
573
|
+
|
566
574
|
property :dns_cache_config, as: 'dnsCacheConfig', class: Google::Apis::ContainerV1::DnsCacheConfig, decorator: Google::Apis::ContainerV1::DnsCacheConfig::Representation
|
567
575
|
|
568
576
|
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
|
@@ -788,6 +796,13 @@ module Google
|
|
788
796
|
end
|
789
797
|
end
|
790
798
|
|
799
|
+
class ConfigConnectorConfig
|
800
|
+
# @private
|
801
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
802
|
+
property :enabled, as: 'enabled'
|
803
|
+
end
|
804
|
+
end
|
805
|
+
|
791
806
|
class ConsumptionMeteringConfig
|
792
807
|
# @private
|
793
808
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200721'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -958,6 +958,11 @@ module Google
|
|
958
958
|
attr_accessor :force
|
959
959
|
alias_method :force?, :force
|
960
960
|
|
961
|
+
# Label IDs for the 'updatelabels' request.
|
962
|
+
# Corresponds to the JSON property `labelIds`
|
963
|
+
# @return [Array<Fixnum>]
|
964
|
+
attr_accessor :label_ids
|
965
|
+
|
961
966
|
# Details about the `link` request.
|
962
967
|
# Corresponds to the JSON property `linkRequest`
|
963
968
|
# @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest]
|
@@ -997,6 +1002,7 @@ module Google
|
|
997
1002
|
@account_id = args[:account_id] if args.key?(:account_id)
|
998
1003
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
999
1004
|
@force = args[:force] if args.key?(:force)
|
1005
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
1000
1006
|
@link_request = args[:link_request] if args.key?(:link_request)
|
1001
1007
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
1002
1008
|
@request_method = args[:request_method] if args.key?(:request_method)
|
@@ -5701,6 +5707,15 @@ module Google
|
|
5701
5707
|
# - "`ptt`" (PTT Turkish Post)
|
5702
5708
|
# - "`eub`" (ePacket)
|
5703
5709
|
# - "`chukou1`" (Chukou1 Logistics)
|
5710
|
+
# - "`bestex`" (Best Express)
|
5711
|
+
# - "`canada post`" (Canada Post)
|
5712
|
+
# - "`purolator`" (Purolator)
|
5713
|
+
# - "`canpar`" (Canpar)
|
5714
|
+
# - "`india post`" (India Post)
|
5715
|
+
# - "`blue dart`" (Blue Dart)
|
5716
|
+
# - "`delhivery`" (Delhivery)
|
5717
|
+
# - "`dtdc`" (DTDC)
|
5718
|
+
# - "`tpc india`" (TPC India)
|
5704
5719
|
# Supported carriers for FR are:
|
5705
5720
|
# - "`la poste`" (La Poste) automatic status updates
|
5706
5721
|
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
@@ -1886,6 +1886,7 @@ module Google
|
|
1886
1886
|
property :account_id, :numeric_string => true, as: 'accountId'
|
1887
1887
|
property :batch_id, as: 'batchId'
|
1888
1888
|
property :force, as: 'force'
|
1889
|
+
collection :label_ids, as: 'labelIds'
|
1889
1890
|
property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest::Representation
|
1890
1891
|
|
1891
1892
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2_1
|
28
28
|
VERSION = 'V2_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200721'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -828,6 +828,11 @@ module Google
|
|
828
828
|
attr_accessor :force
|
829
829
|
alias_method :force?, :force
|
830
830
|
|
831
|
+
# Label IDs for the 'updatelabels' request.
|
832
|
+
# Corresponds to the JSON property `labelIds`
|
833
|
+
# @return [Array<Fixnum>]
|
834
|
+
attr_accessor :label_ids
|
835
|
+
|
831
836
|
# Details about the `link` request.
|
832
837
|
# Corresponds to the JSON property `linkRequest`
|
833
838
|
# @return [Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest]
|
@@ -867,6 +872,7 @@ module Google
|
|
867
872
|
@account_id = args[:account_id] if args.key?(:account_id)
|
868
873
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
869
874
|
@force = args[:force] if args.key?(:force)
|
875
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
870
876
|
@link_request = args[:link_request] if args.key?(:link_request)
|
871
877
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
872
878
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
@@ -5491,6 +5497,15 @@ module Google
|
|
5491
5497
|
# - "`ptt`" (PTT Turkish Post)
|
5492
5498
|
# - "`eub`" (ePacket)
|
5493
5499
|
# - "`chukou1`" (Chukou1 Logistics)
|
5500
|
+
# - "`bestex`" (Best Express)
|
5501
|
+
# - "`canada post`" (Canada Post)
|
5502
|
+
# - "`purolator`" (Purolator)
|
5503
|
+
# - "`canpar`" (Canpar)
|
5504
|
+
# - "`india post`" (India Post)
|
5505
|
+
# - "`blue dart`" (Blue Dart)
|
5506
|
+
# - "`delhivery`" (Delhivery)
|
5507
|
+
# - "`dtdc`" (DTDC)
|
5508
|
+
# - "`tpc india`" (TPC India)
|
5494
5509
|
# Supported carriers for FR are:
|
5495
5510
|
# - "`la poste`" (La Poste) automatic status updates
|
5496
5511
|
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
@@ -2005,6 +2005,7 @@ module Google
|
|
2005
2005
|
property :account_id, :numeric_string => true, as: 'accountId'
|
2006
2006
|
property :batch_id, as: 'batchId'
|
2007
2007
|
property :force, as: 'force'
|
2008
|
+
collection :label_ids, as: 'labelIds'
|
2008
2009
|
property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest::Representation
|
2009
2010
|
|
2010
2011
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
@@ -26,10 +26,9 @@ module Google
|
|
26
26
|
class Promotion
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# An array of block objects for this promotion. See [Google WebSearch
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# for more information.
|
29
|
+
# An array of block objects for this promotion. See [Google WebSearch Protocol
|
30
|
+
# reference](https://developers.google.com/custom-search/docs/xml_results) for
|
31
|
+
# more information.
|
33
32
|
# Corresponds to the JSON property `bodyLines`
|
34
33
|
# @return [Array<Google::Apis::CustomsearchV1::Promotion::BodyLine>]
|
35
34
|
attr_accessor :body_lines
|
@@ -186,20 +185,20 @@ module Google
|
|
186
185
|
# @return [Google::Apis::CustomsearchV1::Result::Image]
|
187
186
|
attr_accessor :image
|
188
187
|
|
189
|
-
# A unique identifier for the type of current object. For this API, it is
|
190
|
-
#
|
188
|
+
# A unique identifier for the type of current object. For this API, it is `
|
189
|
+
# customsearch#result.`
|
191
190
|
# Corresponds to the JSON property `kind`
|
192
191
|
# @return [String]
|
193
192
|
attr_accessor :kind
|
194
193
|
|
195
|
-
# Encapsulates all information about [refinement
|
196
|
-
#
|
194
|
+
# Encapsulates all information about [refinement labels](https://developers.
|
195
|
+
# google.com/custom-search/docs/xml_results).
|
197
196
|
# Corresponds to the JSON property `labels`
|
198
197
|
# @return [Array<Google::Apis::CustomsearchV1::Result::Label>]
|
199
198
|
attr_accessor :labels
|
200
199
|
|
201
|
-
# The full URL to which the search result is pointing, e.g.
|
202
|
-
#
|
200
|
+
# The full URL to which the search result is pointing, e.g. http://www.example.
|
201
|
+
# com/foo/bar.
|
203
202
|
# Corresponds to the JSON property `link`
|
204
203
|
# @return [String]
|
205
204
|
attr_accessor :link
|
@@ -209,10 +208,8 @@ module Google
|
|
209
208
|
# @return [String]
|
210
209
|
attr_accessor :mime
|
211
210
|
|
212
|
-
# Contains
|
213
|
-
#
|
214
|
-
# pagemaps)
|
215
|
-
# information for this search result.
|
211
|
+
# Contains [PageMap](https://developers.google.com/custom-search/docs/
|
212
|
+
# structured_data#pagemaps) information for this search result.
|
216
213
|
# Corresponds to the JSON property `pagemap`
|
217
214
|
# @return [Hash<String,Object>]
|
218
215
|
attr_accessor :pagemap
|
@@ -309,8 +306,8 @@ module Google
|
|
309
306
|
class Label
|
310
307
|
include Google::Apis::Core::Hashable
|
311
308
|
|
312
|
-
# The display name of a refinement label. This is the name you should
|
313
|
-
#
|
309
|
+
# The display name of a refinement label. This is the name you should display in
|
310
|
+
# your user interface.
|
314
311
|
# Corresponds to the JSON property `displayName`
|
315
312
|
# @return [String]
|
316
313
|
attr_accessor :display_name
|
@@ -320,8 +317,8 @@ module Google
|
|
320
317
|
# @return [String]
|
321
318
|
attr_accessor :label_with_op
|
322
319
|
|
323
|
-
# The name of a refinement label, which you can use to refine searches.
|
324
|
-
#
|
320
|
+
# The name of a refinement label, which you can use to refine searches. Don't
|
321
|
+
# display this in your user interface; instead, use displayName.
|
325
322
|
# Corresponds to the JSON property `name`
|
326
323
|
# @return [String]
|
327
324
|
attr_accessor :name
|
@@ -343,12 +340,10 @@ module Google
|
|
343
340
|
class Search
|
344
341
|
include Google::Apis::Core::Hashable
|
345
342
|
|
346
|
-
# Metadata and refinements associated with the given search engine,
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
# objects](https://developers.google.com/custom-search/docs/refinements#create)
|
351
|
-
# (refinements) you can use for refining a search.
|
343
|
+
# Metadata and refinements associated with the given search engine, including: *
|
344
|
+
# The name of the search engine that was used for the query. * A set of [facet
|
345
|
+
# objects](https://developers.google.com/custom-search/docs/refinements#create) (
|
346
|
+
# refinements) you can use for refining a search.
|
352
347
|
# Corresponds to the JSON property `context`
|
353
348
|
# @return [Hash<String,Object>]
|
354
349
|
attr_accessor :context
|
@@ -364,10 +359,9 @@ module Google
|
|
364
359
|
# @return [String]
|
365
360
|
attr_accessor :kind
|
366
361
|
|
367
|
-
# The set of
|
368
|
-
#
|
369
|
-
#
|
370
|
-
# promotions for the given query.
|
362
|
+
# The set of [promotions](https://developers.google.com/custom-search/docs/
|
363
|
+
# promotions). Present only if the custom search engine's configuration files
|
364
|
+
# define any promotions for the given query.
|
371
365
|
# Corresponds to the JSON property `promotions`
|
372
366
|
# @return [Array<Google::Apis::CustomsearchV1::Promotion>]
|
373
367
|
attr_accessor :promotions
|
@@ -447,190 +441,140 @@ module Google
|
|
447
441
|
# @return [Fixnum]
|
448
442
|
attr_accessor :count
|
449
443
|
|
450
|
-
# Restricts search results to documents originating in a particular
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
# * The geographic location of the web server's IP address.
|
459
|
-
# See [Country (cr) Parameter
|
460
|
-
# Values](https://developers.google.com/custom-search/docs/xml_results#
|
461
|
-
# countryCollections)
|
462
|
-
# for a list of valid values for this parameter.
|
444
|
+
# Restricts search results to documents originating in a particular country. You
|
445
|
+
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
446
|
+
# xml_results#booleanOperators) in the `cr` parameter's value. Google WebSearch
|
447
|
+
# determines the country of a document by analyzing the following: * The top-
|
448
|
+
# level domain (TLD) of the document's URL. * The geographic location of the web
|
449
|
+
# server's IP address. See [Country (cr) Parameter Values](https://developers.
|
450
|
+
# google.com/custom-search/docs/xml_results#countryCollections) for a list of
|
451
|
+
# valid values for this parameter.
|
463
452
|
# Corresponds to the JSON property `cr`
|
464
453
|
# @return [String]
|
465
454
|
attr_accessor :cr
|
466
455
|
|
467
|
-
# The identifier of
|
468
|
-
#
|
469
|
-
# defined in the OpenSearch spec. This parameter is **required**.
|
456
|
+
# The identifier of an engine created using the Programmable Search Engine [
|
457
|
+
# Control Panel](https://programmablesearchengine.google.com/). This is a custom
|
458
|
+
# property not defined in the OpenSearch spec. This parameter is **required**.
|
470
459
|
# Corresponds to the JSON property `cx`
|
471
460
|
# @return [String]
|
472
461
|
attr_accessor :cx
|
473
462
|
|
474
|
-
# Restricts results to URLs based on date. Supported values include:
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
463
|
+
# Restricts results to URLs based on date. Supported values include: * `d[number]
|
464
|
+
# `: requests results from the specified number of past days. * `w[number]`:
|
465
|
+
# requests results from the specified number of past weeks. * `m[number]`:
|
466
|
+
# requests results from the specified number of past months. * `y[number]`:
|
467
|
+
# requests results from the specified number of past years.
|
479
468
|
# Corresponds to the JSON property `dateRestrict`
|
480
469
|
# @return [String]
|
481
470
|
attr_accessor :date_restrict
|
482
471
|
|
483
|
-
# Enables or disables the [Simplified and Traditional Chinese
|
484
|
-
#
|
485
|
-
#
|
486
|
-
# feature.
|
487
|
-
# Supported values are:
|
488
|
-
# * `0`: enabled (default)
|
489
|
-
# * `1`: disabled
|
472
|
+
# Enables or disables the [Simplified and Traditional Chinese Search](https://
|
473
|
+
# developers.google.com/custom-search/docs/xml_results#chineseSearch) feature.
|
474
|
+
# Supported values are: * `0`: enabled (default) * `1`: disabled
|
490
475
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
491
476
|
# @return [String]
|
492
477
|
attr_accessor :disable_cn_tw_translation
|
493
478
|
|
494
|
-
# Identifies a phrase that all documents in the search results must
|
495
|
-
# contain.
|
479
|
+
# Identifies a phrase that all documents in the search results must contain.
|
496
480
|
# Corresponds to the JSON property `exactTerms`
|
497
481
|
# @return [String]
|
498
482
|
attr_accessor :exact_terms
|
499
483
|
|
500
|
-
# Identifies a word or phrase that should not appear in any documents in
|
501
|
-
#
|
484
|
+
# Identifies a word or phrase that should not appear in any documents in the
|
485
|
+
# search results.
|
502
486
|
# Corresponds to the JSON property `excludeTerms`
|
503
487
|
# @return [String]
|
504
488
|
attr_accessor :exclude_terms
|
505
489
|
|
506
|
-
# Restricts results to files of a specified extension. Filetypes supported
|
507
|
-
#
|
508
|
-
# *
|
509
|
-
# *
|
510
|
-
# *
|
511
|
-
# *
|
512
|
-
# *
|
513
|
-
#
|
514
|
-
#
|
515
|
-
# * Microsoft Word (`doc`)
|
516
|
-
# * Microsoft Works (`wks`, `wps`, `wdb`)
|
517
|
-
# * Microsoft Write (`wri`)
|
518
|
-
# * Rich Text Format (`rtf`)
|
519
|
-
# * Shockwave Flash (`swf`)
|
520
|
-
# * Text (`ans`, `txt`).
|
521
|
-
# Additional filetypes may be added in the future. An up-to-date list can
|
522
|
-
# always be found in Google's [file type
|
523
|
-
# FAQ](https://support.google.com/webmasters/answer/35287).
|
490
|
+
# Restricts results to files of a specified extension. Filetypes supported by
|
491
|
+
# Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`
|
492
|
+
# ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) *
|
493
|
+
# Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft
|
494
|
+
# PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `
|
495
|
+
# wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`
|
496
|
+
# swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future.
|
497
|
+
# An up-to-date list can always be found in Google's [file type FAQ](https://
|
498
|
+
# support.google.com/webmasters/answer/35287).
|
524
499
|
# Corresponds to the JSON property `fileType`
|
525
500
|
# @return [String]
|
526
501
|
attr_accessor :file_type
|
527
502
|
|
528
|
-
# Activates or deactivates the automatic filtering of Google search
|
529
|
-
#
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
533
|
-
#
|
534
|
-
# * `0`: Disabled
|
535
|
-
# * `1`: Enabled (default)
|
536
|
-
# **Note**: By default, Google applies filtering to all search results to
|
537
|
-
# improve the quality of those results.
|
503
|
+
# Activates or deactivates the automatic filtering of Google search results. See
|
504
|
+
# [Automatic Filtering](https://developers.google.com/custom-search/docs/
|
505
|
+
# xml_results#automaticFiltering) for more information about Google's search
|
506
|
+
# results filters. Valid values for this parameter are: * `0`: Disabled * `1`:
|
507
|
+
# Enabled (default) **Note**: By default, Google applies filtering to all search
|
508
|
+
# results to improve the quality of those results.
|
538
509
|
# Corresponds to the JSON property `filter`
|
539
510
|
# @return [String]
|
540
511
|
attr_accessor :filter
|
541
512
|
|
542
|
-
# Boosts search results whose country of origin matches the parameter
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
# for
|
547
|
-
#
|
548
|
-
# the relevance of results. This is particularly true for international
|
549
|
-
# customers and, even more specifically, for customers in English-speaking
|
550
|
-
# countries other than the United States.
|
513
|
+
# Boosts search results whose country of origin matches the parameter value. See
|
514
|
+
# [Country Codes](https://developers.google.com/custom-search/docs/xml_results#
|
515
|
+
# countryCodes) for a list of valid values. Specifying a `gl` parameter value in
|
516
|
+
# WebSearch requests should improve the relevance of results. This is
|
517
|
+
# particularly true for international customers and, even more specifically, for
|
518
|
+
# customers in English-speaking countries other than the United States.
|
551
519
|
# Corresponds to the JSON property `gl`
|
552
520
|
# @return [String]
|
553
521
|
attr_accessor :gl
|
554
522
|
|
555
|
-
# Specifies the Google domain (for example, google.com, google.de, or
|
556
|
-
#
|
523
|
+
# Specifies the Google domain (for example, google.com, google.de, or google.fr)
|
524
|
+
# to which the search should be limited.
|
557
525
|
# Corresponds to the JSON property `googleHost`
|
558
526
|
# @return [String]
|
559
527
|
attr_accessor :google_host
|
560
528
|
|
561
|
-
# Specifies the ending value for a search range. Use `cse:lowRange` and
|
562
|
-
#
|
563
|
-
#
|
529
|
+
# Specifies the ending value for a search range. Use `cse:lowRange` and `cse:
|
530
|
+
# highrange` to append an inclusive search range of `lowRange...highRange` to
|
531
|
+
# the query.
|
564
532
|
# Corresponds to the JSON property `highRange`
|
565
533
|
# @return [String]
|
566
534
|
attr_accessor :high_range
|
567
535
|
|
568
536
|
# Specifies the interface language (host language) of your user interface.
|
569
|
-
# Explicitly setting this parameter improves the performance and the
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
#
|
576
|
-
#
|
577
|
-
# for more information, and [Supported Interface
|
578
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
579
|
-
# xml_results_appendices#interfaceLanguages)
|
580
|
-
# for a list of supported languages.
|
537
|
+
# Explicitly setting this parameter improves the performance and the quality of
|
538
|
+
# your search results. See the [Interface Languages](https://developers.google.
|
539
|
+
# com/custom-search/docs/xml_results#wsInterfaceLanguages) section of [
|
540
|
+
# Internationalizing Queries and Results Presentation](https://developers.google.
|
541
|
+
# com/custom-search/docs/xml_results#wsInternationalizing) for more information,
|
542
|
+
# and [Supported Interface Languages](https://developers.google.com/custom-
|
543
|
+
# search/docs/xml_results_appendices#interfaceLanguages) for a list of supported
|
544
|
+
# languages.
|
581
545
|
# Corresponds to the JSON property `hl`
|
582
546
|
# @return [String]
|
583
547
|
attr_accessor :hl
|
584
548
|
|
585
|
-
# Appends the specified query terms to the query, as if they were combined
|
586
|
-
#
|
549
|
+
# Appends the specified query terms to the query, as if they were combined with
|
550
|
+
# a logical `AND` operator.
|
587
551
|
# Corresponds to the JSON property `hq`
|
588
552
|
# @return [String]
|
589
553
|
attr_accessor :hq
|
590
554
|
|
591
|
-
# Restricts results to images of a specified color type. Supported values
|
592
|
-
#
|
593
|
-
# * `mono` (black and white)
|
594
|
-
# * `gray` (grayscale)
|
595
|
-
# * `color` (color)
|
555
|
+
# Restricts results to images of a specified color type. Supported values are: *
|
556
|
+
# `mono` (black and white) * `gray` (grayscale) * `color` (color)
|
596
557
|
# Corresponds to the JSON property `imgColorType`
|
597
558
|
# @return [String]
|
598
559
|
attr_accessor :img_color_type
|
599
560
|
|
600
|
-
# Restricts results to images with a specific dominant color. Supported
|
601
|
-
#
|
602
|
-
# * `
|
603
|
-
# * `orange`
|
604
|
-
# * `yellow`
|
605
|
-
# * `green`
|
606
|
-
# * `teal`
|
607
|
-
# * `blue`
|
608
|
-
# * `purple`
|
609
|
-
# * `pink`
|
610
|
-
# * `white`
|
611
|
-
# * `gray`
|
612
|
-
# * `black`
|
613
|
-
# * `brown`
|
561
|
+
# Restricts results to images with a specific dominant color. Supported values
|
562
|
+
# are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `
|
563
|
+
# pink` * `white` * `gray` * `black` * `brown`
|
614
564
|
# Corresponds to the JSON property `imgDominantColor`
|
615
565
|
# @return [String]
|
616
566
|
attr_accessor :img_dominant_color
|
617
567
|
|
618
|
-
# Restricts results to images of a specified size. Supported values are:
|
619
|
-
# * `
|
620
|
-
#
|
621
|
-
# * `xxlarge` (large)
|
622
|
-
# * `huge` (extra-large)
|
568
|
+
# Restricts results to images of a specified size. Supported values are: * `icon`
|
569
|
+
# (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `
|
570
|
+
# huge` (extra-large)
|
623
571
|
# Corresponds to the JSON property `imgSize`
|
624
572
|
# @return [String]
|
625
573
|
attr_accessor :img_size
|
626
574
|
|
627
|
-
# Restricts results to images of a specified type. Supported values are:
|
628
|
-
#
|
629
|
-
# * `
|
630
|
-
# * `lineart` (Line drawing)
|
631
|
-
# * `photo` (Photo)
|
632
|
-
# * `animated` (Animated)
|
633
|
-
# * `stock` (Stock)
|
575
|
+
# Restricts results to images of a specified type. Supported values are: * `
|
576
|
+
# clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (
|
577
|
+
# Photo) * `animated` (Animated) * `stock` (Stock)
|
634
578
|
# Corresponds to the JSON property `imgType`
|
635
579
|
# @return [String]
|
636
580
|
attr_accessor :img_type
|
@@ -650,18 +594,17 @@ module Google
|
|
650
594
|
# @return [String]
|
651
595
|
attr_accessor :link_site
|
652
596
|
|
653
|
-
# Specifies the starting value for a search range. Use `cse:lowRange` and
|
654
|
-
#
|
655
|
-
#
|
597
|
+
# Specifies the starting value for a search range. Use `cse:lowRange` and `cse:
|
598
|
+
# highrange` to append an inclusive search range of `lowRange...highRange` to
|
599
|
+
# the query.
|
656
600
|
# Corresponds to the JSON property `lowRange`
|
657
601
|
# @return [String]
|
658
602
|
attr_accessor :low_range
|
659
603
|
|
660
604
|
# Provides additional search terms to check for in a document, where each
|
661
|
-
# document in the search results must contain at least one of the
|
662
|
-
#
|
663
|
-
#
|
664
|
-
# query term for this type of query.
|
605
|
+
# document in the search results must contain at least one of the additional
|
606
|
+
# search terms. You can also use the [Boolean OR](https://developers.google.com/
|
607
|
+
# custom-search/docs/xml_results#BooleanOrqt) query term for this type of query.
|
665
608
|
# Corresponds to the JSON property `orTerms`
|
666
609
|
# @return [String]
|
667
610
|
attr_accessor :or_terms
|
@@ -677,23 +620,16 @@ module Google
|
|
677
620
|
# @return [String]
|
678
621
|
attr_accessor :related_site
|
679
622
|
|
680
|
-
# Filters based on licensing. Supported values include:
|
681
|
-
# * `
|
682
|
-
# * `cc_attribute`
|
683
|
-
# * `cc_sharealike`
|
684
|
-
# * `cc_noncommercial`
|
685
|
-
# * `cc_nonderived`
|
623
|
+
# Filters based on licensing. Supported values include: * `cc_publicdomain` * `
|
624
|
+
# cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
|
686
625
|
# Corresponds to the JSON property `rights`
|
687
626
|
# @return [String]
|
688
627
|
attr_accessor :rights
|
689
628
|
|
690
|
-
# Specifies the [SafeSearch
|
691
|
-
#
|
692
|
-
#
|
693
|
-
#
|
694
|
-
# defined in the OpenSearch spec. Valid parameter values are:
|
695
|
-
# * `"off"`: Disable SafeSearch
|
696
|
-
# * `"active"`: Enable SafeSearch
|
629
|
+
# Specifies the [SafeSearch level](https://developers.google.com/custom-search/
|
630
|
+
# docs/xml_results#safeSearchLevels) used for filtering out adult results. This
|
631
|
+
# is a custom property not defined in the OpenSearch spec. Valid parameter
|
632
|
+
# values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
|
697
633
|
# Corresponds to the JSON property `safe`
|
698
634
|
# @return [String]
|
699
635
|
attr_accessor :safe
|
@@ -703,8 +639,8 @@ module Google
|
|
703
639
|
# @return [String]
|
704
640
|
attr_accessor :search_terms
|
705
641
|
|
706
|
-
# Allowed values are `web` or `image`. If unspecified, results are limited
|
707
|
-
#
|
642
|
+
# Allowed values are `web` or `image`. If unspecified, results are limited to
|
643
|
+
# webpages.
|
708
644
|
# Corresponds to the JSON property `searchType`
|
709
645
|
# @return [String]
|
710
646
|
attr_accessor :search_type
|
@@ -714,28 +650,27 @@ module Google
|
|
714
650
|
# @return [String]
|
715
651
|
attr_accessor :site_search
|
716
652
|
|
717
|
-
# Specifies whether to include or exclude results from the site named in
|
718
|
-
#
|
719
|
-
#
|
720
|
-
# * `e`: exclude content from site
|
653
|
+
# Specifies whether to include or exclude results from the site named in the `
|
654
|
+
# sitesearch` parameter. Supported values are: * `i`: include content from site *
|
655
|
+
# `e`: exclude content from site
|
721
656
|
# Corresponds to the JSON property `siteSearchFilter`
|
722
657
|
# @return [String]
|
723
658
|
attr_accessor :site_search_filter
|
724
659
|
|
725
|
-
# Specifies that results should be sorted according to the specified
|
726
|
-
#
|
660
|
+
# Specifies that results should be sorted according to the specified expression.
|
661
|
+
# For example, sort by date.
|
727
662
|
# Corresponds to the JSON property `sort`
|
728
663
|
# @return [String]
|
729
664
|
attr_accessor :sort
|
730
665
|
|
731
|
-
# The index of the current set of search results into the total set of
|
732
|
-
#
|
666
|
+
# The index of the current set of search results into the total set of results,
|
667
|
+
# where the index of the first result is 1.
|
733
668
|
# Corresponds to the JSON property `startIndex`
|
734
669
|
# @return [Fixnum]
|
735
670
|
attr_accessor :start_index
|
736
671
|
|
737
|
-
# The page number of this set of results, where the page length is set by
|
738
|
-
#
|
672
|
+
# The page number of this set of results, where the page length is set by the `
|
673
|
+
# count` property.
|
739
674
|
# Corresponds to the JSON property `startPage`
|
740
675
|
# @return [Fixnum]
|
741
676
|
attr_accessor :start_page
|
@@ -804,190 +739,140 @@ module Google
|
|
804
739
|
# @return [Fixnum]
|
805
740
|
attr_accessor :count
|
806
741
|
|
807
|
-
# Restricts search results to documents originating in a particular
|
808
|
-
#
|
809
|
-
#
|
810
|
-
#
|
811
|
-
#
|
812
|
-
#
|
813
|
-
#
|
814
|
-
#
|
815
|
-
# * The geographic location of the web server's IP address.
|
816
|
-
# See [Country (cr) Parameter
|
817
|
-
# Values](https://developers.google.com/custom-search/docs/xml_results#
|
818
|
-
# countryCollections)
|
819
|
-
# for a list of valid values for this parameter.
|
742
|
+
# Restricts search results to documents originating in a particular country. You
|
743
|
+
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
744
|
+
# xml_results#booleanOperators) in the `cr` parameter's value. Google WebSearch
|
745
|
+
# determines the country of a document by analyzing the following: * The top-
|
746
|
+
# level domain (TLD) of the document's URL. * The geographic location of the web
|
747
|
+
# server's IP address. See [Country (cr) Parameter Values](https://developers.
|
748
|
+
# google.com/custom-search/docs/xml_results#countryCollections) for a list of
|
749
|
+
# valid values for this parameter.
|
820
750
|
# Corresponds to the JSON property `cr`
|
821
751
|
# @return [String]
|
822
752
|
attr_accessor :cr
|
823
753
|
|
824
|
-
# The identifier of
|
825
|
-
#
|
826
|
-
# defined in the OpenSearch spec. This parameter is **required**.
|
754
|
+
# The identifier of an engine created using the Programmable Search Engine [
|
755
|
+
# Control Panel](https://programmablesearchengine.google.com/). This is a custom
|
756
|
+
# property not defined in the OpenSearch spec. This parameter is **required**.
|
827
757
|
# Corresponds to the JSON property `cx`
|
828
758
|
# @return [String]
|
829
759
|
attr_accessor :cx
|
830
760
|
|
831
|
-
# Restricts results to URLs based on date. Supported values include:
|
832
|
-
#
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
761
|
+
# Restricts results to URLs based on date. Supported values include: * `d[number]
|
762
|
+
# `: requests results from the specified number of past days. * `w[number]`:
|
763
|
+
# requests results from the specified number of past weeks. * `m[number]`:
|
764
|
+
# requests results from the specified number of past months. * `y[number]`:
|
765
|
+
# requests results from the specified number of past years.
|
836
766
|
# Corresponds to the JSON property `dateRestrict`
|
837
767
|
# @return [String]
|
838
768
|
attr_accessor :date_restrict
|
839
769
|
|
840
|
-
# Enables or disables the [Simplified and Traditional Chinese
|
841
|
-
#
|
842
|
-
#
|
843
|
-
# feature.
|
844
|
-
# Supported values are:
|
845
|
-
# * `0`: enabled (default)
|
846
|
-
# * `1`: disabled
|
770
|
+
# Enables or disables the [Simplified and Traditional Chinese Search](https://
|
771
|
+
# developers.google.com/custom-search/docs/xml_results#chineseSearch) feature.
|
772
|
+
# Supported values are: * `0`: enabled (default) * `1`: disabled
|
847
773
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
848
774
|
# @return [String]
|
849
775
|
attr_accessor :disable_cn_tw_translation
|
850
776
|
|
851
|
-
# Identifies a phrase that all documents in the search results must
|
852
|
-
# contain.
|
777
|
+
# Identifies a phrase that all documents in the search results must contain.
|
853
778
|
# Corresponds to the JSON property `exactTerms`
|
854
779
|
# @return [String]
|
855
780
|
attr_accessor :exact_terms
|
856
781
|
|
857
|
-
# Identifies a word or phrase that should not appear in any documents in
|
858
|
-
#
|
782
|
+
# Identifies a word or phrase that should not appear in any documents in the
|
783
|
+
# search results.
|
859
784
|
# Corresponds to the JSON property `excludeTerms`
|
860
785
|
# @return [String]
|
861
786
|
attr_accessor :exclude_terms
|
862
787
|
|
863
|
-
# Restricts results to files of a specified extension. Filetypes supported
|
864
|
-
#
|
865
|
-
# *
|
866
|
-
# *
|
867
|
-
# *
|
868
|
-
# *
|
869
|
-
# *
|
870
|
-
#
|
871
|
-
#
|
872
|
-
# * Microsoft Word (`doc`)
|
873
|
-
# * Microsoft Works (`wks`, `wps`, `wdb`)
|
874
|
-
# * Microsoft Write (`wri`)
|
875
|
-
# * Rich Text Format (`rtf`)
|
876
|
-
# * Shockwave Flash (`swf`)
|
877
|
-
# * Text (`ans`, `txt`).
|
878
|
-
# Additional filetypes may be added in the future. An up-to-date list can
|
879
|
-
# always be found in Google's [file type
|
880
|
-
# FAQ](https://support.google.com/webmasters/answer/35287).
|
788
|
+
# Restricts results to files of a specified extension. Filetypes supported by
|
789
|
+
# Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`
|
790
|
+
# ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) *
|
791
|
+
# Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft
|
792
|
+
# PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `
|
793
|
+
# wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`
|
794
|
+
# swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future.
|
795
|
+
# An up-to-date list can always be found in Google's [file type FAQ](https://
|
796
|
+
# support.google.com/webmasters/answer/35287).
|
881
797
|
# Corresponds to the JSON property `fileType`
|
882
798
|
# @return [String]
|
883
799
|
attr_accessor :file_type
|
884
800
|
|
885
|
-
# Activates or deactivates the automatic filtering of Google search
|
886
|
-
#
|
887
|
-
#
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
891
|
-
# * `0`: Disabled
|
892
|
-
# * `1`: Enabled (default)
|
893
|
-
# **Note**: By default, Google applies filtering to all search results to
|
894
|
-
# improve the quality of those results.
|
801
|
+
# Activates or deactivates the automatic filtering of Google search results. See
|
802
|
+
# [Automatic Filtering](https://developers.google.com/custom-search/docs/
|
803
|
+
# xml_results#automaticFiltering) for more information about Google's search
|
804
|
+
# results filters. Valid values for this parameter are: * `0`: Disabled * `1`:
|
805
|
+
# Enabled (default) **Note**: By default, Google applies filtering to all search
|
806
|
+
# results to improve the quality of those results.
|
895
807
|
# Corresponds to the JSON property `filter`
|
896
808
|
# @return [String]
|
897
809
|
attr_accessor :filter
|
898
810
|
|
899
|
-
# Boosts search results whose country of origin matches the parameter
|
900
|
-
#
|
901
|
-
#
|
902
|
-
#
|
903
|
-
# for
|
904
|
-
#
|
905
|
-
# the relevance of results. This is particularly true for international
|
906
|
-
# customers and, even more specifically, for customers in English-speaking
|
907
|
-
# countries other than the United States.
|
811
|
+
# Boosts search results whose country of origin matches the parameter value. See
|
812
|
+
# [Country Codes](https://developers.google.com/custom-search/docs/xml_results#
|
813
|
+
# countryCodes) for a list of valid values. Specifying a `gl` parameter value in
|
814
|
+
# WebSearch requests should improve the relevance of results. This is
|
815
|
+
# particularly true for international customers and, even more specifically, for
|
816
|
+
# customers in English-speaking countries other than the United States.
|
908
817
|
# Corresponds to the JSON property `gl`
|
909
818
|
# @return [String]
|
910
819
|
attr_accessor :gl
|
911
820
|
|
912
|
-
# Specifies the Google domain (for example, google.com, google.de, or
|
913
|
-
#
|
821
|
+
# Specifies the Google domain (for example, google.com, google.de, or google.fr)
|
822
|
+
# to which the search should be limited.
|
914
823
|
# Corresponds to the JSON property `googleHost`
|
915
824
|
# @return [String]
|
916
825
|
attr_accessor :google_host
|
917
826
|
|
918
|
-
# Specifies the ending value for a search range. Use `cse:lowRange` and
|
919
|
-
#
|
920
|
-
#
|
827
|
+
# Specifies the ending value for a search range. Use `cse:lowRange` and `cse:
|
828
|
+
# highrange` to append an inclusive search range of `lowRange...highRange` to
|
829
|
+
# the query.
|
921
830
|
# Corresponds to the JSON property `highRange`
|
922
831
|
# @return [String]
|
923
832
|
attr_accessor :high_range
|
924
833
|
|
925
834
|
# Specifies the interface language (host language) of your user interface.
|
926
|
-
# Explicitly setting this parameter improves the performance and the
|
927
|
-
#
|
928
|
-
#
|
929
|
-
#
|
930
|
-
#
|
931
|
-
#
|
932
|
-
#
|
933
|
-
#
|
934
|
-
# for more information, and [Supported Interface
|
935
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
936
|
-
# xml_results_appendices#interfaceLanguages)
|
937
|
-
# for a list of supported languages.
|
835
|
+
# Explicitly setting this parameter improves the performance and the quality of
|
836
|
+
# your search results. See the [Interface Languages](https://developers.google.
|
837
|
+
# com/custom-search/docs/xml_results#wsInterfaceLanguages) section of [
|
838
|
+
# Internationalizing Queries and Results Presentation](https://developers.google.
|
839
|
+
# com/custom-search/docs/xml_results#wsInternationalizing) for more information,
|
840
|
+
# and [Supported Interface Languages](https://developers.google.com/custom-
|
841
|
+
# search/docs/xml_results_appendices#interfaceLanguages) for a list of supported
|
842
|
+
# languages.
|
938
843
|
# Corresponds to the JSON property `hl`
|
939
844
|
# @return [String]
|
940
845
|
attr_accessor :hl
|
941
846
|
|
942
|
-
# Appends the specified query terms to the query, as if they were combined
|
943
|
-
#
|
847
|
+
# Appends the specified query terms to the query, as if they were combined with
|
848
|
+
# a logical `AND` operator.
|
944
849
|
# Corresponds to the JSON property `hq`
|
945
850
|
# @return [String]
|
946
851
|
attr_accessor :hq
|
947
852
|
|
948
|
-
# Restricts results to images of a specified color type. Supported values
|
949
|
-
#
|
950
|
-
# * `mono` (black and white)
|
951
|
-
# * `gray` (grayscale)
|
952
|
-
# * `color` (color)
|
853
|
+
# Restricts results to images of a specified color type. Supported values are: *
|
854
|
+
# `mono` (black and white) * `gray` (grayscale) * `color` (color)
|
953
855
|
# Corresponds to the JSON property `imgColorType`
|
954
856
|
# @return [String]
|
955
857
|
attr_accessor :img_color_type
|
956
858
|
|
957
|
-
# Restricts results to images with a specific dominant color. Supported
|
958
|
-
#
|
959
|
-
# * `
|
960
|
-
# * `orange`
|
961
|
-
# * `yellow`
|
962
|
-
# * `green`
|
963
|
-
# * `teal`
|
964
|
-
# * `blue`
|
965
|
-
# * `purple`
|
966
|
-
# * `pink`
|
967
|
-
# * `white`
|
968
|
-
# * `gray`
|
969
|
-
# * `black`
|
970
|
-
# * `brown`
|
859
|
+
# Restricts results to images with a specific dominant color. Supported values
|
860
|
+
# are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `
|
861
|
+
# pink` * `white` * `gray` * `black` * `brown`
|
971
862
|
# Corresponds to the JSON property `imgDominantColor`
|
972
863
|
# @return [String]
|
973
864
|
attr_accessor :img_dominant_color
|
974
865
|
|
975
|
-
# Restricts results to images of a specified size. Supported values are:
|
976
|
-
# * `
|
977
|
-
#
|
978
|
-
# * `xxlarge` (large)
|
979
|
-
# * `huge` (extra-large)
|
866
|
+
# Restricts results to images of a specified size. Supported values are: * `icon`
|
867
|
+
# (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `
|
868
|
+
# huge` (extra-large)
|
980
869
|
# Corresponds to the JSON property `imgSize`
|
981
870
|
# @return [String]
|
982
871
|
attr_accessor :img_size
|
983
872
|
|
984
|
-
# Restricts results to images of a specified type. Supported values are:
|
985
|
-
#
|
986
|
-
# * `
|
987
|
-
# * `lineart` (Line drawing)
|
988
|
-
# * `photo` (Photo)
|
989
|
-
# * `animated` (Animated)
|
990
|
-
# * `stock` (Stock)
|
873
|
+
# Restricts results to images of a specified type. Supported values are: * `
|
874
|
+
# clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (
|
875
|
+
# Photo) * `animated` (Animated) * `stock` (Stock)
|
991
876
|
# Corresponds to the JSON property `imgType`
|
992
877
|
# @return [String]
|
993
878
|
attr_accessor :img_type
|
@@ -1007,18 +892,17 @@ module Google
|
|
1007
892
|
# @return [String]
|
1008
893
|
attr_accessor :link_site
|
1009
894
|
|
1010
|
-
# Specifies the starting value for a search range. Use `cse:lowRange` and
|
1011
|
-
#
|
1012
|
-
#
|
895
|
+
# Specifies the starting value for a search range. Use `cse:lowRange` and `cse:
|
896
|
+
# highrange` to append an inclusive search range of `lowRange...highRange` to
|
897
|
+
# the query.
|
1013
898
|
# Corresponds to the JSON property `lowRange`
|
1014
899
|
# @return [String]
|
1015
900
|
attr_accessor :low_range
|
1016
901
|
|
1017
902
|
# Provides additional search terms to check for in a document, where each
|
1018
|
-
# document in the search results must contain at least one of the
|
1019
|
-
#
|
1020
|
-
#
|
1021
|
-
# query term for this type of query.
|
903
|
+
# document in the search results must contain at least one of the additional
|
904
|
+
# search terms. You can also use the [Boolean OR](https://developers.google.com/
|
905
|
+
# custom-search/docs/xml_results#BooleanOrqt) query term for this type of query.
|
1022
906
|
# Corresponds to the JSON property `orTerms`
|
1023
907
|
# @return [String]
|
1024
908
|
attr_accessor :or_terms
|
@@ -1034,23 +918,16 @@ module Google
|
|
1034
918
|
# @return [String]
|
1035
919
|
attr_accessor :related_site
|
1036
920
|
|
1037
|
-
# Filters based on licensing. Supported values include:
|
1038
|
-
# * `
|
1039
|
-
# * `cc_attribute`
|
1040
|
-
# * `cc_sharealike`
|
1041
|
-
# * `cc_noncommercial`
|
1042
|
-
# * `cc_nonderived`
|
921
|
+
# Filters based on licensing. Supported values include: * `cc_publicdomain` * `
|
922
|
+
# cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
|
1043
923
|
# Corresponds to the JSON property `rights`
|
1044
924
|
# @return [String]
|
1045
925
|
attr_accessor :rights
|
1046
926
|
|
1047
|
-
# Specifies the [SafeSearch
|
1048
|
-
#
|
1049
|
-
#
|
1050
|
-
#
|
1051
|
-
# defined in the OpenSearch spec. Valid parameter values are:
|
1052
|
-
# * `"off"`: Disable SafeSearch
|
1053
|
-
# * `"active"`: Enable SafeSearch
|
927
|
+
# Specifies the [SafeSearch level](https://developers.google.com/custom-search/
|
928
|
+
# docs/xml_results#safeSearchLevels) used for filtering out adult results. This
|
929
|
+
# is a custom property not defined in the OpenSearch spec. Valid parameter
|
930
|
+
# values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
|
1054
931
|
# Corresponds to the JSON property `safe`
|
1055
932
|
# @return [String]
|
1056
933
|
attr_accessor :safe
|
@@ -1060,8 +937,8 @@ module Google
|
|
1060
937
|
# @return [String]
|
1061
938
|
attr_accessor :search_terms
|
1062
939
|
|
1063
|
-
# Allowed values are `web` or `image`. If unspecified, results are limited
|
1064
|
-
#
|
940
|
+
# Allowed values are `web` or `image`. If unspecified, results are limited to
|
941
|
+
# webpages.
|
1065
942
|
# Corresponds to the JSON property `searchType`
|
1066
943
|
# @return [String]
|
1067
944
|
attr_accessor :search_type
|
@@ -1071,28 +948,27 @@ module Google
|
|
1071
948
|
# @return [String]
|
1072
949
|
attr_accessor :site_search
|
1073
950
|
|
1074
|
-
# Specifies whether to include or exclude results from the site named in
|
1075
|
-
#
|
1076
|
-
#
|
1077
|
-
# * `e`: exclude content from site
|
951
|
+
# Specifies whether to include or exclude results from the site named in the `
|
952
|
+
# sitesearch` parameter. Supported values are: * `i`: include content from site *
|
953
|
+
# `e`: exclude content from site
|
1078
954
|
# Corresponds to the JSON property `siteSearchFilter`
|
1079
955
|
# @return [String]
|
1080
956
|
attr_accessor :site_search_filter
|
1081
957
|
|
1082
|
-
# Specifies that results should be sorted according to the specified
|
1083
|
-
#
|
958
|
+
# Specifies that results should be sorted according to the specified expression.
|
959
|
+
# For example, sort by date.
|
1084
960
|
# Corresponds to the JSON property `sort`
|
1085
961
|
# @return [String]
|
1086
962
|
attr_accessor :sort
|
1087
963
|
|
1088
|
-
# The index of the current set of search results into the total set of
|
1089
|
-
#
|
964
|
+
# The index of the current set of search results into the total set of results,
|
965
|
+
# where the index of the first result is 1.
|
1090
966
|
# Corresponds to the JSON property `startIndex`
|
1091
967
|
# @return [Fixnum]
|
1092
968
|
attr_accessor :start_index
|
1093
969
|
|
1094
|
-
# The page number of this set of results, where the page length is set by
|
1095
|
-
#
|
970
|
+
# The page number of this set of results, where the page length is set by the `
|
971
|
+
# count` property.
|
1096
972
|
# Corresponds to the JSON property `startPage`
|
1097
973
|
# @return [Fixnum]
|
1098
974
|
attr_accessor :start_page
|
@@ -1161,190 +1037,140 @@ module Google
|
|
1161
1037
|
# @return [Fixnum]
|
1162
1038
|
attr_accessor :count
|
1163
1039
|
|
1164
|
-
# Restricts search results to documents originating in a particular
|
1165
|
-
#
|
1166
|
-
#
|
1167
|
-
#
|
1168
|
-
#
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
# * The geographic location of the web server's IP address.
|
1173
|
-
# See [Country (cr) Parameter
|
1174
|
-
# Values](https://developers.google.com/custom-search/docs/xml_results#
|
1175
|
-
# countryCollections)
|
1176
|
-
# for a list of valid values for this parameter.
|
1040
|
+
# Restricts search results to documents originating in a particular country. You
|
1041
|
+
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
1042
|
+
# xml_results#booleanOperators) in the `cr` parameter's value. Google WebSearch
|
1043
|
+
# determines the country of a document by analyzing the following: * The top-
|
1044
|
+
# level domain (TLD) of the document's URL. * The geographic location of the web
|
1045
|
+
# server's IP address. See [Country (cr) Parameter Values](https://developers.
|
1046
|
+
# google.com/custom-search/docs/xml_results#countryCollections) for a list of
|
1047
|
+
# valid values for this parameter.
|
1177
1048
|
# Corresponds to the JSON property `cr`
|
1178
1049
|
# @return [String]
|
1179
1050
|
attr_accessor :cr
|
1180
1051
|
|
1181
|
-
# The identifier of
|
1182
|
-
#
|
1183
|
-
# defined in the OpenSearch spec. This parameter is **required**.
|
1052
|
+
# The identifier of an engine created using the Programmable Search Engine [
|
1053
|
+
# Control Panel](https://programmablesearchengine.google.com/). This is a custom
|
1054
|
+
# property not defined in the OpenSearch spec. This parameter is **required**.
|
1184
1055
|
# Corresponds to the JSON property `cx`
|
1185
1056
|
# @return [String]
|
1186
1057
|
attr_accessor :cx
|
1187
1058
|
|
1188
|
-
# Restricts results to URLs based on date. Supported values include:
|
1189
|
-
#
|
1190
|
-
#
|
1191
|
-
#
|
1192
|
-
#
|
1059
|
+
# Restricts results to URLs based on date. Supported values include: * `d[number]
|
1060
|
+
# `: requests results from the specified number of past days. * `w[number]`:
|
1061
|
+
# requests results from the specified number of past weeks. * `m[number]`:
|
1062
|
+
# requests results from the specified number of past months. * `y[number]`:
|
1063
|
+
# requests results from the specified number of past years.
|
1193
1064
|
# Corresponds to the JSON property `dateRestrict`
|
1194
1065
|
# @return [String]
|
1195
1066
|
attr_accessor :date_restrict
|
1196
1067
|
|
1197
|
-
# Enables or disables the [Simplified and Traditional Chinese
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
# feature.
|
1201
|
-
# Supported values are:
|
1202
|
-
# * `0`: enabled (default)
|
1203
|
-
# * `1`: disabled
|
1068
|
+
# Enables or disables the [Simplified and Traditional Chinese Search](https://
|
1069
|
+
# developers.google.com/custom-search/docs/xml_results#chineseSearch) feature.
|
1070
|
+
# Supported values are: * `0`: enabled (default) * `1`: disabled
|
1204
1071
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
1205
1072
|
# @return [String]
|
1206
1073
|
attr_accessor :disable_cn_tw_translation
|
1207
1074
|
|
1208
|
-
# Identifies a phrase that all documents in the search results must
|
1209
|
-
# contain.
|
1075
|
+
# Identifies a phrase that all documents in the search results must contain.
|
1210
1076
|
# Corresponds to the JSON property `exactTerms`
|
1211
1077
|
# @return [String]
|
1212
1078
|
attr_accessor :exact_terms
|
1213
1079
|
|
1214
|
-
# Identifies a word or phrase that should not appear in any documents in
|
1215
|
-
#
|
1080
|
+
# Identifies a word or phrase that should not appear in any documents in the
|
1081
|
+
# search results.
|
1216
1082
|
# Corresponds to the JSON property `excludeTerms`
|
1217
1083
|
# @return [String]
|
1218
1084
|
attr_accessor :exclude_terms
|
1219
1085
|
|
1220
|
-
# Restricts results to files of a specified extension. Filetypes supported
|
1221
|
-
#
|
1222
|
-
# *
|
1223
|
-
# *
|
1224
|
-
# *
|
1225
|
-
# *
|
1226
|
-
# *
|
1227
|
-
#
|
1228
|
-
#
|
1229
|
-
# * Microsoft Word (`doc`)
|
1230
|
-
# * Microsoft Works (`wks`, `wps`, `wdb`)
|
1231
|
-
# * Microsoft Write (`wri`)
|
1232
|
-
# * Rich Text Format (`rtf`)
|
1233
|
-
# * Shockwave Flash (`swf`)
|
1234
|
-
# * Text (`ans`, `txt`).
|
1235
|
-
# Additional filetypes may be added in the future. An up-to-date list can
|
1236
|
-
# always be found in Google's [file type
|
1237
|
-
# FAQ](https://support.google.com/webmasters/answer/35287).
|
1086
|
+
# Restricts results to files of a specified extension. Filetypes supported by
|
1087
|
+
# Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`
|
1088
|
+
# ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) *
|
1089
|
+
# Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft
|
1090
|
+
# PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `
|
1091
|
+
# wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`
|
1092
|
+
# swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future.
|
1093
|
+
# An up-to-date list can always be found in Google's [file type FAQ](https://
|
1094
|
+
# support.google.com/webmasters/answer/35287).
|
1238
1095
|
# Corresponds to the JSON property `fileType`
|
1239
1096
|
# @return [String]
|
1240
1097
|
attr_accessor :file_type
|
1241
1098
|
|
1242
|
-
# Activates or deactivates the automatic filtering of Google search
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
#
|
1247
|
-
#
|
1248
|
-
# * `0`: Disabled
|
1249
|
-
# * `1`: Enabled (default)
|
1250
|
-
# **Note**: By default, Google applies filtering to all search results to
|
1251
|
-
# improve the quality of those results.
|
1099
|
+
# Activates or deactivates the automatic filtering of Google search results. See
|
1100
|
+
# [Automatic Filtering](https://developers.google.com/custom-search/docs/
|
1101
|
+
# xml_results#automaticFiltering) for more information about Google's search
|
1102
|
+
# results filters. Valid values for this parameter are: * `0`: Disabled * `1`:
|
1103
|
+
# Enabled (default) **Note**: By default, Google applies filtering to all search
|
1104
|
+
# results to improve the quality of those results.
|
1252
1105
|
# Corresponds to the JSON property `filter`
|
1253
1106
|
# @return [String]
|
1254
1107
|
attr_accessor :filter
|
1255
1108
|
|
1256
|
-
# Boosts search results whose country of origin matches the parameter
|
1257
|
-
#
|
1258
|
-
#
|
1259
|
-
#
|
1260
|
-
# for
|
1261
|
-
#
|
1262
|
-
# the relevance of results. This is particularly true for international
|
1263
|
-
# customers and, even more specifically, for customers in English-speaking
|
1264
|
-
# countries other than the United States.
|
1109
|
+
# Boosts search results whose country of origin matches the parameter value. See
|
1110
|
+
# [Country Codes](https://developers.google.com/custom-search/docs/xml_results#
|
1111
|
+
# countryCodes) for a list of valid values. Specifying a `gl` parameter value in
|
1112
|
+
# WebSearch requests should improve the relevance of results. This is
|
1113
|
+
# particularly true for international customers and, even more specifically, for
|
1114
|
+
# customers in English-speaking countries other than the United States.
|
1265
1115
|
# Corresponds to the JSON property `gl`
|
1266
1116
|
# @return [String]
|
1267
1117
|
attr_accessor :gl
|
1268
1118
|
|
1269
|
-
# Specifies the Google domain (for example, google.com, google.de, or
|
1270
|
-
#
|
1119
|
+
# Specifies the Google domain (for example, google.com, google.de, or google.fr)
|
1120
|
+
# to which the search should be limited.
|
1271
1121
|
# Corresponds to the JSON property `googleHost`
|
1272
1122
|
# @return [String]
|
1273
1123
|
attr_accessor :google_host
|
1274
1124
|
|
1275
|
-
# Specifies the ending value for a search range. Use `cse:lowRange` and
|
1276
|
-
#
|
1277
|
-
#
|
1125
|
+
# Specifies the ending value for a search range. Use `cse:lowRange` and `cse:
|
1126
|
+
# highrange` to append an inclusive search range of `lowRange...highRange` to
|
1127
|
+
# the query.
|
1278
1128
|
# Corresponds to the JSON property `highRange`
|
1279
1129
|
# @return [String]
|
1280
1130
|
attr_accessor :high_range
|
1281
1131
|
|
1282
1132
|
# Specifies the interface language (host language) of your user interface.
|
1283
|
-
# Explicitly setting this parameter improves the performance and the
|
1284
|
-
#
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
#
|
1291
|
-
# for more information, and [Supported Interface
|
1292
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
1293
|
-
# xml_results_appendices#interfaceLanguages)
|
1294
|
-
# for a list of supported languages.
|
1133
|
+
# Explicitly setting this parameter improves the performance and the quality of
|
1134
|
+
# your search results. See the [Interface Languages](https://developers.google.
|
1135
|
+
# com/custom-search/docs/xml_results#wsInterfaceLanguages) section of [
|
1136
|
+
# Internationalizing Queries and Results Presentation](https://developers.google.
|
1137
|
+
# com/custom-search/docs/xml_results#wsInternationalizing) for more information,
|
1138
|
+
# and [Supported Interface Languages](https://developers.google.com/custom-
|
1139
|
+
# search/docs/xml_results_appendices#interfaceLanguages) for a list of supported
|
1140
|
+
# languages.
|
1295
1141
|
# Corresponds to the JSON property `hl`
|
1296
1142
|
# @return [String]
|
1297
1143
|
attr_accessor :hl
|
1298
1144
|
|
1299
|
-
# Appends the specified query terms to the query, as if they were combined
|
1300
|
-
#
|
1145
|
+
# Appends the specified query terms to the query, as if they were combined with
|
1146
|
+
# a logical `AND` operator.
|
1301
1147
|
# Corresponds to the JSON property `hq`
|
1302
1148
|
# @return [String]
|
1303
1149
|
attr_accessor :hq
|
1304
1150
|
|
1305
|
-
# Restricts results to images of a specified color type. Supported values
|
1306
|
-
#
|
1307
|
-
# * `mono` (black and white)
|
1308
|
-
# * `gray` (grayscale)
|
1309
|
-
# * `color` (color)
|
1151
|
+
# Restricts results to images of a specified color type. Supported values are: *
|
1152
|
+
# `mono` (black and white) * `gray` (grayscale) * `color` (color)
|
1310
1153
|
# Corresponds to the JSON property `imgColorType`
|
1311
1154
|
# @return [String]
|
1312
1155
|
attr_accessor :img_color_type
|
1313
1156
|
|
1314
|
-
# Restricts results to images with a specific dominant color. Supported
|
1315
|
-
#
|
1316
|
-
# * `
|
1317
|
-
# * `orange`
|
1318
|
-
# * `yellow`
|
1319
|
-
# * `green`
|
1320
|
-
# * `teal`
|
1321
|
-
# * `blue`
|
1322
|
-
# * `purple`
|
1323
|
-
# * `pink`
|
1324
|
-
# * `white`
|
1325
|
-
# * `gray`
|
1326
|
-
# * `black`
|
1327
|
-
# * `brown`
|
1157
|
+
# Restricts results to images with a specific dominant color. Supported values
|
1158
|
+
# are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `
|
1159
|
+
# pink` * `white` * `gray` * `black` * `brown`
|
1328
1160
|
# Corresponds to the JSON property `imgDominantColor`
|
1329
1161
|
# @return [String]
|
1330
1162
|
attr_accessor :img_dominant_color
|
1331
1163
|
|
1332
|
-
# Restricts results to images of a specified size. Supported values are:
|
1333
|
-
# * `
|
1334
|
-
#
|
1335
|
-
# * `xxlarge` (large)
|
1336
|
-
# * `huge` (extra-large)
|
1164
|
+
# Restricts results to images of a specified size. Supported values are: * `icon`
|
1165
|
+
# (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `
|
1166
|
+
# huge` (extra-large)
|
1337
1167
|
# Corresponds to the JSON property `imgSize`
|
1338
1168
|
# @return [String]
|
1339
1169
|
attr_accessor :img_size
|
1340
1170
|
|
1341
|
-
# Restricts results to images of a specified type. Supported values are:
|
1342
|
-
#
|
1343
|
-
# * `
|
1344
|
-
# * `lineart` (Line drawing)
|
1345
|
-
# * `photo` (Photo)
|
1346
|
-
# * `animated` (Animated)
|
1347
|
-
# * `stock` (Stock)
|
1171
|
+
# Restricts results to images of a specified type. Supported values are: * `
|
1172
|
+
# clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (
|
1173
|
+
# Photo) * `animated` (Animated) * `stock` (Stock)
|
1348
1174
|
# Corresponds to the JSON property `imgType`
|
1349
1175
|
# @return [String]
|
1350
1176
|
attr_accessor :img_type
|
@@ -1364,18 +1190,17 @@ module Google
|
|
1364
1190
|
# @return [String]
|
1365
1191
|
attr_accessor :link_site
|
1366
1192
|
|
1367
|
-
# Specifies the starting value for a search range. Use `cse:lowRange` and
|
1368
|
-
#
|
1369
|
-
#
|
1193
|
+
# Specifies the starting value for a search range. Use `cse:lowRange` and `cse:
|
1194
|
+
# highrange` to append an inclusive search range of `lowRange...highRange` to
|
1195
|
+
# the query.
|
1370
1196
|
# Corresponds to the JSON property `lowRange`
|
1371
1197
|
# @return [String]
|
1372
1198
|
attr_accessor :low_range
|
1373
1199
|
|
1374
1200
|
# Provides additional search terms to check for in a document, where each
|
1375
|
-
# document in the search results must contain at least one of the
|
1376
|
-
#
|
1377
|
-
#
|
1378
|
-
# query term for this type of query.
|
1201
|
+
# document in the search results must contain at least one of the additional
|
1202
|
+
# search terms. You can also use the [Boolean OR](https://developers.google.com/
|
1203
|
+
# custom-search/docs/xml_results#BooleanOrqt) query term for this type of query.
|
1379
1204
|
# Corresponds to the JSON property `orTerms`
|
1380
1205
|
# @return [String]
|
1381
1206
|
attr_accessor :or_terms
|
@@ -1391,23 +1216,16 @@ module Google
|
|
1391
1216
|
# @return [String]
|
1392
1217
|
attr_accessor :related_site
|
1393
1218
|
|
1394
|
-
# Filters based on licensing. Supported values include:
|
1395
|
-
# * `
|
1396
|
-
# * `cc_attribute`
|
1397
|
-
# * `cc_sharealike`
|
1398
|
-
# * `cc_noncommercial`
|
1399
|
-
# * `cc_nonderived`
|
1219
|
+
# Filters based on licensing. Supported values include: * `cc_publicdomain` * `
|
1220
|
+
# cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
|
1400
1221
|
# Corresponds to the JSON property `rights`
|
1401
1222
|
# @return [String]
|
1402
1223
|
attr_accessor :rights
|
1403
1224
|
|
1404
|
-
# Specifies the [SafeSearch
|
1405
|
-
#
|
1406
|
-
#
|
1407
|
-
#
|
1408
|
-
# defined in the OpenSearch spec. Valid parameter values are:
|
1409
|
-
# * `"off"`: Disable SafeSearch
|
1410
|
-
# * `"active"`: Enable SafeSearch
|
1225
|
+
# Specifies the [SafeSearch level](https://developers.google.com/custom-search/
|
1226
|
+
# docs/xml_results#safeSearchLevels) used for filtering out adult results. This
|
1227
|
+
# is a custom property not defined in the OpenSearch spec. Valid parameter
|
1228
|
+
# values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
|
1411
1229
|
# Corresponds to the JSON property `safe`
|
1412
1230
|
# @return [String]
|
1413
1231
|
attr_accessor :safe
|
@@ -1417,8 +1235,8 @@ module Google
|
|
1417
1235
|
# @return [String]
|
1418
1236
|
attr_accessor :search_terms
|
1419
1237
|
|
1420
|
-
# Allowed values are `web` or `image`. If unspecified, results are limited
|
1421
|
-
#
|
1238
|
+
# Allowed values are `web` or `image`. If unspecified, results are limited to
|
1239
|
+
# webpages.
|
1422
1240
|
# Corresponds to the JSON property `searchType`
|
1423
1241
|
# @return [String]
|
1424
1242
|
attr_accessor :search_type
|
@@ -1428,28 +1246,27 @@ module Google
|
|
1428
1246
|
# @return [String]
|
1429
1247
|
attr_accessor :site_search
|
1430
1248
|
|
1431
|
-
# Specifies whether to include or exclude results from the site named in
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
# * `e`: exclude content from site
|
1249
|
+
# Specifies whether to include or exclude results from the site named in the `
|
1250
|
+
# sitesearch` parameter. Supported values are: * `i`: include content from site *
|
1251
|
+
# `e`: exclude content from site
|
1435
1252
|
# Corresponds to the JSON property `siteSearchFilter`
|
1436
1253
|
# @return [String]
|
1437
1254
|
attr_accessor :site_search_filter
|
1438
1255
|
|
1439
|
-
# Specifies that results should be sorted according to the specified
|
1440
|
-
#
|
1256
|
+
# Specifies that results should be sorted according to the specified expression.
|
1257
|
+
# For example, sort by date.
|
1441
1258
|
# Corresponds to the JSON property `sort`
|
1442
1259
|
# @return [String]
|
1443
1260
|
attr_accessor :sort
|
1444
1261
|
|
1445
|
-
# The index of the current set of search results into the total set of
|
1446
|
-
#
|
1262
|
+
# The index of the current set of search results into the total set of results,
|
1263
|
+
# where the index of the first result is 1.
|
1447
1264
|
# Corresponds to the JSON property `startIndex`
|
1448
1265
|
# @return [Fixnum]
|
1449
1266
|
attr_accessor :start_index
|
1450
1267
|
|
1451
|
-
# The page number of this set of results, where the page length is set by
|
1452
|
-
#
|
1268
|
+
# The page number of this set of results, where the page length is set by the `
|
1269
|
+
# count` property.
|
1453
1270
|
# Corresponds to the JSON property `startPage`
|
1454
1271
|
# @return [Fixnum]
|
1455
1272
|
attr_accessor :start_page
|
@@ -1514,8 +1331,8 @@ module Google
|
|
1514
1331
|
class SearchInformation
|
1515
1332
|
include Google::Apis::Core::Hashable
|
1516
1333
|
|
1517
|
-
# The time taken for the server to return search results, formatted
|
1518
|
-
#
|
1334
|
+
# The time taken for the server to return search results, formatted according to
|
1335
|
+
# locale style.
|
1519
1336
|
# Corresponds to the JSON property `formattedSearchTime`
|
1520
1337
|
# @return [String]
|
1521
1338
|
attr_accessor :formatted_search_time
|
@@ -1577,15 +1394,13 @@ module Google
|
|
1577
1394
|
class Url
|
1578
1395
|
include Google::Apis::Core::Hashable
|
1579
1396
|
|
1580
|
-
# The actual [OpenSearch
|
1581
|
-
#
|
1582
|
-
# opensearch_url_template_syntax)
|
1583
|
-
# for this API.
|
1397
|
+
# The actual [OpenSearch template](http://www.opensearch.org/specifications/
|
1398
|
+
# opensearch/1.1#opensearch_url_template_syntax) for this API.
|
1584
1399
|
# Corresponds to the JSON property `template`
|
1585
1400
|
# @return [String]
|
1586
1401
|
attr_accessor :template
|
1587
1402
|
|
1588
|
-
# The MIME type of the OpenSearch URL template for the Custom Search API.
|
1403
|
+
# The MIME type of the OpenSearch URL template for the Custom Search JSON API.
|
1589
1404
|
# Corresponds to the JSON property `type`
|
1590
1405
|
# @return [String]
|
1591
1406
|
attr_accessor :type
|