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.



2695
2696
2697
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2695

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)


2634
2635
2636
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2634

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


2639
2640
2641
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2639

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)


2649
2650
2651
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2649

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)


2655
2656
2657
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2655

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)


2663
2664
2665
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2663

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)


2668
2669
2670
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2668

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)


2675
2676
2677
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2675

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)


2682
2683
2684
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2682

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)


2688
2689
2690
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2688

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)


2693
2694
2695
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2693

def user_specified_system
  @user_specified_system
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2700

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