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.



2492
2493
2494
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2492

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)


2431
2432
2433
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2431

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


2436
2437
2438
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2436

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)


2446
2447
2448
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2446

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)


2452
2453
2454
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2452

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)


2460
2461
2462
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2460

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)


2465
2466
2467
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2465

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)


2472
2473
2474
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2472

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)


2479
2480
2481
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2479

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)


2485
2486
2487
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2485

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)


2490
2491
2492
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2490

def user_specified_system
  @user_specified_system
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2497

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