Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey
- 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 of a Spanner foreign key.
Instance Attribute Summary collapse
-
#column_mappings ⇒ Array<Google::Apis::DatacatalogV1::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.
3098 3099 3100 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3098 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_mappings ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping>
Output only. The ordered list of column mappings for this foreign key.
Corresponds to the JSON property columnMappings
3083 3084 3085 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3083 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`
3090 3091 3092 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3090 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
3096 3097 3098 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3096 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3103 3104 3105 3106 3107 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3103 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 |