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.



1533
1534
1535
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1533

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)


1472
1473
1474
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1472

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


1477
1478
1479
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1477

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)


1487
1488
1489
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1487

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)


1493
1494
1495
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1493

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)


1501
1502
1503
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1501

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)


1506
1507
1508
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1506

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)


1513
1514
1515
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1513

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)


1520
1521
1522
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1520

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)


1526
1527
1528
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1526

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)


1531
1532
1533
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1531

def user_specified_system
  @user_specified_system
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1538

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