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.



1705
1706
1707
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1705

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)


1644
1645
1646
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1644

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


1649
1650
1651
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1649

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)


1659
1660
1661
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1659

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)


1665
1666
1667
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1665

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)


1673
1674
1675
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1673

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)


1678
1679
1680
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1678

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)


1685
1686
1687
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1685

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)


1692
1693
1694
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1692

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)


1698
1699
1700
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1698

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)


1703
1704
1705
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1703

def user_specified_system
  @user_specified_system
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1710

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