Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1GraphSpec

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

Overview

Specification that applies to a graph.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1GraphSpec

Returns a new instance of GoogleCloudDatacatalogV1GraphSpec.



1400
1401
1402
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1400

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

Instance Attribute Details

#edge_tablesArray<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable>

Optional. Edge tables of the graph. Corresponds to the JSON property edgeTables



1388
1389
1390
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1388

def edge_tables
  @edge_tables
end

#nameString

Output only. Fully qualified graph name. e.g. named_catalog.MyGraph Corresponds to the JSON property name

Returns:

  • (String)


1393
1394
1395
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1393

def name
  @name
end

#node_tablesArray<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable>

Required. Node tables of the graph. Corresponds to the JSON property nodeTables



1398
1399
1400
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1398

def node_tables
  @node_tables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1405
1406
1407
1408
1409
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1405

def update!(**args)
  @edge_tables = args[:edge_tables] if args.key?(:edge_tables)
  @name = args[:name] if args.key?(:name)
  @node_tables = args[:node_tables] if args.key?(:node_tables)
end