Class: Google::Apis::MigrationcenterV1alpha1::DatabaseDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DatabaseDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Details of a logical database.
Instance Attribute Summary collapse
-
#allocated_storage_bytes ⇒ Fixnum
The allocated storage for the database in bytes.
-
#database_name ⇒ String
The name of the database.
-
#parent_database_deployment ⇒ Google::Apis::MigrationcenterV1alpha1::DatabaseDetailsParentDatabaseDeployment
The identifiers of the parent database deployment.
-
#schemas ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DatabaseSchema>
The database schemas.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseDetails
constructor
A new instance of DatabaseDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseDetails
Returns a new instance of DatabaseDetails.
1882 1883 1884 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allocated_storage_bytes ⇒ Fixnum
The allocated storage for the database in bytes.
Corresponds to the JSON property allocatedStorageBytes
1865 1866 1867 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1865 def allocated_storage_bytes @allocated_storage_bytes end |
#database_name ⇒ String
The name of the database.
Corresponds to the JSON property databaseName
1870 1871 1872 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1870 def database_name @database_name end |
#parent_database_deployment ⇒ Google::Apis::MigrationcenterV1alpha1::DatabaseDetailsParentDatabaseDeployment
The identifiers of the parent database deployment.
Corresponds to the JSON property parentDatabaseDeployment
1875 1876 1877 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1875 def parent_database_deployment @parent_database_deployment end |
#schemas ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DatabaseSchema>
The database schemas.
Corresponds to the JSON property schemas
1880 1881 1882 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1880 def schemas @schemas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1887 1888 1889 1890 1891 1892 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1887 def update!(**args) @allocated_storage_bytes = args[:allocated_storage_bytes] if args.key?(:allocated_storage_bytes) @database_name = args[:database_name] if args.key?(:database_name) @parent_database_deployment = args[:parent_database_deployment] if args.key?(:parent_database_deployment) @schemas = args[:schemas] if args.key?(:schemas) end |