Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty

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

A property declaration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty

Returns a new instance of GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty.



1563
1564
1565
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1563

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

Instance Attribute Details

#nameString

Required. Property name. Corresponds to the JSON property name

Returns:

  • (String)


1556
1557
1558
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1556

def name
  @name
end

#typeString

Required. Property data type. Corresponds to the JSON property type

Returns:

  • (String)


1561
1562
1563
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1561

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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