class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogRequest
Request message for SearchCatalog.
Attributes
Specifies the order of results. Currently supported case-sensitive values are:
-
`relevance` that can only be descending * `last_modified_timestamp [asc|desc]
` with descending (`desc`) as default If this parameter is omitted, it defaults to the descending `relevance`. Corresponds to the JSON property `orderBy` @return [String]
Number of results to return in a single search page. Can't be negative or 0, defaults to 10 in this case. The maximum number is 1000. If exceeded, throws an “invalid argument” exception. Corresponds to the JSON property `pageSize` @return [Fixnum]
Optional. Pagination token that, if specified, returns the next page of search results. If empty, returns the first page. This token is returned in the SearchCatalogResponse.next_page_token field of the response to a previous SearchCatalogRequest call. Corresponds to the JSON property `pageToken` @return [String]
Optional. The query string with a minimum of 3 characters and specific syntax. For more information, see [Data Catalog search syntax](/data-catalog/docs/how- to/search-reference). An empty query string returns all data assets (in the specified scope) that you have access to. A query string can be a simple `xyz` or qualified by predicates: * `name:x` * `column:y` * `description:z` Corresponds to the JSON property `query` @return [String]
The criteria that select the subspace used for query matching. Corresponds to the JSON property `scope` @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogRequestScope]
Public Class Methods
# File lib/google/apis/datacatalog_v1/classes.rb, line 1343 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datacatalog_v1/classes.rb, line 1348 def update!(**args) @order_by = args[:order_by] if args.key?(:order_by) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @query = args[:query] if args.key?(:query) @scope = args[:scope] if args.key?(:scope) end