google-apis-customsearch_v1 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df44d9ab7c60bb2e874c848b90b442153b3f2dd6b18bea058b0892aab2cf01e5
|
4
|
+
data.tar.gz: 41a9186a182fb7dea4cf4d5c024a8559b15ad66bb4f007ac71fe237831b77379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 832c0ce287ef47585e5f36948133a42e4b43f443d8f03547a1d78ae40d530314b9775d43bcdc85528075777f49367aae498f5e68d895a82b8d0953f73586e307
|
7
|
+
data.tar.gz: 6227d606cd3a845002c57adaeaa5a16f3f6a8e2b1e86a2ce35ee14f25aeca9385cf2290f011bf39d93823580f2fef01abeba1648051f04bcb1dd0670963ad0db
|
data/CHANGELOG.md
CHANGED
@@ -26,9 +26,7 @@ module Google
|
|
26
26
|
class Promotion
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# An array of block objects for this promotion.
|
30
|
-
# reference](https://developers.google.com/custom-search/docs/xml_results) for
|
31
|
-
# more information.
|
29
|
+
# An array of block objects for this promotion.
|
32
30
|
# Corresponds to the JSON property `bodyLines`
|
33
31
|
# @return [Array<Google::Apis::CustomsearchV1::Promotion::BodyLine>]
|
34
32
|
attr_accessor :body_lines
|
@@ -191,8 +189,7 @@ module Google
|
|
191
189
|
# @return [String]
|
192
190
|
attr_accessor :kind
|
193
191
|
|
194
|
-
# Encapsulates all information about
|
195
|
-
# google.com/custom-search/docs/xml_results).
|
192
|
+
# Encapsulates all information about refinement labels.
|
196
193
|
# Corresponds to the JSON property `labels`
|
197
194
|
# @return [Array<Google::Apis::CustomsearchV1::Result::Label>]
|
198
195
|
attr_accessor :labels
|
@@ -443,12 +440,12 @@ module Google
|
|
443
440
|
|
444
441
|
# Restricts search results to documents originating in a particular country. You
|
445
442
|
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
446
|
-
#
|
447
|
-
# determines the country of a document by analyzing the following: *
|
448
|
-
# level domain (TLD) of the document's URL. * The geographic location of
|
449
|
-
# server's IP address. See [Country (cr) Parameter Values](https://
|
450
|
-
# google.com/custom-search/docs/
|
451
|
-
# valid values for this parameter.
|
443
|
+
# json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google
|
444
|
+
# WebSearch determines the country of a document by analyzing the following: *
|
445
|
+
# The top-level domain (TLD) of the document's URL. * The geographic location of
|
446
|
+
# the web server's IP address. See [Country (cr) Parameter Values](https://
|
447
|
+
# developers.google.com/custom-search/docs/json_api_reference#countryCollections)
|
448
|
+
# for a list of valid values for this parameter.
|
452
449
|
# Corresponds to the JSON property `cr`
|
453
450
|
# @return [String]
|
454
451
|
attr_accessor :cr
|
@@ -470,8 +467,8 @@ module Google
|
|
470
467
|
attr_accessor :date_restrict
|
471
468
|
|
472
469
|
# Enables or disables the [Simplified and Traditional Chinese Search](https://
|
473
|
-
# developers.google.com/custom-search/docs/
|
474
|
-
# Supported values are: * `0`: enabled (default) * `1`: disabled
|
470
|
+
# developers.google.com/custom-search/docs/json_api_reference#chineseSearch)
|
471
|
+
# feature. Supported values are: * `0`: enabled (default) * `1`: disabled
|
475
472
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
476
473
|
# @return [String]
|
477
474
|
attr_accessor :disable_cn_tw_translation
|
@@ -502,20 +499,21 @@ module Google
|
|
502
499
|
|
503
500
|
# Activates or deactivates the automatic filtering of Google search results. See
|
504
501
|
# [Automatic Filtering](https://developers.google.com/custom-search/docs/
|
505
|
-
#
|
506
|
-
# results filters. Valid values for this parameter are: * `0`: Disabled *
|
507
|
-
# Enabled (default) **Note**: By default, Google applies filtering to all
|
508
|
-
# results to improve the quality of those results.
|
502
|
+
# json_api_reference#automaticFiltering) for more information about Google's
|
503
|
+
# search results filters. Valid values for this parameter are: * `0`: Disabled *
|
504
|
+
# `1`: Enabled (default) **Note**: By default, Google applies filtering to all
|
505
|
+
# search results to improve the quality of those results.
|
509
506
|
# Corresponds to the JSON property `filter`
|
510
507
|
# @return [String]
|
511
508
|
attr_accessor :filter
|
512
509
|
|
513
510
|
# Boosts search results whose country of origin matches the parameter value. See
|
514
|
-
# [Country Codes](https://developers.google.com/custom-search/docs/
|
515
|
-
# countryCodes) for a list of valid values. Specifying a `gl`
|
516
|
-
# WebSearch requests should improve the relevance of results.
|
517
|
-
# particularly true for international customers and, even more
|
518
|
-
# customers in English-speaking countries other than the
|
511
|
+
# [Country Codes](https://developers.google.com/custom-search/docs/
|
512
|
+
# json_api_reference#countryCodes) for a list of valid values. Specifying a `gl`
|
513
|
+
# parameter value in WebSearch requests should improve the relevance of results.
|
514
|
+
# This is particularly true for international customers and, even more
|
515
|
+
# specifically, for customers in English-speaking countries other than the
|
516
|
+
# United States.
|
519
517
|
# Corresponds to the JSON property `gl`
|
520
518
|
# @return [String]
|
521
519
|
attr_accessor :gl
|
@@ -536,12 +534,12 @@ module Google
|
|
536
534
|
# Specifies the interface language (host language) of your user interface.
|
537
535
|
# Explicitly setting this parameter improves the performance and the quality of
|
538
536
|
# your search results. See the [Interface Languages](https://developers.google.
|
539
|
-
# com/custom-search/docs/
|
537
|
+
# com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [
|
540
538
|
# Internationalizing Queries and Results Presentation](https://developers.google.
|
541
|
-
# com/custom-search/docs/
|
542
|
-
# and [Supported Interface Languages](https://developers.google.com/
|
543
|
-
# search/docs/
|
544
|
-
# languages.
|
539
|
+
# com/custom-search/docs/json_api_reference#wsInternationalizing) for more
|
540
|
+
# information, and [Supported Interface Languages](https://developers.google.com/
|
541
|
+
# custom-search/docs/json_api_reference#interfaceLanguages) for a list of
|
542
|
+
# supported languages.
|
545
543
|
# Corresponds to the JSON property `hl`
|
546
544
|
# @return [String]
|
547
545
|
attr_accessor :hl
|
@@ -604,7 +602,8 @@ module Google
|
|
604
602
|
# Provides additional search terms to check for in a document, where each
|
605
603
|
# document in the search results must contain at least one of the additional
|
606
604
|
# search terms. You can also use the [Boolean OR](https://developers.google.com/
|
607
|
-
# custom-search/docs/
|
605
|
+
# custom-search/docs/json_api_reference#BooleanOrSearch) query term for this
|
606
|
+
# type of query.
|
608
607
|
# Corresponds to the JSON property `orTerms`
|
609
608
|
# @return [String]
|
610
609
|
attr_accessor :or_terms
|
@@ -627,8 +626,8 @@ module Google
|
|
627
626
|
attr_accessor :rights
|
628
627
|
|
629
628
|
# Specifies the [SafeSearch level](https://developers.google.com/custom-search/
|
630
|
-
# docs/
|
631
|
-
# is a custom property not defined in the OpenSearch spec. Valid parameter
|
629
|
+
# docs/json_api_reference#safeSearchLevels) used for filtering out adult results.
|
630
|
+
# This is a custom property not defined in the OpenSearch spec. Valid parameter
|
632
631
|
# values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
|
633
632
|
# Corresponds to the JSON property `safe`
|
634
633
|
# @return [String]
|
@@ -741,12 +740,12 @@ module Google
|
|
741
740
|
|
742
741
|
# Restricts search results to documents originating in a particular country. You
|
743
742
|
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
744
|
-
#
|
745
|
-
# determines the country of a document by analyzing the following: *
|
746
|
-
# level domain (TLD) of the document's URL. * The geographic location of
|
747
|
-
# server's IP address. See [Country (cr) Parameter Values](https://
|
748
|
-
# google.com/custom-search/docs/
|
749
|
-
# valid values for this parameter.
|
743
|
+
# json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google
|
744
|
+
# WebSearch determines the country of a document by analyzing the following: *
|
745
|
+
# The top-level domain (TLD) of the document's URL. * The geographic location of
|
746
|
+
# the web server's IP address. See [Country (cr) Parameter Values](https://
|
747
|
+
# developers.google.com/custom-search/docs/json_api_reference#countryCollections)
|
748
|
+
# for a list of valid values for this parameter.
|
750
749
|
# Corresponds to the JSON property `cr`
|
751
750
|
# @return [String]
|
752
751
|
attr_accessor :cr
|
@@ -768,8 +767,8 @@ module Google
|
|
768
767
|
attr_accessor :date_restrict
|
769
768
|
|
770
769
|
# Enables or disables the [Simplified and Traditional Chinese Search](https://
|
771
|
-
# developers.google.com/custom-search/docs/
|
772
|
-
# Supported values are: * `0`: enabled (default) * `1`: disabled
|
770
|
+
# developers.google.com/custom-search/docs/json_api_reference#chineseSearch)
|
771
|
+
# feature. Supported values are: * `0`: enabled (default) * `1`: disabled
|
773
772
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
774
773
|
# @return [String]
|
775
774
|
attr_accessor :disable_cn_tw_translation
|
@@ -800,20 +799,21 @@ module Google
|
|
800
799
|
|
801
800
|
# Activates or deactivates the automatic filtering of Google search results. See
|
802
801
|
# [Automatic Filtering](https://developers.google.com/custom-search/docs/
|
803
|
-
#
|
804
|
-
# results filters. Valid values for this parameter are: * `0`: Disabled *
|
805
|
-
# Enabled (default) **Note**: By default, Google applies filtering to all
|
806
|
-
# results to improve the quality of those results.
|
802
|
+
# json_api_reference#automaticFiltering) for more information about Google's
|
803
|
+
# search results filters. Valid values for this parameter are: * `0`: Disabled *
|
804
|
+
# `1`: Enabled (default) **Note**: By default, Google applies filtering to all
|
805
|
+
# search results to improve the quality of those results.
|
807
806
|
# Corresponds to the JSON property `filter`
|
808
807
|
# @return [String]
|
809
808
|
attr_accessor :filter
|
810
809
|
|
811
810
|
# Boosts search results whose country of origin matches the parameter value. See
|
812
|
-
# [Country Codes](https://developers.google.com/custom-search/docs/
|
813
|
-
# countryCodes) for a list of valid values. Specifying a `gl`
|
814
|
-
# WebSearch requests should improve the relevance of results.
|
815
|
-
# particularly true for international customers and, even more
|
816
|
-
# customers in English-speaking countries other than the
|
811
|
+
# [Country Codes](https://developers.google.com/custom-search/docs/
|
812
|
+
# json_api_reference#countryCodes) for a list of valid values. Specifying a `gl`
|
813
|
+
# parameter value in WebSearch requests should improve the relevance of results.
|
814
|
+
# This is particularly true for international customers and, even more
|
815
|
+
# specifically, for customers in English-speaking countries other than the
|
816
|
+
# United States.
|
817
817
|
# Corresponds to the JSON property `gl`
|
818
818
|
# @return [String]
|
819
819
|
attr_accessor :gl
|
@@ -834,12 +834,12 @@ module Google
|
|
834
834
|
# Specifies the interface language (host language) of your user interface.
|
835
835
|
# Explicitly setting this parameter improves the performance and the quality of
|
836
836
|
# your search results. See the [Interface Languages](https://developers.google.
|
837
|
-
# com/custom-search/docs/
|
837
|
+
# com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [
|
838
838
|
# Internationalizing Queries and Results Presentation](https://developers.google.
|
839
|
-
# com/custom-search/docs/
|
840
|
-
# and [Supported Interface Languages](https://developers.google.com/
|
841
|
-
# search/docs/
|
842
|
-
# languages.
|
839
|
+
# com/custom-search/docs/json_api_reference#wsInternationalizing) for more
|
840
|
+
# information, and [Supported Interface Languages](https://developers.google.com/
|
841
|
+
# custom-search/docs/json_api_reference#interfaceLanguages) for a list of
|
842
|
+
# supported languages.
|
843
843
|
# Corresponds to the JSON property `hl`
|
844
844
|
# @return [String]
|
845
845
|
attr_accessor :hl
|
@@ -902,7 +902,8 @@ module Google
|
|
902
902
|
# Provides additional search terms to check for in a document, where each
|
903
903
|
# document in the search results must contain at least one of the additional
|
904
904
|
# search terms. You can also use the [Boolean OR](https://developers.google.com/
|
905
|
-
# custom-search/docs/
|
905
|
+
# custom-search/docs/json_api_reference#BooleanOrSearch) query term for this
|
906
|
+
# type of query.
|
906
907
|
# Corresponds to the JSON property `orTerms`
|
907
908
|
# @return [String]
|
908
909
|
attr_accessor :or_terms
|
@@ -925,8 +926,8 @@ module Google
|
|
925
926
|
attr_accessor :rights
|
926
927
|
|
927
928
|
# Specifies the [SafeSearch level](https://developers.google.com/custom-search/
|
928
|
-
# docs/
|
929
|
-
# is a custom property not defined in the OpenSearch spec. Valid parameter
|
929
|
+
# docs/json_api_reference#safeSearchLevels) used for filtering out adult results.
|
930
|
+
# This is a custom property not defined in the OpenSearch spec. Valid parameter
|
930
931
|
# values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
|
931
932
|
# Corresponds to the JSON property `safe`
|
932
933
|
# @return [String]
|
@@ -1039,12 +1040,12 @@ module Google
|
|
1039
1040
|
|
1040
1041
|
# Restricts search results to documents originating in a particular country. You
|
1041
1042
|
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
1042
|
-
#
|
1043
|
-
# determines the country of a document by analyzing the following: *
|
1044
|
-
# level domain (TLD) of the document's URL. * The geographic location of
|
1045
|
-
# server's IP address. See [Country (cr) Parameter Values](https://
|
1046
|
-
# google.com/custom-search/docs/
|
1047
|
-
# valid values for this parameter.
|
1043
|
+
# json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google
|
1044
|
+
# WebSearch determines the country of a document by analyzing the following: *
|
1045
|
+
# The top-level domain (TLD) of the document's URL. * The geographic location of
|
1046
|
+
# the web server's IP address. See [Country (cr) Parameter Values](https://
|
1047
|
+
# developers.google.com/custom-search/docs/json_api_reference#countryCollections)
|
1048
|
+
# for a list of valid values for this parameter.
|
1048
1049
|
# Corresponds to the JSON property `cr`
|
1049
1050
|
# @return [String]
|
1050
1051
|
attr_accessor :cr
|
@@ -1066,8 +1067,8 @@ module Google
|
|
1066
1067
|
attr_accessor :date_restrict
|
1067
1068
|
|
1068
1069
|
# Enables or disables the [Simplified and Traditional Chinese Search](https://
|
1069
|
-
# developers.google.com/custom-search/docs/
|
1070
|
-
# Supported values are: * `0`: enabled (default) * `1`: disabled
|
1070
|
+
# developers.google.com/custom-search/docs/json_api_reference#chineseSearch)
|
1071
|
+
# feature. Supported values are: * `0`: enabled (default) * `1`: disabled
|
1071
1072
|
# Corresponds to the JSON property `disableCnTwTranslation`
|
1072
1073
|
# @return [String]
|
1073
1074
|
attr_accessor :disable_cn_tw_translation
|
@@ -1098,20 +1099,21 @@ module Google
|
|
1098
1099
|
|
1099
1100
|
# Activates or deactivates the automatic filtering of Google search results. See
|
1100
1101
|
# [Automatic Filtering](https://developers.google.com/custom-search/docs/
|
1101
|
-
#
|
1102
|
-
# results filters. Valid values for this parameter are: * `0`: Disabled *
|
1103
|
-
# Enabled (default) **Note**: By default, Google applies filtering to all
|
1104
|
-
# results to improve the quality of those results.
|
1102
|
+
# json_api_reference#automaticFiltering) for more information about Google's
|
1103
|
+
# search results filters. Valid values for this parameter are: * `0`: Disabled *
|
1104
|
+
# `1`: Enabled (default) **Note**: By default, Google applies filtering to all
|
1105
|
+
# search results to improve the quality of those results.
|
1105
1106
|
# Corresponds to the JSON property `filter`
|
1106
1107
|
# @return [String]
|
1107
1108
|
attr_accessor :filter
|
1108
1109
|
|
1109
1110
|
# Boosts search results whose country of origin matches the parameter value. See
|
1110
|
-
# [Country Codes](https://developers.google.com/custom-search/docs/
|
1111
|
-
# countryCodes) for a list of valid values. Specifying a `gl`
|
1112
|
-
# WebSearch requests should improve the relevance of results.
|
1113
|
-
# particularly true for international customers and, even more
|
1114
|
-
# customers in English-speaking countries other than the
|
1111
|
+
# [Country Codes](https://developers.google.com/custom-search/docs/
|
1112
|
+
# json_api_reference#countryCodes) for a list of valid values. Specifying a `gl`
|
1113
|
+
# parameter value in WebSearch requests should improve the relevance of results.
|
1114
|
+
# This is particularly true for international customers and, even more
|
1115
|
+
# specifically, for customers in English-speaking countries other than the
|
1116
|
+
# United States.
|
1115
1117
|
# Corresponds to the JSON property `gl`
|
1116
1118
|
# @return [String]
|
1117
1119
|
attr_accessor :gl
|
@@ -1132,12 +1134,12 @@ module Google
|
|
1132
1134
|
# Specifies the interface language (host language) of your user interface.
|
1133
1135
|
# Explicitly setting this parameter improves the performance and the quality of
|
1134
1136
|
# your search results. See the [Interface Languages](https://developers.google.
|
1135
|
-
# com/custom-search/docs/
|
1137
|
+
# com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [
|
1136
1138
|
# Internationalizing Queries and Results Presentation](https://developers.google.
|
1137
|
-
# com/custom-search/docs/
|
1138
|
-
# and [Supported Interface Languages](https://developers.google.com/
|
1139
|
-
# search/docs/
|
1140
|
-
# languages.
|
1139
|
+
# com/custom-search/docs/json_api_reference#wsInternationalizing) for more
|
1140
|
+
# information, and [Supported Interface Languages](https://developers.google.com/
|
1141
|
+
# custom-search/docs/json_api_reference#interfaceLanguages) for a list of
|
1142
|
+
# supported languages.
|
1141
1143
|
# Corresponds to the JSON property `hl`
|
1142
1144
|
# @return [String]
|
1143
1145
|
attr_accessor :hl
|
@@ -1200,7 +1202,8 @@ module Google
|
|
1200
1202
|
# Provides additional search terms to check for in a document, where each
|
1201
1203
|
# document in the search results must contain at least one of the additional
|
1202
1204
|
# search terms. You can also use the [Boolean OR](https://developers.google.com/
|
1203
|
-
# custom-search/docs/
|
1205
|
+
# custom-search/docs/json_api_reference#BooleanOrSearch) query term for this
|
1206
|
+
# type of query.
|
1204
1207
|
# Corresponds to the JSON property `orTerms`
|
1205
1208
|
# @return [String]
|
1206
1209
|
attr_accessor :or_terms
|
@@ -1223,8 +1226,8 @@ module Google
|
|
1223
1226
|
attr_accessor :rights
|
1224
1227
|
|
1225
1228
|
# Specifies the [SafeSearch level](https://developers.google.com/custom-search/
|
1226
|
-
# docs/
|
1227
|
-
# is a custom property not defined in the OpenSearch spec. Valid parameter
|
1229
|
+
# docs/json_api_reference#safeSearchLevels) used for filtering out adult results.
|
1230
|
+
# This is a custom property not defined in the OpenSearch spec. Valid parameter
|
1228
1231
|
# values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
|
1229
1232
|
# Corresponds to the JSON property `safe`
|
1230
1233
|
# @return [String]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CustomsearchV1
|
18
18
|
# Version of the google-apis-customsearch_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210918"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -53,18 +53,18 @@ module Google
|
|
53
53
|
# for the search, and the search results.
|
54
54
|
# @param [String] c2coff
|
55
55
|
# Enables or disables [Simplified and Traditional Chinese Search](https://
|
56
|
-
# developers.google.com/custom-search/docs/
|
57
|
-
# default value for this parameter is 0 (zero), meaning that the feature is
|
56
|
+
# developers.google.com/custom-search/docs/json_api_reference#chineseSearch).
|
57
|
+
# The default value for this parameter is 0 (zero), meaning that the feature is
|
58
58
|
# enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)
|
59
59
|
# @param [String] cr
|
60
60
|
# Restricts search results to documents originating in a particular country. You
|
61
61
|
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
62
|
-
#
|
62
|
+
# json_api_reference#booleanOperators) in the cr parameter's value. Google
|
63
63
|
# Search determines the country of a document by analyzing: * the top-level
|
64
64
|
# domain (TLD) of the document's URL * the geographic location of the Web server'
|
65
65
|
# s IP address See the [Country Parameter Values](https://developers.google.com/
|
66
|
-
# custom-search/docs/
|
67
|
-
#
|
66
|
+
# custom-search/docs/json_api_reference#countryCollections) page for a list of
|
67
|
+
# valid values for this parameter.
|
68
68
|
# @param [String] cx
|
69
69
|
# The Programmable Search Engine ID to use for this request.
|
70
70
|
# @param [String] date_restrict
|
@@ -84,7 +84,7 @@ module Google
|
|
84
84
|
# support.google.com/webmasters/answer/35287).
|
85
85
|
# @param [String] filter
|
86
86
|
# Controls turning on or off the duplicate content filter. * See [Automatic
|
87
|
-
# Filtering](https://developers.google.com/custom-search/docs/
|
87
|
+
# Filtering](https://developers.google.com/custom-search/docs/json_api_reference#
|
88
88
|
# automaticFiltering) for more information about Google's search results filters.
|
89
89
|
# Note that host crowding filtering applies only to multi-site searches. * By
|
90
90
|
# default, Google applies filtering to all search results to improve the quality
|
@@ -94,8 +94,8 @@ module Google
|
|
94
94
|
# Geolocation of end user. * The `gl` parameter value is a two-letter country
|
95
95
|
# code. The `gl` parameter boosts search results whose country of origin matches
|
96
96
|
# the parameter value. See the [Country Codes](https://developers.google.com/
|
97
|
-
# custom-search/docs/
|
98
|
-
#
|
97
|
+
# custom-search/docs/json_api_reference#countryCodes) page for a list of valid
|
98
|
+
# values. * Specifying a `gl` parameter value should lead to more relevant
|
99
99
|
# results. This is particularly true for international customers and, even more
|
100
100
|
# specifically, for customers in English- speaking countries other than the
|
101
101
|
# United States.
|
@@ -109,12 +109,12 @@ module Google
|
|
109
109
|
# @param [String] hl
|
110
110
|
# Sets the user interface language. * Explicitly setting this parameter improves
|
111
111
|
# the performance and the quality of your search results. * See the [Interface
|
112
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
112
|
+
# Languages](https://developers.google.com/custom-search/docs/json_api_reference#
|
113
113
|
# wsInterfaceLanguages) section of [Internationalizing Queries and Results
|
114
|
-
# Presentation](https://developers.google.com/custom-search/docs/
|
115
|
-
# wsInternationalizing) for more information, and
|
116
|
-
#
|
117
|
-
# interfaceLanguages
|
114
|
+
# Presentation](https://developers.google.com/custom-search/docs/
|
115
|
+
# json_api_reference#wsInternationalizing) for more information, and [Supported
|
116
|
+
# Interface Languages](https://developers.google.com/custom-search/docs/
|
117
|
+
# json_api_reference#interfaceLanguages) for a list of supported languages.
|
118
118
|
# @param [String] hq
|
119
119
|
# Appends the specified query terms to the query, as if they were combined with
|
120
120
|
# a logical AND operator.
|
@@ -254,18 +254,18 @@ module Google
|
|
254
254
|
# for the search, and the search results. Uses a small set of url patterns.
|
255
255
|
# @param [String] c2coff
|
256
256
|
# Enables or disables [Simplified and Traditional Chinese Search](https://
|
257
|
-
# developers.google.com/custom-search/docs/
|
258
|
-
# default value for this parameter is 0 (zero), meaning that the feature is
|
257
|
+
# developers.google.com/custom-search/docs/json_api_reference#chineseSearch).
|
258
|
+
# The default value for this parameter is 0 (zero), meaning that the feature is
|
259
259
|
# enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)
|
260
260
|
# @param [String] cr
|
261
261
|
# Restricts search results to documents originating in a particular country. You
|
262
262
|
# may use [Boolean operators](https://developers.google.com/custom-search/docs/
|
263
|
-
#
|
263
|
+
# json_api_reference#booleanOperators) in the cr parameter's value. Google
|
264
264
|
# Search determines the country of a document by analyzing: * the top-level
|
265
265
|
# domain (TLD) of the document's URL * the geographic location of the Web server'
|
266
266
|
# s IP address See the [Country Parameter Values](https://developers.google.com/
|
267
|
-
# custom-search/docs/
|
268
|
-
#
|
267
|
+
# custom-search/docs/json_api_reference#countryCollections) page for a list of
|
268
|
+
# valid values for this parameter.
|
269
269
|
# @param [String] cx
|
270
270
|
# The Programmable Search Engine ID to use for this request.
|
271
271
|
# @param [String] date_restrict
|
@@ -285,7 +285,7 @@ module Google
|
|
285
285
|
# support.google.com/webmasters/answer/35287).
|
286
286
|
# @param [String] filter
|
287
287
|
# Controls turning on or off the duplicate content filter. * See [Automatic
|
288
|
-
# Filtering](https://developers.google.com/custom-search/docs/
|
288
|
+
# Filtering](https://developers.google.com/custom-search/docs/json_api_reference#
|
289
289
|
# automaticFiltering) for more information about Google's search results filters.
|
290
290
|
# Note that host crowding filtering applies only to multi-site searches. * By
|
291
291
|
# default, Google applies filtering to all search results to improve the quality
|
@@ -295,8 +295,8 @@ module Google
|
|
295
295
|
# Geolocation of end user. * The `gl` parameter value is a two-letter country
|
296
296
|
# code. The `gl` parameter boosts search results whose country of origin matches
|
297
297
|
# the parameter value. See the [Country Codes](https://developers.google.com/
|
298
|
-
# custom-search/docs/
|
299
|
-
#
|
298
|
+
# custom-search/docs/json_api_reference#countryCodes) page for a list of valid
|
299
|
+
# values. * Specifying a `gl` parameter value should lead to more relevant
|
300
300
|
# results. This is particularly true for international customers and, even more
|
301
301
|
# specifically, for customers in English- speaking countries other than the
|
302
302
|
# United States.
|
@@ -310,12 +310,12 @@ module Google
|
|
310
310
|
# @param [String] hl
|
311
311
|
# Sets the user interface language. * Explicitly setting this parameter improves
|
312
312
|
# the performance and the quality of your search results. * See the [Interface
|
313
|
-
# Languages](https://developers.google.com/custom-search/docs/
|
313
|
+
# Languages](https://developers.google.com/custom-search/docs/json_api_reference#
|
314
314
|
# wsInterfaceLanguages) section of [Internationalizing Queries and Results
|
315
|
-
# Presentation](https://developers.google.com/custom-search/docs/
|
316
|
-
# wsInternationalizing) for more information, and
|
317
|
-
#
|
318
|
-
# interfaceLanguages
|
315
|
+
# Presentation](https://developers.google.com/custom-search/docs/
|
316
|
+
# json_api_reference#wsInternationalizing) for more information, and [Supported
|
317
|
+
# Interface Languages](https://developers.google.com/custom-search/docs/
|
318
|
+
# json_api_reference#interfaceLanguages) for a list of supported languages.
|
319
319
|
# @param [String] hq
|
320
320
|
# Appends the specified query terms to the query, as if they were combined with
|
321
321
|
# a logical AND operator.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-customsearch_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-customsearch_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-customsearch_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|