google-apis-oracledatabase_v1 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -694,6 +694,17 @@ module Google
694
694
  # @return [String]
695
695
  attr_accessor :disaster_recovery_role_changed_time
696
696
 
697
+ # The encryption key used to encrypt the Autonomous Database.
698
+ # Corresponds to the JSON property `encryptionKey`
699
+ # @return [Google::Apis::OracledatabaseV1::EncryptionKey]
700
+ attr_accessor :encryption_key
701
+
702
+ # Output only. The history of the encryption keys used to encrypt the Autonomous
703
+ # Database.
704
+ # Corresponds to the JSON property `encryptionKeyHistoryEntries`
705
+ # @return [Array<Google::Apis::OracledatabaseV1::EncryptionKeyHistoryEntry>]
706
+ attr_accessor :encryption_key_history_entries
707
+
697
708
  # Output only. This field indicates the number of seconds of data loss during a
698
709
  # Data Guard failover.
699
710
  # Corresponds to the JSON property `failedDataRecoveryDuration`
@@ -867,6 +878,12 @@ module Google
867
878
  # @return [String]
868
879
  attr_accessor :secret_id
869
880
 
881
+ # Output only. An Oracle-managed Google Cloud service account on which customers
882
+ # can grant roles to access resources in the customer project.
883
+ # Corresponds to the JSON property `serviceAgentEmail`
884
+ # @return [String]
885
+ attr_accessor :service_agent_email
886
+
870
887
  # Output only. The SQL Web Developer URL for the Autonomous Database.
871
888
  # Corresponds to the JSON property `sqlWebDeveloperUrl`
872
889
  # @return [String]
@@ -928,6 +945,8 @@ module Google
928
945
  @db_version = args[:db_version] if args.key?(:db_version)
929
946
  @db_workload = args[:db_workload] if args.key?(:db_workload)
930
947
  @disaster_recovery_role_changed_time = args[:disaster_recovery_role_changed_time] if args.key?(:disaster_recovery_role_changed_time)
948
+ @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
949
+ @encryption_key_history_entries = args[:encryption_key_history_entries] if args.key?(:encryption_key_history_entries)
931
950
  @failed_data_recovery_duration = args[:failed_data_recovery_duration] if args.key?(:failed_data_recovery_duration)
932
951
  @is_auto_scaling_enabled = args[:is_auto_scaling_enabled] if args.key?(:is_auto_scaling_enabled)
933
952
  @is_local_data_guard_enabled = args[:is_local_data_guard_enabled] if args.key?(:is_local_data_guard_enabled)
@@ -959,6 +978,7 @@ module Google
959
978
  @role = args[:role] if args.key?(:role)
960
979
  @scheduled_operation_details = args[:scheduled_operation_details] if args.key?(:scheduled_operation_details)
961
980
  @secret_id = args[:secret_id] if args.key?(:secret_id)
981
+ @service_agent_email = args[:service_agent_email] if args.key?(:service_agent_email)
962
982
  @sql_web_developer_url = args[:sql_web_developer_url] if args.key?(:sql_web_developer_url)
963
983
  @state = args[:state] if args.key?(:state)
964
984
  @supported_clone_regions = args[:supported_clone_regions] if args.key?(:supported_clone_regions)
@@ -1057,6 +1077,25 @@ module Google
1057
1077
  end
1058
1078
  end
1059
1079
 
1080
+ # The details of the database backup destination.
1081
+ class BackupDestinationDetails
1082
+ include Google::Apis::Core::Hashable
1083
+
1084
+ # Optional. The type of the database backup destination.
1085
+ # Corresponds to the JSON property `type`
1086
+ # @return [String]
1087
+ attr_accessor :type
1088
+
1089
+ def initialize(**args)
1090
+ update!(**args)
1091
+ end
1092
+
1093
+ # Update properties of this object
1094
+ def update!(**args)
1095
+ @type = args[:type] if args.key?(:type)
1096
+ end
1097
+ end
1098
+
1060
1099
  # The request message for Operations.CancelOperation.
1061
1100
  class CancelOperationRequest
1062
1101
  include Google::Apis::Core::Hashable
@@ -1759,6 +1798,204 @@ module Google
1759
1798
  end
1760
1799
  end
1761
1800
 
1801
+ # Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/
1802
+ # api/#/en/database/20160918/datatypes/DataCollectionOptions
1803
+ class DataCollectionOptionsCommon
1804
+ include Google::Apis::Core::Hashable
1805
+
1806
+ # Optional. Indicates whether to enable data collection for diagnostics.
1807
+ # Corresponds to the JSON property `isDiagnosticsEventsEnabled`
1808
+ # @return [Boolean]
1809
+ attr_accessor :is_diagnostics_events_enabled
1810
+ alias_method :is_diagnostics_events_enabled?, :is_diagnostics_events_enabled
1811
+
1812
+ # Optional. Indicates whether to enable health monitoring.
1813
+ # Corresponds to the JSON property `isHealthMonitoringEnabled`
1814
+ # @return [Boolean]
1815
+ attr_accessor :is_health_monitoring_enabled
1816
+ alias_method :is_health_monitoring_enabled?, :is_health_monitoring_enabled
1817
+
1818
+ # Optional. Indicates whether to enable incident logs and trace collection.
1819
+ # Corresponds to the JSON property `isIncidentLogsEnabled`
1820
+ # @return [Boolean]
1821
+ attr_accessor :is_incident_logs_enabled
1822
+ alias_method :is_incident_logs_enabled?, :is_incident_logs_enabled
1823
+
1824
+ def initialize(**args)
1825
+ update!(**args)
1826
+ end
1827
+
1828
+ # Update properties of this object
1829
+ def update!(**args)
1830
+ @is_diagnostics_events_enabled = args[:is_diagnostics_events_enabled] if args.key?(:is_diagnostics_events_enabled)
1831
+ @is_health_monitoring_enabled = args[:is_health_monitoring_enabled] if args.key?(:is_health_monitoring_enabled)
1832
+ @is_incident_logs_enabled = args[:is_incident_logs_enabled] if args.key?(:is_incident_logs_enabled)
1833
+ end
1834
+ end
1835
+
1836
+ # Data collection options for DbSystem.
1837
+ class DataCollectionOptionsDbSystem
1838
+ include Google::Apis::Core::Hashable
1839
+
1840
+ # Optional. Indicates whether to enable data collection for diagnostics.
1841
+ # Corresponds to the JSON property `isDiagnosticsEventsEnabled`
1842
+ # @return [Boolean]
1843
+ attr_accessor :is_diagnostics_events_enabled
1844
+ alias_method :is_diagnostics_events_enabled?, :is_diagnostics_events_enabled
1845
+
1846
+ # Optional. Indicates whether to enable incident logs and trace collection.
1847
+ # Corresponds to the JSON property `isIncidentLogsEnabled`
1848
+ # @return [Boolean]
1849
+ attr_accessor :is_incident_logs_enabled
1850
+ alias_method :is_incident_logs_enabled?, :is_incident_logs_enabled
1851
+
1852
+ def initialize(**args)
1853
+ update!(**args)
1854
+ end
1855
+
1856
+ # Update properties of this object
1857
+ def update!(**args)
1858
+ @is_diagnostics_events_enabled = args[:is_diagnostics_events_enabled] if args.key?(:is_diagnostics_events_enabled)
1859
+ @is_incident_logs_enabled = args[:is_incident_logs_enabled] if args.key?(:is_incident_logs_enabled)
1860
+ end
1861
+ end
1862
+
1863
+ # Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/
1864
+ # database/20160918/Database/
1865
+ class Database
1866
+ include Google::Apis::Core::Hashable
1867
+
1868
+ # Required. The password for the default ADMIN user.
1869
+ # Corresponds to the JSON property `adminPassword`
1870
+ # @return [String]
1871
+ attr_accessor :admin_password
1872
+
1873
+ # Optional. The character set for the database. The default is AL32UTF8.
1874
+ # Corresponds to the JSON property `characterSet`
1875
+ # @return [String]
1876
+ attr_accessor :character_set
1877
+
1878
+ # Output only. The date and time that the Database was created.
1879
+ # Corresponds to the JSON property `createTime`
1880
+ # @return [String]
1881
+ attr_accessor :create_time
1882
+
1883
+ # Optional. The database ID of the Database.
1884
+ # Corresponds to the JSON property `databaseId`
1885
+ # @return [String]
1886
+ attr_accessor :database_id
1887
+
1888
+ # Optional. The name of the DbHome resource associated with the Database.
1889
+ # Corresponds to the JSON property `dbHomeName`
1890
+ # @return [String]
1891
+ attr_accessor :db_home_name
1892
+
1893
+ # Optional. The database name. The name must begin with an alphabetic character
1894
+ # and can contain a maximum of eight alphanumeric characters. Special characters
1895
+ # are not permitted.
1896
+ # Corresponds to the JSON property `dbName`
1897
+ # @return [String]
1898
+ attr_accessor :db_name
1899
+
1900
+ # Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
1901
+ # Corresponds to the JSON property `dbUniqueName`
1902
+ # @return [String]
1903
+ attr_accessor :db_unique_name
1904
+
1905
+ # Output only. The GCP Oracle zone where the Database is created.
1906
+ # Corresponds to the JSON property `gcpOracleZone`
1907
+ # @return [String]
1908
+ attr_accessor :gcp_oracle_zone
1909
+
1910
+ # Identifier. The name of the Database resource in the following format:
1911
+ # projects/`project`/locations/`region`/databases/`database`
1912
+ # Corresponds to the JSON property `name`
1913
+ # @return [String]
1914
+ attr_accessor :name
1915
+
1916
+ # Optional. The national character set for the database. The default is
1917
+ # AL16UTF16.
1918
+ # Corresponds to the JSON property `ncharacterSet`
1919
+ # @return [String]
1920
+ attr_accessor :ncharacter_set
1921
+
1922
+ # Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
1923
+ # Corresponds to the JSON property `ociUrl`
1924
+ # @return [String]
1925
+ attr_accessor :oci_url
1926
+
1927
+ # Output only. The Status of Operations Insights for this Database.
1928
+ # Corresponds to the JSON property `opsInsightsStatus`
1929
+ # @return [String]
1930
+ attr_accessor :ops_insights_status
1931
+
1932
+ # The properties of a Database.
1933
+ # Corresponds to the JSON property `properties`
1934
+ # @return [Google::Apis::OracledatabaseV1::DatabaseProperties]
1935
+ attr_accessor :properties
1936
+
1937
+ # Optional. The TDE wallet password for the database.
1938
+ # Corresponds to the JSON property `tdeWalletPassword`
1939
+ # @return [String]
1940
+ attr_accessor :tde_wallet_password
1941
+
1942
+ def initialize(**args)
1943
+ update!(**args)
1944
+ end
1945
+
1946
+ # Update properties of this object
1947
+ def update!(**args)
1948
+ @admin_password = args[:admin_password] if args.key?(:admin_password)
1949
+ @character_set = args[:character_set] if args.key?(:character_set)
1950
+ @create_time = args[:create_time] if args.key?(:create_time)
1951
+ @database_id = args[:database_id] if args.key?(:database_id)
1952
+ @db_home_name = args[:db_home_name] if args.key?(:db_home_name)
1953
+ @db_name = args[:db_name] if args.key?(:db_name)
1954
+ @db_unique_name = args[:db_unique_name] if args.key?(:db_unique_name)
1955
+ @gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
1956
+ @name = args[:name] if args.key?(:name)
1957
+ @ncharacter_set = args[:ncharacter_set] if args.key?(:ncharacter_set)
1958
+ @oci_url = args[:oci_url] if args.key?(:oci_url)
1959
+ @ops_insights_status = args[:ops_insights_status] if args.key?(:ops_insights_status)
1960
+ @properties = args[:properties] if args.key?(:properties)
1961
+ @tde_wallet_password = args[:tde_wallet_password] if args.key?(:tde_wallet_password)
1962
+ end
1963
+ end
1964
+
1965
+ # Details of the Database character set resource.
1966
+ class DatabaseCharacterSet
1967
+ include Google::Apis::Core::Hashable
1968
+
1969
+ # Output only. The character set name for the Database which is the ID in the
1970
+ # resource name.
1971
+ # Corresponds to the JSON property `characterSet`
1972
+ # @return [String]
1973
+ attr_accessor :character_set
1974
+
1975
+ # Output only. The character set type for the Database.
1976
+ # Corresponds to the JSON property `characterSetType`
1977
+ # @return [String]
1978
+ attr_accessor :character_set_type
1979
+
1980
+ # Identifier. The name of the Database Character Set resource in the following
1981
+ # format: projects/`project`/locations/`region`/databaseCharacterSets/`
1982
+ # database_character_set`
1983
+ # Corresponds to the JSON property `name`
1984
+ # @return [String]
1985
+ attr_accessor :name
1986
+
1987
+ def initialize(**args)
1988
+ update!(**args)
1989
+ end
1990
+
1991
+ # Update properties of this object
1992
+ def update!(**args)
1993
+ @character_set = args[:character_set] if args.key?(:character_set)
1994
+ @character_set_type = args[:character_set_type] if args.key?(:character_set_type)
1995
+ @name = args[:name] if args.key?(:name)
1996
+ end
1997
+ end
1998
+
1762
1999
  # The connection string profile to allow clients to group. https://docs.oracle.
1763
2000
  # com/en-us/iaas/api/#/en/database/20160918/datatypes/
1764
2001
  # DatabaseConnectionStringProfile
@@ -1831,6 +2068,172 @@ module Google
1831
2068
  end
1832
2069
  end
1833
2070
 
2071
+ # The configuration of the Database Management service.
2072
+ class DatabaseManagementConfig
2073
+ include Google::Apis::Core::Hashable
2074
+
2075
+ # Output only. The status of the Database Management service.
2076
+ # Corresponds to the JSON property `managementState`
2077
+ # @return [String]
2078
+ attr_accessor :management_state
2079
+
2080
+ # Output only. The Database Management type.
2081
+ # Corresponds to the JSON property `managementType`
2082
+ # @return [String]
2083
+ attr_accessor :management_type
2084
+
2085
+ def initialize(**args)
2086
+ update!(**args)
2087
+ end
2088
+
2089
+ # Update properties of this object
2090
+ def update!(**args)
2091
+ @management_state = args[:management_state] if args.key?(:management_state)
2092
+ @management_type = args[:management_type] if args.key?(:management_type)
2093
+ end
2094
+ end
2095
+
2096
+ # The properties of a Database.
2097
+ class DatabaseProperties
2098
+ include Google::Apis::Core::Hashable
2099
+
2100
+ # The configuration of the Database Management service.
2101
+ # Corresponds to the JSON property `databaseManagementConfig`
2102
+ # @return [Google::Apis::OracledatabaseV1::DatabaseManagementConfig]
2103
+ attr_accessor :database_management_config
2104
+
2105
+ # Backup Options for the Database.
2106
+ # Corresponds to the JSON property `dbBackupConfig`
2107
+ # @return [Google::Apis::OracledatabaseV1::DbBackupConfig]
2108
+ attr_accessor :db_backup_config
2109
+
2110
+ # Required. The Oracle Database version.
2111
+ # Corresponds to the JSON property `dbVersion`
2112
+ # @return [String]
2113
+ attr_accessor :db_version
2114
+
2115
+ # Output only. State of the Database.
2116
+ # Corresponds to the JSON property `state`
2117
+ # @return [String]
2118
+ attr_accessor :state
2119
+
2120
+ def initialize(**args)
2121
+ update!(**args)
2122
+ end
2123
+
2124
+ # Update properties of this object
2125
+ def update!(**args)
2126
+ @database_management_config = args[:database_management_config] if args.key?(:database_management_config)
2127
+ @db_backup_config = args[:db_backup_config] if args.key?(:db_backup_config)
2128
+ @db_version = args[:db_version] if args.key?(:db_version)
2129
+ @state = args[:state] if args.key?(:state)
2130
+ end
2131
+ end
2132
+
2133
+ # Backup Options for the Database.
2134
+ class DbBackupConfig
2135
+ include Google::Apis::Core::Hashable
2136
+
2137
+ # Optional. If set to true, enables automatic backups on the database.
2138
+ # Corresponds to the JSON property `autoBackupEnabled`
2139
+ # @return [Boolean]
2140
+ attr_accessor :auto_backup_enabled
2141
+ alias_method :auto_backup_enabled?, :auto_backup_enabled
2142
+
2143
+ # Optional. The day of the week on which the full backup should be performed on
2144
+ # the database. If no value is provided, it will default to Sunday.
2145
+ # Corresponds to the JSON property `autoFullBackupDay`
2146
+ # @return [String]
2147
+ attr_accessor :auto_full_backup_day
2148
+
2149
+ # Optional. The window in which the full backup should be performed on the
2150
+ # database. If no value is provided, the default is anytime.
2151
+ # Corresponds to the JSON property `autoFullBackupWindow`
2152
+ # @return [String]
2153
+ attr_accessor :auto_full_backup_window
2154
+
2155
+ # Optional. The window in which the incremental backup should be performed on
2156
+ # the database. If no value is provided, the default is anytime except the auto
2157
+ # full backup day.
2158
+ # Corresponds to the JSON property `autoIncrementalBackupWindow`
2159
+ # @return [String]
2160
+ attr_accessor :auto_incremental_backup_window
2161
+
2162
+ # Optional. This defines when the backups will be deleted after Database
2163
+ # termination.
2164
+ # Corresponds to the JSON property `backupDeletionPolicy`
2165
+ # @return [String]
2166
+ attr_accessor :backup_deletion_policy
2167
+
2168
+ # Optional. Details of the database backup destinations.
2169
+ # Corresponds to the JSON property `backupDestinationDetails`
2170
+ # @return [Array<Google::Apis::OracledatabaseV1::BackupDestinationDetails>]
2171
+ attr_accessor :backup_destination_details
2172
+
2173
+ # Optional. The number of days an automatic backup is retained before being
2174
+ # automatically deleted. This value determines the earliest point in time to
2175
+ # which a database can be restored. Min: 1, Max: 60.
2176
+ # Corresponds to the JSON property `retentionPeriodDays`
2177
+ # @return [Fixnum]
2178
+ attr_accessor :retention_period_days
2179
+
2180
+ def initialize(**args)
2181
+ update!(**args)
2182
+ end
2183
+
2184
+ # Update properties of this object
2185
+ def update!(**args)
2186
+ @auto_backup_enabled = args[:auto_backup_enabled] if args.key?(:auto_backup_enabled)
2187
+ @auto_full_backup_day = args[:auto_full_backup_day] if args.key?(:auto_full_backup_day)
2188
+ @auto_full_backup_window = args[:auto_full_backup_window] if args.key?(:auto_full_backup_window)
2189
+ @auto_incremental_backup_window = args[:auto_incremental_backup_window] if args.key?(:auto_incremental_backup_window)
2190
+ @backup_deletion_policy = args[:backup_deletion_policy] if args.key?(:backup_deletion_policy)
2191
+ @backup_destination_details = args[:backup_destination_details] if args.key?(:backup_destination_details)
2192
+ @retention_period_days = args[:retention_period_days] if args.key?(:retention_period_days)
2193
+ end
2194
+ end
2195
+
2196
+ # Details of the Database Home resource.
2197
+ class DbHome
2198
+ include Google::Apis::Core::Hashable
2199
+
2200
+ # Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/
2201
+ # database/20160918/Database/
2202
+ # Corresponds to the JSON property `database`
2203
+ # @return [Google::Apis::OracledatabaseV1::Database]
2204
+ attr_accessor :database
2205
+
2206
+ # Required. A valid Oracle Database version. For a list of supported versions,
2207
+ # use the ListDbVersions operation.
2208
+ # Corresponds to the JSON property `dbVersion`
2209
+ # @return [String]
2210
+ attr_accessor :db_version
2211
+
2212
+ # Optional. The display name for the Database Home. The name does not have to be
2213
+ # unique within your project.
2214
+ # Corresponds to the JSON property `displayName`
2215
+ # @return [String]
2216
+ attr_accessor :display_name
2217
+
2218
+ # Optional. Whether unified auditing is enabled for the Database Home.
2219
+ # Corresponds to the JSON property `isUnifiedAuditingEnabled`
2220
+ # @return [Boolean]
2221
+ attr_accessor :is_unified_auditing_enabled
2222
+ alias_method :is_unified_auditing_enabled?, :is_unified_auditing_enabled
2223
+
2224
+ def initialize(**args)
2225
+ update!(**args)
2226
+ end
2227
+
2228
+ # Update properties of this object
2229
+ def update!(**args)
2230
+ @database = args[:database] if args.key?(:database)
2231
+ @db_version = args[:db_version] if args.key?(:db_version)
2232
+ @display_name = args[:display_name] if args.key?(:display_name)
2233
+ @is_unified_auditing_enabled = args[:is_unified_auditing_enabled] if args.key?(:is_unified_auditing_enabled)
2234
+ end
2235
+ end
2236
+
1834
2237
  # Details of the database node resource. https://docs.oracle.com/en-us/iaas/api/#
1835
2238
  # /en/database/20160918/DbNode/
1836
2239
  class DbNode
@@ -2033,27 +2436,332 @@ module Google
2033
2436
  end
2034
2437
  end
2035
2438
 
2036
- # Details of the Database System Shapes resource. https://docs.oracle.com/en-us/
2037
- # iaas/api/#/en/database/20160918/DbSystemShapeSummary/
2038
- class DbSystemShape
2439
+ # Details of the DbSystem (BaseDB) resource. https://docs.oracle.com/en-us/iaas/
2440
+ # api/#/en/database/20160918/DbSystem/
2441
+ class DbSystem
2039
2442
  include Google::Apis::Core::Hashable
2040
2443
 
2041
- # Optional. Number of cores per node.
2042
- # Corresponds to the JSON property `availableCoreCountPerNode`
2043
- # @return [Fixnum]
2044
- attr_accessor :available_core_count_per_node
2045
-
2046
- # Optional. Storage per storage server in terabytes.
2047
- # Corresponds to the JSON property `availableDataStorageTb`
2048
- # @return [Fixnum]
2049
- attr_accessor :available_data_storage_tb
2444
+ # Output only. The date and time that the DbSystem was created.
2445
+ # Corresponds to the JSON property `createTime`
2446
+ # @return [String]
2447
+ attr_accessor :create_time
2050
2448
 
2051
- # Optional. Memory per database server node in gigabytes.
2052
- # Corresponds to the JSON property `availableMemoryPerNodeGb`
2053
- # @return [Fixnum]
2054
- attr_accessor :available_memory_per_node_gb
2449
+ # Required. The display name for the System db. The name does not have to be
2450
+ # unique within your project.
2451
+ # Corresponds to the JSON property `displayName`
2452
+ # @return [String]
2453
+ attr_accessor :display_name
2055
2454
 
2056
- # Optional. Maximum number of database servers.
2455
+ # Output only. The ID of the subscription entitlement associated with the
2456
+ # DbSystem
2457
+ # Corresponds to the JSON property `entitlementId`
2458
+ # @return [String]
2459
+ attr_accessor :entitlement_id
2460
+
2461
+ # Optional. The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-
2462
+ # east4-b-r2. If not specified, the system will pick a zone based on
2463
+ # availability.
2464
+ # Corresponds to the JSON property `gcpOracleZone`
2465
+ # @return [String]
2466
+ attr_accessor :gcp_oracle_zone
2467
+
2468
+ # Optional. The labels or tags associated with the DbSystem.
2469
+ # Corresponds to the JSON property `labels`
2470
+ # @return [Hash<String,String>]
2471
+ attr_accessor :labels
2472
+
2473
+ # Identifier. The name of the DbSystem resource in the following format:
2474
+ # projects/`project`/locations/`region`/dbSystems/`db_system`
2475
+ # Corresponds to the JSON property `name`
2476
+ # @return [String]
2477
+ attr_accessor :name
2478
+
2479
+ # Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
2480
+ # Corresponds to the JSON property `ociUrl`
2481
+ # @return [String]
2482
+ attr_accessor :oci_url
2483
+
2484
+ # Optional. The name of the OdbNetwork associated with the DbSystem. Format:
2485
+ # projects/`project`/locations/`location`/odbNetworks/`odb_network` It is
2486
+ # optional but if specified, this should match the parent ODBNetwork of the
2487
+ # OdbSubnet.
2488
+ # Corresponds to the JSON property `odbNetwork`
2489
+ # @return [String]
2490
+ attr_accessor :odb_network
2491
+
2492
+ # Required. The name of the OdbSubnet associated with the DbSystem for IP
2493
+ # allocation. Format: projects/`project`/locations/`location`/odbNetworks/`
2494
+ # odb_network`/odbSubnets/`odb_subnet`
2495
+ # Corresponds to the JSON property `odbSubnet`
2496
+ # @return [String]
2497
+ attr_accessor :odb_subnet
2498
+
2499
+ # The properties of a DbSystem.
2500
+ # Corresponds to the JSON property `properties`
2501
+ # @return [Google::Apis::OracledatabaseV1::DbSystemProperties]
2502
+ attr_accessor :properties
2503
+
2504
+ def initialize(**args)
2505
+ update!(**args)
2506
+ end
2507
+
2508
+ # Update properties of this object
2509
+ def update!(**args)
2510
+ @create_time = args[:create_time] if args.key?(:create_time)
2511
+ @display_name = args[:display_name] if args.key?(:display_name)
2512
+ @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
2513
+ @gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
2514
+ @labels = args[:labels] if args.key?(:labels)
2515
+ @name = args[:name] if args.key?(:name)
2516
+ @oci_url = args[:oci_url] if args.key?(:oci_url)
2517
+ @odb_network = args[:odb_network] if args.key?(:odb_network)
2518
+ @odb_subnet = args[:odb_subnet] if args.key?(:odb_subnet)
2519
+ @properties = args[:properties] if args.key?(:properties)
2520
+ end
2521
+ end
2522
+
2523
+ # Summary of the DbSystem initial storage size.
2524
+ class DbSystemInitialStorageSize
2525
+ include Google::Apis::Core::Hashable
2526
+
2527
+ # Output only. The name of the resource.
2528
+ # Corresponds to the JSON property `name`
2529
+ # @return [String]
2530
+ attr_accessor :name
2531
+
2532
+ # The properties of a DbSystem initial storage size summary.
2533
+ # Corresponds to the JSON property `properties`
2534
+ # @return [Google::Apis::OracledatabaseV1::DbSystemInitialStorageSizeProperties]
2535
+ attr_accessor :properties
2536
+
2537
+ def initialize(**args)
2538
+ update!(**args)
2539
+ end
2540
+
2541
+ # Update properties of this object
2542
+ def update!(**args)
2543
+ @name = args[:name] if args.key?(:name)
2544
+ @properties = args[:properties] if args.key?(:properties)
2545
+ end
2546
+ end
2547
+
2548
+ # The properties of a DbSystem initial storage size summary.
2549
+ class DbSystemInitialStorageSizeProperties
2550
+ include Google::Apis::Core::Hashable
2551
+
2552
+ # Output only. List of storage disk details available for launches from backup.
2553
+ # Corresponds to the JSON property `launchFromBackupStorageSizeDetails`
2554
+ # @return [Array<Google::Apis::OracledatabaseV1::StorageSizeDetails>]
2555
+ attr_accessor :launch_from_backup_storage_size_details
2556
+
2557
+ # Output only. VM shape platform type
2558
+ # Corresponds to the JSON property `shapeType`
2559
+ # @return [String]
2560
+ attr_accessor :shape_type
2561
+
2562
+ # Output only. The storage option used in DB system.
2563
+ # Corresponds to the JSON property `storageManagement`
2564
+ # @return [String]
2565
+ attr_accessor :storage_management
2566
+
2567
+ # Output only. List of storage disk details.
2568
+ # Corresponds to the JSON property `storageSizeDetails`
2569
+ # @return [Array<Google::Apis::OracledatabaseV1::StorageSizeDetails>]
2570
+ attr_accessor :storage_size_details
2571
+
2572
+ def initialize(**args)
2573
+ update!(**args)
2574
+ end
2575
+
2576
+ # Update properties of this object
2577
+ def update!(**args)
2578
+ @launch_from_backup_storage_size_details = args[:launch_from_backup_storage_size_details] if args.key?(:launch_from_backup_storage_size_details)
2579
+ @shape_type = args[:shape_type] if args.key?(:shape_type)
2580
+ @storage_management = args[:storage_management] if args.key?(:storage_management)
2581
+ @storage_size_details = args[:storage_size_details] if args.key?(:storage_size_details)
2582
+ end
2583
+ end
2584
+
2585
+ # Details of the DbSystem Options.
2586
+ class DbSystemOptions
2587
+ include Google::Apis::Core::Hashable
2588
+
2589
+ # Optional. The storage option used in DB system.
2590
+ # Corresponds to the JSON property `storageManagement`
2591
+ # @return [String]
2592
+ attr_accessor :storage_management
2593
+
2594
+ def initialize(**args)
2595
+ update!(**args)
2596
+ end
2597
+
2598
+ # Update properties of this object
2599
+ def update!(**args)
2600
+ @storage_management = args[:storage_management] if args.key?(:storage_management)
2601
+ end
2602
+ end
2603
+
2604
+ # The properties of a DbSystem.
2605
+ class DbSystemProperties
2606
+ include Google::Apis::Core::Hashable
2607
+
2608
+ # Required. The number of CPU cores to enable for the DbSystem.
2609
+ # Corresponds to the JSON property `computeCount`
2610
+ # @return [Fixnum]
2611
+ attr_accessor :compute_count
2612
+
2613
+ # Optional. The compute model of the DbSystem.
2614
+ # Corresponds to the JSON property `computeModel`
2615
+ # @return [String]
2616
+ attr_accessor :compute_model
2617
+
2618
+ # Data collection options for DbSystem.
2619
+ # Corresponds to the JSON property `dataCollectionOptions`
2620
+ # @return [Google::Apis::OracledatabaseV1::DataCollectionOptionsDbSystem]
2621
+ attr_accessor :data_collection_options
2622
+
2623
+ # Optional. The data storage size in GB that is currently available to DbSystems.
2624
+ # Corresponds to the JSON property `dataStorageSizeGb`
2625
+ # @return [Fixnum]
2626
+ attr_accessor :data_storage_size_gb
2627
+
2628
+ # Required. The database edition of the DbSystem.
2629
+ # Corresponds to the JSON property `databaseEdition`
2630
+ # @return [String]
2631
+ attr_accessor :database_edition
2632
+
2633
+ # Details of the Database Home resource.
2634
+ # Corresponds to the JSON property `dbHome`
2635
+ # @return [Google::Apis::OracledatabaseV1::DbHome]
2636
+ attr_accessor :db_home
2637
+
2638
+ # Details of the DbSystem Options.
2639
+ # Corresponds to the JSON property `dbSystemOptions`
2640
+ # @return [Google::Apis::OracledatabaseV1::DbSystemOptions]
2641
+ attr_accessor :db_system_options
2642
+
2643
+ # Optional. The host domain name of the DbSystem.
2644
+ # Corresponds to the JSON property `domain`
2645
+ # @return [String]
2646
+ attr_accessor :domain
2647
+
2648
+ # Output only. The hostname of the DbSystem.
2649
+ # Corresponds to the JSON property `hostname`
2650
+ # @return [String]
2651
+ attr_accessor :hostname
2652
+
2653
+ # Optional. Prefix for DB System host names.
2654
+ # Corresponds to the JSON property `hostnamePrefix`
2655
+ # @return [String]
2656
+ attr_accessor :hostname_prefix
2657
+
2658
+ # Required. The initial data storage size in GB.
2659
+ # Corresponds to the JSON property `initialDataStorageSizeGb`
2660
+ # @return [Fixnum]
2661
+ attr_accessor :initial_data_storage_size_gb
2662
+
2663
+ # Required. The license model of the DbSystem.
2664
+ # Corresponds to the JSON property `licenseModel`
2665
+ # @return [String]
2666
+ attr_accessor :license_model
2667
+
2668
+ # Output only. State of the DbSystem.
2669
+ # Corresponds to the JSON property `lifecycleState`
2670
+ # @return [String]
2671
+ attr_accessor :lifecycle_state
2672
+
2673
+ # Optional. The memory size in GB.
2674
+ # Corresponds to the JSON property `memorySizeGb`
2675
+ # @return [Fixnum]
2676
+ attr_accessor :memory_size_gb
2677
+
2678
+ # Optional. The number of nodes in the DbSystem.
2679
+ # Corresponds to the JSON property `nodeCount`
2680
+ # @return [Fixnum]
2681
+ attr_accessor :node_count
2682
+
2683
+ # Output only. OCID of the DbSystem.
2684
+ # Corresponds to the JSON property `ocid`
2685
+ # @return [String]
2686
+ attr_accessor :ocid
2687
+
2688
+ # Optional. The private IP address of the DbSystem.
2689
+ # Corresponds to the JSON property `privateIp`
2690
+ # @return [String]
2691
+ attr_accessor :private_ip
2692
+
2693
+ # Optional. The reco/redo storage size in GB.
2694
+ # Corresponds to the JSON property `recoStorageSizeGb`
2695
+ # @return [Fixnum]
2696
+ attr_accessor :reco_storage_size_gb
2697
+
2698
+ # Required. Shape of DB System.
2699
+ # Corresponds to the JSON property `shape`
2700
+ # @return [String]
2701
+ attr_accessor :shape
2702
+
2703
+ # Required. SSH public keys to be stored with the DbSystem.
2704
+ # Corresponds to the JSON property `sshPublicKeys`
2705
+ # @return [Array<String>]
2706
+ attr_accessor :ssh_public_keys
2707
+
2708
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
2709
+ # time-zones).
2710
+ # Corresponds to the JSON property `timeZone`
2711
+ # @return [Google::Apis::OracledatabaseV1::TimeZone]
2712
+ attr_accessor :time_zone
2713
+
2714
+ def initialize(**args)
2715
+ update!(**args)
2716
+ end
2717
+
2718
+ # Update properties of this object
2719
+ def update!(**args)
2720
+ @compute_count = args[:compute_count] if args.key?(:compute_count)
2721
+ @compute_model = args[:compute_model] if args.key?(:compute_model)
2722
+ @data_collection_options = args[:data_collection_options] if args.key?(:data_collection_options)
2723
+ @data_storage_size_gb = args[:data_storage_size_gb] if args.key?(:data_storage_size_gb)
2724
+ @database_edition = args[:database_edition] if args.key?(:database_edition)
2725
+ @db_home = args[:db_home] if args.key?(:db_home)
2726
+ @db_system_options = args[:db_system_options] if args.key?(:db_system_options)
2727
+ @domain = args[:domain] if args.key?(:domain)
2728
+ @hostname = args[:hostname] if args.key?(:hostname)
2729
+ @hostname_prefix = args[:hostname_prefix] if args.key?(:hostname_prefix)
2730
+ @initial_data_storage_size_gb = args[:initial_data_storage_size_gb] if args.key?(:initial_data_storage_size_gb)
2731
+ @license_model = args[:license_model] if args.key?(:license_model)
2732
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
2733
+ @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
2734
+ @node_count = args[:node_count] if args.key?(:node_count)
2735
+ @ocid = args[:ocid] if args.key?(:ocid)
2736
+ @private_ip = args[:private_ip] if args.key?(:private_ip)
2737
+ @reco_storage_size_gb = args[:reco_storage_size_gb] if args.key?(:reco_storage_size_gb)
2738
+ @shape = args[:shape] if args.key?(:shape)
2739
+ @ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
2740
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
2741
+ end
2742
+ end
2743
+
2744
+ # Details of the Database System Shapes resource. https://docs.oracle.com/en-us/
2745
+ # iaas/api/#/en/database/20160918/DbSystemShapeSummary/
2746
+ class DbSystemShape
2747
+ include Google::Apis::Core::Hashable
2748
+
2749
+ # Optional. Number of cores per node.
2750
+ # Corresponds to the JSON property `availableCoreCountPerNode`
2751
+ # @return [Fixnum]
2752
+ attr_accessor :available_core_count_per_node
2753
+
2754
+ # Optional. Storage per storage server in terabytes.
2755
+ # Corresponds to the JSON property `availableDataStorageTb`
2756
+ # @return [Fixnum]
2757
+ attr_accessor :available_data_storage_tb
2758
+
2759
+ # Optional. Memory per database server node in gigabytes.
2760
+ # Corresponds to the JSON property `availableMemoryPerNodeGb`
2761
+ # @return [Fixnum]
2762
+ attr_accessor :available_memory_per_node_gb
2763
+
2764
+ # Optional. Maximum number of database servers.
2057
2765
  # Corresponds to the JSON property `maxNodeCount`
2058
2766
  # @return [Fixnum]
2059
2767
  attr_accessor :max_node_count
@@ -2078,26 +2786,576 @@ module Google
2078
2786
  # @return [Fixnum]
2079
2787
  attr_accessor :min_memory_per_node_gb
2080
2788
 
2081
- # Optional. Minimum number of database servers.
2082
- # Corresponds to the JSON property `minNodeCount`
2083
- # @return [Fixnum]
2084
- attr_accessor :min_node_count
2789
+ # Optional. Minimum number of database servers.
2790
+ # Corresponds to the JSON property `minNodeCount`
2791
+ # @return [Fixnum]
2792
+ attr_accessor :min_node_count
2793
+
2794
+ # Optional. Minimum number of storage servers.
2795
+ # Corresponds to the JSON property `minStorageCount`
2796
+ # @return [Fixnum]
2797
+ attr_accessor :min_storage_count
2798
+
2799
+ # Identifier. The name of the Database System Shape resource with the format:
2800
+ # projects/`project`/locations/`region`/dbSystemShapes/`db_system_shape`
2801
+ # Corresponds to the JSON property `name`
2802
+ # @return [String]
2803
+ attr_accessor :name
2804
+
2805
+ # Optional. shape
2806
+ # Corresponds to the JSON property `shape`
2807
+ # @return [String]
2808
+ attr_accessor :shape
2809
+
2810
+ def initialize(**args)
2811
+ update!(**args)
2812
+ end
2813
+
2814
+ # Update properties of this object
2815
+ def update!(**args)
2816
+ @available_core_count_per_node = args[:available_core_count_per_node] if args.key?(:available_core_count_per_node)
2817
+ @available_data_storage_tb = args[:available_data_storage_tb] if args.key?(:available_data_storage_tb)
2818
+ @available_memory_per_node_gb = args[:available_memory_per_node_gb] if args.key?(:available_memory_per_node_gb)
2819
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
2820
+ @max_storage_count = args[:max_storage_count] if args.key?(:max_storage_count)
2821
+ @min_core_count_per_node = args[:min_core_count_per_node] if args.key?(:min_core_count_per_node)
2822
+ @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)
2823
+ @min_memory_per_node_gb = args[:min_memory_per_node_gb] if args.key?(:min_memory_per_node_gb)
2824
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
2825
+ @min_storage_count = args[:min_storage_count] if args.key?(:min_storage_count)
2826
+ @name = args[:name] if args.key?(:name)
2827
+ @shape = args[:shape] if args.key?(:shape)
2828
+ end
2829
+ end
2830
+
2831
+ # A valid Oracle Database version.
2832
+ class DbVersion
2833
+ include Google::Apis::Core::Hashable
2834
+
2835
+ # Output only. The name of the DbVersion resource in the following format:
2836
+ # projects/`project`/locations/`region`/dbVersions/`db_version`
2837
+ # Corresponds to the JSON property `name`
2838
+ # @return [String]
2839
+ attr_accessor :name
2840
+
2841
+ # The properties of a DbVersion.
2842
+ # Corresponds to the JSON property `properties`
2843
+ # @return [Google::Apis::OracledatabaseV1::DbVersionProperties]
2844
+ attr_accessor :properties
2845
+
2846
+ def initialize(**args)
2847
+ update!(**args)
2848
+ end
2849
+
2850
+ # Update properties of this object
2851
+ def update!(**args)
2852
+ @name = args[:name] if args.key?(:name)
2853
+ @properties = args[:properties] if args.key?(:properties)
2854
+ end
2855
+ end
2856
+
2857
+ # The properties of a DbVersion.
2858
+ class DbVersionProperties
2859
+ include Google::Apis::Core::Hashable
2860
+
2861
+ # Output only. True if this version of the Oracle Database software is the
2862
+ # latest version for a release.
2863
+ # Corresponds to the JSON property `isLatestForMajorVersion`
2864
+ # @return [Boolean]
2865
+ attr_accessor :is_latest_for_major_version
2866
+ alias_method :is_latest_for_major_version?, :is_latest_for_major_version
2867
+
2868
+ # Output only. True if this version of the Oracle Database software is the
2869
+ # preview version.
2870
+ # Corresponds to the JSON property `isPreviewDbVersion`
2871
+ # @return [Boolean]
2872
+ attr_accessor :is_preview_db_version
2873
+ alias_method :is_preview_db_version?, :is_preview_db_version
2874
+
2875
+ # Output only. True if this version of the Oracle Database software is supported
2876
+ # for Upgrade.
2877
+ # Corresponds to the JSON property `isUpgradeSupported`
2878
+ # @return [Boolean]
2879
+ attr_accessor :is_upgrade_supported
2880
+ alias_method :is_upgrade_supported?, :is_upgrade_supported
2881
+
2882
+ # Output only. True if this version of the Oracle Database software supports
2883
+ # pluggable databases.
2884
+ # Corresponds to the JSON property `supportsPdb`
2885
+ # @return [Boolean]
2886
+ attr_accessor :supports_pdb
2887
+ alias_method :supports_pdb?, :supports_pdb
2888
+
2889
+ # Output only. A valid Oracle Database version.
2890
+ # Corresponds to the JSON property `version`
2891
+ # @return [String]
2892
+ attr_accessor :version
2893
+
2894
+ def initialize(**args)
2895
+ update!(**args)
2896
+ end
2897
+
2898
+ # Update properties of this object
2899
+ def update!(**args)
2900
+ @is_latest_for_major_version = args[:is_latest_for_major_version] if args.key?(:is_latest_for_major_version)
2901
+ @is_preview_db_version = args[:is_preview_db_version] if args.key?(:is_preview_db_version)
2902
+ @is_upgrade_supported = args[:is_upgrade_supported] if args.key?(:is_upgrade_supported)
2903
+ @supports_pdb = args[:supports_pdb] if args.key?(:supports_pdb)
2904
+ @version = args[:version] if args.key?(:version)
2905
+ end
2906
+ end
2907
+
2908
+ # Wrapper message for the value of a defined tag.
2909
+ class DefinedTagValue
2910
+ include Google::Apis::Core::Hashable
2911
+
2912
+ # The tags within the namespace.
2913
+ # Corresponds to the JSON property `tags`
2914
+ # @return [Hash<String,String>]
2915
+ attr_accessor :tags
2916
+
2917
+ def initialize(**args)
2918
+ update!(**args)
2919
+ end
2920
+
2921
+ # Update properties of this object
2922
+ def update!(**args)
2923
+ @tags = args[:tags] if args.key?(:tags)
2924
+ end
2925
+ end
2926
+
2927
+ # A generic empty message that you can re-use to avoid defining duplicated empty
2928
+ # messages in your APIs. A typical example is to use it as the request or the
2929
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
2930
+ # protobuf.Empty) returns (google.protobuf.Empty); `
2931
+ class Empty
2932
+ include Google::Apis::Core::Hashable
2933
+
2934
+ def initialize(**args)
2935
+ update!(**args)
2936
+ end
2937
+
2938
+ # Update properties of this object
2939
+ def update!(**args)
2940
+ end
2941
+ end
2942
+
2943
+ # The encryption key used to encrypt the Autonomous Database.
2944
+ class EncryptionKey
2945
+ include Google::Apis::Core::Hashable
2946
+
2947
+ # Optional. The KMS key used to encrypt the Autonomous Database. This field is
2948
+ # required if the provider is GOOGLE_MANAGED. The name of the KMS key resource
2949
+ # in the following format: `projects/`project`/locations/`location`/keyRings/`
2950
+ # key_ring`/cryptoKeys/`crypto_key``.
2951
+ # Corresponds to the JSON property `kmsKey`
2952
+ # @return [String]
2953
+ attr_accessor :kms_key
2954
+
2955
+ # Optional. The provider of the encryption key.
2956
+ # Corresponds to the JSON property `provider`
2957
+ # @return [String]
2958
+ attr_accessor :provider
2959
+
2960
+ def initialize(**args)
2961
+ update!(**args)
2962
+ end
2963
+
2964
+ # Update properties of this object
2965
+ def update!(**args)
2966
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
2967
+ @provider = args[:provider] if args.key?(:provider)
2968
+ end
2969
+ end
2970
+
2971
+ # The history of the encryption keys used to encrypt the Autonomous Database.
2972
+ class EncryptionKeyHistoryEntry
2973
+ include Google::Apis::Core::Hashable
2974
+
2975
+ # Output only. The date and time when the encryption key was activated on the
2976
+ # Autonomous Database..
2977
+ # Corresponds to the JSON property `activationTime`
2978
+ # @return [String]
2979
+ attr_accessor :activation_time
2980
+
2981
+ # The encryption key used to encrypt the Autonomous Database.
2982
+ # Corresponds to the JSON property `encryptionKey`
2983
+ # @return [Google::Apis::OracledatabaseV1::EncryptionKey]
2984
+ attr_accessor :encryption_key
2985
+
2986
+ def initialize(**args)
2987
+ update!(**args)
2988
+ end
2989
+
2990
+ # Update properties of this object
2991
+ def update!(**args)
2992
+ @activation_time = args[:activation_time] if args.key?(:activation_time)
2993
+ @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
2994
+ end
2995
+ end
2996
+
2997
+ # Details of the Entitlement resource.
2998
+ class Entitlement
2999
+ include Google::Apis::Core::Hashable
3000
+
3001
+ # Details of the OCI Cloud Account.
3002
+ # Corresponds to the JSON property `cloudAccountDetails`
3003
+ # @return [Google::Apis::OracledatabaseV1::CloudAccountDetails]
3004
+ attr_accessor :cloud_account_details
3005
+
3006
+ # Output only. Google Cloud Marketplace order ID (aka entitlement ID)
3007
+ # Corresponds to the JSON property `entitlementId`
3008
+ # @return [String]
3009
+ attr_accessor :entitlement_id
3010
+
3011
+ # Identifier. The name of the Entitlement resource with the format: projects/`
3012
+ # project`/locations/`region`/entitlements/`entitlement`
3013
+ # Corresponds to the JSON property `name`
3014
+ # @return [String]
3015
+ attr_accessor :name
3016
+
3017
+ # Output only. Entitlement State.
3018
+ # Corresponds to the JSON property `state`
3019
+ # @return [String]
3020
+ attr_accessor :state
3021
+
3022
+ def initialize(**args)
3023
+ update!(**args)
3024
+ end
3025
+
3026
+ # Update properties of this object
3027
+ def update!(**args)
3028
+ @cloud_account_details = args[:cloud_account_details] if args.key?(:cloud_account_details)
3029
+ @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
3030
+ @name = args[:name] if args.key?(:name)
3031
+ @state = args[:state] if args.key?(:state)
3032
+ end
3033
+ end
3034
+
3035
+ # ExadbVmCluster represents a cluster of VMs that are used to run Exadata
3036
+ # workloads. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/
3037
+ # ExadbVmCluster/
3038
+ class ExadbVmCluster
3039
+ include Google::Apis::Core::Hashable
3040
+
3041
+ # Required. Immutable. The name of the backup OdbSubnet associated with the
3042
+ # ExadbVmCluster. Format: projects/`project`/locations/`location`/odbNetworks/`
3043
+ # odb_network`/odbSubnets/`odb_subnet`
3044
+ # Corresponds to the JSON property `backupOdbSubnet`
3045
+ # @return [String]
3046
+ attr_accessor :backup_odb_subnet
3047
+
3048
+ # Output only. The date and time that the ExadbVmCluster was created.
3049
+ # Corresponds to the JSON property `createTime`
3050
+ # @return [String]
3051
+ attr_accessor :create_time
3052
+
3053
+ # Required. Immutable. The display name for the ExadbVmCluster. The name does
3054
+ # not have to be unique within your project. The name must be 1-255 characters
3055
+ # long and can only contain alphanumeric characters.
3056
+ # Corresponds to the JSON property `displayName`
3057
+ # @return [String]
3058
+ attr_accessor :display_name
3059
+
3060
+ # Output only. The ID of the subscription entitlement associated with the
3061
+ # ExadbVmCluster.
3062
+ # Corresponds to the JSON property `entitlementId`
3063
+ # @return [String]
3064
+ attr_accessor :entitlement_id
3065
+
3066
+ # Output only. Immutable. The GCP Oracle zone where Oracle ExadbVmCluster is
3067
+ # hosted. Example: us-east4-b-r2. During creation, the system will pick the zone
3068
+ # assigned to the ExascaleDbStorageVault.
3069
+ # Corresponds to the JSON property `gcpOracleZone`
3070
+ # @return [String]
3071
+ attr_accessor :gcp_oracle_zone
3072
+
3073
+ # Optional. The labels or tags associated with the ExadbVmCluster.
3074
+ # Corresponds to the JSON property `labels`
3075
+ # @return [Hash<String,String>]
3076
+ attr_accessor :labels
3077
+
3078
+ # Identifier. The name of the ExadbVmCluster resource in the following format:
3079
+ # projects/`project`/locations/`region`/exadbVmClusters/`exadb_vm_cluster`
3080
+ # Corresponds to the JSON property `name`
3081
+ # @return [String]
3082
+ attr_accessor :name
3083
+
3084
+ # Optional. Immutable. The name of the OdbNetwork associated with the
3085
+ # ExadbVmCluster. Format: projects/`project`/locations/`location`/odbNetworks/`
3086
+ # odb_network` It is optional but if specified, this should match the parent
3087
+ # ODBNetwork of the OdbSubnet.
3088
+ # Corresponds to the JSON property `odbNetwork`
3089
+ # @return [String]
3090
+ attr_accessor :odb_network
3091
+
3092
+ # Required. Immutable. The name of the OdbSubnet associated with the
3093
+ # ExadbVmCluster for IP allocation. Format: projects/`project`/locations/`
3094
+ # location`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`
3095
+ # Corresponds to the JSON property `odbSubnet`
3096
+ # @return [String]
3097
+ attr_accessor :odb_subnet
3098
+
3099
+ # The properties of an ExadbVmCluster.
3100
+ # Corresponds to the JSON property `properties`
3101
+ # @return [Google::Apis::OracledatabaseV1::ExadbVmClusterProperties]
3102
+ attr_accessor :properties
3103
+
3104
+ def initialize(**args)
3105
+ update!(**args)
3106
+ end
3107
+
3108
+ # Update properties of this object
3109
+ def update!(**args)
3110
+ @backup_odb_subnet = args[:backup_odb_subnet] if args.key?(:backup_odb_subnet)
3111
+ @create_time = args[:create_time] if args.key?(:create_time)
3112
+ @display_name = args[:display_name] if args.key?(:display_name)
3113
+ @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
3114
+ @gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
3115
+ @labels = args[:labels] if args.key?(:labels)
3116
+ @name = args[:name] if args.key?(:name)
3117
+ @odb_network = args[:odb_network] if args.key?(:odb_network)
3118
+ @odb_subnet = args[:odb_subnet] if args.key?(:odb_subnet)
3119
+ @properties = args[:properties] if args.key?(:properties)
3120
+ end
3121
+ end
3122
+
3123
+ # The properties of an ExadbVmCluster.
3124
+ class ExadbVmClusterProperties
3125
+ include Google::Apis::Core::Hashable
3126
+
3127
+ # Optional. Immutable. The number of additional ECPUs per node for an Exadata VM
3128
+ # cluster on exascale infrastructure.
3129
+ # Corresponds to the JSON property `additionalEcpuCountPerNode`
3130
+ # @return [Fixnum]
3131
+ attr_accessor :additional_ecpu_count_per_node
3132
+
3133
+ # Optional. Immutable. The cluster name for Exascale vm cluster. The cluster
3134
+ # name must begin with an alphabetic character and may contain hyphens(-) but
3135
+ # can not contain underscores(_). It should be not more than 11 characters and
3136
+ # is not case sensitive. OCI Cluster name.
3137
+ # Corresponds to the JSON property `clusterName`
3138
+ # @return [String]
3139
+ attr_accessor :cluster_name
3140
+
3141
+ # Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/
3142
+ # api/#/en/database/20160918/datatypes/DataCollectionOptions
3143
+ # Corresponds to the JSON property `dataCollectionOptions`
3144
+ # @return [Google::Apis::OracledatabaseV1::DataCollectionOptionsCommon]
3145
+ attr_accessor :data_collection_options
3146
+
3147
+ # Required. Immutable. The number of ECPUs enabled per node for an exadata vm
3148
+ # cluster on exascale infrastructure.
3149
+ # Corresponds to the JSON property `enabledEcpuCountPerNode`
3150
+ # @return [Fixnum]
3151
+ attr_accessor :enabled_ecpu_count_per_node
3152
+
3153
+ # Required. Immutable. The name of ExascaleDbStorageVault associated with the
3154
+ # ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a new
3155
+ # one can be created during the ExadbVmCluster creation (requires
3156
+ # storage_vault_properties to be set). Format: projects/`project`/locations/`
3157
+ # location`/exascaleDbStorageVaults/`exascale_db_storage_vault`
3158
+ # Corresponds to the JSON property `exascaleDbStorageVault`
3159
+ # @return [String]
3160
+ attr_accessor :exascale_db_storage_vault
3161
+
3162
+ # Output only. The Oracle Grid Infrastructure (GI) software version.
3163
+ # Corresponds to the JSON property `giVersion`
3164
+ # @return [String]
3165
+ attr_accessor :gi_version
3166
+
3167
+ # Required. Immutable. Grid Infrastructure Version.
3168
+ # Corresponds to the JSON property `gridImageId`
3169
+ # @return [String]
3170
+ attr_accessor :grid_image_id
3171
+
3172
+ # Output only. The hostname of the ExadbVmCluster.
3173
+ # Corresponds to the JSON property `hostname`
3174
+ # @return [String]
3175
+ attr_accessor :hostname
3176
+
3177
+ # Required. Immutable. Prefix for VM cluster host names.
3178
+ # Corresponds to the JSON property `hostnamePrefix`
3179
+ # @return [String]
3180
+ attr_accessor :hostname_prefix
3181
+
3182
+ # Optional. Immutable. The license type of the ExadbVmCluster.
3183
+ # Corresponds to the JSON property `licenseModel`
3184
+ # @return [String]
3185
+ attr_accessor :license_model
3186
+
3187
+ # Output only. State of the cluster.
3188
+ # Corresponds to the JSON property `lifecycleState`
3189
+ # @return [String]
3190
+ attr_accessor :lifecycle_state
3191
+
3192
+ # Output only. Memory per VM (GB) (Read-only): Shows the amount of memory
3193
+ # allocated to each VM. Memory is calculated based on 2.75 GB per Total ECPUs.
3194
+ # Corresponds to the JSON property `memorySizeGb`
3195
+ # @return [Fixnum]
3196
+ attr_accessor :memory_size_gb
3197
+
3198
+ # Required. The number of nodes/VMs in the ExadbVmCluster.
3199
+ # Corresponds to the JSON property `nodeCount`
3200
+ # @return [Fixnum]
3201
+ attr_accessor :node_count
3202
+
3203
+ # Output only. Deep link to the OCI console to view this resource.
3204
+ # Corresponds to the JSON property `ociUri`
3205
+ # @return [String]
3206
+ attr_accessor :oci_uri
3207
+
3208
+ # Optional. Immutable. SCAN listener port - TCP
3209
+ # Corresponds to the JSON property `scanListenerPortTcp`
3210
+ # @return [Fixnum]
3211
+ attr_accessor :scan_listener_port_tcp
3212
+
3213
+ # Required. Immutable. The shape attribute of the VM cluster. The type of
3214
+ # Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE
3215
+ # which supports Oracle Database 23ai and later
3216
+ # Corresponds to the JSON property `shapeAttribute`
3217
+ # @return [String]
3218
+ attr_accessor :shape_attribute
3219
+
3220
+ # Required. Immutable. The SSH public keys for the ExadbVmCluster.
3221
+ # Corresponds to the JSON property `sshPublicKeys`
3222
+ # @return [Array<String>]
3223
+ attr_accessor :ssh_public_keys
3224
+
3225
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
3226
+ # time-zones).
3227
+ # Corresponds to the JSON property `timeZone`
3228
+ # @return [Google::Apis::OracledatabaseV1::TimeZone]
3229
+ attr_accessor :time_zone
3230
+
3231
+ # The storage allocation for the exadbvmcluster, in gigabytes (GB).
3232
+ # Corresponds to the JSON property `vmFileSystemStorage`
3233
+ # @return [Google::Apis::OracledatabaseV1::ExadbVmClusterStorageDetails]
3234
+ attr_accessor :vm_file_system_storage
3235
+
3236
+ def initialize(**args)
3237
+ update!(**args)
3238
+ end
3239
+
3240
+ # Update properties of this object
3241
+ def update!(**args)
3242
+ @additional_ecpu_count_per_node = args[:additional_ecpu_count_per_node] if args.key?(:additional_ecpu_count_per_node)
3243
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
3244
+ @data_collection_options = args[:data_collection_options] if args.key?(:data_collection_options)
3245
+ @enabled_ecpu_count_per_node = args[:enabled_ecpu_count_per_node] if args.key?(:enabled_ecpu_count_per_node)
3246
+ @exascale_db_storage_vault = args[:exascale_db_storage_vault] if args.key?(:exascale_db_storage_vault)
3247
+ @gi_version = args[:gi_version] if args.key?(:gi_version)
3248
+ @grid_image_id = args[:grid_image_id] if args.key?(:grid_image_id)
3249
+ @hostname = args[:hostname] if args.key?(:hostname)
3250
+ @hostname_prefix = args[:hostname_prefix] if args.key?(:hostname_prefix)
3251
+ @license_model = args[:license_model] if args.key?(:license_model)
3252
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
3253
+ @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
3254
+ @node_count = args[:node_count] if args.key?(:node_count)
3255
+ @oci_uri = args[:oci_uri] if args.key?(:oci_uri)
3256
+ @scan_listener_port_tcp = args[:scan_listener_port_tcp] if args.key?(:scan_listener_port_tcp)
3257
+ @shape_attribute = args[:shape_attribute] if args.key?(:shape_attribute)
3258
+ @ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
3259
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
3260
+ @vm_file_system_storage = args[:vm_file_system_storage] if args.key?(:vm_file_system_storage)
3261
+ end
3262
+ end
3263
+
3264
+ # The storage allocation for the exadbvmcluster, in gigabytes (GB).
3265
+ class ExadbVmClusterStorageDetails
3266
+ include Google::Apis::Core::Hashable
3267
+
3268
+ # Required. The storage allocation for the exadbvmcluster per node, in gigabytes
3269
+ # (GB). This field is used to calculate the total storage allocation for the
3270
+ # exadbvmcluster.
3271
+ # Corresponds to the JSON property `sizeInGbsPerNode`
3272
+ # @return [Fixnum]
3273
+ attr_accessor :size_in_gbs_per_node
3274
+
3275
+ def initialize(**args)
3276
+ update!(**args)
3277
+ end
3278
+
3279
+ # Update properties of this object
3280
+ def update!(**args)
3281
+ @size_in_gbs_per_node = args[:size_in_gbs_per_node] if args.key?(:size_in_gbs_per_node)
3282
+ end
3283
+ end
3284
+
3285
+ # The storage details of the ExascaleDbStorageVault.
3286
+ class ExascaleDbStorageDetails
3287
+ include Google::Apis::Core::Hashable
3288
+
3289
+ # Output only. The available storage capacity for the ExascaleDbStorageVault, in
3290
+ # gigabytes (GB).
3291
+ # Corresponds to the JSON property `availableSizeGbs`
3292
+ # @return [Fixnum]
3293
+ attr_accessor :available_size_gbs
3294
+
3295
+ # Required. The total storage allocation for the ExascaleDbStorageVault, in
3296
+ # gigabytes (GB).
3297
+ # Corresponds to the JSON property `totalSizeGbs`
3298
+ # @return [Fixnum]
3299
+ attr_accessor :total_size_gbs
3300
+
3301
+ def initialize(**args)
3302
+ update!(**args)
3303
+ end
3304
+
3305
+ # Update properties of this object
3306
+ def update!(**args)
3307
+ @available_size_gbs = args[:available_size_gbs] if args.key?(:available_size_gbs)
3308
+ @total_size_gbs = args[:total_size_gbs] if args.key?(:total_size_gbs)
3309
+ end
3310
+ end
3311
+
3312
+ # ExascaleDbStorageVault represents a storage vault exadb vm cluster resource.
3313
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/
3314
+ # ExascaleDbStorageVault/
3315
+ class ExascaleDbStorageVault
3316
+ include Google::Apis::Core::Hashable
3317
+
3318
+ # Output only. The date and time when the ExascaleDbStorageVault was created.
3319
+ # Corresponds to the JSON property `createTime`
3320
+ # @return [String]
3321
+ attr_accessor :create_time
3322
+
3323
+ # Required. The display name for the ExascaleDbStorageVault. The name does not
3324
+ # have to be unique within your project. The name must be 1-255 characters long
3325
+ # and can only contain alphanumeric characters.
3326
+ # Corresponds to the JSON property `displayName`
3327
+ # @return [String]
3328
+ attr_accessor :display_name
3329
+
3330
+ # Output only. The ID of the subscription entitlement associated with the
3331
+ # ExascaleDbStorageVault.
3332
+ # Corresponds to the JSON property `entitlementId`
3333
+ # @return [String]
3334
+ attr_accessor :entitlement_id
3335
+
3336
+ # Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted.
3337
+ # Example: us-east4-b-r2. If not specified, the system will pick a zone based on
3338
+ # availability.
3339
+ # Corresponds to the JSON property `gcpOracleZone`
3340
+ # @return [String]
3341
+ attr_accessor :gcp_oracle_zone
2085
3342
 
2086
- # Optional. Minimum number of storage servers.
2087
- # Corresponds to the JSON property `minStorageCount`
2088
- # @return [Fixnum]
2089
- attr_accessor :min_storage_count
3343
+ # Optional. The labels or tags associated with the ExascaleDbStorageVault.
3344
+ # Corresponds to the JSON property `labels`
3345
+ # @return [Hash<String,String>]
3346
+ attr_accessor :labels
2090
3347
 
2091
- # Identifier. The name of the Database System Shape resource with the format:
2092
- # projects/`project`/locations/`region`/dbSystemShapes/`db_system_shape`
3348
+ # Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/`
3349
+ # project`/locations/`location`/exascaleDbStorageVaults/`
3350
+ # exascale_db_storage_vault`
2093
3351
  # Corresponds to the JSON property `name`
2094
3352
  # @return [String]
2095
3353
  attr_accessor :name
2096
3354
 
2097
- # Optional. shape
2098
- # Corresponds to the JSON property `shape`
2099
- # @return [String]
2100
- attr_accessor :shape
3355
+ # The properties of the ExascaleDbStorageVault. next ID: 12
3356
+ # Corresponds to the JSON property `properties`
3357
+ # @return [Google::Apis::OracledatabaseV1::ExascaleDbStorageVaultProperties]
3358
+ attr_accessor :properties
2101
3359
 
2102
3360
  def initialize(**args)
2103
3361
  update!(**args)
@@ -2105,72 +3363,117 @@ module Google
2105
3363
 
2106
3364
  # Update properties of this object
2107
3365
  def update!(**args)
2108
- @available_core_count_per_node = args[:available_core_count_per_node] if args.key?(:available_core_count_per_node)
2109
- @available_data_storage_tb = args[:available_data_storage_tb] if args.key?(:available_data_storage_tb)
2110
- @available_memory_per_node_gb = args[:available_memory_per_node_gb] if args.key?(:available_memory_per_node_gb)
2111
- @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
2112
- @max_storage_count = args[:max_storage_count] if args.key?(:max_storage_count)
2113
- @min_core_count_per_node = args[:min_core_count_per_node] if args.key?(:min_core_count_per_node)
2114
- @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)
2115
- @min_memory_per_node_gb = args[:min_memory_per_node_gb] if args.key?(:min_memory_per_node_gb)
2116
- @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
2117
- @min_storage_count = args[:min_storage_count] if args.key?(:min_storage_count)
3366
+ @create_time = args[:create_time] if args.key?(:create_time)
3367
+ @display_name = args[:display_name] if args.key?(:display_name)
3368
+ @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
3369
+ @gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
3370
+ @labels = args[:labels] if args.key?(:labels)
2118
3371
  @name = args[:name] if args.key?(:name)
2119
- @shape = args[:shape] if args.key?(:shape)
3372
+ @properties = args[:properties] if args.key?(:properties)
2120
3373
  end
2121
3374
  end
2122
3375
 
2123
- # A generic empty message that you can re-use to avoid defining duplicated empty
2124
- # messages in your APIs. A typical example is to use it as the request or the
2125
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
2126
- # protobuf.Empty) returns (google.protobuf.Empty); `
2127
- class Empty
3376
+ # The properties of the ExascaleDbStorageVault. next ID: 12
3377
+ class ExascaleDbStorageVaultProperties
2128
3378
  include Google::Apis::Core::Hashable
2129
3379
 
2130
- def initialize(**args)
2131
- update!(**args)
2132
- end
3380
+ # Optional. The size of additional flash cache in percentage of high capacity
3381
+ # database storage.
3382
+ # Corresponds to the JSON property `additionalFlashCachePercent`
3383
+ # @return [Fixnum]
3384
+ attr_accessor :additional_flash_cache_percent
2133
3385
 
2134
- # Update properties of this object
2135
- def update!(**args)
2136
- end
2137
- end
3386
+ # Output only. The shape attributes of the VM clusters attached to the
3387
+ # ExascaleDbStorageVault.
3388
+ # Corresponds to the JSON property `attachedShapeAttributes`
3389
+ # @return [Array<String>]
3390
+ attr_accessor :attached_shape_attributes
2138
3391
 
2139
- # Details of the Entitlement resource.
2140
- class Entitlement
2141
- include Google::Apis::Core::Hashable
3392
+ # Output only. The shape attributes available for the VM clusters to be attached
3393
+ # to the ExascaleDbStorageVault.
3394
+ # Corresponds to the JSON property `availableShapeAttributes`
3395
+ # @return [Array<String>]
3396
+ attr_accessor :available_shape_attributes
2142
3397
 
2143
- # Details of the OCI Cloud Account.
2144
- # Corresponds to the JSON property `cloudAccountDetails`
2145
- # @return [Google::Apis::OracledatabaseV1::CloudAccountDetails]
2146
- attr_accessor :cloud_account_details
3398
+ # Optional. The description of the ExascaleDbStorageVault.
3399
+ # Corresponds to the JSON property `description`
3400
+ # @return [String]
3401
+ attr_accessor :description
2147
3402
 
2148
- # Output only. Google Cloud Marketplace order ID (aka entitlement ID)
2149
- # Corresponds to the JSON property `entitlementId`
3403
+ # The storage details of the ExascaleDbStorageVault.
3404
+ # Corresponds to the JSON property `exascaleDbStorageDetails`
3405
+ # @return [Google::Apis::OracledatabaseV1::ExascaleDbStorageDetails]
3406
+ attr_accessor :exascale_db_storage_details
3407
+
3408
+ # Output only. Deep link to the OCI console to view this resource.
3409
+ # Corresponds to the JSON property `ociUri`
2150
3410
  # @return [String]
2151
- attr_accessor :entitlement_id
3411
+ attr_accessor :oci_uri
2152
3412
 
2153
- # Identifier. The name of the Entitlement resource with the format: projects/`
2154
- # project`/locations/`region`/entitlements/`entitlement`
2155
- # Corresponds to the JSON property `name`
3413
+ # Output only. The OCID for the ExascaleDbStorageVault.
3414
+ # Corresponds to the JSON property `ocid`
2156
3415
  # @return [String]
2157
- attr_accessor :name
3416
+ attr_accessor :ocid
2158
3417
 
2159
- # Output only. Entitlement State.
3418
+ # Output only. The state of the ExascaleDbStorageVault.
2160
3419
  # Corresponds to the JSON property `state`
2161
3420
  # @return [String]
2162
3421
  attr_accessor :state
2163
3422
 
3423
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
3424
+ # time-zones).
3425
+ # Corresponds to the JSON property `timeZone`
3426
+ # @return [Google::Apis::OracledatabaseV1::TimeZone]
3427
+ attr_accessor :time_zone
3428
+
3429
+ # Output only. The number of VM clusters associated with the
3430
+ # ExascaleDbStorageVault.
3431
+ # Corresponds to the JSON property `vmClusterCount`
3432
+ # @return [Fixnum]
3433
+ attr_accessor :vm_cluster_count
3434
+
3435
+ # Output only. The list of VM cluster OCIDs associated with the
3436
+ # ExascaleDbStorageVault.
3437
+ # Corresponds to the JSON property `vmClusterIds`
3438
+ # @return [Array<String>]
3439
+ attr_accessor :vm_cluster_ids
3440
+
2164
3441
  def initialize(**args)
2165
3442
  update!(**args)
2166
3443
  end
2167
3444
 
2168
3445
  # Update properties of this object
2169
3446
  def update!(**args)
2170
- @cloud_account_details = args[:cloud_account_details] if args.key?(:cloud_account_details)
2171
- @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
2172
- @name = args[:name] if args.key?(:name)
3447
+ @additional_flash_cache_percent = args[:additional_flash_cache_percent] if args.key?(:additional_flash_cache_percent)
3448
+ @attached_shape_attributes = args[:attached_shape_attributes] if args.key?(:attached_shape_attributes)
3449
+ @available_shape_attributes = args[:available_shape_attributes] if args.key?(:available_shape_attributes)
3450
+ @description = args[:description] if args.key?(:description)
3451
+ @exascale_db_storage_details = args[:exascale_db_storage_details] if args.key?(:exascale_db_storage_details)
3452
+ @oci_uri = args[:oci_uri] if args.key?(:oci_uri)
3453
+ @ocid = args[:ocid] if args.key?(:ocid)
2173
3454
  @state = args[:state] if args.key?(:state)
3455
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
3456
+ @vm_cluster_count = args[:vm_cluster_count] if args.key?(:vm_cluster_count)
3457
+ @vm_cluster_ids = args[:vm_cluster_ids] if args.key?(:vm_cluster_ids)
3458
+ end
3459
+ end
3460
+
3461
+ # The request for `OracleDatabase.FailoverAutonomousDatabase`.
3462
+ class FailoverAutonomousDatabaseRequest
3463
+ include Google::Apis::Core::Hashable
3464
+
3465
+ # Required. The peer database name to fail over to.
3466
+ # Corresponds to the JSON property `peerAutonomousDatabase`
3467
+ # @return [String]
3468
+ attr_accessor :peer_autonomous_database
3469
+
3470
+ def initialize(**args)
3471
+ update!(**args)
3472
+ end
3473
+
3474
+ # Update properties of this object
3475
+ def update!(**args)
3476
+ @peer_autonomous_database = args[:peer_autonomous_database] if args.key?(:peer_autonomous_database)
2174
3477
  end
2175
3478
  end
2176
3479
 
@@ -2429,21 +3732,196 @@ module Google
2429
3732
 
2430
3733
  # Update properties of this object
2431
3734
  def update!(**args)
2432
- @cloud_vm_clusters = args[:cloud_vm_clusters] if args.key?(:cloud_vm_clusters)
3735
+ @cloud_vm_clusters = args[:cloud_vm_clusters] if args.key?(:cloud_vm_clusters)
3736
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3737
+ end
3738
+ end
3739
+
3740
+ # The response for `DatabaseCharacterSet.List`.
3741
+ class ListDatabaseCharacterSetsResponse
3742
+ include Google::Apis::Core::Hashable
3743
+
3744
+ # The list of DatabaseCharacterSets.
3745
+ # Corresponds to the JSON property `databaseCharacterSets`
3746
+ # @return [Array<Google::Apis::OracledatabaseV1::DatabaseCharacterSet>]
3747
+ attr_accessor :database_character_sets
3748
+
3749
+ # A token identifying a page of results the server should return.
3750
+ # Corresponds to the JSON property `nextPageToken`
3751
+ # @return [String]
3752
+ attr_accessor :next_page_token
3753
+
3754
+ def initialize(**args)
3755
+ update!(**args)
3756
+ end
3757
+
3758
+ # Update properties of this object
3759
+ def update!(**args)
3760
+ @database_character_sets = args[:database_character_sets] if args.key?(:database_character_sets)
3761
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3762
+ end
3763
+ end
3764
+
3765
+ # The response for `Database.List`.
3766
+ class ListDatabasesResponse
3767
+ include Google::Apis::Core::Hashable
3768
+
3769
+ # The list of Databases.
3770
+ # Corresponds to the JSON property `databases`
3771
+ # @return [Array<Google::Apis::OracledatabaseV1::Database>]
3772
+ attr_accessor :databases
3773
+
3774
+ # A token identifying a page of results the server should return.
3775
+ # Corresponds to the JSON property `nextPageToken`
3776
+ # @return [String]
3777
+ attr_accessor :next_page_token
3778
+
3779
+ def initialize(**args)
3780
+ update!(**args)
3781
+ end
3782
+
3783
+ # Update properties of this object
3784
+ def update!(**args)
3785
+ @databases = args[:databases] if args.key?(:databases)
3786
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3787
+ end
3788
+ end
3789
+
3790
+ # The response for `DbNode.List`.
3791
+ class ListDbNodesResponse
3792
+ include Google::Apis::Core::Hashable
3793
+
3794
+ # The list of DB Nodes
3795
+ # Corresponds to the JSON property `dbNodes`
3796
+ # @return [Array<Google::Apis::OracledatabaseV1::DbNode>]
3797
+ attr_accessor :db_nodes
3798
+
3799
+ # A token identifying a page of results the node should return.
3800
+ # Corresponds to the JSON property `nextPageToken`
3801
+ # @return [String]
3802
+ attr_accessor :next_page_token
3803
+
3804
+ def initialize(**args)
3805
+ update!(**args)
3806
+ end
3807
+
3808
+ # Update properties of this object
3809
+ def update!(**args)
3810
+ @db_nodes = args[:db_nodes] if args.key?(:db_nodes)
3811
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3812
+ end
3813
+ end
3814
+
3815
+ # The response for `DbServer.List`.
3816
+ class ListDbServersResponse
3817
+ include Google::Apis::Core::Hashable
3818
+
3819
+ # The list of database servers.
3820
+ # Corresponds to the JSON property `dbServers`
3821
+ # @return [Array<Google::Apis::OracledatabaseV1::DbServer>]
3822
+ attr_accessor :db_servers
3823
+
3824
+ # A token identifying a page of results the server should return.
3825
+ # Corresponds to the JSON property `nextPageToken`
3826
+ # @return [String]
3827
+ attr_accessor :next_page_token
3828
+
3829
+ def initialize(**args)
3830
+ update!(**args)
3831
+ end
3832
+
3833
+ # Update properties of this object
3834
+ def update!(**args)
3835
+ @db_servers = args[:db_servers] if args.key?(:db_servers)
3836
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3837
+ end
3838
+ end
3839
+
3840
+ # The response for `DbSystemInitialStorageSizes.List`.
3841
+ class ListDbSystemInitialStorageSizesResponse
3842
+ include Google::Apis::Core::Hashable
3843
+
3844
+ # The list of DbSystemInitialStorageSizes.
3845
+ # Corresponds to the JSON property `dbSystemInitialStorageSizes`
3846
+ # @return [Array<Google::Apis::OracledatabaseV1::DbSystemInitialStorageSize>]
3847
+ attr_accessor :db_system_initial_storage_sizes
3848
+
3849
+ # A token identifying a page of results the server should return.
3850
+ # Corresponds to the JSON property `nextPageToken`
3851
+ # @return [String]
3852
+ attr_accessor :next_page_token
3853
+
3854
+ def initialize(**args)
3855
+ update!(**args)
3856
+ end
3857
+
3858
+ # Update properties of this object
3859
+ def update!(**args)
3860
+ @db_system_initial_storage_sizes = args[:db_system_initial_storage_sizes] if args.key?(:db_system_initial_storage_sizes)
3861
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3862
+ end
3863
+ end
3864
+
3865
+ # The response for `DbSystemShape.List`.
3866
+ class ListDbSystemShapesResponse
3867
+ include Google::Apis::Core::Hashable
3868
+
3869
+ # The list of Database System shapes.
3870
+ # Corresponds to the JSON property `dbSystemShapes`
3871
+ # @return [Array<Google::Apis::OracledatabaseV1::DbSystemShape>]
3872
+ attr_accessor :db_system_shapes
3873
+
3874
+ # A token identifying a page of results the server should return.
3875
+ # Corresponds to the JSON property `nextPageToken`
3876
+ # @return [String]
3877
+ attr_accessor :next_page_token
3878
+
3879
+ def initialize(**args)
3880
+ update!(**args)
3881
+ end
3882
+
3883
+ # Update properties of this object
3884
+ def update!(**args)
3885
+ @db_system_shapes = args[:db_system_shapes] if args.key?(:db_system_shapes)
3886
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3887
+ end
3888
+ end
3889
+
3890
+ # The response for `DbSystem.List`.
3891
+ class ListDbSystemsResponse
3892
+ include Google::Apis::Core::Hashable
3893
+
3894
+ # The list of DbSystems.
3895
+ # Corresponds to the JSON property `dbSystems`
3896
+ # @return [Array<Google::Apis::OracledatabaseV1::DbSystem>]
3897
+ attr_accessor :db_systems
3898
+
3899
+ # A token identifying a page of results the server should return.
3900
+ # Corresponds to the JSON property `nextPageToken`
3901
+ # @return [String]
3902
+ attr_accessor :next_page_token
3903
+
3904
+ def initialize(**args)
3905
+ update!(**args)
3906
+ end
3907
+
3908
+ # Update properties of this object
3909
+ def update!(**args)
3910
+ @db_systems = args[:db_systems] if args.key?(:db_systems)
2433
3911
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2434
3912
  end
2435
3913
  end
2436
3914
 
2437
- # The response for `DbNode.List`.
2438
- class ListDbNodesResponse
3915
+ # The response for `DbVersions.List`.
3916
+ class ListDbVersionsResponse
2439
3917
  include Google::Apis::Core::Hashable
2440
3918
 
2441
- # The list of DB Nodes
2442
- # Corresponds to the JSON property `dbNodes`
2443
- # @return [Array<Google::Apis::OracledatabaseV1::DbNode>]
2444
- attr_accessor :db_nodes
3919
+ # The list of DbVersions.
3920
+ # Corresponds to the JSON property `dbVersions`
3921
+ # @return [Array<Google::Apis::OracledatabaseV1::DbVersion>]
3922
+ attr_accessor :db_versions
2445
3923
 
2446
- # A token identifying a page of results the node should return.
3924
+ # A token identifying a page of results the server should return.
2447
3925
  # Corresponds to the JSON property `nextPageToken`
2448
3926
  # @return [String]
2449
3927
  attr_accessor :next_page_token
@@ -2454,19 +3932,19 @@ module Google
2454
3932
 
2455
3933
  # Update properties of this object
2456
3934
  def update!(**args)
2457
- @db_nodes = args[:db_nodes] if args.key?(:db_nodes)
3935
+ @db_versions = args[:db_versions] if args.key?(:db_versions)
2458
3936
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2459
3937
  end
2460
3938
  end
2461
3939
 
2462
- # The response for `DbServer.List`.
2463
- class ListDbServersResponse
3940
+ # The response for `Entitlement.List`.
3941
+ class ListEntitlementsResponse
2464
3942
  include Google::Apis::Core::Hashable
2465
3943
 
2466
- # The list of database servers.
2467
- # Corresponds to the JSON property `dbServers`
2468
- # @return [Array<Google::Apis::OracledatabaseV1::DbServer>]
2469
- attr_accessor :db_servers
3944
+ # The list of Entitlements
3945
+ # Corresponds to the JSON property `entitlements`
3946
+ # @return [Array<Google::Apis::OracledatabaseV1::Entitlement>]
3947
+ attr_accessor :entitlements
2470
3948
 
2471
3949
  # A token identifying a page of results the server should return.
2472
3950
  # Corresponds to the JSON property `nextPageToken`
@@ -2479,19 +3957,19 @@ module Google
2479
3957
 
2480
3958
  # Update properties of this object
2481
3959
  def update!(**args)
2482
- @db_servers = args[:db_servers] if args.key?(:db_servers)
3960
+ @entitlements = args[:entitlements] if args.key?(:entitlements)
2483
3961
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2484
3962
  end
2485
3963
  end
2486
3964
 
2487
- # The response for `DbSystemShape.List`.
2488
- class ListDbSystemShapesResponse
3965
+ # The response for `ExadbVmCluster.List`.
3966
+ class ListExadbVmClustersResponse
2489
3967
  include Google::Apis::Core::Hashable
2490
3968
 
2491
- # The list of Database System shapes.
2492
- # Corresponds to the JSON property `dbSystemShapes`
2493
- # @return [Array<Google::Apis::OracledatabaseV1::DbSystemShape>]
2494
- attr_accessor :db_system_shapes
3969
+ # The list of ExadbVmClusters.
3970
+ # Corresponds to the JSON property `exadbVmClusters`
3971
+ # @return [Array<Google::Apis::OracledatabaseV1::ExadbVmCluster>]
3972
+ attr_accessor :exadb_vm_clusters
2495
3973
 
2496
3974
  # A token identifying a page of results the server should return.
2497
3975
  # Corresponds to the JSON property `nextPageToken`
@@ -2504,21 +3982,24 @@ module Google
2504
3982
 
2505
3983
  # Update properties of this object
2506
3984
  def update!(**args)
2507
- @db_system_shapes = args[:db_system_shapes] if args.key?(:db_system_shapes)
3985
+ @exadb_vm_clusters = args[:exadb_vm_clusters] if args.key?(:exadb_vm_clusters)
2508
3986
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2509
3987
  end
2510
3988
  end
2511
3989
 
2512
- # The response for `Entitlement.List`.
2513
- class ListEntitlementsResponse
3990
+ # The response for `ExascaleDbStorageVault.List`.
3991
+ class ListExascaleDbStorageVaultsResponse
2514
3992
  include Google::Apis::Core::Hashable
2515
3993
 
2516
- # The list of Entitlements
2517
- # Corresponds to the JSON property `entitlements`
2518
- # @return [Array<Google::Apis::OracledatabaseV1::Entitlement>]
2519
- attr_accessor :entitlements
3994
+ # The ExascaleDbStorageVaults.
3995
+ # Corresponds to the JSON property `exascaleDbStorageVaults`
3996
+ # @return [Array<Google::Apis::OracledatabaseV1::ExascaleDbStorageVault>]
3997
+ attr_accessor :exascale_db_storage_vaults
2520
3998
 
2521
- # A token identifying a page of results the server should return.
3999
+ # A token identifying a page of results the server should return. If present,
4000
+ # the next page token can be provided to a subsequent
4001
+ # ListExascaleDbStorageVaults call to list the next page. If empty, there are no
4002
+ # more pages.
2522
4003
  # Corresponds to the JSON property `nextPageToken`
2523
4004
  # @return [String]
2524
4005
  attr_accessor :next_page_token
@@ -2529,7 +4010,7 @@ module Google
2529
4010
 
2530
4011
  # Update properties of this object
2531
4012
  def update!(**args)
2532
- @entitlements = args[:entitlements] if args.key?(:entitlements)
4013
+ @exascale_db_storage_vaults = args[:exascale_db_storage_vaults] if args.key?(:exascale_db_storage_vaults)
2533
4014
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2534
4015
  end
2535
4016
  end
@@ -2584,6 +4065,31 @@ module Google
2584
4065
  end
2585
4066
  end
2586
4067
 
4068
+ # The response for `MinorVersion.List`.
4069
+ class ListMinorVersionsResponse
4070
+ include Google::Apis::Core::Hashable
4071
+
4072
+ # The list of MinorVersions.
4073
+ # Corresponds to the JSON property `minorVersions`
4074
+ # @return [Array<Google::Apis::OracledatabaseV1::MinorVersion>]
4075
+ attr_accessor :minor_versions
4076
+
4077
+ # A token identifying a page of results the server should return.
4078
+ # Corresponds to the JSON property `nextPageToken`
4079
+ # @return [String]
4080
+ attr_accessor :next_page_token
4081
+
4082
+ def initialize(**args)
4083
+ update!(**args)
4084
+ end
4085
+
4086
+ # Update properties of this object
4087
+ def update!(**args)
4088
+ @minor_versions = args[:minor_versions] if args.key?(:minor_versions)
4089
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4090
+ end
4091
+ end
4092
+
2587
4093
  # The response for `OdbNetwork.List`.
2588
4094
  class ListOdbNetworksResponse
2589
4095
  include Google::Apis::Core::Hashable
@@ -2662,6 +4168,13 @@ module Google
2662
4168
  # @return [Array<Google::Apis::OracledatabaseV1::Operation>]
2663
4169
  attr_accessor :operations
2664
4170
 
4171
+ # Unordered list. Unreachable resources. Populated when the request sets `
4172
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
4173
+ # when attempting to list all resources across all supported locations.
4174
+ # Corresponds to the JSON property `unreachable`
4175
+ # @return [Array<String>]
4176
+ attr_accessor :unreachable
4177
+
2665
4178
  def initialize(**args)
2666
4179
  update!(**args)
2667
4180
  end
@@ -2670,6 +4183,32 @@ module Google
2670
4183
  def update!(**args)
2671
4184
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2672
4185
  @operations = args[:operations] if args.key?(:operations)
4186
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
4187
+ end
4188
+ end
4189
+
4190
+ # The response for `PluggableDatabase.List`.
4191
+ class ListPluggableDatabasesResponse
4192
+ include Google::Apis::Core::Hashable
4193
+
4194
+ # A token identifying a page of results the server should return.
4195
+ # Corresponds to the JSON property `nextPageToken`
4196
+ # @return [String]
4197
+ attr_accessor :next_page_token
4198
+
4199
+ # The list of PluggableDatabases.
4200
+ # Corresponds to the JSON property `pluggableDatabases`
4201
+ # @return [Array<Google::Apis::OracledatabaseV1::PluggableDatabase>]
4202
+ attr_accessor :pluggable_databases
4203
+
4204
+ def initialize(**args)
4205
+ update!(**args)
4206
+ end
4207
+
4208
+ # Update properties of this object
4209
+ def update!(**args)
4210
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4211
+ @pluggable_databases = args[:pluggable_databases] if args.key?(:pluggable_databases)
2673
4212
  end
2674
4213
  end
2675
4214
 
@@ -2820,6 +4359,40 @@ module Google
2820
4359
  end
2821
4360
  end
2822
4361
 
4362
+ # MinorVersion represents a minor version of a GI. https://docs.oracle.com/en-us/
4363
+ # iaas/api/#/en/database/20160918/GiMinorVersionSummary/
4364
+ class MinorVersion
4365
+ include Google::Apis::Core::Hashable
4366
+
4367
+ # Optional. The ID of the Grid Image.
4368
+ # Corresponds to the JSON property `gridImageId`
4369
+ # @return [String]
4370
+ attr_accessor :grid_image_id
4371
+
4372
+ # Identifier. The name of the MinorVersion resource with the format: projects/`
4373
+ # project`/locations/`region`/giVersions/`gi_version`/minorVersions/`
4374
+ # minor_version`
4375
+ # Corresponds to the JSON property `name`
4376
+ # @return [String]
4377
+ attr_accessor :name
4378
+
4379
+ # Optional. The valid Oracle grid infrastructure software version.
4380
+ # Corresponds to the JSON property `version`
4381
+ # @return [String]
4382
+ attr_accessor :version
4383
+
4384
+ def initialize(**args)
4385
+ update!(**args)
4386
+ end
4387
+
4388
+ # Update properties of this object
4389
+ def update!(**args)
4390
+ @grid_image_id = args[:grid_image_id] if args.key?(:grid_image_id)
4391
+ @name = args[:name] if args.key?(:name)
4392
+ @version = args[:version] if args.key?(:version)
4393
+ end
4394
+ end
4395
+
2823
4396
  # Represents OdbNetwork resource.
2824
4397
  class OdbNetwork
2825
4398
  include Google::Apis::Core::Hashable
@@ -3058,6 +4631,236 @@ module Google
3058
4631
  end
3059
4632
  end
3060
4633
 
4634
+ # The PluggableDatabase resource. https://docs.oracle.com/en-us/iaas/api/#/en/
4635
+ # database/20160918/PluggableDatabase/
4636
+ class PluggableDatabase
4637
+ include Google::Apis::Core::Hashable
4638
+
4639
+ # Output only. The date and time that the PluggableDatabase was created.
4640
+ # Corresponds to the JSON property `createTime`
4641
+ # @return [String]
4642
+ attr_accessor :create_time
4643
+
4644
+ # Identifier. The name of the PluggableDatabase resource in the following format:
4645
+ # projects/`project`/locations/`region`/pluggableDatabases/`pluggable_database`
4646
+ # Corresponds to the JSON property `name`
4647
+ # @return [String]
4648
+ attr_accessor :name
4649
+
4650
+ # Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
4651
+ # Corresponds to the JSON property `ociUrl`
4652
+ # @return [String]
4653
+ attr_accessor :oci_url
4654
+
4655
+ # The properties of a PluggableDatabase.
4656
+ # Corresponds to the JSON property `properties`
4657
+ # @return [Google::Apis::OracledatabaseV1::PluggableDatabaseProperties]
4658
+ attr_accessor :properties
4659
+
4660
+ def initialize(**args)
4661
+ update!(**args)
4662
+ end
4663
+
4664
+ # Update properties of this object
4665
+ def update!(**args)
4666
+ @create_time = args[:create_time] if args.key?(:create_time)
4667
+ @name = args[:name] if args.key?(:name)
4668
+ @oci_url = args[:oci_url] if args.key?(:oci_url)
4669
+ @properties = args[:properties] if args.key?(:properties)
4670
+ end
4671
+ end
4672
+
4673
+ # The connection strings used to connect to the Oracle Database.
4674
+ class PluggableDatabaseConnectionStrings
4675
+ include Google::Apis::Core::Hashable
4676
+
4677
+ # Optional. All connection strings to use to connect to the pluggable database.
4678
+ # Corresponds to the JSON property `allConnectionStrings`
4679
+ # @return [Hash<String,String>]
4680
+ attr_accessor :all_connection_strings
4681
+
4682
+ # Optional. The default connection string to use to connect to the pluggable
4683
+ # database.
4684
+ # Corresponds to the JSON property `pdbDefault`
4685
+ # @return [String]
4686
+ attr_accessor :pdb_default
4687
+
4688
+ # Optional. The default connection string to use to connect to the pluggable
4689
+ # database using IP.
4690
+ # Corresponds to the JSON property `pdbIpDefault`
4691
+ # @return [String]
4692
+ attr_accessor :pdb_ip_default
4693
+
4694
+ def initialize(**args)
4695
+ update!(**args)
4696
+ end
4697
+
4698
+ # Update properties of this object
4699
+ def update!(**args)
4700
+ @all_connection_strings = args[:all_connection_strings] if args.key?(:all_connection_strings)
4701
+ @pdb_default = args[:pdb_default] if args.key?(:pdb_default)
4702
+ @pdb_ip_default = args[:pdb_ip_default] if args.key?(:pdb_ip_default)
4703
+ end
4704
+ end
4705
+
4706
+ # The Pluggable Database Node Level Details.
4707
+ class PluggableDatabaseNodeLevelDetails
4708
+ include Google::Apis::Core::Hashable
4709
+
4710
+ # Required. The Node name of the Database home.
4711
+ # Corresponds to the JSON property `nodeName`
4712
+ # @return [String]
4713
+ attr_accessor :node_name
4714
+
4715
+ # Required. The mode that the pluggable database is in to open it.
4716
+ # Corresponds to the JSON property `openMode`
4717
+ # @return [String]
4718
+ attr_accessor :open_mode
4719
+
4720
+ # Required. The OCID of the Pluggable Database.
4721
+ # Corresponds to the JSON property `pluggableDatabaseId`
4722
+ # @return [String]
4723
+ attr_accessor :pluggable_database_id
4724
+
4725
+ def initialize(**args)
4726
+ update!(**args)
4727
+ end
4728
+
4729
+ # Update properties of this object
4730
+ def update!(**args)
4731
+ @node_name = args[:node_name] if args.key?(:node_name)
4732
+ @open_mode = args[:open_mode] if args.key?(:open_mode)
4733
+ @pluggable_database_id = args[:pluggable_database_id] if args.key?(:pluggable_database_id)
4734
+ end
4735
+ end
4736
+
4737
+ # The properties of a PluggableDatabase.
4738
+ class PluggableDatabaseProperties
4739
+ include Google::Apis::Core::Hashable
4740
+
4741
+ # Required. The OCID of the compartment.
4742
+ # Corresponds to the JSON property `compartmentId`
4743
+ # @return [String]
4744
+ attr_accessor :compartment_id
4745
+
4746
+ # The connection strings used to connect to the Oracle Database.
4747
+ # Corresponds to the JSON property `connectionStrings`
4748
+ # @return [Google::Apis::OracledatabaseV1::PluggableDatabaseConnectionStrings]
4749
+ attr_accessor :connection_strings
4750
+
4751
+ # Required. The OCID of the CDB.
4752
+ # Corresponds to the JSON property `containerDatabaseOcid`
4753
+ # @return [String]
4754
+ attr_accessor :container_database_ocid
4755
+
4756
+ # The configuration of the Database Management service.
4757
+ # Corresponds to the JSON property `databaseManagementConfig`
4758
+ # @return [Google::Apis::OracledatabaseV1::DatabaseManagementConfig]
4759
+ attr_accessor :database_management_config
4760
+
4761
+ # Optional. Defined tags for this resource. Each key is predefined and scoped to
4762
+ # a namespace.
4763
+ # Corresponds to the JSON property `definedTags`
4764
+ # @return [Hash<String,Google::Apis::OracledatabaseV1::DefinedTagValue>]
4765
+ attr_accessor :defined_tags
4766
+
4767
+ # Optional. Free-form tags for this resource. Each tag is a simple key-value
4768
+ # pair with no predefined name, type, or namespace.
4769
+ # Corresponds to the JSON property `freeformTags`
4770
+ # @return [Hash<String,String>]
4771
+ attr_accessor :freeform_tags
4772
+
4773
+ # Optional. The restricted mode of the pluggable database. If a pluggable
4774
+ # database is opened in restricted mode, the user needs both create a session
4775
+ # and have restricted session privileges to connect to it.
4776
+ # Corresponds to the JSON property `isRestricted`
4777
+ # @return [Boolean]
4778
+ attr_accessor :is_restricted
4779
+ alias_method :is_restricted?, :is_restricted
4780
+
4781
+ # Output only. Additional information about the current lifecycle state.
4782
+ # Corresponds to the JSON property `lifecycleDetails`
4783
+ # @return [String]
4784
+ attr_accessor :lifecycle_details
4785
+
4786
+ # Output only. The current state of the pluggable database.
4787
+ # Corresponds to the JSON property `lifecycleState`
4788
+ # @return [String]
4789
+ attr_accessor :lifecycle_state
4790
+
4791
+ # Output only. The OCID of the pluggable database.
4792
+ # Corresponds to the JSON property `ocid`
4793
+ # @return [String]
4794
+ attr_accessor :ocid
4795
+
4796
+ # Output only. The status of Operations Insights for this Database.
4797
+ # Corresponds to the JSON property `operationsInsightsState`
4798
+ # @return [String]
4799
+ attr_accessor :operations_insights_state
4800
+
4801
+ # Required. The database name.
4802
+ # Corresponds to the JSON property `pdbName`
4803
+ # @return [String]
4804
+ attr_accessor :pdb_name
4805
+
4806
+ # Optional. Pluggable Database Node Level Details
4807
+ # Corresponds to the JSON property `pdbNodeLevelDetails`
4808
+ # @return [Array<Google::Apis::OracledatabaseV1::PluggableDatabaseNodeLevelDetails>]
4809
+ attr_accessor :pdb_node_level_details
4810
+
4811
+ def initialize(**args)
4812
+ update!(**args)
4813
+ end
4814
+
4815
+ # Update properties of this object
4816
+ def update!(**args)
4817
+ @compartment_id = args[:compartment_id] if args.key?(:compartment_id)
4818
+ @connection_strings = args[:connection_strings] if args.key?(:connection_strings)
4819
+ @container_database_ocid = args[:container_database_ocid] if args.key?(:container_database_ocid)
4820
+ @database_management_config = args[:database_management_config] if args.key?(:database_management_config)
4821
+ @defined_tags = args[:defined_tags] if args.key?(:defined_tags)
4822
+ @freeform_tags = args[:freeform_tags] if args.key?(:freeform_tags)
4823
+ @is_restricted = args[:is_restricted] if args.key?(:is_restricted)
4824
+ @lifecycle_details = args[:lifecycle_details] if args.key?(:lifecycle_details)
4825
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
4826
+ @ocid = args[:ocid] if args.key?(:ocid)
4827
+ @operations_insights_state = args[:operations_insights_state] if args.key?(:operations_insights_state)
4828
+ @pdb_name = args[:pdb_name] if args.key?(:pdb_name)
4829
+ @pdb_node_level_details = args[:pdb_node_level_details] if args.key?(:pdb_node_level_details)
4830
+ end
4831
+ end
4832
+
4833
+ # The request for `ExadbVmCluster.RemoveVirtualMachine`.
4834
+ class RemoveVirtualMachineExadbVmClusterRequest
4835
+ include Google::Apis::Core::Hashable
4836
+
4837
+ # Required. The list of host names of db nodes to be removed from the
4838
+ # ExadbVmCluster.
4839
+ # Corresponds to the JSON property `hostnames`
4840
+ # @return [Array<String>]
4841
+ attr_accessor :hostnames
4842
+
4843
+ # Optional. An optional ID to identify the request. This value is used to
4844
+ # identify duplicate requests. If you make a request with the same request ID
4845
+ # and the original request is still in progress or completed, the server ignores
4846
+ # the second request. This prevents clients from accidentally creating duplicate
4847
+ # commitments. The request ID must be a valid UUID with the exception that zero
4848
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
4849
+ # Corresponds to the JSON property `requestId`
4850
+ # @return [String]
4851
+ attr_accessor :request_id
4852
+
4853
+ def initialize(**args)
4854
+ update!(**args)
4855
+ end
4856
+
4857
+ # Update properties of this object
4858
+ def update!(**args)
4859
+ @hostnames = args[:hostnames] if args.key?(:hostnames)
4860
+ @request_id = args[:request_id] if args.key?(:request_id)
4861
+ end
4862
+ end
4863
+
3061
4864
  # The request for `AutonomousDatabase.Restart`.
3062
4865
  class RestartAutonomousDatabaseRequest
3063
4866
  include Google::Apis::Core::Hashable
@@ -3219,6 +5022,34 @@ module Google
3219
5022
  end
3220
5023
  end
3221
5024
 
5025
+ # The initial storage size, in gigabytes, that is applicable for virtual machine
5026
+ # DBSystem.
5027
+ class StorageSizeDetails
5028
+ include Google::Apis::Core::Hashable
5029
+
5030
+ # Output only. The data storage size, in gigabytes, that is applicable for
5031
+ # virtual machine DBSystem.
5032
+ # Corresponds to the JSON property `dataStorageSizeInGbs`
5033
+ # @return [Fixnum]
5034
+ attr_accessor :data_storage_size_in_gbs
5035
+
5036
+ # Output only. The RECO/REDO storage size, in gigabytes, that is applicable for
5037
+ # virtual machine DBSystem.
5038
+ # Corresponds to the JSON property `recoStorageSizeInGbs`
5039
+ # @return [Fixnum]
5040
+ attr_accessor :reco_storage_size_in_gbs
5041
+
5042
+ def initialize(**args)
5043
+ update!(**args)
5044
+ end
5045
+
5046
+ # Update properties of this object
5047
+ def update!(**args)
5048
+ @data_storage_size_in_gbs = args[:data_storage_size_in_gbs] if args.key?(:data_storage_size_in_gbs)
5049
+ @reco_storage_size_in_gbs = args[:reco_storage_size_in_gbs] if args.key?(:reco_storage_size_in_gbs)
5050
+ end
5051
+ end
5052
+
3222
5053
  # The request for `OracleDatabase.SwitchoverAutonomousDatabase`.
3223
5054
  class SwitchoverAutonomousDatabaseRequest
3224
5055
  include Google::Apis::Core::Hashable