Class: Google::Cloud::Metastore::V1beta::MetadataImport
- Inherits:
-
Object
- Object
- Google::Cloud::Metastore::V1beta::MetadataImport
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/metastore/v1beta/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::V1beta::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::V1beta::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.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 504 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::V1beta::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::V1beta::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::V1beta::MetadataImport::DatabaseDump
Returns Immutable. A database dump from a pre-existing metastore's database.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 504 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::V1beta::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::V1beta::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.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 504 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::V1beta::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::V1beta::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.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 504 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::V1beta::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::V1beta::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}
.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 504 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::V1beta::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::V1beta::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::V1beta::MetadataImport::State (readonly)
Returns Output only. The current state of the metadata import.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 504 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::V1beta::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::V1beta::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.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 504 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::V1beta::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::V1beta::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 |