Class: Google::Apis::OracledatabaseV1::DbSystemShape

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DbSystemShape

Returns a new instance of DbSystemShape.



3081
3082
3083
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3081

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

Instance Attribute Details

#available_core_countFixnum

Optional. Available core count. Corresponds to the JSON property availableCoreCount

Returns:

  • (Fixnum)


3008
3009
3010
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3008

def available_core_count
  @available_core_count
end

#available_core_count_per_nodeFixnum

Optional. Number of cores per node. Corresponds to the JSON property availableCoreCountPerNode

Returns:

  • (Fixnum)


3013
3014
3015
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3013

def available_core_count_per_node
  @available_core_count_per_node
end

#available_data_storage_tbFixnum

Optional. Storage per storage server in terabytes. Corresponds to the JSON property availableDataStorageTb

Returns:

  • (Fixnum)


3018
3019
3020
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3018

def available_data_storage_tb
  @available_data_storage_tb
end

#available_memory_per_node_gbFixnum

Optional. Memory per database server node in gigabytes. Corresponds to the JSON property availableMemoryPerNodeGb

Returns:

  • (Fixnum)


3023
3024
3025
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3023

def available_memory_per_node_gb
  @available_memory_per_node_gb
end

#core_count_incrementFixnum

Optional. Core count increment. Corresponds to the JSON property coreCountIncrement

Returns:

  • (Fixnum)


3028
3029
3030
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3028

def core_count_increment
  @core_count_increment
end

#max_node_countFixnum

Optional. Maximum number of database servers. Corresponds to the JSON property maxNodeCount

Returns:

  • (Fixnum)


3033
3034
3035
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3033

def max_node_count
  @max_node_count
end

#max_storage_countFixnum

Optional. Maximum number of storage servers. Corresponds to the JSON property maxStorageCount

Returns:

  • (Fixnum)


3038
3039
3040
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3038

def max_storage_count
  @max_storage_count
end

#min_core_count_per_nodeFixnum

Optional. Minimum core count per node. Corresponds to the JSON property minCoreCountPerNode

Returns:

  • (Fixnum)


3043
3044
3045
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3043

def min_core_count_per_node
  @min_core_count_per_node
end

#min_db_node_storage_per_node_gbFixnum

Optional. Minimum node storage per database server in gigabytes. Corresponds to the JSON property minDbNodeStoragePerNodeGb

Returns:

  • (Fixnum)


3048
3049
3050
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3048

def min_db_node_storage_per_node_gb
  @min_db_node_storage_per_node_gb
end

#min_memory_per_node_gbFixnum

Optional. Minimum memory per node in gigabytes. Corresponds to the JSON property minMemoryPerNodeGb

Returns:

  • (Fixnum)


3053
3054
3055
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3053

def min_memory_per_node_gb
  @min_memory_per_node_gb
end

#min_node_countFixnum

Optional. Minimum number of database servers. Corresponds to the JSON property minNodeCount

Returns:

  • (Fixnum)


3058
3059
3060
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3058

def min_node_count
  @min_node_count
end

#min_storage_countFixnum

Optional. Minimum number of storage servers. Corresponds to the JSON property minStorageCount

Returns:

  • (Fixnum)


3063
3064
3065
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3063

def min_storage_count
  @min_storage_count
end

#minimum_core_countFixnum

Optional. Minimum core count per node. Corresponds to the JSON property minimumCoreCount

Returns:

  • (Fixnum)


3068
3069
3070
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3068

def minimum_core_count
  @minimum_core_count
end

#nameString

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

Returns:

  • (String)


3074
3075
3076
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3074

def name
  @name
end

#shapeString

Optional. shape Corresponds to the JSON property shape

Returns:

  • (String)


3079
3080
3081
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3079

def shape
  @shape
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3086

def update!(**args)
  @available_core_count = args[:available_core_count] if args.key?(:available_core_count)
  @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)
  @core_count_increment = args[:core_count_increment] if args.key?(:core_count_increment)
  @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)
  @minimum_core_count = args[:minimum_core_count] if args.key?(:minimum_core_count)
  @name = args[:name] if args.key?(:name)
  @shape = args[:shape] if args.key?(:shape)
end