Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogResult

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

A result that appears in the response of a search request. Each result captures details of one entry that matches the search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SearchCatalogResult

Returns a new instance of GoogleCloudDatacatalogV1beta1SearchCatalogResult.



3062
3063
3064
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3062

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

Instance Attribute Details

#linked_resourceString

The full name of the cloud resource the entry belongs to. See: https://cloud. google.com/apis/design/resource_names#full_resource_name. Example: * // bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Corresponds to the JSON property linkedResource

Returns:

  • (String)


3034
3035
3036
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3034

def linked_resource
  @linked_resource
end

#modify_timeString

Last-modified timestamp of the entry from the managing system. Corresponds to the JSON property modifyTime

Returns:

  • (String)


3039
3040
3041
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3039

def modify_time
  @modify_time
end

#relative_resource_nameString

The relative resource name of the resource in URL format. Examples: * projects/project_id/locations/location_id/entryGroups/entry_group_id/ entries/entry_id* `projects/`project_id`/tagTemplates/`tag_template_id Corresponds to the JSON property relativeResourceName

Returns:

  • (String)


3046
3047
3048
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3046

def relative_resource_name
  @relative_resource_name
end

#search_result_subtypeString

Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet. Examples: entry.table, entry.dataStream, tagTemplate. Corresponds to the JSON property searchResultSubtype

Returns:

  • (String)


3054
3055
3056
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3054

def search_result_subtype
  @search_result_subtype
end

#search_result_typeString

Type of the search result. This field can be used to determine which Get method to call to fetch the full resource. Corresponds to the JSON property searchResultType

Returns:

  • (String)


3060
3061
3062
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3060

def search_result_type
  @search_result_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3067
3068
3069
3070
3071
3072
3073
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3067

def update!(**args)
  @linked_resource = args[:linked_resource] if args.key?(:linked_resource)
  @modify_time = args[:modify_time] if args.key?(:modify_time)
  @relative_resource_name = args[:relative_resource_name] if args.key?(:relative_resource_name)
  @search_result_subtype = args[:search_result_subtype] if args.key?(:search_result_subtype)
  @search_result_type = args[:search_result_type] if args.key?(:search_result_type)
end