Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey
- 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 of a Spanner foreign key.
Instance Attribute Summary collapse
-
#column_mappings ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping>
Output only.
-
#entry ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey
constructor
A new instance of GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey
Returns a new instance of GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.
2100 2101 2102 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2100 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_mappings ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping>
Output only. The ordered list of column mappings for this foreign key.
Corresponds to the JSON property columnMappings
2085 2086 2087 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2085 def column_mappings @column_mappings end |
#entry ⇒ String
Output only. The table name this foreign key referenced to. Format: projects/
PROJECT_ID/locations/LOCATION/entryGroups/ENTRY_GROUP_ID/entries/
ENTRY_ID`
Corresponds to the JSON propertyentry`
2092 2093 2094 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2092 def entry @entry end |
#name ⇒ String
Output only. The constraint_name of the foreign key, for example,
FK_CustomerOrder.
Corresponds to the JSON property name
2098 2099 2100 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2098 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2105 2106 2107 2108 2109 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2105 def update!(**args) @column_mappings = args[:column_mappings] if args.key?(:column_mappings) @entry = args[:entry] if args.key?(:entry) @name = args[:name] if args.key?(:name) end |