Class: Google::Apis::OracledatabaseV1::DbSystemProperties
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DbSystemProperties
- 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
The properties of a DbSystem.
Instance Attribute Summary collapse
-
#compute_count ⇒ Fixnum
Required.
-
#compute_model ⇒ String
Optional.
-
#data_collection_options ⇒ Google::Apis::OracledatabaseV1::DataCollectionOptionsDbSystem
Data collection options for DbSystem.
-
#data_storage_size_gb ⇒ Fixnum
Optional.
-
#database_edition ⇒ String
Required.
-
#db_home ⇒ Google::Apis::OracledatabaseV1::DbHome
Details of the Database Home resource.
-
#db_system_options ⇒ Google::Apis::OracledatabaseV1::DbSystemOptions
Details of the DbSystem Options.
-
#domain ⇒ String
Optional.
-
#hostname ⇒ String
Output only.
-
#hostname_prefix ⇒ String
Optional.
-
#initial_data_storage_size_gb ⇒ Fixnum
Required.
-
#license_model ⇒ String
Required.
-
#lifecycle_state ⇒ String
Output only.
-
#memory_size_gb ⇒ Fixnum
Optional.
-
#node_count ⇒ Fixnum
Optional.
-
#ocid ⇒ String
Output only.
-
#private_ip ⇒ String
Optional.
-
#reco_storage_size_gb ⇒ Fixnum
Optional.
-
#shape ⇒ String
Required.
-
#ssh_public_keys ⇒ Array<String>
Required.
-
#time_zone ⇒ Google::Apis::OracledatabaseV1::TimeZone
Represents a time zone from the IANA Time Zone Database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DbSystemProperties
constructor
A new instance of DbSystemProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DbSystemProperties
Returns a new instance of DbSystemProperties.
2911 2912 2913 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2911 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compute_count ⇒ Fixnum
Required. The number of CPU cores to enable for the DbSystem.
Corresponds to the JSON property computeCount
2808 2809 2810 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2808 def compute_count @compute_count end |
#compute_model ⇒ String
Optional. The compute model of the DbSystem.
Corresponds to the JSON property computeModel
2813 2814 2815 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2813 def compute_model @compute_model end |
#data_collection_options ⇒ Google::Apis::OracledatabaseV1::DataCollectionOptionsDbSystem
Data collection options for DbSystem.
Corresponds to the JSON property dataCollectionOptions
2818 2819 2820 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2818 def @data_collection_options end |
#data_storage_size_gb ⇒ Fixnum
Optional. The data storage size in GB that is currently available to DbSystems.
Corresponds to the JSON property dataStorageSizeGb
2823 2824 2825 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2823 def data_storage_size_gb @data_storage_size_gb end |
#database_edition ⇒ String
Required. The database edition of the DbSystem.
Corresponds to the JSON property databaseEdition
2828 2829 2830 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2828 def database_edition @database_edition end |
#db_home ⇒ Google::Apis::OracledatabaseV1::DbHome
Details of the Database Home resource.
Corresponds to the JSON property dbHome
2833 2834 2835 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2833 def db_home @db_home end |
#db_system_options ⇒ Google::Apis::OracledatabaseV1::DbSystemOptions
Details of the DbSystem Options.
Corresponds to the JSON property dbSystemOptions
2838 2839 2840 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2838 def @db_system_options end |
#domain ⇒ String
Optional. The host domain name of the DbSystem.
Corresponds to the JSON property domain
2843 2844 2845 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2843 def domain @domain end |
#hostname ⇒ String
Output only. The hostname of the DbSystem.
Corresponds to the JSON property hostname
2848 2849 2850 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2848 def hostname @hostname end |
#hostname_prefix ⇒ String
Optional. Prefix for DB System host names.
Corresponds to the JSON property hostnamePrefix
2853 2854 2855 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2853 def hostname_prefix @hostname_prefix end |
#initial_data_storage_size_gb ⇒ Fixnum
Required. The initial data storage size in GB.
Corresponds to the JSON property initialDataStorageSizeGb
2858 2859 2860 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2858 def initial_data_storage_size_gb @initial_data_storage_size_gb end |
#license_model ⇒ String
Required. The license model of the DbSystem.
Corresponds to the JSON property licenseModel
2863 2864 2865 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2863 def license_model @license_model end |
#lifecycle_state ⇒ String
Output only. State of the DbSystem.
Corresponds to the JSON property lifecycleState
2868 2869 2870 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2868 def lifecycle_state @lifecycle_state end |
#memory_size_gb ⇒ Fixnum
Optional. The memory size in GB.
Corresponds to the JSON property memorySizeGb
2873 2874 2875 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2873 def memory_size_gb @memory_size_gb end |
#node_count ⇒ Fixnum
Optional. The number of nodes in the DbSystem.
Corresponds to the JSON property nodeCount
2878 2879 2880 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2878 def node_count @node_count end |
#ocid ⇒ String
Output only. OCID of the DbSystem.
Corresponds to the JSON property ocid
2883 2884 2885 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2883 def ocid @ocid end |
#private_ip ⇒ String
Optional. The private IP address of the DbSystem.
Corresponds to the JSON property privateIp
2888 2889 2890 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2888 def private_ip @private_ip end |
#reco_storage_size_gb ⇒ Fixnum
Optional. The reco/redo storage size in GB.
Corresponds to the JSON property recoStorageSizeGb
2893 2894 2895 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2893 def reco_storage_size_gb @reco_storage_size_gb end |
#shape ⇒ String
Required. Shape of DB System.
Corresponds to the JSON property shape
2898 2899 2900 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2898 def shape @shape end |
#ssh_public_keys ⇒ Array<String>
Required. SSH public keys to be stored with the DbSystem.
Corresponds to the JSON property sshPublicKeys
2903 2904 2905 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2903 def ssh_public_keys @ssh_public_keys end |
#time_zone ⇒ Google::Apis::OracledatabaseV1::TimeZone
Represents a time zone from the IANA Time Zone Database.
Corresponds to the JSON property timeZone
2909 2910 2911 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2909 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2916 def update!(**args) @compute_count = args[:compute_count] if args.key?(:compute_count) @compute_model = args[:compute_model] if args.key?(:compute_model) @data_collection_options = args[:data_collection_options] if args.key?(:data_collection_options) @data_storage_size_gb = args[:data_storage_size_gb] if args.key?(:data_storage_size_gb) @database_edition = args[:database_edition] if args.key?(:database_edition) @db_home = args[:db_home] if args.key?(:db_home) @db_system_options = args[:db_system_options] if args.key?(:db_system_options) @domain = args[:domain] if args.key?(:domain) @hostname = args[:hostname] if args.key?(:hostname) @hostname_prefix = args[:hostname_prefix] if args.key?(:hostname_prefix) @initial_data_storage_size_gb = args[:initial_data_storage_size_gb] if args.key?(:initial_data_storage_size_gb) @license_model = args[:license_model] if args.key?(:license_model) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb) @node_count = args[:node_count] if args.key?(:node_count) @ocid = args[:ocid] if args.key?(:ocid) @private_ip = args[:private_ip] if args.key?(:private_ip) @reco_storage_size_gb = args[:reco_storage_size_gb] if args.key?(:reco_storage_size_gb) @shape = args[:shape] if args.key?(:shape) @ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys) @time_zone = args[:time_zone] if args.key?(:time_zone) end |