Class: Google::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape

Inherits:
Object
  • Object
show all
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 MySQL database shape.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudSqlForMySqlShape

Returns a new instance of CloudSqlForMySqlShape.



1903
1904
1905
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1903

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backup_storage_gbFixnum

Output only. Predicted backup storage size in GiB. Corresponds to the JSON property backupStorageGb

Returns:

  • (Fixnum)


1866
1867
1868
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1866

def backup_storage_gb
  @backup_storage_gb
end

#editionString

Output only. Cloud SQL edition. Corresponds to the JSON property edition

Returns:

  • (String)


1871
1872
1873
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1871

def edition
  @edition
end

#egress_gb_per_monthFixnum

Output only. Predicted Network Out traffic GiB per month. Corresponds to the JSON property egressGbPerMonth

Returns:

  • (Fixnum)


1876
1877
1878
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1876

def egress_gb_per_month
  @egress_gb_per_month
end

#logical_core_countFixnum

Output only. Number of logical cores. Corresponds to the JSON property logicalCoreCount

Returns:

  • (Fixnum)


1881
1882
1883
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1881

def logical_core_count
  @logical_core_count
end

#memory_mbFixnum

Output only. Predicted amount of memory in MiB. Corresponds to the JSON property memoryMb

Returns:

  • (Fixnum)


1886
1887
1888
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1886

def memory_mb
  @memory_mb
end

#storageGoogle::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor

Compute Engine storage option descriptor. Corresponds to the JSON property storage



1891
1892
1893
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1891

def storage
  @storage
end

#versionString

Output only. MySQL version to be used on the Cloud SQL for MySQL instance. Corresponds to the JSON property version

Returns:

  • (String)


1896
1897
1898
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1896

def version
  @version
end

#zone_availabilityString

Output only. Cloud SQL zone availability. Corresponds to the JSON property zoneAvailability

Returns:

  • (String)


1901
1902
1903
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1901

def zone_availability
  @zone_availability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1908

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