Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogResult

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

Overview

Result in the response to 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) ⇒ GoogleCloudDatacatalogV1SearchCatalogResult

Returns a new instance of GoogleCloudDatacatalogV1SearchCatalogResult.



2031
2032
2033
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2031

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

Instance Attribute Details

#descriptionString

Entry description that can consist of several sentences or paragraphs that describe entry contents. Corresponds to the JSON property description

Returns:

  • (String)


1970
1971
1972
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1970

def description
  @description
end

#display_nameString

The display name of the result. Corresponds to the JSON property displayName

Returns:

  • (String)


1975
1976
1977
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1975

def display_name
  @display_name
end

#fully_qualified_nameString

Fully qualified name (FQN) of the resource. FQNs take two forms: * For non- regionalized resources: SYSTEM`:`PROJECT`.` PATH_TO_RESOURCE_SEPARATED_WITH_DOTS * For regionalized resources: SYSTEM`: `PROJECT`.`LOCATION_ID`.`PATH_TO_RESOURCE_SEPARATED_WITH_DOTS Example for a DPMS table: dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID. TABLE_ID Corresponds to the JSON property fullyQualifiedName

Returns:

  • (String)


1985
1986
1987
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1985

def fully_qualified_name
  @fully_qualified_name
end

#integrated_systemString

Output only. The source system that Data Catalog automatically integrates with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore. Corresponds to the JSON property integratedSystem

Returns:

  • (String)


1991
1992
1993
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1991

def integrated_system
  @integrated_system
end

#linked_resourceString

The full name of the Google Cloud resource the entry belongs to. For more information, see Full Resource Name. Example: //bigquery.googleapis.com/projects/PROJECT_ID/ datasets/DATASET_ID/tables/TABLE_ID Corresponds to the JSON property linkedResource

Returns:

  • (String)


1999
2000
2001
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1999

def linked_resource
  @linked_resource
end

#modify_timeString

The last modification timestamp of the entry in the source system. Corresponds to the JSON property modifyTime

Returns:

  • (String)


2004
2005
2006
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2004

def modify_time
  @modify_time
end

#relative_resource_nameString

The relative 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)


2011
2012
2013
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2011

def relative_resource_name
  @relative_resource_name
end

#search_result_subtypeString

Sub-type of the search result. A dot-delimited full type of the resource. The same type you specify in the type search predicate. Examples: entry.table, entry.dataStream, tagTemplate. Corresponds to the JSON property searchResultSubtype

Returns:

  • (String)


2018
2019
2020
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2018

def search_result_subtype
  @search_result_subtype
end

#search_result_typeString

Type of the search result. You can use this field to determine which get method to call to fetch the full resource. Corresponds to the JSON property searchResultType

Returns:

  • (String)


2024
2025
2026
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2024

def search_result_type
  @search_result_type
end

#user_specified_systemString

Custom source system that you can manually integrate Data Catalog with. Corresponds to the JSON property userSpecifiedSystem

Returns:

  • (String)


2029
2030
2031
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2029

def user_specified_system
  @user_specified_system
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2036

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
  @integrated_system = args[:integrated_system] if args.key?(:integrated_system)
  @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)
  @user_specified_system = args[:user_specified_system] if args.key?(:user_specified_system)
end