Class: Google::Cloud::Metastore::V1::MetadataImport
- Inherits:
-
Object
- Object
- Google::Cloud::Metastore::V1::MetadataImport
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/metastore/v1/metastore.rb
Overview
A metastore resource that imports metadata.
Defined Under Namespace
Modules: State Classes: DatabaseDump
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#database_dump ⇒ ::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump
Immutable.
-
#description ⇒ ::String
The description of the metadata import.
-
#name ⇒ ::String
Immutable.
-
#state ⇒ ::Google::Cloud::Metastore::V1::MetadataImport::State
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the metadata import was created.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 264 class MetadataImport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A specification of the location of and metadata about a database dump from # a relational database management system. # @!attribute [rw] database_type # @return [::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType] # The type of the database. # @!attribute [rw] gcs_uri # @return [::String] # A Cloud Storage object or folder URI that specifies the source from which # to import metadata. It must begin with `gs://`. # @!attribute [rw] type # @return [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type] # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. class DatabaseDump include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the database. module DatabaseType # The type of the source database is unknown. DATABASE_TYPE_UNSPECIFIED = 0 # The type of the source database is MySQL. MYSQL = 1 end end # The current state of the metadata import. module State # The state of the metadata import is unknown. STATE_UNSPECIFIED = 0 # The metadata import is running. RUNNING = 1 # The metadata import completed successfully. SUCCEEDED = 2 # The metadata import is being updated. UPDATING = 3 # The metadata import failed, and attempted metadata changes were rolled # back. FAILED = 4 end end |
#database_dump ⇒ ::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump
Returns Immutable. A database dump from a pre-existing metastore's database.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 264 class MetadataImport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A specification of the location of and metadata about a database dump from # a relational database management system. # @!attribute [rw] database_type # @return [::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType] # The type of the database. # @!attribute [rw] gcs_uri # @return [::String] # A Cloud Storage object or folder URI that specifies the source from which # to import metadata. It must begin with `gs://`. # @!attribute [rw] type # @return [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type] # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. class DatabaseDump include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the database. module DatabaseType # The type of the source database is unknown. DATABASE_TYPE_UNSPECIFIED = 0 # The type of the source database is MySQL. MYSQL = 1 end end # The current state of the metadata import. module State # The state of the metadata import is unknown. STATE_UNSPECIFIED = 0 # The metadata import is running. RUNNING = 1 # The metadata import completed successfully. SUCCEEDED = 2 # The metadata import is being updated. UPDATING = 3 # The metadata import failed, and attempted metadata changes were rolled # back. FAILED = 4 end end |
#description ⇒ ::String
Returns The description of the metadata import.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 264 class MetadataImport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A specification of the location of and metadata about a database dump from # a relational database management system. # @!attribute [rw] database_type # @return [::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType] # The type of the database. # @!attribute [rw] gcs_uri # @return [::String] # A Cloud Storage object or folder URI that specifies the source from which # to import metadata. It must begin with `gs://`. # @!attribute [rw] type # @return [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type] # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. class DatabaseDump include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the database. module DatabaseType # The type of the source database is unknown. DATABASE_TYPE_UNSPECIFIED = 0 # The type of the source database is MySQL. MYSQL = 1 end end # The current state of the metadata import. module State # The state of the metadata import is unknown. STATE_UNSPECIFIED = 0 # The metadata import is running. RUNNING = 1 # The metadata import completed successfully. SUCCEEDED = 2 # The metadata import is being updated. UPDATING = 3 # The metadata import failed, and attempted metadata changes were rolled # back. FAILED = 4 end end |
#name ⇒ ::String
Returns Immutable. The relative resource name of the metadata import, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}
.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 264 class MetadataImport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A specification of the location of and metadata about a database dump from # a relational database management system. # @!attribute [rw] database_type # @return [::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType] # The type of the database. # @!attribute [rw] gcs_uri # @return [::String] # A Cloud Storage object or folder URI that specifies the source from which # to import metadata. It must begin with `gs://`. # @!attribute [rw] type # @return [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type] # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. class DatabaseDump include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the database. module DatabaseType # The type of the source database is unknown. DATABASE_TYPE_UNSPECIFIED = 0 # The type of the source database is MySQL. MYSQL = 1 end end # The current state of the metadata import. module State # The state of the metadata import is unknown. STATE_UNSPECIFIED = 0 # The metadata import is running. RUNNING = 1 # The metadata import completed successfully. SUCCEEDED = 2 # The metadata import is being updated. UPDATING = 3 # The metadata import failed, and attempted metadata changes were rolled # back. FAILED = 4 end end |
#state ⇒ ::Google::Cloud::Metastore::V1::MetadataImport::State (readonly)
Returns Output only. The current state of the metadata import.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 264 class MetadataImport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A specification of the location of and metadata about a database dump from # a relational database management system. # @!attribute [rw] database_type # @return [::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType] # The type of the database. # @!attribute [rw] gcs_uri # @return [::String] # A Cloud Storage object or folder URI that specifies the source from which # to import metadata. It must begin with `gs://`. # @!attribute [rw] type # @return [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type] # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. class DatabaseDump include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the database. module DatabaseType # The type of the source database is unknown. DATABASE_TYPE_UNSPECIFIED = 0 # The type of the source database is MySQL. MYSQL = 1 end end # The current state of the metadata import. module State # The state of the metadata import is unknown. STATE_UNSPECIFIED = 0 # The metadata import is running. RUNNING = 1 # The metadata import completed successfully. SUCCEEDED = 2 # The metadata import is being updated. UPDATING = 3 # The metadata import failed, and attempted metadata changes were rolled # back. FAILED = 4 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the metadata import was last updated.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 264 class MetadataImport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A specification of the location of and metadata about a database dump from # a relational database management system. # @!attribute [rw] database_type # @return [::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType] # The type of the database. # @!attribute [rw] gcs_uri # @return [::String] # A Cloud Storage object or folder URI that specifies the source from which # to import metadata. It must begin with `gs://`. # @!attribute [rw] type # @return [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type] # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. class DatabaseDump include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the database. module DatabaseType # The type of the source database is unknown. DATABASE_TYPE_UNSPECIFIED = 0 # The type of the source database is MySQL. MYSQL = 1 end end # The current state of the metadata import. module State # The state of the metadata import is unknown. STATE_UNSPECIFIED = 0 # The metadata import is running. RUNNING = 1 # The metadata import completed successfully. SUCCEEDED = 2 # The metadata import is being updated. UPDATING = 3 # The metadata import failed, and attempted metadata changes were rolled # back. FAILED = 4 end end |