Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb

Overview

Request message for SearchCatalog.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SearchCatalogRequest

Returns a new instance of GoogleCloudDatacatalogV1beta1SearchCatalogRequest.



3141
3142
3143
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3141

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#order_byString

Specifies the ordering of results, currently supported case-sensitive choices are: * relevance, only supports descending * last_modified_timestamp [asc| desc], defaults to descending if not specified * default that can only be descending If not specified, defaults to relevance descending. Corresponds to the JSON property orderBy

Returns:

  • (String)


3109
3110
3111
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3109

def order_by
  @order_by
end

#page_sizeFixnum

Number of results in the search page. If <=0 then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


3115
3116
3117
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3115

def page_size
  @page_size
end

#page_tokenString

Optional. Pagination token returned in an earlier SearchCatalogResponse. next_page_token, which indicates that this is a continuation of a prior SearchCatalogRequest call, and that the system should return the next page of data. If empty, the first page is returned. Corresponds to the JSON property pageToken

Returns:

  • (String)


3123
3124
3125
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3123

def page_token
  @page_token
end

#queryString

Optional. The query string in search query syntax. An empty query string will result in all data assets (in the specified scope) that the user has access to. Query strings can be simple as "x" or more qualified as: * name:x * column:x * description:y Note: Query tokens need to have a minimum of 3 characters for substring matching to work correctly. See Data Catalog Search Syntax for more information. Corresponds to the JSON property query

Returns:

  • (String)


3134
3135
3136
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3134

def query
  @query
end

#scopeGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope

The criteria that select the subspace used for query matching. Corresponds to the JSON property scope



3139
3140
3141
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3139

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3146
3147
3148
3149
3150
3151
3152
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3146

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