View Source API Reference google_api_cloud_search v0.21.0

Modules

API client metadata for GoogleApi.CloudSearch.V1.

API calls for all endpoints tagged Debug.

API calls for all endpoints tagged Indexing.

API calls for all endpoints tagged Media.

API calls for all endpoints tagged Operations.

API calls for all endpoints tagged Query.

API calls for all endpoints tagged Settings.

API calls for all endpoints tagged Stats.

API calls for all endpoints tagged V1.

Handle Tesla connections for GoogleApi.CloudSearch.V1.

Attributes

  • title (type: String.t, default: nil) - [Required] Title of the action.
  • url (type: String.t, default: nil) - [Optional] Url of the action.

Represents the settings for Cloud audit logging

Attributes

  • backgroundColor (type: String.t, default: nil) - [Optional] Color of the background. The text color can change depending on the selected background color, and the client does not have control over this. If missing, the background will be WHITE.
  • text (type: String.t, default: nil) - [Required] The text to display.

Used to provide a search operator for boolean properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.

The options for boolean properties.

Attributes

  • hasAccess (type: boolean(), default: nil) - Returns true if principal has access. Returns false otherwise.

Attributes

  • logicOperator (type: String.t, default: nil) - The logic operator of the sub filter.
  • subFilters (type: list(GoogleApi.CloudSearch.V1.Model.Filter.t), default: nil) - Sub filters.

Attributes

  • actions (type: list(GoogleApi.CloudSearch.V1.Model.Action.t), default: nil) - [Optional] Actions for this card.
  • description (type: GoogleApi.CloudSearch.V1.Model.SafeHtmlProto.t, default: nil) - [Optional] Description of the card.
  • subtitle (type: GoogleApi.CloudSearch.V1.Model.BackgroundColoredText.t, default: nil) - [Optional] Subtitle of the card.
  • title (type: GoogleApi.CloudSearch.V1.Model.BackgroundColoredText.t, default: nil) - [Optional] Title of the card.

Attributes

  • app (type: list(String.t), default: nil) - [Optional] App where the card should be shown. If missing, the card will be shown in TOPAZ.
  • dayOfWeek (type: list(integer()), default: nil) - [Optional] Day of week when the card should be shown, where 0 is Monday.
  • endDateSec (type: String.t, default: nil) - [Optional] Date (in seconds since epoch) when the card should stop being shown. If missing, end_date_sec will be set to Jan 1st, 2100.
  • endDayOffsetSec (type: String.t, default: nil) - [Optional] End time in seconds, within a day, when the card should stop being shown if it's within [start_date_sec, end_date_sec]. If missing, this is set to 86400 (24 hours x 3600 sec/hour), i.e., midnight next day.
  • locale (type: list(String.t), default: nil) - [Optional] The locales for which the card should be triggered (e.g., en_US and en_CA). If missing, the card is going to show to clients regardless of their locale.
  • location (type: list(String.t), default: nil) - [Optional] Text-free locations where the card should be shown. This is expected to match the user's location in focus. If no location is specified, the card will be shown for any location.
  • query (type: list(String.t), default: nil) - [Required only for Answer and RHS cards - will be ignored for Homepage] cards. It's the exact case-insensitive queries that will trigger the Answer or RHS card.
  • startDateSec (type: String.t, default: nil) - [Optional] Date (in seconds since epoch) when the card should start being shown. If missing, start_date_sec will be Jan 1st, 1970 UTC.
  • startDayOffsetSec (type: String.t, default: nil) - [Optional] Start time in seconds, within a day, when the card should be shown if it's within [start_date_sec, end_date_sec]. If 0, the card will be shown from 12:00am on.
  • surface (type: list(String.t), default: nil) - [Optional] Surface where the card should be shown in. If missing, the card will be shown in any surface.
  • type (type: list(String.t), default: nil) - [Required] Type of the card (homepage, Answer or RHS).

A named attribute associated with an item which can be used for influencing the ranking of the item based on the context in the request.

Aggregation of items by status code as of the specified date.

Attributes

  • date (type: GoogleApi.CloudSearch.V1.Model.Date.t, default: nil) - The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned.
  • queryCountByStatus (type: list(GoogleApi.CloudSearch.V1.Model.QueryCountByStatus.t), default: nil) -

Search application stats for a customer for the given date.

Attributes

  • date (type: GoogleApi.CloudSearch.V1.Model.Date.t, default: nil) - The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned.
  • searchSessionsCount (type: String.t, default: nil) - The count of search sessions on the day

Represents settings at a customer level.

Attributes

  • date (type: GoogleApi.CloudSearch.V1.Model.Date.t, default: nil) - The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned.
  • oneDayActiveUsersCount (type: String.t, default: nil) - The count of unique active users in the past one day
  • sevenDaysActiveUsersCount (type: String.t, default: nil) - The count of unique active users in the past seven days
  • thirtyDaysActiveUsersCount (type: String.t, default: nil) - The count of unique active users in the past thirty days

Datasource is a logical namespace for items to be indexed. All items must belong to a datasource. This is the prerequisite before items can be indexed into Cloud Search.

Aggregation of items by status code as of the specified date.

Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date between the year 1 and 9999.

Optional. Provides a search operator for date properties. Search operators let users restrict the query to specific fields relevant to the type of item being searched.

The options for date properties.

Shared request debug options for all cloudsearch RPC methods.

Attributes

  • connectorName (type: String.t, default: nil) - The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • queue (type: String.t, default: nil) - The name of a queue to delete items from.

A reference to a top-level property within the object that should be displayed in search results. The values of the chosen properties is displayed in the search results along with the display label for that property if one is specified. If a display label is not specified, only the values is shown.

Used to provide a search operator for double properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.

The options for double properties.

Drive follow-up search restricts (e.g. "followup:suggestions").

Drive location search restricts (e.g. "is:starred").

Drive mime-type search restricts (e.g. "type:pdf").

The time span search restrict (e.g. "after:2017-09-11 before:2017-09-12").

Attributes

  • type (type: String.t, default: nil) - The identifying link type
  • url (type: GoogleApi.CloudSearch.V1.Model.SafeUrlProto.t, default: nil) -

Attributes

  • phoneNumber (type: String.t, default: nil) - Phone number in no particular format (as comes from the Focus profile).
  • phoneUrl (type: GoogleApi.CloudSearch.V1.Model.SafeUrlProto.t, default: nil) - Phone number URL
  • type (type: String.t, default: nil) -

Attributes

  • agendaItem (type: list(GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickAgendaItem.t), default: nil) -
  • context (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickAgendaGroupCardProtoContext.t, default: nil) -
  • currentAgendaItem (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickAgendaItem.t, default: nil) -

The context that resulted in the generation of the card.

Attributes

  • conflictedGroup (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickConflictingEventsCardProto.t, default: nil) -
  • gapBefore (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickGap.t, default: nil) -
  • meeting (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickAgendaEntry.t, default: nil) -

Contains a list of suggested queries. Allows the user to determine what natural language queries they can ask Cloud Search (e.g. "what can I search for?").

Contains a list of suggested queries for a single category.

Container of debugging information in all object levels. Extend as needed.

Justification of why we are reporting the document.

Attributes

  • value (type: String.t, default: nil) - Unstructured birthday.

Represents a mapping between a document type and its corresponding documents. Use for Work in Progress card in v1 homepage.

Attributes

  • documents (type: list(GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry.t), default: nil) -
  • helpMessage (type: String.t, default: nil) - Localized message explaining how the documents were derived (e.g. from the last 30 days activity). This field is optional.
  • listType (type: String.t, default: nil) -
  • listTypeDescription (type: String.t, default: nil) - Description of the types of documents present in the list.
  • responseMessage (type: String.t, default: nil) - Response message in case no documents are present in the card.

Attributes

  • category (type: String.t, default: nil) -
  • document (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocument.t, default: nil) -
  • rationale (type: String.t, default: nil) - Reason this document was selected.

Response to find meeting time among a set of people.

Attributes

  • displayRemainingTime (type: String.t, default: nil) - Localized time string in the format: 1 hour 15 minutes
  • endTime (type: String.t, default: nil) - Localized time string in the format:(Locale CZ) 8:30 odp.
  • endTimeMs (type: String.t, default: nil) -
  • remainingTime (type: String.t, default: nil) -
  • startTime (type: String.t, default: nil) - Localized time string in the format:(Locale CZ) 8:30 odp.
  • startTimeMs (type: String.t, default: nil) -

Attributes

  • answer (type: String.t, default: nil) - The answer.
  • title (type: String.t, default: nil) - Title or header of the card.

Metadata about the NLP interpretation of the query.

A person that also matches the query, but was not selected due to a lower affinity with the requesting user.

An answer card for a list of people that are related to the subject of the query.

Attributes

  • person (type: list(GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonPerson.t), default: nil) - Candidate persons for the query.

Attributes

  • relatedPeople (type: list(GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickPersonProfileCardRelatedPeople.t), default: nil) -
  • subject (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonPerson.t, default: nil) - The subject of the card.

Attributes

  • relatedPerson (type: list(GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonPerson.t), default: nil) - Related people.
  • relation (type: String.t, default: nil) - Relation type.

Attributes

  • document (type: list(GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocument.t), default: nil) -

Used to provide a search operator for enum properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. For example, if you provide no operator for a priority enum property with possible values p0 and p1, a query that contains the term p0 returns items that have p0 as the value of the priority property, as well as any items that contain the string p0 in other fields. If you provide an operator name for the enum, such as priority, then search users can use that operator to refine results to only items that have p0 as this property's value, with the query priority:p0.

The options for enum properties, which allow you to define a restricted set of strings to match user queries, set rankings for those string values, and define an operator name to be paired with those strings so that users can narrow results to only items with a specific value. For example, for items in a request tracking system with priority information, you could define p0 as an allowable enum value and tie this enum to the operator name priority so that search users could add priority:p0 to their query to restrict the set of results to only those items indexed with the value p0.

The enumeration value pair defines two things: a required string value and an optional integer value. The string value defines the necessary query term required to retrieve that item, such as p0 for a priority item. The integer value determines the ranking of that string value relative to other enumerated values for the same property. For example, you might associate p0 with 0 and define another enum pair such as p1 and 1. You must use the integer value in combination with ordered ranking to set the ranking of a given value relative to other enumerated values for the same property name. Here, a ranking order of DESCENDING for priority properties results in a ranking boost for items indexed with a value of p0 compared to items indexed with a value of p1. Without a specified ranking order, the integer value has no effect on item ranking.

Error information about the response.

Error message per source response.

A bucket in a facet is the basic unit of operation. A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.

Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.

Source specific facet response

Attributes

  • description (type: String.t, default: nil) - The description of the error.
  • field (type: String.t, default: nil) - Path of field with violation.

A generic way of expressing filters in a query, which supports two approaches: 1. Setting a ValueFilter. The name must match an operator_name defined in the schema for your data source. 2. Setting a CompositeFilter. The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND.

Filter options to be applied on query.

Indicates which freshness property to use when adjusting search ranking for an item. Fresher, more recent dates indicate higher quality. Use the freshness option property that best works with your data. For fileshare documents, last modified time is most relevant. For calendar event data, the time when the event occurs is a more relevant freshness indicator. In this way, calendar events that occur closer to the time of the search query are considered higher quality and ranked accordingly.

Attributes

  • gsuiteDomain (type: boolean(), default: nil) - This principal represents all users of the Google Workspace domain of the customer.
  • gsuiteGroupEmail (type: String.t, default: nil) - This principal references a Google Workspace group name.
  • gsuiteUserEmail (type: String.t, default: nil) - This principal references a Google Workspace user account.

Attributes

  • averageIndexedItemCount (type: String.t, default: nil) - Average item count for the given date range for which billing is done.
  • stats (type: list(GoogleApi.CloudSearch.V1.Model.CustomerIndexStats.t), default: nil) - Summary of indexed item counts, one for each day in the requested range.

Attributes

  • stats (type: list(GoogleApi.CloudSearch.V1.Model.CustomerQueryStats.t), default: nil) -
  • totalQueryCount (type: String.t, default: nil) - Total successful query count (status code 200) for the given date range.

Response format for search application stats for a customer.

Attributes

  • stats (type: list(GoogleApi.CloudSearch.V1.Model.CustomerSessionStats.t), default: nil) -

Attributes

  • stats (type: list(GoogleApi.CloudSearch.V1.Model.CustomerUserStats.t), default: nil) -

Attributes

  • averageIndexedItemCount (type: String.t, default: nil) - Average item count for the given date range for which billing is done.
  • stats (type: list(GoogleApi.CloudSearch.V1.Model.DataSourceIndexStats.t), default: nil) - Summary of indexed item counts, one for each day in the requested range.

Response format for getting query stats for a search application between given dates.

Attributes

  • stats (type: list(GoogleApi.CloudSearch.V1.Model.SearchApplicationSessionStats.t), default: nil) -

Attributes

  • stats (type: list(GoogleApi.CloudSearch.V1.Model.SearchApplicationUserStats.t), default: nil) -

Used to provide a search operator for html properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.

The options for html properties.

Attributes

  • allowUnknownGsuitePrincipals (type: boolean(), default: nil) - Specifies if the index request should allow Google Workspace principals that do not exist or are deleted.

Attributes

  • connectorName (type: String.t, default: nil) - The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • indexItemOptions (type: GoogleApi.CloudSearch.V1.Model.IndexItemOptions.t, default: nil) -
  • item (type: GoogleApi.CloudSearch.V1.Model.Item.t, default: nil) - The name of the item. Format: datasources/{source_id}/items/{item_id}
  • mode (type: String.t, default: nil) - Required. The RequestMode for this request.

Request message for InitializeCustomer method.

Used to specify integer faceting options.

Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.

The options for integer properties.

Represents an interaction between a user and an item.

Represents a single object that is an item in the search index, such as a file, folder, or a database record.

Access control list information for the item. For more information see Map ACLs.

Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.

Attributes

  • count (type: String.t, default: nil) - Number of items matching the status code.
  • indexedItemsCount (type: String.t, default: nil) - Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code.
  • statusCode (type: String.t, default: nil) - Status of the items.

Available metadata fields for the item.

This contains item's status and any errors.

Available structured data fields for the item.

Attributes

  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results, or empty if there are no more results in the list.
  • sources (type: list(GoogleApi.CloudSearch.V1.Model.DataSource.t), default: nil) -

Attributes

  • itemNames (type: list(String.t), default: nil) -
  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results, or empty if there are no more results in the list.

Attributes

  • items (type: list(GoogleApi.CloudSearch.V1.Model.Item.t), default: nil) -
  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results, or empty if there are no more results in the list.

The response message for Operations.ListOperations.

Attributes

  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results, or empty if there are no more results in the list.
  • searchApplications (type: list(GoogleApi.CloudSearch.V1.Model.SearchApplication.t), default: nil) -

Attributes

  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results, or empty if there are no more results in the list.
  • unmappedIdentities (type: list(GoogleApi.CloudSearch.V1.Model.UnmappedIdentity.t), default: nil) -

Geo information used for rendering a map that shows the user's work location.

Information used to render a map tile image in the proper location on a map.

Matched range of a snippet [start, end).

Metadata of a matched search result.

A metaline is a list of properties that are displayed along with the search result to provide context.

A typed name-value pair for structured data. The type of the value should be the same as the registered type for the name property in the object definition of objectType.

The definition for an object within a data source.

The display options for an object.

The options for object properties.

This resource represents a long-running operation that is the result of a network API call.

Attributes

  • people (type: list(GoogleApi.CloudSearch.V1.Model.PersonCore.t), default: nil) -

This field contains information about the person being suggested.

Object to represent a person.

Information for rendering a person. NEXT ID: 37

Attributes

  • connectorName (type: String.t, default: nil) - The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • limit (type: integer(), default: nil) - Maximum number of items to return. The maximum value is 100 and the default value is 20.
  • queue (type: String.t, default: nil) - Queue name to fetch items from. If unspecified, PollItems will fetch from 'default' queue. The maximum length is 100 characters.
  • statusCodes (type: list(String.t), default: nil) - Limit the items polled to the ones with these statuses.

Attributes

  • items (type: list(GoogleApi.CloudSearch.V1.Model.Item.t), default: nil) - Set of items from the queue available for connector to process. These items have the following subset of fields populated: version metadata.hash structured_data.hash content.hash payload status queue

Reference to a user, group, or domain.

Attributes

  • code (type: String.t, default: nil) - Error code indicating the nature of the error.
  • errorMessage (type: String.t, default: nil) - The description of the error.
  • fieldViolations (type: list(GoogleApi.CloudSearch.V1.Model.FieldViolation.t), default: nil) - In case the item fields are invalid, this field contains the details about the validation errors.

The definition of a property within an object.

The display options for a property.

Represents an item to be pushed to the indexing queue.

Attributes

  • connectorName (type: String.t, default: nil) - The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • item (type: GoogleApi.CloudSearch.V1.Model.PushItem.t, default: nil) - Item to push onto the queue.

Details about a user's query activity.

Attributes

  • count (type: String.t, default: nil) -
  • statusCode (type: integer(), default: nil) - This represents the http status code.

Attributes

  • interpretationType (type: String.t, default: nil) -
  • interpretedQuery (type: String.t, default: nil) - The interpretation of the query used in search. For example, queries with natural language intent like "email from john" will be interpreted as "from:john source:mail". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.
  • reason (type: String.t, default: nil) - The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE.

Default options to interpret user query.

Information relevant only to a query entry.

The definition of a operator that can be used in a Search/Suggest request.

List of sources that the user can search using the query API.

This field does not contain anything as of now and is just used as an indicator that the suggest result was a phrase completion.

Remove Logged Activity Response. will return an empty response for now. Will be revisited in later phases.

Errors when the connector is communicating to the source repository.

Shared request options for all RPC methods.

Attributes

  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.

Debugging information about the response.

Information relevant only to a restrict entry. NextId: 12

Debugging information about the result.

Display Fields for Search Results

The collection of fields that make up a displayed line

Attributes

  • metalines (type: list(GoogleApi.CloudSearch.V1.Model.ResultDisplayLine.t), default: nil) - The metalines content to be displayed with the result.
  • objectTypeLabel (type: String.t, default: nil) - The display label for the object.

Attributes

  • importance (type: String.t, default: nil) - Indicates the ranking importance given to property when it is matched during retrieval. Once set, the token importance of a property cannot be changed.

IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.

Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.

The schema definition for a data source.

Scoring configurations for a source while processing a Search or Suggest request.

Search application level query stats per date

Attributes

  • date (type: GoogleApi.CloudSearch.V1.Model.Date.t, default: nil) - The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned.
  • searchSessionsCount (type: String.t, default: nil) - The count of search sessions on the day

Attributes

  • date (type: GoogleApi.CloudSearch.V1.Model.Date.t, default: nil) - The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned.
  • oneDayActiveUsersCount (type: String.t, default: nil) - The count of unique active users in the past one day
  • sevenDaysActiveUsersCount (type: String.t, default: nil) - The count of unique active users in the past seven days
  • thirtyDaysActiveUsersCount (type: String.t, default: nil) - The count of unique active users in the past thirty days

Attributes

  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • pageToken (type: String.t, default: nil) - The next_page_token value returned from a previous request, if any.
  • viewUrl (type: String.t, default: nil) - Specify the full view URL to find the corresponding item. The maximum length is 2048 characters.

Attributes

  • items (type: list(GoogleApi.CloudSearch.V1.Model.Item.t), default: nil) -
  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results, or empty if there are no more results in the list.

Additional search quality metadata of the item.

Results containing indexed information for a document.

Snippet of the search result, which summarizes the content of the resulting page.

Attributes

  • operatorName (type: String.t, default: nil) - The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable.
  • sortOrder (type: String.t, default: nil) - Ascending is the default sort order

Defines sources for the suggest/search APIs.

Configurations for a source while processing a Search or Suggest request.

Set search results crowding limits. Crowding is a situation in which multiple results from the same source or host "crowd out" other results, diminishing the quality of search for users. To foster better search quality and source diversity in search results, you can set a condition to reduce repetitive results by source.

Per source result count information.

Set the scoring configuration. This allows modifying the ranking of results for a source.

Attributes

  • suggestedQuery (type: String.t, default: nil) - The suggested spelling of the query.
  • suggestedQueryHtml (type: GoogleApi.CloudSearch.V1.Model.SafeHtmlProto.t, default: nil) - The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked.
  • suggestionType (type: String.t, default: nil) - Suggestion triggered for the current query.

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

A structured data object consisting of named properties.

Structured results that are returned as part of search request.

Response of the suggest API.

Used to provide a search operator for text properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.

The options for text properties.

Attributes

  • cardId (type: String.t, default: nil) - Unique identifier for the card.
  • category (type: String.t, default: nil) - Category that the card belongs to.
  • content (type: GoogleApi.CloudSearch.V1.Model.Content.t, default: nil) - [Required] Card content.
  • context (type: GoogleApi.CloudSearch.V1.Model.Context.t, default: nil) - [Required] Context where the card should be triggered.
  • isDismissible (type: boolean(), default: nil) - Whether the card can be dismissed.
  • priority (type: integer(), default: nil) - Priority of the card, where 0 is the highest priority.

Used to provide a search operator for timestamp properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.

The options for timestamp properties.

Attributes

  • externalIdentity (type: GoogleApi.CloudSearch.V1.Model.Principal.t, default: nil) - The resource name for an external user.
  • resolutionStatusCode (type: String.t, default: nil) - The resolution status for the external identity.

Attributes

  • connectorName (type: String.t, default: nil) - The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • queue (type: String.t, default: nil) - The name of a queue to unreserve items from.

Attributes

  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • source (type: GoogleApi.CloudSearch.V1.Model.DataSource.t, default: nil) -
  • updateMask (type: String.t, default: nil) - Only applies to settings.datasources.patch. Update mask to control which fields to update. Example field paths: name, displayName. If update_mask is non-empty, then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don't specify its value in the source, that field is cleared. If the update_mask is not present or empty or has the value ``, then all fields are updated.

Attributes

  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Common debug options.
  • schema (type: GoogleApi.CloudSearch.V1.Model.Schema.t, default: nil) - The new schema for the source.
  • validateOnly (type: boolean(), default: nil) - If true, the schema will be checked for validity, but will not be registered with the data source, even if valid.

Represents an upload session reference. This reference is created via upload method. This reference is valid for 30 days after its creation. Updating of item content may refer to this uploaded content via contentDataRef.

User's single or bulk query activity. This can be a logging query or deletion query.

Attributes

  • project (type: String.t, default: nil) - The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{project_id}

Definition of a single value with generic type.

Attributes

  • operatorName (type: String.t, default: nil) - The operator_name applied to the query, such as price_greater_than. The filter can work against both types of filters defined in the schema for your data source: 1. operator_name, where the query filters results by the property that matches the value. 2. greater_than_operator_name or less_than_operator_name in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query.
  • value (type: GoogleApi.CloudSearch.V1.Model.Value.t, default: nil) - The value to be compared with.