google-api-client 0.42.2 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +129 -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 -270
- 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 +733 -1180
- data/generated/google/apis/apigee_v1/service.rb +879 -1133
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- 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/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
- 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 +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -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/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- 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 +9 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -492
- data/generated/google/apis/customsearch_v1/service.rb +184 -341
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
- data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/datafusion_v1/representations.rb +390 -0
- 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_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
- data/generated/google/apis/dialogflow_v2/service.rb +324 -448
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
- data/generated/google/apis/displayvideo_v1/service.rb +104 -0
- 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/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/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
- 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 +60 -70
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- 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 -286
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -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/memcache_v1.rb +35 -0
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/memcache_v1/service.rb +558 -0
- 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 +12 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +31 -14
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +721 -0
- data/generated/google/apis/osconfig_v1/representations.rb +337 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +148 -13
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +60 -48
- 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 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- 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/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -2
- data/generated/google/apis/run_v1/service.rb +38 -2
- 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 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- 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 +1149 -1783
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
- 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/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/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
- data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
- 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/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/service.rb +19 -19
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +937 -1175
- data/generated/google/apis/youtube_v3/service.rb +975 -1284
- 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 +15 -7
- 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'
|
|
@@ -5707,6 +5707,15 @@ module Google
|
|
|
5707
5707
|
# - "`ptt`" (PTT Turkish Post)
|
|
5708
5708
|
# - "`eub`" (ePacket)
|
|
5709
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)
|
|
5710
5719
|
# Supported carriers for FR are:
|
|
5711
5720
|
# - "`la poste`" (La Poste) automatic status updates
|
|
5712
5721
|
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
|
@@ -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'
|
|
@@ -5497,6 +5497,15 @@ module Google
|
|
|
5497
5497
|
# - "`ptt`" (PTT Turkish Post)
|
|
5498
5498
|
# - "`eub`" (ePacket)
|
|
5499
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)
|
|
5500
5509
|
# Supported carriers for FR are:
|
|
5501
5510
|
# - "`la poste`" (La Poste) automatic status updates
|
|
5502
5511
|
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
|
@@ -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,191 +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 an engine created using the Programmable Search Engine
|
|
468
|
-
#
|
|
469
|
-
#
|
|
470
|
-
# **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**.
|
|
471
459
|
# Corresponds to the JSON property `cx`
|
|
472
460
|
# @return [String]
|
|
473
461
|
attr_accessor :cx
|
|
474
462
|
|
|
475
|
-
# Restricts results to URLs based on date. Supported values include:
|
|
476
|
-
#
|
|
477
|
-
#
|
|
478
|
-
#
|
|
479
|
-
#
|
|
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.
|
|
480
468
|
# Corresponds to the JSON property `dateRestrict`
|
|
481
469
|
# @return [String]
|
|
482
470
|
attr_accessor :date_restrict
|
|
483
471
|
|
|
484
|
-
# Enables or disables the [Simplified and Traditional Chinese
|
|
485
|
-
#
|
|
486
|
-
#
|
|
487
|
-
# feature.
|
|
488
|
-
# Supported values are:
|
|
489
|
-
# * `0`: enabled (default)
|
|
490
|
-
# * `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
|
|
491
475
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
|
492
476
|
# @return [String]
|
|
493
477
|
attr_accessor :disable_cn_tw_translation
|
|
494
478
|
|
|
495
|
-
# Identifies a phrase that all documents in the search results must
|
|
496
|
-
# contain.
|
|
479
|
+
# Identifies a phrase that all documents in the search results must contain.
|
|
497
480
|
# Corresponds to the JSON property `exactTerms`
|
|
498
481
|
# @return [String]
|
|
499
482
|
attr_accessor :exact_terms
|
|
500
483
|
|
|
501
|
-
# Identifies a word or phrase that should not appear in any documents in
|
|
502
|
-
#
|
|
484
|
+
# Identifies a word or phrase that should not appear in any documents in the
|
|
485
|
+
# search results.
|
|
503
486
|
# Corresponds to the JSON property `excludeTerms`
|
|
504
487
|
# @return [String]
|
|
505
488
|
attr_accessor :exclude_terms
|
|
506
489
|
|
|
507
|
-
# Restricts results to files of a specified extension. Filetypes supported
|
|
508
|
-
#
|
|
509
|
-
# *
|
|
510
|
-
# *
|
|
511
|
-
# *
|
|
512
|
-
# *
|
|
513
|
-
# *
|
|
514
|
-
#
|
|
515
|
-
#
|
|
516
|
-
# * Microsoft Word (`doc`)
|
|
517
|
-
# * Microsoft Works (`wks`, `wps`, `wdb`)
|
|
518
|
-
# * Microsoft Write (`wri`)
|
|
519
|
-
# * Rich Text Format (`rtf`)
|
|
520
|
-
# * Shockwave Flash (`swf`)
|
|
521
|
-
# * Text (`ans`, `txt`).
|
|
522
|
-
# Additional filetypes may be added in the future. An up-to-date list can
|
|
523
|
-
# always be found in Google's [file type
|
|
524
|
-
# 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).
|
|
525
499
|
# Corresponds to the JSON property `fileType`
|
|
526
500
|
# @return [String]
|
|
527
501
|
attr_accessor :file_type
|
|
528
502
|
|
|
529
|
-
# Activates or deactivates the automatic filtering of Google search
|
|
530
|
-
#
|
|
531
|
-
#
|
|
532
|
-
#
|
|
533
|
-
#
|
|
534
|
-
#
|
|
535
|
-
# * `0`: Disabled
|
|
536
|
-
# * `1`: Enabled (default)
|
|
537
|
-
# **Note**: By default, Google applies filtering to all search results to
|
|
538
|
-
# 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.
|
|
539
509
|
# Corresponds to the JSON property `filter`
|
|
540
510
|
# @return [String]
|
|
541
511
|
attr_accessor :filter
|
|
542
512
|
|
|
543
|
-
# Boosts search results whose country of origin matches the parameter
|
|
544
|
-
#
|
|
545
|
-
#
|
|
546
|
-
#
|
|
547
|
-
# for
|
|
548
|
-
#
|
|
549
|
-
# the relevance of results. This is particularly true for international
|
|
550
|
-
# customers and, even more specifically, for customers in English-speaking
|
|
551
|
-
# 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.
|
|
552
519
|
# Corresponds to the JSON property `gl`
|
|
553
520
|
# @return [String]
|
|
554
521
|
attr_accessor :gl
|
|
555
522
|
|
|
556
|
-
# Specifies the Google domain (for example, google.com, google.de, or
|
|
557
|
-
#
|
|
523
|
+
# Specifies the Google domain (for example, google.com, google.de, or google.fr)
|
|
524
|
+
# to which the search should be limited.
|
|
558
525
|
# Corresponds to the JSON property `googleHost`
|
|
559
526
|
# @return [String]
|
|
560
527
|
attr_accessor :google_host
|
|
561
528
|
|
|
562
|
-
# Specifies the ending value for a search range. Use `cse:lowRange` and
|
|
563
|
-
#
|
|
564
|
-
#
|
|
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.
|
|
565
532
|
# Corresponds to the JSON property `highRange`
|
|
566
533
|
# @return [String]
|
|
567
534
|
attr_accessor :high_range
|
|
568
535
|
|
|
569
536
|
# Specifies the interface language (host language) of your user interface.
|
|
570
|
-
# Explicitly setting this parameter improves the performance and the
|
|
571
|
-
#
|
|
572
|
-
#
|
|
573
|
-
#
|
|
574
|
-
#
|
|
575
|
-
#
|
|
576
|
-
#
|
|
577
|
-
#
|
|
578
|
-
# for more information, and [Supported Interface
|
|
579
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
|
580
|
-
# xml_results_appendices#interfaceLanguages)
|
|
581
|
-
# 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.
|
|
582
545
|
# Corresponds to the JSON property `hl`
|
|
583
546
|
# @return [String]
|
|
584
547
|
attr_accessor :hl
|
|
585
548
|
|
|
586
|
-
# Appends the specified query terms to the query, as if they were combined
|
|
587
|
-
#
|
|
549
|
+
# Appends the specified query terms to the query, as if they were combined with
|
|
550
|
+
# a logical `AND` operator.
|
|
588
551
|
# Corresponds to the JSON property `hq`
|
|
589
552
|
# @return [String]
|
|
590
553
|
attr_accessor :hq
|
|
591
554
|
|
|
592
|
-
# Restricts results to images of a specified color type. Supported values
|
|
593
|
-
#
|
|
594
|
-
# * `mono` (black and white)
|
|
595
|
-
# * `gray` (grayscale)
|
|
596
|
-
# * `color` (color)
|
|
555
|
+
# Restricts results to images of a specified color type. Supported values are: *
|
|
556
|
+
# `mono` (black and white) * `gray` (grayscale) * `color` (color)
|
|
597
557
|
# Corresponds to the JSON property `imgColorType`
|
|
598
558
|
# @return [String]
|
|
599
559
|
attr_accessor :img_color_type
|
|
600
560
|
|
|
601
|
-
# Restricts results to images with a specific dominant color. Supported
|
|
602
|
-
#
|
|
603
|
-
# * `
|
|
604
|
-
# * `orange`
|
|
605
|
-
# * `yellow`
|
|
606
|
-
# * `green`
|
|
607
|
-
# * `teal`
|
|
608
|
-
# * `blue`
|
|
609
|
-
# * `purple`
|
|
610
|
-
# * `pink`
|
|
611
|
-
# * `white`
|
|
612
|
-
# * `gray`
|
|
613
|
-
# * `black`
|
|
614
|
-
# * `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`
|
|
615
564
|
# Corresponds to the JSON property `imgDominantColor`
|
|
616
565
|
# @return [String]
|
|
617
566
|
attr_accessor :img_dominant_color
|
|
618
567
|
|
|
619
|
-
# Restricts results to images of a specified size. Supported values are:
|
|
620
|
-
# * `
|
|
621
|
-
#
|
|
622
|
-
# * `xxlarge` (large)
|
|
623
|
-
# * `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)
|
|
624
571
|
# Corresponds to the JSON property `imgSize`
|
|
625
572
|
# @return [String]
|
|
626
573
|
attr_accessor :img_size
|
|
627
574
|
|
|
628
|
-
# Restricts results to images of a specified type. Supported values are:
|
|
629
|
-
#
|
|
630
|
-
# * `
|
|
631
|
-
# * `lineart` (Line drawing)
|
|
632
|
-
# * `photo` (Photo)
|
|
633
|
-
# * `animated` (Animated)
|
|
634
|
-
# * `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)
|
|
635
578
|
# Corresponds to the JSON property `imgType`
|
|
636
579
|
# @return [String]
|
|
637
580
|
attr_accessor :img_type
|
|
@@ -651,18 +594,17 @@ module Google
|
|
|
651
594
|
# @return [String]
|
|
652
595
|
attr_accessor :link_site
|
|
653
596
|
|
|
654
|
-
# Specifies the starting value for a search range. Use `cse:lowRange` and
|
|
655
|
-
#
|
|
656
|
-
#
|
|
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.
|
|
657
600
|
# Corresponds to the JSON property `lowRange`
|
|
658
601
|
# @return [String]
|
|
659
602
|
attr_accessor :low_range
|
|
660
603
|
|
|
661
604
|
# Provides additional search terms to check for in a document, where each
|
|
662
|
-
# document in the search results must contain at least one of the
|
|
663
|
-
#
|
|
664
|
-
#
|
|
665
|
-
# 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.
|
|
666
608
|
# Corresponds to the JSON property `orTerms`
|
|
667
609
|
# @return [String]
|
|
668
610
|
attr_accessor :or_terms
|
|
@@ -678,23 +620,16 @@ module Google
|
|
|
678
620
|
# @return [String]
|
|
679
621
|
attr_accessor :related_site
|
|
680
622
|
|
|
681
|
-
# Filters based on licensing. Supported values include:
|
|
682
|
-
# * `
|
|
683
|
-
# * `cc_attribute`
|
|
684
|
-
# * `cc_sharealike`
|
|
685
|
-
# * `cc_noncommercial`
|
|
686
|
-
# * `cc_nonderived`
|
|
623
|
+
# Filters based on licensing. Supported values include: * `cc_publicdomain` * `
|
|
624
|
+
# cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
|
|
687
625
|
# Corresponds to the JSON property `rights`
|
|
688
626
|
# @return [String]
|
|
689
627
|
attr_accessor :rights
|
|
690
628
|
|
|
691
|
-
# Specifies the [SafeSearch
|
|
692
|
-
#
|
|
693
|
-
#
|
|
694
|
-
#
|
|
695
|
-
# defined in the OpenSearch spec. Valid parameter values are:
|
|
696
|
-
# * `"off"`: Disable SafeSearch
|
|
697
|
-
# * `"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
|
|
698
633
|
# Corresponds to the JSON property `safe`
|
|
699
634
|
# @return [String]
|
|
700
635
|
attr_accessor :safe
|
|
@@ -704,8 +639,8 @@ module Google
|
|
|
704
639
|
# @return [String]
|
|
705
640
|
attr_accessor :search_terms
|
|
706
641
|
|
|
707
|
-
# Allowed values are `web` or `image`. If unspecified, results are limited
|
|
708
|
-
#
|
|
642
|
+
# Allowed values are `web` or `image`. If unspecified, results are limited to
|
|
643
|
+
# webpages.
|
|
709
644
|
# Corresponds to the JSON property `searchType`
|
|
710
645
|
# @return [String]
|
|
711
646
|
attr_accessor :search_type
|
|
@@ -715,28 +650,27 @@ module Google
|
|
|
715
650
|
# @return [String]
|
|
716
651
|
attr_accessor :site_search
|
|
717
652
|
|
|
718
|
-
# Specifies whether to include or exclude results from the site named in
|
|
719
|
-
#
|
|
720
|
-
#
|
|
721
|
-
# * `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
|
|
722
656
|
# Corresponds to the JSON property `siteSearchFilter`
|
|
723
657
|
# @return [String]
|
|
724
658
|
attr_accessor :site_search_filter
|
|
725
659
|
|
|
726
|
-
# Specifies that results should be sorted according to the specified
|
|
727
|
-
#
|
|
660
|
+
# Specifies that results should be sorted according to the specified expression.
|
|
661
|
+
# For example, sort by date.
|
|
728
662
|
# Corresponds to the JSON property `sort`
|
|
729
663
|
# @return [String]
|
|
730
664
|
attr_accessor :sort
|
|
731
665
|
|
|
732
|
-
# The index of the current set of search results into the total set of
|
|
733
|
-
#
|
|
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.
|
|
734
668
|
# Corresponds to the JSON property `startIndex`
|
|
735
669
|
# @return [Fixnum]
|
|
736
670
|
attr_accessor :start_index
|
|
737
671
|
|
|
738
|
-
# The page number of this set of results, where the page length is set by
|
|
739
|
-
#
|
|
672
|
+
# The page number of this set of results, where the page length is set by the `
|
|
673
|
+
# count` property.
|
|
740
674
|
# Corresponds to the JSON property `startPage`
|
|
741
675
|
# @return [Fixnum]
|
|
742
676
|
attr_accessor :start_page
|
|
@@ -805,191 +739,140 @@ module Google
|
|
|
805
739
|
# @return [Fixnum]
|
|
806
740
|
attr_accessor :count
|
|
807
741
|
|
|
808
|
-
# Restricts search results to documents originating in a particular
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
#
|
|
813
|
-
#
|
|
814
|
-
#
|
|
815
|
-
#
|
|
816
|
-
# * The geographic location of the web server's IP address.
|
|
817
|
-
# See [Country (cr) Parameter
|
|
818
|
-
# Values](https://developers.google.com/custom-search/docs/xml_results#
|
|
819
|
-
# countryCollections)
|
|
820
|
-
# 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.
|
|
821
750
|
# Corresponds to the JSON property `cr`
|
|
822
751
|
# @return [String]
|
|
823
752
|
attr_accessor :cr
|
|
824
753
|
|
|
825
|
-
# The identifier of an engine created using the Programmable Search Engine
|
|
826
|
-
#
|
|
827
|
-
#
|
|
828
|
-
# **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**.
|
|
829
757
|
# Corresponds to the JSON property `cx`
|
|
830
758
|
# @return [String]
|
|
831
759
|
attr_accessor :cx
|
|
832
760
|
|
|
833
|
-
# Restricts results to URLs based on date. Supported values include:
|
|
834
|
-
#
|
|
835
|
-
#
|
|
836
|
-
#
|
|
837
|
-
#
|
|
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.
|
|
838
766
|
# Corresponds to the JSON property `dateRestrict`
|
|
839
767
|
# @return [String]
|
|
840
768
|
attr_accessor :date_restrict
|
|
841
769
|
|
|
842
|
-
# Enables or disables the [Simplified and Traditional Chinese
|
|
843
|
-
#
|
|
844
|
-
#
|
|
845
|
-
# feature.
|
|
846
|
-
# Supported values are:
|
|
847
|
-
# * `0`: enabled (default)
|
|
848
|
-
# * `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
|
|
849
773
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
|
850
774
|
# @return [String]
|
|
851
775
|
attr_accessor :disable_cn_tw_translation
|
|
852
776
|
|
|
853
|
-
# Identifies a phrase that all documents in the search results must
|
|
854
|
-
# contain.
|
|
777
|
+
# Identifies a phrase that all documents in the search results must contain.
|
|
855
778
|
# Corresponds to the JSON property `exactTerms`
|
|
856
779
|
# @return [String]
|
|
857
780
|
attr_accessor :exact_terms
|
|
858
781
|
|
|
859
|
-
# Identifies a word or phrase that should not appear in any documents in
|
|
860
|
-
#
|
|
782
|
+
# Identifies a word or phrase that should not appear in any documents in the
|
|
783
|
+
# search results.
|
|
861
784
|
# Corresponds to the JSON property `excludeTerms`
|
|
862
785
|
# @return [String]
|
|
863
786
|
attr_accessor :exclude_terms
|
|
864
787
|
|
|
865
|
-
# Restricts results to files of a specified extension. Filetypes supported
|
|
866
|
-
#
|
|
867
|
-
# *
|
|
868
|
-
# *
|
|
869
|
-
# *
|
|
870
|
-
# *
|
|
871
|
-
# *
|
|
872
|
-
#
|
|
873
|
-
#
|
|
874
|
-
# * Microsoft Word (`doc`)
|
|
875
|
-
# * Microsoft Works (`wks`, `wps`, `wdb`)
|
|
876
|
-
# * Microsoft Write (`wri`)
|
|
877
|
-
# * Rich Text Format (`rtf`)
|
|
878
|
-
# * Shockwave Flash (`swf`)
|
|
879
|
-
# * Text (`ans`, `txt`).
|
|
880
|
-
# Additional filetypes may be added in the future. An up-to-date list can
|
|
881
|
-
# always be found in Google's [file type
|
|
882
|
-
# 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).
|
|
883
797
|
# Corresponds to the JSON property `fileType`
|
|
884
798
|
# @return [String]
|
|
885
799
|
attr_accessor :file_type
|
|
886
800
|
|
|
887
|
-
# Activates or deactivates the automatic filtering of Google search
|
|
888
|
-
#
|
|
889
|
-
#
|
|
890
|
-
#
|
|
891
|
-
#
|
|
892
|
-
#
|
|
893
|
-
# * `0`: Disabled
|
|
894
|
-
# * `1`: Enabled (default)
|
|
895
|
-
# **Note**: By default, Google applies filtering to all search results to
|
|
896
|
-
# 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.
|
|
897
807
|
# Corresponds to the JSON property `filter`
|
|
898
808
|
# @return [String]
|
|
899
809
|
attr_accessor :filter
|
|
900
810
|
|
|
901
|
-
# Boosts search results whose country of origin matches the parameter
|
|
902
|
-
#
|
|
903
|
-
#
|
|
904
|
-
#
|
|
905
|
-
# for
|
|
906
|
-
#
|
|
907
|
-
# the relevance of results. This is particularly true for international
|
|
908
|
-
# customers and, even more specifically, for customers in English-speaking
|
|
909
|
-
# 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.
|
|
910
817
|
# Corresponds to the JSON property `gl`
|
|
911
818
|
# @return [String]
|
|
912
819
|
attr_accessor :gl
|
|
913
820
|
|
|
914
|
-
# Specifies the Google domain (for example, google.com, google.de, or
|
|
915
|
-
#
|
|
821
|
+
# Specifies the Google domain (for example, google.com, google.de, or google.fr)
|
|
822
|
+
# to which the search should be limited.
|
|
916
823
|
# Corresponds to the JSON property `googleHost`
|
|
917
824
|
# @return [String]
|
|
918
825
|
attr_accessor :google_host
|
|
919
826
|
|
|
920
|
-
# Specifies the ending value for a search range. Use `cse:lowRange` and
|
|
921
|
-
#
|
|
922
|
-
#
|
|
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.
|
|
923
830
|
# Corresponds to the JSON property `highRange`
|
|
924
831
|
# @return [String]
|
|
925
832
|
attr_accessor :high_range
|
|
926
833
|
|
|
927
834
|
# Specifies the interface language (host language) of your user interface.
|
|
928
|
-
# Explicitly setting this parameter improves the performance and the
|
|
929
|
-
#
|
|
930
|
-
#
|
|
931
|
-
#
|
|
932
|
-
#
|
|
933
|
-
#
|
|
934
|
-
#
|
|
935
|
-
#
|
|
936
|
-
# for more information, and [Supported Interface
|
|
937
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
|
938
|
-
# xml_results_appendices#interfaceLanguages)
|
|
939
|
-
# 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.
|
|
940
843
|
# Corresponds to the JSON property `hl`
|
|
941
844
|
# @return [String]
|
|
942
845
|
attr_accessor :hl
|
|
943
846
|
|
|
944
|
-
# Appends the specified query terms to the query, as if they were combined
|
|
945
|
-
#
|
|
847
|
+
# Appends the specified query terms to the query, as if they were combined with
|
|
848
|
+
# a logical `AND` operator.
|
|
946
849
|
# Corresponds to the JSON property `hq`
|
|
947
850
|
# @return [String]
|
|
948
851
|
attr_accessor :hq
|
|
949
852
|
|
|
950
|
-
# Restricts results to images of a specified color type. Supported values
|
|
951
|
-
#
|
|
952
|
-
# * `mono` (black and white)
|
|
953
|
-
# * `gray` (grayscale)
|
|
954
|
-
# * `color` (color)
|
|
853
|
+
# Restricts results to images of a specified color type. Supported values are: *
|
|
854
|
+
# `mono` (black and white) * `gray` (grayscale) * `color` (color)
|
|
955
855
|
# Corresponds to the JSON property `imgColorType`
|
|
956
856
|
# @return [String]
|
|
957
857
|
attr_accessor :img_color_type
|
|
958
858
|
|
|
959
|
-
# Restricts results to images with a specific dominant color. Supported
|
|
960
|
-
#
|
|
961
|
-
# * `
|
|
962
|
-
# * `orange`
|
|
963
|
-
# * `yellow`
|
|
964
|
-
# * `green`
|
|
965
|
-
# * `teal`
|
|
966
|
-
# * `blue`
|
|
967
|
-
# * `purple`
|
|
968
|
-
# * `pink`
|
|
969
|
-
# * `white`
|
|
970
|
-
# * `gray`
|
|
971
|
-
# * `black`
|
|
972
|
-
# * `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`
|
|
973
862
|
# Corresponds to the JSON property `imgDominantColor`
|
|
974
863
|
# @return [String]
|
|
975
864
|
attr_accessor :img_dominant_color
|
|
976
865
|
|
|
977
|
-
# Restricts results to images of a specified size. Supported values are:
|
|
978
|
-
# * `
|
|
979
|
-
#
|
|
980
|
-
# * `xxlarge` (large)
|
|
981
|
-
# * `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)
|
|
982
869
|
# Corresponds to the JSON property `imgSize`
|
|
983
870
|
# @return [String]
|
|
984
871
|
attr_accessor :img_size
|
|
985
872
|
|
|
986
|
-
# Restricts results to images of a specified type. Supported values are:
|
|
987
|
-
#
|
|
988
|
-
# * `
|
|
989
|
-
# * `lineart` (Line drawing)
|
|
990
|
-
# * `photo` (Photo)
|
|
991
|
-
# * `animated` (Animated)
|
|
992
|
-
# * `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)
|
|
993
876
|
# Corresponds to the JSON property `imgType`
|
|
994
877
|
# @return [String]
|
|
995
878
|
attr_accessor :img_type
|
|
@@ -1009,18 +892,17 @@ module Google
|
|
|
1009
892
|
# @return [String]
|
|
1010
893
|
attr_accessor :link_site
|
|
1011
894
|
|
|
1012
|
-
# Specifies the starting value for a search range. Use `cse:lowRange` and
|
|
1013
|
-
#
|
|
1014
|
-
#
|
|
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.
|
|
1015
898
|
# Corresponds to the JSON property `lowRange`
|
|
1016
899
|
# @return [String]
|
|
1017
900
|
attr_accessor :low_range
|
|
1018
901
|
|
|
1019
902
|
# Provides additional search terms to check for in a document, where each
|
|
1020
|
-
# document in the search results must contain at least one of the
|
|
1021
|
-
#
|
|
1022
|
-
#
|
|
1023
|
-
# 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.
|
|
1024
906
|
# Corresponds to the JSON property `orTerms`
|
|
1025
907
|
# @return [String]
|
|
1026
908
|
attr_accessor :or_terms
|
|
@@ -1036,23 +918,16 @@ module Google
|
|
|
1036
918
|
# @return [String]
|
|
1037
919
|
attr_accessor :related_site
|
|
1038
920
|
|
|
1039
|
-
# Filters based on licensing. Supported values include:
|
|
1040
|
-
# * `
|
|
1041
|
-
# * `cc_attribute`
|
|
1042
|
-
# * `cc_sharealike`
|
|
1043
|
-
# * `cc_noncommercial`
|
|
1044
|
-
# * `cc_nonderived`
|
|
921
|
+
# Filters based on licensing. Supported values include: * `cc_publicdomain` * `
|
|
922
|
+
# cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
|
|
1045
923
|
# Corresponds to the JSON property `rights`
|
|
1046
924
|
# @return [String]
|
|
1047
925
|
attr_accessor :rights
|
|
1048
926
|
|
|
1049
|
-
# Specifies the [SafeSearch
|
|
1050
|
-
#
|
|
1051
|
-
#
|
|
1052
|
-
#
|
|
1053
|
-
# defined in the OpenSearch spec. Valid parameter values are:
|
|
1054
|
-
# * `"off"`: Disable SafeSearch
|
|
1055
|
-
# * `"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
|
|
1056
931
|
# Corresponds to the JSON property `safe`
|
|
1057
932
|
# @return [String]
|
|
1058
933
|
attr_accessor :safe
|
|
@@ -1062,8 +937,8 @@ module Google
|
|
|
1062
937
|
# @return [String]
|
|
1063
938
|
attr_accessor :search_terms
|
|
1064
939
|
|
|
1065
|
-
# Allowed values are `web` or `image`. If unspecified, results are limited
|
|
1066
|
-
#
|
|
940
|
+
# Allowed values are `web` or `image`. If unspecified, results are limited to
|
|
941
|
+
# webpages.
|
|
1067
942
|
# Corresponds to the JSON property `searchType`
|
|
1068
943
|
# @return [String]
|
|
1069
944
|
attr_accessor :search_type
|
|
@@ -1073,28 +948,27 @@ module Google
|
|
|
1073
948
|
# @return [String]
|
|
1074
949
|
attr_accessor :site_search
|
|
1075
950
|
|
|
1076
|
-
# Specifies whether to include or exclude results from the site named in
|
|
1077
|
-
#
|
|
1078
|
-
#
|
|
1079
|
-
# * `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
|
|
1080
954
|
# Corresponds to the JSON property `siteSearchFilter`
|
|
1081
955
|
# @return [String]
|
|
1082
956
|
attr_accessor :site_search_filter
|
|
1083
957
|
|
|
1084
|
-
# Specifies that results should be sorted according to the specified
|
|
1085
|
-
#
|
|
958
|
+
# Specifies that results should be sorted according to the specified expression.
|
|
959
|
+
# For example, sort by date.
|
|
1086
960
|
# Corresponds to the JSON property `sort`
|
|
1087
961
|
# @return [String]
|
|
1088
962
|
attr_accessor :sort
|
|
1089
963
|
|
|
1090
|
-
# The index of the current set of search results into the total set of
|
|
1091
|
-
#
|
|
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.
|
|
1092
966
|
# Corresponds to the JSON property `startIndex`
|
|
1093
967
|
# @return [Fixnum]
|
|
1094
968
|
attr_accessor :start_index
|
|
1095
969
|
|
|
1096
|
-
# The page number of this set of results, where the page length is set by
|
|
1097
|
-
#
|
|
970
|
+
# The page number of this set of results, where the page length is set by the `
|
|
971
|
+
# count` property.
|
|
1098
972
|
# Corresponds to the JSON property `startPage`
|
|
1099
973
|
# @return [Fixnum]
|
|
1100
974
|
attr_accessor :start_page
|
|
@@ -1163,191 +1037,140 @@ module Google
|
|
|
1163
1037
|
# @return [Fixnum]
|
|
1164
1038
|
attr_accessor :count
|
|
1165
1039
|
|
|
1166
|
-
# Restricts search results to documents originating in a particular
|
|
1167
|
-
#
|
|
1168
|
-
#
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
#
|
|
1172
|
-
#
|
|
1173
|
-
#
|
|
1174
|
-
# * The geographic location of the web server's IP address.
|
|
1175
|
-
# See [Country (cr) Parameter
|
|
1176
|
-
# Values](https://developers.google.com/custom-search/docs/xml_results#
|
|
1177
|
-
# countryCollections)
|
|
1178
|
-
# 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.
|
|
1179
1048
|
# Corresponds to the JSON property `cr`
|
|
1180
1049
|
# @return [String]
|
|
1181
1050
|
attr_accessor :cr
|
|
1182
1051
|
|
|
1183
|
-
# The identifier of an engine created using the Programmable Search Engine
|
|
1184
|
-
#
|
|
1185
|
-
#
|
|
1186
|
-
# **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**.
|
|
1187
1055
|
# Corresponds to the JSON property `cx`
|
|
1188
1056
|
# @return [String]
|
|
1189
1057
|
attr_accessor :cx
|
|
1190
1058
|
|
|
1191
|
-
# Restricts results to URLs based on date. Supported values include:
|
|
1192
|
-
#
|
|
1193
|
-
#
|
|
1194
|
-
#
|
|
1195
|
-
#
|
|
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.
|
|
1196
1064
|
# Corresponds to the JSON property `dateRestrict`
|
|
1197
1065
|
# @return [String]
|
|
1198
1066
|
attr_accessor :date_restrict
|
|
1199
1067
|
|
|
1200
|
-
# Enables or disables the [Simplified and Traditional Chinese
|
|
1201
|
-
#
|
|
1202
|
-
#
|
|
1203
|
-
# feature.
|
|
1204
|
-
# Supported values are:
|
|
1205
|
-
# * `0`: enabled (default)
|
|
1206
|
-
# * `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
|
|
1207
1071
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
|
1208
1072
|
# @return [String]
|
|
1209
1073
|
attr_accessor :disable_cn_tw_translation
|
|
1210
1074
|
|
|
1211
|
-
# Identifies a phrase that all documents in the search results must
|
|
1212
|
-
# contain.
|
|
1075
|
+
# Identifies a phrase that all documents in the search results must contain.
|
|
1213
1076
|
# Corresponds to the JSON property `exactTerms`
|
|
1214
1077
|
# @return [String]
|
|
1215
1078
|
attr_accessor :exact_terms
|
|
1216
1079
|
|
|
1217
|
-
# Identifies a word or phrase that should not appear in any documents in
|
|
1218
|
-
#
|
|
1080
|
+
# Identifies a word or phrase that should not appear in any documents in the
|
|
1081
|
+
# search results.
|
|
1219
1082
|
# Corresponds to the JSON property `excludeTerms`
|
|
1220
1083
|
# @return [String]
|
|
1221
1084
|
attr_accessor :exclude_terms
|
|
1222
1085
|
|
|
1223
|
-
# Restricts results to files of a specified extension. Filetypes supported
|
|
1224
|
-
#
|
|
1225
|
-
# *
|
|
1226
|
-
# *
|
|
1227
|
-
# *
|
|
1228
|
-
# *
|
|
1229
|
-
# *
|
|
1230
|
-
#
|
|
1231
|
-
#
|
|
1232
|
-
# * Microsoft Word (`doc`)
|
|
1233
|
-
# * Microsoft Works (`wks`, `wps`, `wdb`)
|
|
1234
|
-
# * Microsoft Write (`wri`)
|
|
1235
|
-
# * Rich Text Format (`rtf`)
|
|
1236
|
-
# * Shockwave Flash (`swf`)
|
|
1237
|
-
# * Text (`ans`, `txt`).
|
|
1238
|
-
# Additional filetypes may be added in the future. An up-to-date list can
|
|
1239
|
-
# always be found in Google's [file type
|
|
1240
|
-
# 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).
|
|
1241
1095
|
# Corresponds to the JSON property `fileType`
|
|
1242
1096
|
# @return [String]
|
|
1243
1097
|
attr_accessor :file_type
|
|
1244
1098
|
|
|
1245
|
-
# Activates or deactivates the automatic filtering of Google search
|
|
1246
|
-
#
|
|
1247
|
-
#
|
|
1248
|
-
#
|
|
1249
|
-
#
|
|
1250
|
-
#
|
|
1251
|
-
# * `0`: Disabled
|
|
1252
|
-
# * `1`: Enabled (default)
|
|
1253
|
-
# **Note**: By default, Google applies filtering to all search results to
|
|
1254
|
-
# 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.
|
|
1255
1105
|
# Corresponds to the JSON property `filter`
|
|
1256
1106
|
# @return [String]
|
|
1257
1107
|
attr_accessor :filter
|
|
1258
1108
|
|
|
1259
|
-
# Boosts search results whose country of origin matches the parameter
|
|
1260
|
-
#
|
|
1261
|
-
#
|
|
1262
|
-
#
|
|
1263
|
-
# for
|
|
1264
|
-
#
|
|
1265
|
-
# the relevance of results. This is particularly true for international
|
|
1266
|
-
# customers and, even more specifically, for customers in English-speaking
|
|
1267
|
-
# 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.
|
|
1268
1115
|
# Corresponds to the JSON property `gl`
|
|
1269
1116
|
# @return [String]
|
|
1270
1117
|
attr_accessor :gl
|
|
1271
1118
|
|
|
1272
|
-
# Specifies the Google domain (for example, google.com, google.de, or
|
|
1273
|
-
#
|
|
1119
|
+
# Specifies the Google domain (for example, google.com, google.de, or google.fr)
|
|
1120
|
+
# to which the search should be limited.
|
|
1274
1121
|
# Corresponds to the JSON property `googleHost`
|
|
1275
1122
|
# @return [String]
|
|
1276
1123
|
attr_accessor :google_host
|
|
1277
1124
|
|
|
1278
|
-
# Specifies the ending value for a search range. Use `cse:lowRange` and
|
|
1279
|
-
#
|
|
1280
|
-
#
|
|
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.
|
|
1281
1128
|
# Corresponds to the JSON property `highRange`
|
|
1282
1129
|
# @return [String]
|
|
1283
1130
|
attr_accessor :high_range
|
|
1284
1131
|
|
|
1285
1132
|
# Specifies the interface language (host language) of your user interface.
|
|
1286
|
-
# Explicitly setting this parameter improves the performance and the
|
|
1287
|
-
#
|
|
1288
|
-
#
|
|
1289
|
-
#
|
|
1290
|
-
#
|
|
1291
|
-
#
|
|
1292
|
-
#
|
|
1293
|
-
#
|
|
1294
|
-
# for more information, and [Supported Interface
|
|
1295
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
|
1296
|
-
# xml_results_appendices#interfaceLanguages)
|
|
1297
|
-
# 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.
|
|
1298
1141
|
# Corresponds to the JSON property `hl`
|
|
1299
1142
|
# @return [String]
|
|
1300
1143
|
attr_accessor :hl
|
|
1301
1144
|
|
|
1302
|
-
# Appends the specified query terms to the query, as if they were combined
|
|
1303
|
-
#
|
|
1145
|
+
# Appends the specified query terms to the query, as if they were combined with
|
|
1146
|
+
# a logical `AND` operator.
|
|
1304
1147
|
# Corresponds to the JSON property `hq`
|
|
1305
1148
|
# @return [String]
|
|
1306
1149
|
attr_accessor :hq
|
|
1307
1150
|
|
|
1308
|
-
# Restricts results to images of a specified color type. Supported values
|
|
1309
|
-
#
|
|
1310
|
-
# * `mono` (black and white)
|
|
1311
|
-
# * `gray` (grayscale)
|
|
1312
|
-
# * `color` (color)
|
|
1151
|
+
# Restricts results to images of a specified color type. Supported values are: *
|
|
1152
|
+
# `mono` (black and white) * `gray` (grayscale) * `color` (color)
|
|
1313
1153
|
# Corresponds to the JSON property `imgColorType`
|
|
1314
1154
|
# @return [String]
|
|
1315
1155
|
attr_accessor :img_color_type
|
|
1316
1156
|
|
|
1317
|
-
# Restricts results to images with a specific dominant color. Supported
|
|
1318
|
-
#
|
|
1319
|
-
# * `
|
|
1320
|
-
# * `orange`
|
|
1321
|
-
# * `yellow`
|
|
1322
|
-
# * `green`
|
|
1323
|
-
# * `teal`
|
|
1324
|
-
# * `blue`
|
|
1325
|
-
# * `purple`
|
|
1326
|
-
# * `pink`
|
|
1327
|
-
# * `white`
|
|
1328
|
-
# * `gray`
|
|
1329
|
-
# * `black`
|
|
1330
|
-
# * `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`
|
|
1331
1160
|
# Corresponds to the JSON property `imgDominantColor`
|
|
1332
1161
|
# @return [String]
|
|
1333
1162
|
attr_accessor :img_dominant_color
|
|
1334
1163
|
|
|
1335
|
-
# Restricts results to images of a specified size. Supported values are:
|
|
1336
|
-
# * `
|
|
1337
|
-
#
|
|
1338
|
-
# * `xxlarge` (large)
|
|
1339
|
-
# * `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)
|
|
1340
1167
|
# Corresponds to the JSON property `imgSize`
|
|
1341
1168
|
# @return [String]
|
|
1342
1169
|
attr_accessor :img_size
|
|
1343
1170
|
|
|
1344
|
-
# Restricts results to images of a specified type. Supported values are:
|
|
1345
|
-
#
|
|
1346
|
-
# * `
|
|
1347
|
-
# * `lineart` (Line drawing)
|
|
1348
|
-
# * `photo` (Photo)
|
|
1349
|
-
# * `animated` (Animated)
|
|
1350
|
-
# * `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)
|
|
1351
1174
|
# Corresponds to the JSON property `imgType`
|
|
1352
1175
|
# @return [String]
|
|
1353
1176
|
attr_accessor :img_type
|
|
@@ -1367,18 +1190,17 @@ module Google
|
|
|
1367
1190
|
# @return [String]
|
|
1368
1191
|
attr_accessor :link_site
|
|
1369
1192
|
|
|
1370
|
-
# Specifies the starting value for a search range. Use `cse:lowRange` and
|
|
1371
|
-
#
|
|
1372
|
-
#
|
|
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.
|
|
1373
1196
|
# Corresponds to the JSON property `lowRange`
|
|
1374
1197
|
# @return [String]
|
|
1375
1198
|
attr_accessor :low_range
|
|
1376
1199
|
|
|
1377
1200
|
# Provides additional search terms to check for in a document, where each
|
|
1378
|
-
# document in the search results must contain at least one of the
|
|
1379
|
-
#
|
|
1380
|
-
#
|
|
1381
|
-
# 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.
|
|
1382
1204
|
# Corresponds to the JSON property `orTerms`
|
|
1383
1205
|
# @return [String]
|
|
1384
1206
|
attr_accessor :or_terms
|
|
@@ -1394,23 +1216,16 @@ module Google
|
|
|
1394
1216
|
# @return [String]
|
|
1395
1217
|
attr_accessor :related_site
|
|
1396
1218
|
|
|
1397
|
-
# Filters based on licensing. Supported values include:
|
|
1398
|
-
# * `
|
|
1399
|
-
# * `cc_attribute`
|
|
1400
|
-
# * `cc_sharealike`
|
|
1401
|
-
# * `cc_noncommercial`
|
|
1402
|
-
# * `cc_nonderived`
|
|
1219
|
+
# Filters based on licensing. Supported values include: * `cc_publicdomain` * `
|
|
1220
|
+
# cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
|
|
1403
1221
|
# Corresponds to the JSON property `rights`
|
|
1404
1222
|
# @return [String]
|
|
1405
1223
|
attr_accessor :rights
|
|
1406
1224
|
|
|
1407
|
-
# Specifies the [SafeSearch
|
|
1408
|
-
#
|
|
1409
|
-
#
|
|
1410
|
-
#
|
|
1411
|
-
# defined in the OpenSearch spec. Valid parameter values are:
|
|
1412
|
-
# * `"off"`: Disable SafeSearch
|
|
1413
|
-
# * `"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
|
|
1414
1229
|
# Corresponds to the JSON property `safe`
|
|
1415
1230
|
# @return [String]
|
|
1416
1231
|
attr_accessor :safe
|
|
@@ -1420,8 +1235,8 @@ module Google
|
|
|
1420
1235
|
# @return [String]
|
|
1421
1236
|
attr_accessor :search_terms
|
|
1422
1237
|
|
|
1423
|
-
# Allowed values are `web` or `image`. If unspecified, results are limited
|
|
1424
|
-
#
|
|
1238
|
+
# Allowed values are `web` or `image`. If unspecified, results are limited to
|
|
1239
|
+
# webpages.
|
|
1425
1240
|
# Corresponds to the JSON property `searchType`
|
|
1426
1241
|
# @return [String]
|
|
1427
1242
|
attr_accessor :search_type
|
|
@@ -1431,28 +1246,27 @@ module Google
|
|
|
1431
1246
|
# @return [String]
|
|
1432
1247
|
attr_accessor :site_search
|
|
1433
1248
|
|
|
1434
|
-
# Specifies whether to include or exclude results from the site named in
|
|
1435
|
-
#
|
|
1436
|
-
#
|
|
1437
|
-
# * `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
|
|
1438
1252
|
# Corresponds to the JSON property `siteSearchFilter`
|
|
1439
1253
|
# @return [String]
|
|
1440
1254
|
attr_accessor :site_search_filter
|
|
1441
1255
|
|
|
1442
|
-
# Specifies that results should be sorted according to the specified
|
|
1443
|
-
#
|
|
1256
|
+
# Specifies that results should be sorted according to the specified expression.
|
|
1257
|
+
# For example, sort by date.
|
|
1444
1258
|
# Corresponds to the JSON property `sort`
|
|
1445
1259
|
# @return [String]
|
|
1446
1260
|
attr_accessor :sort
|
|
1447
1261
|
|
|
1448
|
-
# The index of the current set of search results into the total set of
|
|
1449
|
-
#
|
|
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.
|
|
1450
1264
|
# Corresponds to the JSON property `startIndex`
|
|
1451
1265
|
# @return [Fixnum]
|
|
1452
1266
|
attr_accessor :start_index
|
|
1453
1267
|
|
|
1454
|
-
# The page number of this set of results, where the page length is set by
|
|
1455
|
-
#
|
|
1268
|
+
# The page number of this set of results, where the page length is set by the `
|
|
1269
|
+
# count` property.
|
|
1456
1270
|
# Corresponds to the JSON property `startPage`
|
|
1457
1271
|
# @return [Fixnum]
|
|
1458
1272
|
attr_accessor :start_page
|
|
@@ -1517,8 +1331,8 @@ module Google
|
|
|
1517
1331
|
class SearchInformation
|
|
1518
1332
|
include Google::Apis::Core::Hashable
|
|
1519
1333
|
|
|
1520
|
-
# The time taken for the server to return search results, formatted
|
|
1521
|
-
#
|
|
1334
|
+
# The time taken for the server to return search results, formatted according to
|
|
1335
|
+
# locale style.
|
|
1522
1336
|
# Corresponds to the JSON property `formattedSearchTime`
|
|
1523
1337
|
# @return [String]
|
|
1524
1338
|
attr_accessor :formatted_search_time
|
|
@@ -1580,16 +1394,13 @@ module Google
|
|
|
1580
1394
|
class Url
|
|
1581
1395
|
include Google::Apis::Core::Hashable
|
|
1582
1396
|
|
|
1583
|
-
# The actual [OpenSearch
|
|
1584
|
-
#
|
|
1585
|
-
# opensearch_url_template_syntax)
|
|
1586
|
-
# for this API.
|
|
1397
|
+
# The actual [OpenSearch template](http://www.opensearch.org/specifications/
|
|
1398
|
+
# opensearch/1.1#opensearch_url_template_syntax) for this API.
|
|
1587
1399
|
# Corresponds to the JSON property `template`
|
|
1588
1400
|
# @return [String]
|
|
1589
1401
|
attr_accessor :template
|
|
1590
1402
|
|
|
1591
|
-
# The MIME type of the OpenSearch URL template for the Custom Search JSON
|
|
1592
|
-
# API.
|
|
1403
|
+
# The MIME type of the OpenSearch URL template for the Custom Search JSON API.
|
|
1593
1404
|
# Corresponds to the JSON property `type`
|
|
1594
1405
|
# @return [String]
|
|
1595
1406
|
attr_accessor :type
|