Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SqlDatabaseSystemSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1SqlDatabaseSystemSpec

Returns a new instance of GoogleCloudDatacatalogV1SqlDatabaseSystemSpec.



2778
2779
2780
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2778

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#database_versionString

Version of the database engine. Corresponds to the JSON property databaseVersion

Returns:

  • (String)


2763
2764
2765
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2763

def database_version
  @database_version
end

#instance_hostString

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

Returns:

  • (String)


2770
2771
2772
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2770

def instance_host
  @instance_host
end

#sql_engineString

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

Returns:

  • (String)


2776
2777
2778
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2776

def sql_engine
  @sql_engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2783
2784
2785
2786
2787
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2783

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