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.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#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 started.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 441 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 # @deprecated This field is deprecated and may be removed in the next major version update. # @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] source_database # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # The name of the source database. # @!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.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 441 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 # @deprecated This field is deprecated and may be removed in the next major version update. # @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] source_database # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # The name of the source database. # @!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.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 441 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 # @deprecated This field is deprecated and may be removed in the next major version update. # @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] source_database # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # The name of the source database. # @!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 |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the metadata import finished.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 441 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 # @deprecated This field is deprecated and may be removed in the next major version update. # @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] source_database # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # The name of the source database. # @!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}
.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 441 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 # @deprecated This field is deprecated and may be removed in the next major version update. # @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] source_database # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # The name of the source database. # @!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.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 441 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 # @deprecated This field is deprecated and may be removed in the next major version update. # @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] source_database # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # The name of the source database. # @!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.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 441 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 # @deprecated This field is deprecated and may be removed in the next major version update. # @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] source_database # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # The name of the source database. # @!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 |