Class: Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship
- Inherits:
-
Object
- Object
- Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/geminidataanalytics/v1beta/context.rb
Overview
The relationship between two tables, including referencing and referenced columns. This is a derived context retrieved from Dataplex Dataset Insights.
Defined Under Namespace
Modules: Source Classes: SchemaPaths
Instance Attribute Summary collapse
-
#confidence_score ⇒ ::Float
A confidence score for the suggested relationship.
-
#left_schema_paths ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship::SchemaPaths
An ordered list of fields for the join from the first table.
-
#right_schema_paths ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship::SchemaPaths
An ordered list of fields for the join from the second table.
-
#sources ⇒ ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship::Source>
Sources which generated the schema relation edge.
Instance Attribute Details
#confidence_score ⇒ ::Float
Returns A confidence score for the suggested relationship. Manually added edges have the highest confidence score.
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/context.rb', line 77 class SchemaRelationship include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an ordered set of paths within the table schema. # @!attribute [rw] table_fqn # @return [::String] # The service-qualified full resource name of the table # Ex: # bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID # @!attribute [rw] paths # @return [::Array<::String>] # The ordered list of paths within the table schema. class SchemaPaths include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Source which generated the schema relation edge. module Source # The source of the schema relationship is unspecified. SOURCE_UNSPECIFIED = 0 # The source of the schema relationship is BigQuery job history. BIGQUERY_JOB_HISTORY = 1 # The source of the schema relationship is LLM suggested. LLM_SUGGESTED = 2 # The source of the schema relationship is BigQuery table constraints. BIGQUERY_TABLE_CONSTRAINTS = 3 end end |
#left_schema_paths ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship::SchemaPaths
Returns An ordered list of fields for the join from the first table.
The size of this list must be the same as right_schema_paths.
Each field at index i in this list must correspond to a field at the same
index in the right_schema_paths list.
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/context.rb', line 77 class SchemaRelationship include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an ordered set of paths within the table schema. # @!attribute [rw] table_fqn # @return [::String] # The service-qualified full resource name of the table # Ex: # bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID # @!attribute [rw] paths # @return [::Array<::String>] # The ordered list of paths within the table schema. class SchemaPaths include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Source which generated the schema relation edge. module Source # The source of the schema relationship is unspecified. SOURCE_UNSPECIFIED = 0 # The source of the schema relationship is BigQuery job history. BIGQUERY_JOB_HISTORY = 1 # The source of the schema relationship is LLM suggested. LLM_SUGGESTED = 2 # The source of the schema relationship is BigQuery table constraints. BIGQUERY_TABLE_CONSTRAINTS = 3 end end |
#right_schema_paths ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship::SchemaPaths
Returns An ordered list of fields for the join from the second table.
The size of this list must be the same as left_schema_paths.
Each field at index i in this list must correspond to a field at the same
index in the left_schema_paths list.
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/context.rb', line 77 class SchemaRelationship include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an ordered set of paths within the table schema. # @!attribute [rw] table_fqn # @return [::String] # The service-qualified full resource name of the table # Ex: # bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID # @!attribute [rw] paths # @return [::Array<::String>] # The ordered list of paths within the table schema. class SchemaPaths include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Source which generated the schema relation edge. module Source # The source of the schema relationship is unspecified. SOURCE_UNSPECIFIED = 0 # The source of the schema relationship is BigQuery job history. BIGQUERY_JOB_HISTORY = 1 # The source of the schema relationship is LLM suggested. LLM_SUGGESTED = 2 # The source of the schema relationship is BigQuery table constraints. BIGQUERY_TABLE_CONSTRAINTS = 3 end end |
#sources ⇒ ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Context::SchemaRelationship::Source>
Returns Sources which generated the schema relation edge.
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/context.rb', line 77 class SchemaRelationship include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an ordered set of paths within the table schema. # @!attribute [rw] table_fqn # @return [::String] # The service-qualified full resource name of the table # Ex: # bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID # @!attribute [rw] paths # @return [::Array<::String>] # The ordered list of paths within the table schema. class SchemaPaths include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Source which generated the schema relation edge. module Source # The source of the schema relationship is unspecified. SOURCE_UNSPECIFIED = 0 # The source of the schema relationship is BigQuery job history. BIGQUERY_JOB_HISTORY = 1 # The source of the schema relationship is LLM suggested. LLM_SUGGESTED = 2 # The source of the schema relationship is BigQuery table constraints. BIGQUERY_TABLE_CONSTRAINTS = 3 end end |