google-apis-cloudsearch_v1 0.64.0 → 0.66.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudsearch_v1/classes.rb +35 -46
- data/lib/google/apis/cloudsearch_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudsearch_v1/representations.rb +3 -16
- data/lib/google/apis/cloudsearch_v1/service.rb +42 -65
- data/lib/google/apis/cloudsearch_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e23179da147cd0d4125523d3a3caa87f55ac3cd9152bdb5b58e3f9865f35d11
|
|
4
|
+
data.tar.gz: 30f2bf79a08b08ee359cdb23abb55b902b7b91eaa06620f8c3ae0df8edf323a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4874de12e02988292d2b4b044010bbad4c325a24739a45502e0eb508471cd411a2d71a09090e9b924bd4cdd4939cbaafd3c13393836d325770eb01826f1f3ffa
|
|
7
|
+
data.tar.gz: 11c392e24c41b27a096db2b0f23217d72ce632730d0cf0c6792bb7193d71c94d7cb6ac0b290107e6153f113919e2baa9871c25e4cba4e17c065a08adfc9cb3fb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-cloudsearch_v1
|
|
2
2
|
|
|
3
|
+
### v0.66.0 (2026-01-25)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260114
|
|
6
|
+
|
|
7
|
+
### v0.65.0 (2026-01-18)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260107
|
|
10
|
+
* Regenerated using generator version 0.18.0
|
|
11
|
+
|
|
3
12
|
### v0.64.0 (2025-05-04)
|
|
4
13
|
|
|
5
14
|
* Regenerated using generator version 0.17.0
|
data/OVERVIEW.md
CHANGED
|
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
|
79
79
|
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
|
81
81
|
|
|
82
|
-
The [product documentation](https://developers.google.com/cloud-search/docs/guides/) may provide guidance regarding the preferred client library to use.
|
|
82
|
+
The [product documentation](https://developers.google.com/workspace/cloud-search/docs/guides/) may provide guidance regarding the preferred client library to use.
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
@@ -855,39 +855,6 @@ module Google
|
|
|
855
855
|
end
|
|
856
856
|
end
|
|
857
857
|
|
|
858
|
-
# Debug Search Response.
|
|
859
|
-
class DebugResponse
|
|
860
|
-
include Google::Apis::Core::Hashable
|
|
861
|
-
|
|
862
|
-
# Serialized string of GenericSearchRequest.
|
|
863
|
-
# Corresponds to the JSON property `gsrRequest`
|
|
864
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
865
|
-
# @return [String]
|
|
866
|
-
attr_accessor :gsr_request
|
|
867
|
-
|
|
868
|
-
# Serialized string of GenericSearchResponse.
|
|
869
|
-
# Corresponds to the JSON property `gsrResponse`
|
|
870
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
871
|
-
# @return [String]
|
|
872
|
-
attr_accessor :gsr_response
|
|
873
|
-
|
|
874
|
-
# The search API response. NEXT ID: 17
|
|
875
|
-
# Corresponds to the JSON property `searchResponse`
|
|
876
|
-
# @return [Google::Apis::CloudsearchV1::SearchResponse]
|
|
877
|
-
attr_accessor :search_response
|
|
878
|
-
|
|
879
|
-
def initialize(**args)
|
|
880
|
-
update!(**args)
|
|
881
|
-
end
|
|
882
|
-
|
|
883
|
-
# Update properties of this object
|
|
884
|
-
def update!(**args)
|
|
885
|
-
@gsr_request = args[:gsr_request] if args.key?(:gsr_request)
|
|
886
|
-
@gsr_response = args[:gsr_response] if args.key?(:gsr_response)
|
|
887
|
-
@search_response = args[:search_response] if args.key?(:search_response)
|
|
888
|
-
end
|
|
889
|
-
end
|
|
890
|
-
|
|
891
858
|
#
|
|
892
859
|
class DeleteQueueItemsRequest
|
|
893
860
|
include Google::Apis::Core::Hashable
|
|
@@ -4119,7 +4086,7 @@ module Google
|
|
|
4119
4086
|
include Google::Apis::Core::Hashable
|
|
4120
4087
|
|
|
4121
4088
|
# Access control list information for the item. For more information see [Map
|
|
4122
|
-
# ACLs](https://developers.google.com/cloud-search/docs/guides/acls).
|
|
4089
|
+
# ACLs](https://developers.google.com/workspace/cloud-search/docs/guides/acls).
|
|
4123
4090
|
# Corresponds to the JSON property `acl`
|
|
4124
4091
|
# @return [Google::Apis::CloudsearchV1::ItemAcl]
|
|
4125
4092
|
attr_accessor :acl
|
|
@@ -4175,8 +4142,8 @@ module Google
|
|
|
4175
4142
|
# queued item with a version value that is less than or equal to the version of
|
|
4176
4143
|
# the currently indexed item. The maximum length for this field is 1024 bytes.
|
|
4177
4144
|
# For information on how item version affects the deletion process, refer to [
|
|
4178
|
-
# Handle revisions after manual deletes](https://developers.google.com/
|
|
4179
|
-
# search/docs/guides/operations).
|
|
4145
|
+
# Handle revisions after manual deletes](https://developers.google.com/workspace/
|
|
4146
|
+
# cloud-search/docs/guides/operations).
|
|
4180
4147
|
# Corresponds to the JSON property `version`
|
|
4181
4148
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
4182
4149
|
# @return [String]
|
|
@@ -4202,7 +4169,7 @@ module Google
|
|
|
4202
4169
|
end
|
|
4203
4170
|
|
|
4204
4171
|
# Access control list information for the item. For more information see [Map
|
|
4205
|
-
# ACLs](https://developers.google.com/cloud-search/docs/guides/acls).
|
|
4172
|
+
# ACLs](https://developers.google.com/workspace/cloud-search/docs/guides/acls).
|
|
4206
4173
|
class ItemAcl
|
|
4207
4174
|
include Google::Apis::Core::Hashable
|
|
4208
4175
|
|
|
@@ -4602,6 +4569,14 @@ module Google
|
|
|
4602
4569
|
# @return [Array<Google::Apis::CloudsearchV1::Operation>]
|
|
4603
4570
|
attr_accessor :operations
|
|
4604
4571
|
|
|
4572
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
4573
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
4574
|
+
# For example, when attempting to list all resources across all supported
|
|
4575
|
+
# locations.
|
|
4576
|
+
# Corresponds to the JSON property `unreachable`
|
|
4577
|
+
# @return [Array<String>]
|
|
4578
|
+
attr_accessor :unreachable
|
|
4579
|
+
|
|
4605
4580
|
def initialize(**args)
|
|
4606
4581
|
update!(**args)
|
|
4607
4582
|
end
|
|
@@ -4610,6 +4585,7 @@ module Google
|
|
|
4610
4585
|
def update!(**args)
|
|
4611
4586
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4612
4587
|
@operations = args[:operations] if args.key?(:operations)
|
|
4588
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
4613
4589
|
end
|
|
4614
4590
|
end
|
|
4615
4591
|
|
|
@@ -5844,7 +5820,8 @@ module Google
|
|
|
5844
5820
|
# supported for Text properties. IsReturnable must be true to set this option.
|
|
5845
5821
|
# In a given datasource maximum of 5 properties can be marked as
|
|
5846
5822
|
# is_wildcard_searchable. For more details, see [Define object properties](https:
|
|
5847
|
-
# //developers.google.com/cloud-search/docs/guides/schema-guide#
|
|
5823
|
+
# //developers.google.com/workspace/cloud-search/docs/guides/schema-guide#
|
|
5824
|
+
# properties)
|
|
5848
5825
|
# Corresponds to the JSON property `isWildcardSearchable`
|
|
5849
5826
|
# @return [Boolean]
|
|
5850
5827
|
attr_accessor :is_wildcard_searchable
|
|
@@ -6088,6 +6065,16 @@ module Google
|
|
|
6088
6065
|
# @return [String]
|
|
6089
6066
|
attr_accessor :interpreted_query
|
|
6090
6067
|
|
|
6068
|
+
# The actual number of results returned by the interpreted query.
|
|
6069
|
+
# Corresponds to the JSON property `interpretedQueryActualResultCount`
|
|
6070
|
+
# @return [Fixnum]
|
|
6071
|
+
attr_accessor :interpreted_query_actual_result_count
|
|
6072
|
+
|
|
6073
|
+
# The estimated number of results returned by the interpreted query.
|
|
6074
|
+
# Corresponds to the JSON property `interpretedQueryEstimatedResultCount`
|
|
6075
|
+
# @return [Fixnum]
|
|
6076
|
+
attr_accessor :interpreted_query_estimated_result_count
|
|
6077
|
+
|
|
6091
6078
|
# The reason for interpretation of the query. This field will not be UNSPECIFIED
|
|
6092
6079
|
# if the interpretation type is not NONE.
|
|
6093
6080
|
# Corresponds to the JSON property `reason`
|
|
@@ -6102,6 +6089,8 @@ module Google
|
|
|
6102
6089
|
def update!(**args)
|
|
6103
6090
|
@interpretation_type = args[:interpretation_type] if args.key?(:interpretation_type)
|
|
6104
6091
|
@interpreted_query = args[:interpreted_query] if args.key?(:interpreted_query)
|
|
6092
|
+
@interpreted_query_actual_result_count = args[:interpreted_query_actual_result_count] if args.key?(:interpreted_query_actual_result_count)
|
|
6093
|
+
@interpreted_query_estimated_result_count = args[:interpreted_query_estimated_result_count] if args.key?(:interpreted_query_estimated_result_count)
|
|
6105
6094
|
@reason = args[:reason] if args.key?(:reason)
|
|
6106
6095
|
end
|
|
6107
6096
|
end
|
|
@@ -7058,7 +7047,7 @@ module Google
|
|
|
7058
7047
|
end
|
|
7059
7048
|
end
|
|
7060
7049
|
|
|
7061
|
-
# The search API request. NEXT ID:
|
|
7050
|
+
# The search API request. NEXT ID: 24
|
|
7062
7051
|
class SearchRequest
|
|
7063
7052
|
include Google::Apis::Core::Hashable
|
|
7064
7053
|
|
|
@@ -7130,7 +7119,7 @@ module Google
|
|
|
7130
7119
|
end
|
|
7131
7120
|
end
|
|
7132
7121
|
|
|
7133
|
-
# The search API response. NEXT ID:
|
|
7122
|
+
# The search API response. NEXT ID: 19
|
|
7134
7123
|
class SearchResponse
|
|
7135
7124
|
include Google::Apis::Core::Hashable
|
|
7136
7125
|
|
|
@@ -7212,7 +7201,7 @@ module Google
|
|
|
7212
7201
|
end
|
|
7213
7202
|
end
|
|
7214
7203
|
|
|
7215
|
-
# Results containing indexed information for a document.
|
|
7204
|
+
# Results containing indexed information for a document. Next ID: 16
|
|
7216
7205
|
class SearchResult
|
|
7217
7206
|
include Google::Apis::Core::Hashable
|
|
7218
7207
|
|
|
@@ -8005,11 +7994,11 @@ module Google
|
|
|
8005
7994
|
attr_accessor :source
|
|
8006
7995
|
|
|
8007
7996
|
# Only applies to [`settings.datasources.patch`](https://developers.google.com/
|
|
8008
|
-
# cloud-search/docs/reference/rest/v1/settings.datasources/patch).
|
|
8009
|
-
# to control which fields to update. Example field paths: `name`, `
|
|
8010
|
-
# * If `update_mask` is non-empty, then only the fields specified
|
|
8011
|
-
# update_mask` are updated. * If you specify a field in the `update_mask
|
|
8012
|
-
# don't specify its value in the source, that field is cleared. * If the `
|
|
7997
|
+
# workspace/cloud-search/docs/reference/rest/v1/settings.datasources/patch).
|
|
7998
|
+
# Update mask to control which fields to update. Example field paths: `name`, `
|
|
7999
|
+
# displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
8000
|
+
# in the `update_mask` are updated. * If you specify a field in the `update_mask`
|
|
8001
|
+
# , but don't specify its value in the source, that field is cleared. * If the `
|
|
8013
8002
|
# update_mask` is not present or empty or has the value `*`, then all fields are
|
|
8014
8003
|
# updated.
|
|
8015
8004
|
# Corresponds to the JSON property `updateMask`
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CloudsearchV1
|
|
18
18
|
# Version of the google-apis-cloudsearch_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.66.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260114"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -166,12 +166,6 @@ module Google
|
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
-
class DebugResponse
|
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
-
|
|
172
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
-
end
|
|
174
|
-
|
|
175
169
|
class DeleteQueueItemsRequest
|
|
176
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
171
|
|
|
@@ -1598,16 +1592,6 @@ module Google
|
|
|
1598
1592
|
end
|
|
1599
1593
|
end
|
|
1600
1594
|
|
|
1601
|
-
class DebugResponse
|
|
1602
|
-
# @private
|
|
1603
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1604
|
-
property :gsr_request, :base64 => true, as: 'gsrRequest'
|
|
1605
|
-
property :gsr_response, :base64 => true, as: 'gsrResponse'
|
|
1606
|
-
property :search_response, as: 'searchResponse', class: Google::Apis::CloudsearchV1::SearchResponse, decorator: Google::Apis::CloudsearchV1::SearchResponse::Representation
|
|
1607
|
-
|
|
1608
|
-
end
|
|
1609
|
-
end
|
|
1610
|
-
|
|
1611
1595
|
class DeleteQueueItemsRequest
|
|
1612
1596
|
# @private
|
|
1613
1597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2692,6 +2676,7 @@ module Google
|
|
|
2692
2676
|
property :next_page_token, as: 'nextPageToken'
|
|
2693
2677
|
collection :operations, as: 'operations', class: Google::Apis::CloudsearchV1::Operation, decorator: Google::Apis::CloudsearchV1::Operation::Representation
|
|
2694
2678
|
|
|
2679
|
+
collection :unreachable, as: 'unreachable'
|
|
2695
2680
|
end
|
|
2696
2681
|
end
|
|
2697
2682
|
|
|
@@ -3104,6 +3089,8 @@ module Google
|
|
|
3104
3089
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3105
3090
|
property :interpretation_type, as: 'interpretationType'
|
|
3106
3091
|
property :interpreted_query, as: 'interpretedQuery'
|
|
3092
|
+
property :interpreted_query_actual_result_count, as: 'interpretedQueryActualResultCount'
|
|
3093
|
+
property :interpreted_query_estimated_result_count, :numeric_string => true, as: 'interpretedQueryEstimatedResultCount'
|
|
3107
3094
|
property :reason, as: 'reason'
|
|
3108
3095
|
end
|
|
3109
3096
|
end
|
|
@@ -32,7 +32,7 @@ module Google
|
|
|
32
32
|
# Cloudsearch = Google::Apis::CloudsearchV1 # Alias the module
|
|
33
33
|
# service = Cloudsearch::CloudSearchService.new
|
|
34
34
|
#
|
|
35
|
-
# @see https://developers.google.com/cloud-search/docs/guides/
|
|
35
|
+
# @see https://developers.google.com/workspace/cloud-search/docs/guides/
|
|
36
36
|
class CloudSearchService < Google::Apis::Core::BaseService
|
|
37
37
|
DEFAULT_ENDPOINT_TEMPLATE = "https://cloudsearch.$UNIVERSE_DOMAIN$/"
|
|
38
38
|
|
|
@@ -387,8 +387,8 @@ module Google
|
|
|
387
387
|
# version value that is less than or equal to the version of the currently
|
|
388
388
|
# indexed item. The maximum length for this field is 1024 bytes. For information
|
|
389
389
|
# on how item version affects the deletion process, refer to [Handle revisions
|
|
390
|
-
# after manual deletes](https://developers.google.com/cloud-search/
|
|
391
|
-
# operations).
|
|
390
|
+
# after manual deletes](https://developers.google.com/workspace/cloud-search/
|
|
391
|
+
# docs/guides/operations).
|
|
392
392
|
# @param [String] fields
|
|
393
393
|
# Selector specifying which fields to include in a partial response.
|
|
394
394
|
# @param [String] quota_user
|
|
@@ -746,8 +746,8 @@ module Google
|
|
|
746
746
|
|
|
747
747
|
# Uploads media for indexing. The upload endpoint supports direct and resumable
|
|
748
748
|
# upload protocols and is intended for large items that can not be [inlined
|
|
749
|
-
# during index requests](https://developers.google.com/cloud-search/
|
|
750
|
-
# reference/rest/v1/indexing.datasources.items#itemcontent). To index large
|
|
749
|
+
# during index requests](https://developers.google.com/workspace/cloud-search/
|
|
750
|
+
# docs/reference/rest/v1/indexing.datasources.items#itemcontent). To index large
|
|
751
751
|
# content: 1. Call indexing.datasources.items.upload with the item name to begin
|
|
752
752
|
# an upload session and retrieve the UploadItemRef. 1. Call media.upload to
|
|
753
753
|
# upload the content, as a streaming request, using the same resource name from
|
|
@@ -755,8 +755,8 @@ module Google
|
|
|
755
755
|
# index the item. Populate the [ItemContent](/cloud-search/docs/reference/rest/
|
|
756
756
|
# v1/indexing.datasources.items#ItemContent) with the UploadItemRef from step 1.
|
|
757
757
|
# For additional information, see [Create a content connector using the REST API]
|
|
758
|
-
# (https://developers.google.com/cloud-search/docs/guides/content-
|
|
759
|
-
# . **Note:** This API requires a service account to execute.
|
|
758
|
+
# (https://developers.google.com/workspace/cloud-search/docs/guides/content-
|
|
759
|
+
# connector#rest). **Note:** This API requires a service account to execute.
|
|
760
760
|
# @param [String] resource_name
|
|
761
761
|
# Name of the media that is being downloaded. See ReadRequest.resource_name.
|
|
762
762
|
# @param [Google::Apis::CloudsearchV1::Media] media_object
|
|
@@ -840,6 +840,14 @@ module Google
|
|
|
840
840
|
# The standard list page size.
|
|
841
841
|
# @param [String] page_token
|
|
842
842
|
# The standard list page token.
|
|
843
|
+
# @param [Boolean] return_partial_success
|
|
844
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
845
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
846
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
847
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
848
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
849
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
850
|
+
# documentation.
|
|
843
851
|
# @param [String] fields
|
|
844
852
|
# Selector specifying which fields to include in a partial response.
|
|
845
853
|
# @param [String] quota_user
|
|
@@ -857,7 +865,7 @@ module Google
|
|
|
857
865
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
858
866
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
859
867
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
860
|
-
def list_operation_lros(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
868
|
+
def list_operation_lros(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
861
869
|
command = make_simple_command(:get, 'v1/{+name}/lro', options)
|
|
862
870
|
command.response_representation = Google::Apis::CloudsearchV1::ListOperationsResponse::Representation
|
|
863
871
|
command.response_class = Google::Apis::CloudsearchV1::ListOperationsResponse
|
|
@@ -865,40 +873,7 @@ module Google
|
|
|
865
873
|
command.query['filter'] = filter unless filter.nil?
|
|
866
874
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
867
875
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
868
|
-
command.query['
|
|
869
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
870
|
-
execute_or_queue_command(command, &block)
|
|
871
|
-
end
|
|
872
|
-
|
|
873
|
-
# Returns Debug information for Cloud Search Query API provides the search
|
|
874
|
-
# method. **Note:** This API requires a standard end user account to execute. A
|
|
875
|
-
# service account can't perform Query API requests directly; to use a service
|
|
876
|
-
# account to perform queries, set up [Google Workspace domain-wide delegation of
|
|
877
|
-
# authority](https://developers.google.com/cloud-search/docs/guides/delegation/).
|
|
878
|
-
# @param [Google::Apis::CloudsearchV1::SearchRequest] search_request_object
|
|
879
|
-
# @param [String] fields
|
|
880
|
-
# Selector specifying which fields to include in a partial response.
|
|
881
|
-
# @param [String] quota_user
|
|
882
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
883
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
884
|
-
# @param [Google::Apis::RequestOptions] options
|
|
885
|
-
# Request-specific options
|
|
886
|
-
#
|
|
887
|
-
# @yield [result, err] Result & error if block supplied
|
|
888
|
-
# @yieldparam result [Google::Apis::CloudsearchV1::DebugResponse] parsed result object
|
|
889
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
890
|
-
#
|
|
891
|
-
# @return [Google::Apis::CloudsearchV1::DebugResponse]
|
|
892
|
-
#
|
|
893
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
894
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
895
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
896
|
-
def debug_query_search(search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
897
|
-
command = make_simple_command(:post, 'v1/query:debugSearch', options)
|
|
898
|
-
command.request_representation = Google::Apis::CloudsearchV1::SearchRequest::Representation
|
|
899
|
-
command.request_object = search_request_object
|
|
900
|
-
command.response_representation = Google::Apis::CloudsearchV1::DebugResponse::Representation
|
|
901
|
-
command.response_class = Google::Apis::CloudsearchV1::DebugResponse
|
|
876
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
902
877
|
command.query['fields'] = fields unless fields.nil?
|
|
903
878
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
904
879
|
execute_or_queue_command(command, &block)
|
|
@@ -909,7 +884,7 @@ module Google
|
|
|
909
884
|
# account to execute. A service account can't perform Remove Activity requests
|
|
910
885
|
# directly; to use a service account to perform queries, set up [Google
|
|
911
886
|
# Workspace domain-wide delegation of authority](https://developers.google.com/
|
|
912
|
-
# cloud-search/docs/guides/delegation/).
|
|
887
|
+
# workspace/cloud-search/docs/guides/delegation/).
|
|
913
888
|
# @param [Google::Apis::CloudsearchV1::RemoveActivityRequest] remove_activity_request_object
|
|
914
889
|
# @param [String] fields
|
|
915
890
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -946,7 +921,7 @@ module Google
|
|
|
946
921
|
# account to execute. A service account can't perform Query API requests
|
|
947
922
|
# directly; to use a service account to perform queries, set up [Google
|
|
948
923
|
# Workspace domain-wide delegation of authority](https://developers.google.com/
|
|
949
|
-
# cloud-search/docs/guides/delegation/).
|
|
924
|
+
# workspace/cloud-search/docs/guides/delegation/).
|
|
950
925
|
# @param [Google::Apis::CloudsearchV1::SearchRequest] search_request_object
|
|
951
926
|
# @param [String] fields
|
|
952
927
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -980,7 +955,7 @@ module Google
|
|
|
980
955
|
# a standard end user account to execute. A service account can't perform Query
|
|
981
956
|
# API requests directly; to use a service account to perform queries, set up [
|
|
982
957
|
# Google Workspace domain-wide delegation of authority](https://developers.
|
|
983
|
-
# google.com/cloud-search/docs/guides/delegation/).
|
|
958
|
+
# google.com/workspace/cloud-search/docs/guides/delegation/).
|
|
984
959
|
# @param [Google::Apis::CloudsearchV1::SuggestRequest] suggest_request_object
|
|
985
960
|
# @param [String] fields
|
|
986
961
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1014,7 +989,7 @@ module Google
|
|
|
1014
989
|
# * This API requires a standard end user account to execute. A service account
|
|
1015
990
|
# can't perform Query API requests directly; to use a service account to perform
|
|
1016
991
|
# queries, set up [Google Workspace domain-wide delegation of authority](https://
|
|
1017
|
-
# developers.google.com/cloud-search/docs/guides/delegation/).
|
|
992
|
+
# developers.google.com/workspace/cloud-search/docs/guides/delegation/).
|
|
1018
993
|
# @param [String] page_token
|
|
1019
994
|
# Number of sources to return in the response.
|
|
1020
995
|
# @param [Boolean] request_options_debug_options_enable_debugging
|
|
@@ -1279,11 +1254,11 @@ module Google
|
|
|
1279
1254
|
# ignore this field.
|
|
1280
1255
|
# @param [String] update_mask
|
|
1281
1256
|
# Only applies to [`settings.datasources.patch`](https://developers.google.com/
|
|
1282
|
-
# cloud-search/docs/reference/rest/v1/settings.datasources/patch).
|
|
1283
|
-
# to control which fields to update. Example field paths: `name`, `
|
|
1284
|
-
# * If `update_mask` is non-empty, then only the fields specified
|
|
1285
|
-
# update_mask` are updated. * If you specify a field in the `update_mask
|
|
1286
|
-
# don't specify its value in the source, that field is cleared. * If the `
|
|
1257
|
+
# workspace/cloud-search/docs/reference/rest/v1/settings.datasources/patch).
|
|
1258
|
+
# Update mask to control which fields to update. Example field paths: `name`, `
|
|
1259
|
+
# displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
1260
|
+
# in the `update_mask` are updated. * If you specify a field in the `update_mask`
|
|
1261
|
+
# , but don't specify its value in the source, that field is cleared. * If the `
|
|
1287
1262
|
# update_mask` is not present or empty or has the value `*`, then all fields are
|
|
1288
1263
|
# updated.
|
|
1289
1264
|
# @param [String] fields
|
|
@@ -1501,13 +1476,14 @@ module Google
|
|
|
1501
1476
|
# @param [Google::Apis::CloudsearchV1::SearchApplication] search_application_object
|
|
1502
1477
|
# @param [String] update_mask
|
|
1503
1478
|
# Only applies to [`settings.searchapplications.patch`](https://developers.
|
|
1504
|
-
# google.com/cloud-search/docs/reference/rest/v1/settings.
|
|
1505
|
-
# patch). Update mask to control which fields to update.
|
|
1506
|
-
# search_application.name`, `search_application.
|
|
1507
|
-
# is non-empty, then only the fields specified
|
|
1508
|
-
# * If you specify a field in the `update_mask
|
|
1509
|
-
# the `search_application`, then that field is
|
|
1510
|
-
# is not present or empty or has the value `*`,
|
|
1479
|
+
# google.com/workspace/cloud-search/docs/reference/rest/v1/settings.
|
|
1480
|
+
# searchapplications/patch). Update mask to control which fields to update.
|
|
1481
|
+
# Example field paths: `search_application.name`, `search_application.
|
|
1482
|
+
# displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
1483
|
+
# in the `update_mask` are updated. * If you specify a field in the `update_mask`
|
|
1484
|
+
# , but don't specify its value in the `search_application`, then that field is
|
|
1485
|
+
# cleared. * If the `update_mask` is not present or empty or has the value `*`,
|
|
1486
|
+
# then all fields are updated.
|
|
1511
1487
|
# @param [String] fields
|
|
1512
1488
|
# Selector specifying which fields to include in a partial response.
|
|
1513
1489
|
# @param [String] quota_user
|
|
@@ -1581,13 +1557,14 @@ module Google
|
|
|
1581
1557
|
# @param [Google::Apis::CloudsearchV1::SearchApplication] search_application_object
|
|
1582
1558
|
# @param [String] update_mask
|
|
1583
1559
|
# Only applies to [`settings.searchapplications.patch`](https://developers.
|
|
1584
|
-
# google.com/cloud-search/docs/reference/rest/v1/settings.
|
|
1585
|
-
# patch). Update mask to control which fields to update.
|
|
1586
|
-
# search_application.name`, `search_application.
|
|
1587
|
-
# is non-empty, then only the fields specified
|
|
1588
|
-
# * If you specify a field in the `update_mask
|
|
1589
|
-
# the `search_application`, then that field is
|
|
1590
|
-
# is not present or empty or has the value `*`,
|
|
1560
|
+
# google.com/workspace/cloud-search/docs/reference/rest/v1/settings.
|
|
1561
|
+
# searchapplications/patch). Update mask to control which fields to update.
|
|
1562
|
+
# Example field paths: `search_application.name`, `search_application.
|
|
1563
|
+
# displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
1564
|
+
# in the `update_mask` are updated. * If you specify a field in the `update_mask`
|
|
1565
|
+
# , but don't specify its value in the `search_application`, then that field is
|
|
1566
|
+
# cleared. * If the `update_mask` is not present or empty or has the value `*`,
|
|
1567
|
+
# then all fields are updated.
|
|
1591
1568
|
# @param [String] fields
|
|
1592
1569
|
# Selector specifying which fields to include in a partial response.
|
|
1593
1570
|
# @param [String] quota_user
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# data. The Cloud Search API allows indexing of non-Google Workspace data into
|
|
26
26
|
# Cloud Search.
|
|
27
27
|
#
|
|
28
|
-
# @see https://developers.google.com/cloud-search/docs/guides/
|
|
28
|
+
# @see https://developers.google.com/workspace/cloud-search/docs/guides/
|
|
29
29
|
module CloudsearchV1
|
|
30
30
|
# Version of the Cloud Search API this client connects to.
|
|
31
31
|
# This is NOT the gem version.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudsearch_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.66.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.66.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: '0'
|
|
75
75
|
requirements: []
|
|
76
|
-
rubygems_version: 3.6.
|
|
76
|
+
rubygems_version: 3.6.9
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: Simple REST client for Cloud Search API V1
|
|
79
79
|
test_files: []
|