Class: Google::Apis::OracledatabaseV1::DbSystemShape
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DbSystemShape
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
Details of the Database System Shapes resource. https://docs.oracle.com/en-us/ iaas/api/#/en/database/20160918/DbSystemShapeSummary/
Instance Attribute Summary collapse
-
#available_core_count_per_node ⇒ Fixnum
Optional.
-
#available_data_storage_tb ⇒ Fixnum
Optional.
-
#available_memory_per_node_gb ⇒ Fixnum
Optional.
-
#max_node_count ⇒ Fixnum
Optional.
-
#max_storage_count ⇒ Fixnum
Optional.
-
#min_core_count_per_node ⇒ Fixnum
Optional.
-
#min_db_node_storage_per_node_gb ⇒ Fixnum
Optional.
-
#min_memory_per_node_gb ⇒ Fixnum
Optional.
-
#min_node_count ⇒ Fixnum
Optional.
-
#min_storage_count ⇒ Fixnum
Optional.
-
#name ⇒ String
Identifier.
-
#shape ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DbSystemShape
constructor
A new instance of DbSystemShape.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DbSystemShape
Returns a new instance of DbSystemShape.
2962 2963 2964 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_core_count_per_node ⇒ Fixnum
Optional. Number of cores per node.
Corresponds to the JSON property availableCoreCountPerNode
2904 2905 2906 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2904 def available_core_count_per_node @available_core_count_per_node end |
#available_data_storage_tb ⇒ Fixnum
Optional. Storage per storage server in terabytes.
Corresponds to the JSON property availableDataStorageTb
2909 2910 2911 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2909 def available_data_storage_tb @available_data_storage_tb end |
#available_memory_per_node_gb ⇒ Fixnum
Optional. Memory per database server node in gigabytes.
Corresponds to the JSON property availableMemoryPerNodeGb
2914 2915 2916 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2914 def available_memory_per_node_gb @available_memory_per_node_gb end |
#max_node_count ⇒ Fixnum
Optional. Maximum number of database servers.
Corresponds to the JSON property maxNodeCount
2919 2920 2921 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2919 def max_node_count @max_node_count end |
#max_storage_count ⇒ Fixnum
Optional. Maximum number of storage servers.
Corresponds to the JSON property maxStorageCount
2924 2925 2926 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2924 def max_storage_count @max_storage_count end |
#min_core_count_per_node ⇒ Fixnum
Optional. Minimum core count per node.
Corresponds to the JSON property minCoreCountPerNode
2929 2930 2931 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2929 def min_core_count_per_node @min_core_count_per_node end |
#min_db_node_storage_per_node_gb ⇒ Fixnum
Optional. Minimum node storage per database server in gigabytes.
Corresponds to the JSON property minDbNodeStoragePerNodeGb
2934 2935 2936 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2934 def min_db_node_storage_per_node_gb @min_db_node_storage_per_node_gb end |
#min_memory_per_node_gb ⇒ Fixnum
Optional. Minimum memory per node in gigabytes.
Corresponds to the JSON property minMemoryPerNodeGb
2939 2940 2941 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2939 def min_memory_per_node_gb @min_memory_per_node_gb end |
#min_node_count ⇒ Fixnum
Optional. Minimum number of database servers.
Corresponds to the JSON property minNodeCount
2944 2945 2946 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2944 def min_node_count @min_node_count end |
#min_storage_count ⇒ Fixnum
Optional. Minimum number of storage servers.
Corresponds to the JSON property minStorageCount
2949 2950 2951 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2949 def min_storage_count @min_storage_count end |
#name ⇒ String
Identifier. The name of the Database System Shape resource with the format:
projects/project/locations/region/dbSystemShapes/db_system_shape
Corresponds to the JSON property name
2955 2956 2957 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2955 def name @name end |
#shape ⇒ String
Optional. shape
Corresponds to the JSON property shape
2960 2961 2962 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2960 def shape @shape end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2967 def update!(**args) @available_core_count_per_node = args[:available_core_count_per_node] if args.key?(:available_core_count_per_node) @available_data_storage_tb = args[:available_data_storage_tb] if args.key?(:available_data_storage_tb) @available_memory_per_node_gb = args[:available_memory_per_node_gb] if args.key?(:available_memory_per_node_gb) @max_node_count = args[:max_node_count] if args.key?(:max_node_count) @max_storage_count = args[:max_storage_count] if args.key?(:max_storage_count) @min_core_count_per_node = args[:min_core_count_per_node] if args.key?(:min_core_count_per_node) @min_db_node_storage_per_node_gb = args[:min_db_node_storage_per_node_gb] if args.key?(:min_db_node_storage_per_node_gb) @min_memory_per_node_gb = args[:min_memory_per_node_gb] if args.key?(:min_memory_per_node_gb) @min_node_count = args[:min_node_count] if args.key?(:min_node_count) @min_storage_count = args[:min_storage_count] if args.key?(:min_storage_count) @name = args[:name] if args.key?(:name) @shape = args[:shape] if args.key?(:shape) end |