Class: Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb

Overview

Message representing a table including its schema.

Instance Attribute Summary collapse

Instance Attribute Details

#schema::Google::Cloud::GeminiDataAnalytics::V1beta::Schema

Returns Optional. The schema of the table.

Returns:



162
163
164
165
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 162

class DatabaseTableReference
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#table_id::String

Returns Required. The name of the table as defined in the database.

Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.

Requirements:

  • Exact Match: The provided name must be identical to the name stored in the database.
  • Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
  • Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).

Examples:

  • Simple name: "orders", "UserActivity"
  • Case sensitive: "MyTable"
  • Name with spaces: "Order Details"
  • Name with other special characters: "user/data", "order-items"
  • Name that is a keyword: "Group", "Order"

Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.

Returns:

  • (::String)

    Required. The name of the table as defined in the database.

    Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.

    Requirements:

    • Exact Match: The provided name must be identical to the name stored in the database.
    • Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
    • Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).

    Examples:

    • Simple name: "orders", "UserActivity"
    • Case sensitive: "MyTable"
    • Name with spaces: "Order Details"
    • Name with other special characters: "user/data", "order-items"
    • Name that is a keyword: "Group", "Order"

    Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.



162
163
164
165
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 162

class DatabaseTableReference
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end