google-apis-customsearch_v1 0.3.0 → 0.7.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: afb23c5b47a33564cf5f44fa1212d3f2afe9e17a1d583d51b70dd224bf0adf1a
4
- data.tar.gz: 207207f2d66cf4f76921b5d00abf47f8ec9026ccb8a2ef8c99884e819f6c23b3
3
+ metadata.gz: bb90bdf67db3d9c0d92c293bde11c51fc7a46eedc50e06ec6a483e902b34e9de
4
+ data.tar.gz: 61311c6d4c2a9db92303e017532e143e2e107f5f43bb0be568c29090481a96b0
5
5
  SHA512:
6
- metadata.gz: 5dbbe682b158c39ebb7d5a474ecff59305dd42f56ea0d9a50bc72be3e50a016fafac530e450a78d426cd37d53ba1a944385f941570ba27c38f07e736342d0af6
7
- data.tar.gz: ffcd5c5925d4552d790bb2ae7143c4276c5ef9571e1fe99304e2ba3fb52c8c372dd47744f1209b6f7059f94a3957b08549fb05eb81a808b3513a241f7868d3f0
6
+ metadata.gz: 39337f0a6f2ae90ed87a7d0e0e6aa7cb6b48a2398eb77c16868d7dcfe3527e1dd9c0559c23f5f67a43ea49961e945873aedf692152193fc52c2ab11b9550caa3
7
+ data.tar.gz: 2f0751b7756cdca7fdc01f1caf79330af6388f847a8a91bad0d37a640bcd005b4c247af22b8d92b44584b13e633c11e2c746cacc7e1812d9b4303090940530fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-customsearch_v1
2
2
 
3
+ ### v0.7.0 (2021-10-20)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-09-21)
8
+
9
+ * Regenerated from discovery document revision 20210918
10
+
11
+ ### v0.5.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.4.0 (2021-06-24)
16
+
17
+ * Regenerated using generator version 0.3.0
18
+
3
19
  ### v0.3.0 (2021-05-19)
4
20
 
5
21
  * Regenerated using generator version 0.2.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Customsearch service in particular.)
67
67
 
@@ -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. See [Google WebSearch Protocol
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 [refinement labels](https://developers.
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
- # 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.
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/xml_results#chineseSearch) feature.
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
- # 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.
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/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.
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/xml_results#wsInterfaceLanguages) section of [
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/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.
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/xml_results#BooleanOrqt) query term for this type of query.
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/xml_results#safeSearchLevels) used for filtering out adult results. This
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
- # 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.
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/xml_results#chineseSearch) feature.
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
- # 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.
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/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.
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/xml_results#wsInterfaceLanguages) section of [
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/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.
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/xml_results#BooleanOrqt) query term for this type of query.
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/xml_results#safeSearchLevels) used for filtering out adult results. This
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
- # 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.
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/xml_results#chineseSearch) feature.
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
- # 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.
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/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.
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/xml_results#wsInterfaceLanguages) section of [
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/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.
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/xml_results#BooleanOrqt) query term for this type of query.
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/xml_results#safeSearchLevels) used for filtering out adult results. This
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.3.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20200917"
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/xml_results#chineseSearch). The
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
- # xml_results_appendices#booleanOperators) in the cr parameter's value. Google
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/xml_results_appendices#countryCollections) page for a list
67
- # of valid values for this parameter.
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/xml_results#
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/xml_results_appendices#countryCodes) page for a list of
98
- # valid values. * Specifying a `gl` parameter value should lead to more relevant
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/xml_results#
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/xml_results#
115
- # wsInternationalizing) for more information, and (Supported Interface Languages)
116
- # [https://developers.google.com/custom-search/docs/xml_results_appendices#
117
- # interfaceLanguages] for a list of supported languages.
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/xml_results#chineseSearch). The
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
- # xml_results_appendices#booleanOperators) in the cr parameter's value. Google
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/xml_results_appendices#countryCollections) page for a list
268
- # of valid values for this parameter.
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/xml_results#
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/xml_results_appendices#countryCodes) page for a list of
299
- # valid values. * Specifying a `gl` parameter value should lead to more relevant
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/xml_results#
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/xml_results#
316
- # wsInternationalizing) for more information, and (Supported Interface Languages)
317
- # [https://developers.google.com/custom-search/docs/xml_results_appendices#
318
- # interfaceLanguages] for a list of supported languages.
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-customsearch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.7.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Custom Search API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -51,9 +57,9 @@ licenses:
51
57
  - Apache-2.0
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-customsearch_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.3.0
56
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-customsearch_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-customsearch_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.7.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-customsearch_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
59
65
  require_paths: