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.



1980
1981
1982
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1980

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

Instance Attribute Details

#available_core_count_per_nodeFixnum

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

Returns:

  • (Fixnum)


1922
1923
1924
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1922

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)


1927
1928
1929
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1927

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)


1932
1933
1934
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1932

def available_memory_per_node_gb
  @available_memory_per_node_gb
end

#max_node_countFixnum

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

Returns:

  • (Fixnum)


1937
1938
1939
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1937

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)


1942
1943
1944
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1942

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)


1947
1948
1949
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1947

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)


1952
1953
1954
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1952

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)


1957
1958
1959
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1957

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)


1962
1963
1964
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1962

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)


1967
1968
1969
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1967

def min_storage_count
  @min_storage_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)


1973
1974
1975
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1973

def name
  @name
end

#shapeString

Optional. shape Corresponds to the JSON property shape

Returns:

  • (String)


1978
1979
1980
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1978

def shape
  @shape
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1985

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