Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpec

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

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.



1562
1563
1564
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1562

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

Instance Attribute Details

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

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



1550
1551
1552
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1550

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)


1555
1556
1557
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1555

def name
  @name
end

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

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



1560
1561
1562
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1560

def node_tables
  @node_tables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1567
1568
1569
1570
1571
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1567

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