Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpec
- 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
-
#edge_tables ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable>
Optional.
-
#name ⇒ String
Output only.
-
#node_tables ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1GraphSpec
constructor
A new instance of GoogleCloudDatacatalogV1GraphSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_tables ⇒ Array<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 |
#name ⇒ String
Output only. Fully qualified graph name. e.g. named_catalog.MyGraph
Corresponds to the JSON property name
1555 1556 1557 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1555 def name @name end |
#node_tables ⇒ Array<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 |