Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
- 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 that applies to entries that are part SQL_DATABASE
system (
user_specified_type)
Instance Attribute Summary collapse
-
#database_version ⇒ String
Version of the database engine.
-
#instance_host ⇒ String
Host of the SQL database enum InstanceHost
UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4;
Host of the enclousing database instance. -
#sql_engine ⇒ String
SQL Database Engine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
constructor
A new instance of GoogleCloudDatacatalogV1SqlDatabaseSystemSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
Returns a new instance of GoogleCloudDatacatalogV1SqlDatabaseSystemSpec.
2863 2864 2865 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2863 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_version ⇒ String
Version of the database engine.
Corresponds to the JSON property databaseVersion
2848 2849 2850 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2848 def database_version @database_version end |
#instance_host ⇒ String
Host of the SQL database enum InstanceHost UNDEFINED = 0; SELF_HOSTED = 1;
CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4;
Host of the enclousing
database instance.
Corresponds to the JSON property instanceHost
2855 2856 2857 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2855 def instance_host @instance_host end |
#sql_engine ⇒ String
SQL Database Engine. enum SqlEngine UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL =
2; SQL_SERVER = 3;
Engine of the enclosing database instance.
Corresponds to the JSON property sqlEngine
2861 2862 2863 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2861 def sql_engine @sql_engine end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2868 2869 2870 2871 2872 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2868 def update!(**args) @database_version = args[:database_version] if args.key?(:database_version) @instance_host = args[:instance_host] if args.key?(:instance_host) @sql_engine = args[:sql_engine] if args.key?(:sql_engine) end |