Class: Google::Apis::MigrationcenterV1alpha1::CloudSqlForPostgreSqlShape
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::CloudSqlForPostgreSqlShape
- 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
Cloud SQL for Postgres database shape.
Instance Attribute Summary collapse
-
#backup_storage_gb ⇒ Fixnum
Output only.
-
#edition ⇒ String
Output only.
-
#egress_gb_per_month ⇒ Fixnum
Output only.
-
#logical_core_count ⇒ Fixnum
Output only.
-
#memory_mb ⇒ Fixnum
Output only.
-
#storage ⇒ Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor
Compute Engine storage option descriptor.
-
#version ⇒ String
Output only.
-
#zone_availability ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSqlForPostgreSqlShape
constructor
A new instance of CloudSqlForPostgreSqlShape.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSqlForPostgreSqlShape
Returns a new instance of CloudSqlForPostgreSqlShape.
925 926 927 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 925 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_storage_gb ⇒ Fixnum
Output only. Predicted backup storage size in GiB.
Corresponds to the JSON property backupStorageGb
887 888 889 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 887 def backup_storage_gb @backup_storage_gb end |
#edition ⇒ String
Output only. Cloud SQL edition.
Corresponds to the JSON property edition
892 893 894 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 892 def edition @edition end |
#egress_gb_per_month ⇒ Fixnum
Output only. Predicted Network Out traffic GiB per month.
Corresponds to the JSON property egressGbPerMonth
897 898 899 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 897 def egress_gb_per_month @egress_gb_per_month end |
#logical_core_count ⇒ Fixnum
Output only. Number of logical cores.
Corresponds to the JSON property logicalCoreCount
902 903 904 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 902 def logical_core_count @logical_core_count end |
#memory_mb ⇒ Fixnum
Output only. Predicted amount of memory in MiB.
Corresponds to the JSON property memoryMb
907 908 909 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 907 def memory_mb @memory_mb end |
#storage ⇒ Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor
Compute Engine storage option descriptor.
Corresponds to the JSON property storage
912 913 914 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 912 def storage @storage end |
#version ⇒ String
Output only. PostgreSql version to be used on the Cloud SQL for PostgreSql
instance.
Corresponds to the JSON property version
918 919 920 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 918 def version @version end |
#zone_availability ⇒ String
Output only. Cloud SQL zone availability.
Corresponds to the JSON property zoneAvailability
923 924 925 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 923 def zone_availability @zone_availability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
930 931 932 933 934 935 936 937 938 939 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 930 def update!(**args) @backup_storage_gb = args[:backup_storage_gb] if args.key?(:backup_storage_gb) @edition = args[:edition] if args.key?(:edition) @egress_gb_per_month = args[:egress_gb_per_month] if args.key?(:egress_gb_per_month) @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count) @memory_mb = args[:memory_mb] if args.key?(:memory_mb) @storage = args[:storage] if args.key?(:storage) @version = args[:version] if args.key?(:version) @zone_availability = args[:zone_availability] if args.key?(:zone_availability) end |