class Google::Apis::MetastoreV1beta::DatabaseDump

A specification of the location of and metadata about a database dump from a relational database management system.

Attributes

database_type[RW]

The type of the database. Corresponds to the JSON property `databaseType` @return [String]

gcs_uri[RW]

A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://. Corresponds to the JSON property `gcsUri` @return [String]

source_database[RW]

The name of the source database. Corresponds to the JSON property `sourceDatabase` @return [String]

type[RW]

Optional. The type of the database dump. If unspecified, defaults to MYSQL. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/metastore_v1beta/classes.rb, line 271
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/metastore_v1beta/classes.rb, line 276
def update!(**args)
  @database_type = args[:database_type] if args.key?(:database_type)
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
  @source_database = args[:source_database] if args.key?(:source_database)
  @type = args[:type] if args.key?(:type)
end