google-apis-oracledatabase_v1 0.16.0 → 0.18.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/oracledatabase_v1/classes.rb +1863 -107
- data/lib/google/apis/oracledatabase_v1/gem_version.rb +2 -2
- data/lib/google/apis/oracledatabase_v1/representations.rb +718 -17
- data/lib/google/apis/oracledatabase_v1/service.rb +1174 -200
- metadata +2 -2
@@ -1057,6 +1057,25 @@ module Google
|
|
1057
1057
|
end
|
1058
1058
|
end
|
1059
1059
|
|
1060
|
+
# The details of the database backup destination.
|
1061
|
+
class BackupDestinationDetails
|
1062
|
+
include Google::Apis::Core::Hashable
|
1063
|
+
|
1064
|
+
# Optional. The type of the database backup destination.
|
1065
|
+
# Corresponds to the JSON property `type`
|
1066
|
+
# @return [String]
|
1067
|
+
attr_accessor :type
|
1068
|
+
|
1069
|
+
def initialize(**args)
|
1070
|
+
update!(**args)
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# Update properties of this object
|
1074
|
+
def update!(**args)
|
1075
|
+
@type = args[:type] if args.key?(:type)
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
1060
1079
|
# The request message for Operations.CancelOperation.
|
1061
1080
|
class CancelOperationRequest
|
1062
1081
|
include Google::Apis::Core::Hashable
|
@@ -1759,6 +1778,204 @@ module Google
|
|
1759
1778
|
end
|
1760
1779
|
end
|
1761
1780
|
|
1781
|
+
# Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/
|
1782
|
+
# api/#/en/database/20160918/datatypes/DataCollectionOptions
|
1783
|
+
class DataCollectionOptionsCommon
|
1784
|
+
include Google::Apis::Core::Hashable
|
1785
|
+
|
1786
|
+
# Optional. Indicates whether to enable data collection for diagnostics.
|
1787
|
+
# Corresponds to the JSON property `isDiagnosticsEventsEnabled`
|
1788
|
+
# @return [Boolean]
|
1789
|
+
attr_accessor :is_diagnostics_events_enabled
|
1790
|
+
alias_method :is_diagnostics_events_enabled?, :is_diagnostics_events_enabled
|
1791
|
+
|
1792
|
+
# Optional. Indicates whether to enable health monitoring.
|
1793
|
+
# Corresponds to the JSON property `isHealthMonitoringEnabled`
|
1794
|
+
# @return [Boolean]
|
1795
|
+
attr_accessor :is_health_monitoring_enabled
|
1796
|
+
alias_method :is_health_monitoring_enabled?, :is_health_monitoring_enabled
|
1797
|
+
|
1798
|
+
# Optional. Indicates whether to enable incident logs and trace collection.
|
1799
|
+
# Corresponds to the JSON property `isIncidentLogsEnabled`
|
1800
|
+
# @return [Boolean]
|
1801
|
+
attr_accessor :is_incident_logs_enabled
|
1802
|
+
alias_method :is_incident_logs_enabled?, :is_incident_logs_enabled
|
1803
|
+
|
1804
|
+
def initialize(**args)
|
1805
|
+
update!(**args)
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# Update properties of this object
|
1809
|
+
def update!(**args)
|
1810
|
+
@is_diagnostics_events_enabled = args[:is_diagnostics_events_enabled] if args.key?(:is_diagnostics_events_enabled)
|
1811
|
+
@is_health_monitoring_enabled = args[:is_health_monitoring_enabled] if args.key?(:is_health_monitoring_enabled)
|
1812
|
+
@is_incident_logs_enabled = args[:is_incident_logs_enabled] if args.key?(:is_incident_logs_enabled)
|
1813
|
+
end
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
# Data collection options for DbSystem.
|
1817
|
+
class DataCollectionOptionsDbSystem
|
1818
|
+
include Google::Apis::Core::Hashable
|
1819
|
+
|
1820
|
+
# Optional. Indicates whether to enable data collection for diagnostics.
|
1821
|
+
# Corresponds to the JSON property `isDiagnosticsEventsEnabled`
|
1822
|
+
# @return [Boolean]
|
1823
|
+
attr_accessor :is_diagnostics_events_enabled
|
1824
|
+
alias_method :is_diagnostics_events_enabled?, :is_diagnostics_events_enabled
|
1825
|
+
|
1826
|
+
# Optional. Indicates whether to enable incident logs and trace collection.
|
1827
|
+
# Corresponds to the JSON property `isIncidentLogsEnabled`
|
1828
|
+
# @return [Boolean]
|
1829
|
+
attr_accessor :is_incident_logs_enabled
|
1830
|
+
alias_method :is_incident_logs_enabled?, :is_incident_logs_enabled
|
1831
|
+
|
1832
|
+
def initialize(**args)
|
1833
|
+
update!(**args)
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# Update properties of this object
|
1837
|
+
def update!(**args)
|
1838
|
+
@is_diagnostics_events_enabled = args[:is_diagnostics_events_enabled] if args.key?(:is_diagnostics_events_enabled)
|
1839
|
+
@is_incident_logs_enabled = args[:is_incident_logs_enabled] if args.key?(:is_incident_logs_enabled)
|
1840
|
+
end
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
# Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/
|
1844
|
+
# database/20160918/Database/
|
1845
|
+
class Database
|
1846
|
+
include Google::Apis::Core::Hashable
|
1847
|
+
|
1848
|
+
# Required. The password for the default ADMIN user.
|
1849
|
+
# Corresponds to the JSON property `adminPassword`
|
1850
|
+
# @return [String]
|
1851
|
+
attr_accessor :admin_password
|
1852
|
+
|
1853
|
+
# Optional. The character set for the database. The default is AL32UTF8.
|
1854
|
+
# Corresponds to the JSON property `characterSet`
|
1855
|
+
# @return [String]
|
1856
|
+
attr_accessor :character_set
|
1857
|
+
|
1858
|
+
# Output only. The date and time that the Database was created.
|
1859
|
+
# Corresponds to the JSON property `createTime`
|
1860
|
+
# @return [String]
|
1861
|
+
attr_accessor :create_time
|
1862
|
+
|
1863
|
+
# Optional. The database ID of the Database.
|
1864
|
+
# Corresponds to the JSON property `databaseId`
|
1865
|
+
# @return [String]
|
1866
|
+
attr_accessor :database_id
|
1867
|
+
|
1868
|
+
# Optional. The name of the DbHome resource associated with the Database.
|
1869
|
+
# Corresponds to the JSON property `dbHomeName`
|
1870
|
+
# @return [String]
|
1871
|
+
attr_accessor :db_home_name
|
1872
|
+
|
1873
|
+
# Optional. The database name. The name must begin with an alphabetic character
|
1874
|
+
# and can contain a maximum of eight alphanumeric characters. Special characters
|
1875
|
+
# are not permitted.
|
1876
|
+
# Corresponds to the JSON property `dbName`
|
1877
|
+
# @return [String]
|
1878
|
+
attr_accessor :db_name
|
1879
|
+
|
1880
|
+
# Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
|
1881
|
+
# Corresponds to the JSON property `dbUniqueName`
|
1882
|
+
# @return [String]
|
1883
|
+
attr_accessor :db_unique_name
|
1884
|
+
|
1885
|
+
# Output only. The GCP Oracle zone where the Database is created.
|
1886
|
+
# Corresponds to the JSON property `gcpOracleZone`
|
1887
|
+
# @return [String]
|
1888
|
+
attr_accessor :gcp_oracle_zone
|
1889
|
+
|
1890
|
+
# Identifier. The name of the Database resource in the following format:
|
1891
|
+
# projects/`project`/locations/`region`/databases/`database`
|
1892
|
+
# Corresponds to the JSON property `name`
|
1893
|
+
# @return [String]
|
1894
|
+
attr_accessor :name
|
1895
|
+
|
1896
|
+
# Optional. The national character set for the database. The default is
|
1897
|
+
# AL16UTF16.
|
1898
|
+
# Corresponds to the JSON property `ncharacterSet`
|
1899
|
+
# @return [String]
|
1900
|
+
attr_accessor :ncharacter_set
|
1901
|
+
|
1902
|
+
# Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
|
1903
|
+
# Corresponds to the JSON property `ociUrl`
|
1904
|
+
# @return [String]
|
1905
|
+
attr_accessor :oci_url
|
1906
|
+
|
1907
|
+
# Output only. The Status of Operations Insights for this Database.
|
1908
|
+
# Corresponds to the JSON property `opsInsightsStatus`
|
1909
|
+
# @return [String]
|
1910
|
+
attr_accessor :ops_insights_status
|
1911
|
+
|
1912
|
+
# The properties of a Database.
|
1913
|
+
# Corresponds to the JSON property `properties`
|
1914
|
+
# @return [Google::Apis::OracledatabaseV1::DatabaseProperties]
|
1915
|
+
attr_accessor :properties
|
1916
|
+
|
1917
|
+
# Optional. The TDE wallet password for the database.
|
1918
|
+
# Corresponds to the JSON property `tdeWalletPassword`
|
1919
|
+
# @return [String]
|
1920
|
+
attr_accessor :tde_wallet_password
|
1921
|
+
|
1922
|
+
def initialize(**args)
|
1923
|
+
update!(**args)
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
# Update properties of this object
|
1927
|
+
def update!(**args)
|
1928
|
+
@admin_password = args[:admin_password] if args.key?(:admin_password)
|
1929
|
+
@character_set = args[:character_set] if args.key?(:character_set)
|
1930
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1931
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
1932
|
+
@db_home_name = args[:db_home_name] if args.key?(:db_home_name)
|
1933
|
+
@db_name = args[:db_name] if args.key?(:db_name)
|
1934
|
+
@db_unique_name = args[:db_unique_name] if args.key?(:db_unique_name)
|
1935
|
+
@gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
|
1936
|
+
@name = args[:name] if args.key?(:name)
|
1937
|
+
@ncharacter_set = args[:ncharacter_set] if args.key?(:ncharacter_set)
|
1938
|
+
@oci_url = args[:oci_url] if args.key?(:oci_url)
|
1939
|
+
@ops_insights_status = args[:ops_insights_status] if args.key?(:ops_insights_status)
|
1940
|
+
@properties = args[:properties] if args.key?(:properties)
|
1941
|
+
@tde_wallet_password = args[:tde_wallet_password] if args.key?(:tde_wallet_password)
|
1942
|
+
end
|
1943
|
+
end
|
1944
|
+
|
1945
|
+
# Details of the Database character set resource.
|
1946
|
+
class DatabaseCharacterSet
|
1947
|
+
include Google::Apis::Core::Hashable
|
1948
|
+
|
1949
|
+
# Output only. The character set name for the Database which is the ID in the
|
1950
|
+
# resource name.
|
1951
|
+
# Corresponds to the JSON property `characterSet`
|
1952
|
+
# @return [String]
|
1953
|
+
attr_accessor :character_set
|
1954
|
+
|
1955
|
+
# Output only. The character set type for the Database.
|
1956
|
+
# Corresponds to the JSON property `characterSetType`
|
1957
|
+
# @return [String]
|
1958
|
+
attr_accessor :character_set_type
|
1959
|
+
|
1960
|
+
# Identifier. The name of the Database Character Set resource in the following
|
1961
|
+
# format: projects/`project`/locations/`region`/databaseCharacterSets/`
|
1962
|
+
# database_character_set`
|
1963
|
+
# Corresponds to the JSON property `name`
|
1964
|
+
# @return [String]
|
1965
|
+
attr_accessor :name
|
1966
|
+
|
1967
|
+
def initialize(**args)
|
1968
|
+
update!(**args)
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
# Update properties of this object
|
1972
|
+
def update!(**args)
|
1973
|
+
@character_set = args[:character_set] if args.key?(:character_set)
|
1974
|
+
@character_set_type = args[:character_set_type] if args.key?(:character_set_type)
|
1975
|
+
@name = args[:name] if args.key?(:name)
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1762
1979
|
# The connection string profile to allow clients to group. https://docs.oracle.
|
1763
1980
|
# com/en-us/iaas/api/#/en/database/20160918/datatypes/
|
1764
1981
|
# DatabaseConnectionStringProfile
|
@@ -1831,6 +2048,172 @@ module Google
|
|
1831
2048
|
end
|
1832
2049
|
end
|
1833
2050
|
|
2051
|
+
# The configuration of the Database Management service.
|
2052
|
+
class DatabaseManagementConfig
|
2053
|
+
include Google::Apis::Core::Hashable
|
2054
|
+
|
2055
|
+
# Output only. The status of the Database Management service.
|
2056
|
+
# Corresponds to the JSON property `managementState`
|
2057
|
+
# @return [String]
|
2058
|
+
attr_accessor :management_state
|
2059
|
+
|
2060
|
+
# Output only. The Database Management type.
|
2061
|
+
# Corresponds to the JSON property `managementType`
|
2062
|
+
# @return [String]
|
2063
|
+
attr_accessor :management_type
|
2064
|
+
|
2065
|
+
def initialize(**args)
|
2066
|
+
update!(**args)
|
2067
|
+
end
|
2068
|
+
|
2069
|
+
# Update properties of this object
|
2070
|
+
def update!(**args)
|
2071
|
+
@management_state = args[:management_state] if args.key?(:management_state)
|
2072
|
+
@management_type = args[:management_type] if args.key?(:management_type)
|
2073
|
+
end
|
2074
|
+
end
|
2075
|
+
|
2076
|
+
# The properties of a Database.
|
2077
|
+
class DatabaseProperties
|
2078
|
+
include Google::Apis::Core::Hashable
|
2079
|
+
|
2080
|
+
# The configuration of the Database Management service.
|
2081
|
+
# Corresponds to the JSON property `databaseManagementConfig`
|
2082
|
+
# @return [Google::Apis::OracledatabaseV1::DatabaseManagementConfig]
|
2083
|
+
attr_accessor :database_management_config
|
2084
|
+
|
2085
|
+
# Backup Options for the Database.
|
2086
|
+
# Corresponds to the JSON property `dbBackupConfig`
|
2087
|
+
# @return [Google::Apis::OracledatabaseV1::DbBackupConfig]
|
2088
|
+
attr_accessor :db_backup_config
|
2089
|
+
|
2090
|
+
# Required. The Oracle Database version.
|
2091
|
+
# Corresponds to the JSON property `dbVersion`
|
2092
|
+
# @return [String]
|
2093
|
+
attr_accessor :db_version
|
2094
|
+
|
2095
|
+
# Output only. State of the Database.
|
2096
|
+
# Corresponds to the JSON property `state`
|
2097
|
+
# @return [String]
|
2098
|
+
attr_accessor :state
|
2099
|
+
|
2100
|
+
def initialize(**args)
|
2101
|
+
update!(**args)
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
# Update properties of this object
|
2105
|
+
def update!(**args)
|
2106
|
+
@database_management_config = args[:database_management_config] if args.key?(:database_management_config)
|
2107
|
+
@db_backup_config = args[:db_backup_config] if args.key?(:db_backup_config)
|
2108
|
+
@db_version = args[:db_version] if args.key?(:db_version)
|
2109
|
+
@state = args[:state] if args.key?(:state)
|
2110
|
+
end
|
2111
|
+
end
|
2112
|
+
|
2113
|
+
# Backup Options for the Database.
|
2114
|
+
class DbBackupConfig
|
2115
|
+
include Google::Apis::Core::Hashable
|
2116
|
+
|
2117
|
+
# Optional. If set to true, enables automatic backups on the database.
|
2118
|
+
# Corresponds to the JSON property `autoBackupEnabled`
|
2119
|
+
# @return [Boolean]
|
2120
|
+
attr_accessor :auto_backup_enabled
|
2121
|
+
alias_method :auto_backup_enabled?, :auto_backup_enabled
|
2122
|
+
|
2123
|
+
# Optional. The day of the week on which the full backup should be performed on
|
2124
|
+
# the database. If no value is provided, it will default to Sunday.
|
2125
|
+
# Corresponds to the JSON property `autoFullBackupDay`
|
2126
|
+
# @return [String]
|
2127
|
+
attr_accessor :auto_full_backup_day
|
2128
|
+
|
2129
|
+
# Optional. The window in which the full backup should be performed on the
|
2130
|
+
# database. If no value is provided, the default is anytime.
|
2131
|
+
# Corresponds to the JSON property `autoFullBackupWindow`
|
2132
|
+
# @return [String]
|
2133
|
+
attr_accessor :auto_full_backup_window
|
2134
|
+
|
2135
|
+
# Optional. The window in which the incremental backup should be performed on
|
2136
|
+
# the database. If no value is provided, the default is anytime except the auto
|
2137
|
+
# full backup day.
|
2138
|
+
# Corresponds to the JSON property `autoIncrementalBackupWindow`
|
2139
|
+
# @return [String]
|
2140
|
+
attr_accessor :auto_incremental_backup_window
|
2141
|
+
|
2142
|
+
# Optional. This defines when the backups will be deleted after Database
|
2143
|
+
# termination.
|
2144
|
+
# Corresponds to the JSON property `backupDeletionPolicy`
|
2145
|
+
# @return [String]
|
2146
|
+
attr_accessor :backup_deletion_policy
|
2147
|
+
|
2148
|
+
# Optional. Details of the database backup destinations.
|
2149
|
+
# Corresponds to the JSON property `backupDestinationDetails`
|
2150
|
+
# @return [Array<Google::Apis::OracledatabaseV1::BackupDestinationDetails>]
|
2151
|
+
attr_accessor :backup_destination_details
|
2152
|
+
|
2153
|
+
# Optional. The number of days an automatic backup is retained before being
|
2154
|
+
# automatically deleted. This value determines the earliest point in time to
|
2155
|
+
# which a database can be restored. Min: 1, Max: 60.
|
2156
|
+
# Corresponds to the JSON property `retentionPeriodDays`
|
2157
|
+
# @return [Fixnum]
|
2158
|
+
attr_accessor :retention_period_days
|
2159
|
+
|
2160
|
+
def initialize(**args)
|
2161
|
+
update!(**args)
|
2162
|
+
end
|
2163
|
+
|
2164
|
+
# Update properties of this object
|
2165
|
+
def update!(**args)
|
2166
|
+
@auto_backup_enabled = args[:auto_backup_enabled] if args.key?(:auto_backup_enabled)
|
2167
|
+
@auto_full_backup_day = args[:auto_full_backup_day] if args.key?(:auto_full_backup_day)
|
2168
|
+
@auto_full_backup_window = args[:auto_full_backup_window] if args.key?(:auto_full_backup_window)
|
2169
|
+
@auto_incremental_backup_window = args[:auto_incremental_backup_window] if args.key?(:auto_incremental_backup_window)
|
2170
|
+
@backup_deletion_policy = args[:backup_deletion_policy] if args.key?(:backup_deletion_policy)
|
2171
|
+
@backup_destination_details = args[:backup_destination_details] if args.key?(:backup_destination_details)
|
2172
|
+
@retention_period_days = args[:retention_period_days] if args.key?(:retention_period_days)
|
2173
|
+
end
|
2174
|
+
end
|
2175
|
+
|
2176
|
+
# Details of the Database Home resource.
|
2177
|
+
class DbHome
|
2178
|
+
include Google::Apis::Core::Hashable
|
2179
|
+
|
2180
|
+
# Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/
|
2181
|
+
# database/20160918/Database/
|
2182
|
+
# Corresponds to the JSON property `database`
|
2183
|
+
# @return [Google::Apis::OracledatabaseV1::Database]
|
2184
|
+
attr_accessor :database
|
2185
|
+
|
2186
|
+
# Required. A valid Oracle Database version. For a list of supported versions,
|
2187
|
+
# use the ListDbVersions operation.
|
2188
|
+
# Corresponds to the JSON property `dbVersion`
|
2189
|
+
# @return [String]
|
2190
|
+
attr_accessor :db_version
|
2191
|
+
|
2192
|
+
# Optional. The display name for the Database Home. The name does not have to be
|
2193
|
+
# unique within your project.
|
2194
|
+
# Corresponds to the JSON property `displayName`
|
2195
|
+
# @return [String]
|
2196
|
+
attr_accessor :display_name
|
2197
|
+
|
2198
|
+
# Optional. Whether unified auditing is enabled for the Database Home.
|
2199
|
+
# Corresponds to the JSON property `isUnifiedAuditingEnabled`
|
2200
|
+
# @return [Boolean]
|
2201
|
+
attr_accessor :is_unified_auditing_enabled
|
2202
|
+
alias_method :is_unified_auditing_enabled?, :is_unified_auditing_enabled
|
2203
|
+
|
2204
|
+
def initialize(**args)
|
2205
|
+
update!(**args)
|
2206
|
+
end
|
2207
|
+
|
2208
|
+
# Update properties of this object
|
2209
|
+
def update!(**args)
|
2210
|
+
@database = args[:database] if args.key?(:database)
|
2211
|
+
@db_version = args[:db_version] if args.key?(:db_version)
|
2212
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2213
|
+
@is_unified_auditing_enabled = args[:is_unified_auditing_enabled] if args.key?(:is_unified_auditing_enabled)
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
1834
2217
|
# Details of the database node resource. https://docs.oracle.com/en-us/iaas/api/#
|
1835
2218
|
# /en/database/20160918/DbNode/
|
1836
2219
|
class DbNode
|
@@ -2033,32 +2416,337 @@ module Google
|
|
2033
2416
|
end
|
2034
2417
|
end
|
2035
2418
|
|
2036
|
-
# Details of the
|
2037
|
-
#
|
2038
|
-
class
|
2419
|
+
# Details of the DbSystem (BaseDB) resource. https://docs.oracle.com/en-us/iaas/
|
2420
|
+
# api/#/en/database/20160918/DbSystem/
|
2421
|
+
class DbSystem
|
2039
2422
|
include Google::Apis::Core::Hashable
|
2040
2423
|
|
2041
|
-
#
|
2042
|
-
# Corresponds to the JSON property `
|
2043
|
-
# @return [
|
2044
|
-
attr_accessor :
|
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
|
2424
|
+
# Output only. The date and time that the DbSystem was created.
|
2425
|
+
# Corresponds to the JSON property `createTime`
|
2426
|
+
# @return [String]
|
2427
|
+
attr_accessor :create_time
|
2050
2428
|
|
2051
|
-
#
|
2052
|
-
#
|
2053
|
-
#
|
2054
|
-
|
2429
|
+
# Required. The display name for the System db. The name does not have to be
|
2430
|
+
# unique within your project.
|
2431
|
+
# Corresponds to the JSON property `displayName`
|
2432
|
+
# @return [String]
|
2433
|
+
attr_accessor :display_name
|
2055
2434
|
|
2056
|
-
#
|
2057
|
-
#
|
2058
|
-
#
|
2059
|
-
|
2435
|
+
# Output only. The ID of the subscription entitlement associated with the
|
2436
|
+
# DbSystem
|
2437
|
+
# Corresponds to the JSON property `entitlementId`
|
2438
|
+
# @return [String]
|
2439
|
+
attr_accessor :entitlement_id
|
2060
2440
|
|
2061
|
-
# Optional.
|
2441
|
+
# Optional. The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-
|
2442
|
+
# east4-b-r2. If not specified, the system will pick a zone based on
|
2443
|
+
# availability.
|
2444
|
+
# Corresponds to the JSON property `gcpOracleZone`
|
2445
|
+
# @return [String]
|
2446
|
+
attr_accessor :gcp_oracle_zone
|
2447
|
+
|
2448
|
+
# Optional. The labels or tags associated with the DbSystem.
|
2449
|
+
# Corresponds to the JSON property `labels`
|
2450
|
+
# @return [Hash<String,String>]
|
2451
|
+
attr_accessor :labels
|
2452
|
+
|
2453
|
+
# Identifier. The name of the DbSystem resource in the following format:
|
2454
|
+
# projects/`project`/locations/`region`/dbSystems/`db_system`
|
2455
|
+
# Corresponds to the JSON property `name`
|
2456
|
+
# @return [String]
|
2457
|
+
attr_accessor :name
|
2458
|
+
|
2459
|
+
# Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
|
2460
|
+
# Corresponds to the JSON property `ociUrl`
|
2461
|
+
# @return [String]
|
2462
|
+
attr_accessor :oci_url
|
2463
|
+
|
2464
|
+
# Optional. The name of the OdbNetwork associated with the DbSystem. Format:
|
2465
|
+
# projects/`project`/locations/`location`/odbNetworks/`odb_network` It is
|
2466
|
+
# optional but if specified, this should match the parent ODBNetwork of the
|
2467
|
+
# OdbSubnet.
|
2468
|
+
# Corresponds to the JSON property `odbNetwork`
|
2469
|
+
# @return [String]
|
2470
|
+
attr_accessor :odb_network
|
2471
|
+
|
2472
|
+
# Required. The name of the OdbSubnet associated with the DbSystem for IP
|
2473
|
+
# allocation. Format: projects/`project`/locations/`location`/odbNetworks/`
|
2474
|
+
# odb_network`/odbSubnets/`odb_subnet`
|
2475
|
+
# Corresponds to the JSON property `odbSubnet`
|
2476
|
+
# @return [String]
|
2477
|
+
attr_accessor :odb_subnet
|
2478
|
+
|
2479
|
+
# The properties of a DbSystem.
|
2480
|
+
# Corresponds to the JSON property `properties`
|
2481
|
+
# @return [Google::Apis::OracledatabaseV1::DbSystemProperties]
|
2482
|
+
attr_accessor :properties
|
2483
|
+
|
2484
|
+
def initialize(**args)
|
2485
|
+
update!(**args)
|
2486
|
+
end
|
2487
|
+
|
2488
|
+
# Update properties of this object
|
2489
|
+
def update!(**args)
|
2490
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2491
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2492
|
+
@entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
|
2493
|
+
@gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
|
2494
|
+
@labels = args[:labels] if args.key?(:labels)
|
2495
|
+
@name = args[:name] if args.key?(:name)
|
2496
|
+
@oci_url = args[:oci_url] if args.key?(:oci_url)
|
2497
|
+
@odb_network = args[:odb_network] if args.key?(:odb_network)
|
2498
|
+
@odb_subnet = args[:odb_subnet] if args.key?(:odb_subnet)
|
2499
|
+
@properties = args[:properties] if args.key?(:properties)
|
2500
|
+
end
|
2501
|
+
end
|
2502
|
+
|
2503
|
+
# Summary of the DbSystem initial storage size.
|
2504
|
+
class DbSystemInitialStorageSize
|
2505
|
+
include Google::Apis::Core::Hashable
|
2506
|
+
|
2507
|
+
# Output only. The name of the resource.
|
2508
|
+
# Corresponds to the JSON property `name`
|
2509
|
+
# @return [String]
|
2510
|
+
attr_accessor :name
|
2511
|
+
|
2512
|
+
# The properties of a DbSystem initial storage size summary.
|
2513
|
+
# Corresponds to the JSON property `properties`
|
2514
|
+
# @return [Google::Apis::OracledatabaseV1::DbSystemInitialStorageSizeProperties]
|
2515
|
+
attr_accessor :properties
|
2516
|
+
|
2517
|
+
def initialize(**args)
|
2518
|
+
update!(**args)
|
2519
|
+
end
|
2520
|
+
|
2521
|
+
# Update properties of this object
|
2522
|
+
def update!(**args)
|
2523
|
+
@name = args[:name] if args.key?(:name)
|
2524
|
+
@properties = args[:properties] if args.key?(:properties)
|
2525
|
+
end
|
2526
|
+
end
|
2527
|
+
|
2528
|
+
# The properties of a DbSystem initial storage size summary.
|
2529
|
+
class DbSystemInitialStorageSizeProperties
|
2530
|
+
include Google::Apis::Core::Hashable
|
2531
|
+
|
2532
|
+
# Output only. List of storage disk details available for launches from backup.
|
2533
|
+
# Corresponds to the JSON property `launchFromBackupStorageSizeDetails`
|
2534
|
+
# @return [Array<Google::Apis::OracledatabaseV1::StorageSizeDetails>]
|
2535
|
+
attr_accessor :launch_from_backup_storage_size_details
|
2536
|
+
|
2537
|
+
# Output only. VM shape platform type
|
2538
|
+
# Corresponds to the JSON property `shapeType`
|
2539
|
+
# @return [String]
|
2540
|
+
attr_accessor :shape_type
|
2541
|
+
|
2542
|
+
# Output only. The storage option used in DB system.
|
2543
|
+
# Corresponds to the JSON property `storageManagement`
|
2544
|
+
# @return [String]
|
2545
|
+
attr_accessor :storage_management
|
2546
|
+
|
2547
|
+
# Output only. List of storage disk details.
|
2548
|
+
# Corresponds to the JSON property `storageSizeDetails`
|
2549
|
+
# @return [Array<Google::Apis::OracledatabaseV1::StorageSizeDetails>]
|
2550
|
+
attr_accessor :storage_size_details
|
2551
|
+
|
2552
|
+
def initialize(**args)
|
2553
|
+
update!(**args)
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
# Update properties of this object
|
2557
|
+
def update!(**args)
|
2558
|
+
@launch_from_backup_storage_size_details = args[:launch_from_backup_storage_size_details] if args.key?(:launch_from_backup_storage_size_details)
|
2559
|
+
@shape_type = args[:shape_type] if args.key?(:shape_type)
|
2560
|
+
@storage_management = args[:storage_management] if args.key?(:storage_management)
|
2561
|
+
@storage_size_details = args[:storage_size_details] if args.key?(:storage_size_details)
|
2562
|
+
end
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
# Details of the DbSystem Options.
|
2566
|
+
class DbSystemOptions
|
2567
|
+
include Google::Apis::Core::Hashable
|
2568
|
+
|
2569
|
+
# Optional. The storage option used in DB system.
|
2570
|
+
# Corresponds to the JSON property `storageManagement`
|
2571
|
+
# @return [String]
|
2572
|
+
attr_accessor :storage_management
|
2573
|
+
|
2574
|
+
def initialize(**args)
|
2575
|
+
update!(**args)
|
2576
|
+
end
|
2577
|
+
|
2578
|
+
# Update properties of this object
|
2579
|
+
def update!(**args)
|
2580
|
+
@storage_management = args[:storage_management] if args.key?(:storage_management)
|
2581
|
+
end
|
2582
|
+
end
|
2583
|
+
|
2584
|
+
# The properties of a DbSystem.
|
2585
|
+
class DbSystemProperties
|
2586
|
+
include Google::Apis::Core::Hashable
|
2587
|
+
|
2588
|
+
# Required. The number of CPU cores to enable for the DbSystem.
|
2589
|
+
# Corresponds to the JSON property `computeCount`
|
2590
|
+
# @return [Fixnum]
|
2591
|
+
attr_accessor :compute_count
|
2592
|
+
|
2593
|
+
# Optional. The compute model of the DbSystem.
|
2594
|
+
# Corresponds to the JSON property `computeModel`
|
2595
|
+
# @return [String]
|
2596
|
+
attr_accessor :compute_model
|
2597
|
+
|
2598
|
+
# Data collection options for DbSystem.
|
2599
|
+
# Corresponds to the JSON property `dataCollectionOptions`
|
2600
|
+
# @return [Google::Apis::OracledatabaseV1::DataCollectionOptionsDbSystem]
|
2601
|
+
attr_accessor :data_collection_options
|
2602
|
+
|
2603
|
+
# Optional. The data storage size in GB that is currently available to DbSystems.
|
2604
|
+
# Corresponds to the JSON property `dataStorageSizeGb`
|
2605
|
+
# @return [Fixnum]
|
2606
|
+
attr_accessor :data_storage_size_gb
|
2607
|
+
|
2608
|
+
# Required. The database edition of the DbSystem.
|
2609
|
+
# Corresponds to the JSON property `databaseEdition`
|
2610
|
+
# @return [String]
|
2611
|
+
attr_accessor :database_edition
|
2612
|
+
|
2613
|
+
# Details of the Database Home resource.
|
2614
|
+
# Corresponds to the JSON property `dbHome`
|
2615
|
+
# @return [Google::Apis::OracledatabaseV1::DbHome]
|
2616
|
+
attr_accessor :db_home
|
2617
|
+
|
2618
|
+
# Details of the DbSystem Options.
|
2619
|
+
# Corresponds to the JSON property `dbSystemOptions`
|
2620
|
+
# @return [Google::Apis::OracledatabaseV1::DbSystemOptions]
|
2621
|
+
attr_accessor :db_system_options
|
2622
|
+
|
2623
|
+
# Optional. The host domain name of the DbSystem.
|
2624
|
+
# Corresponds to the JSON property `domain`
|
2625
|
+
# @return [String]
|
2626
|
+
attr_accessor :domain
|
2627
|
+
|
2628
|
+
# Output only. The hostname of the DbSystem.
|
2629
|
+
# Corresponds to the JSON property `hostname`
|
2630
|
+
# @return [String]
|
2631
|
+
attr_accessor :hostname
|
2632
|
+
|
2633
|
+
# Optional. Prefix for DB System host names.
|
2634
|
+
# Corresponds to the JSON property `hostnamePrefix`
|
2635
|
+
# @return [String]
|
2636
|
+
attr_accessor :hostname_prefix
|
2637
|
+
|
2638
|
+
# Required. The initial data storage size in GB.
|
2639
|
+
# Corresponds to the JSON property `initialDataStorageSizeGb`
|
2640
|
+
# @return [Fixnum]
|
2641
|
+
attr_accessor :initial_data_storage_size_gb
|
2642
|
+
|
2643
|
+
# Required. The license model of the DbSystem.
|
2644
|
+
# Corresponds to the JSON property `licenseModel`
|
2645
|
+
# @return [String]
|
2646
|
+
attr_accessor :license_model
|
2647
|
+
|
2648
|
+
# Output only. State of the DbSystem.
|
2649
|
+
# Corresponds to the JSON property `lifecycleState`
|
2650
|
+
# @return [String]
|
2651
|
+
attr_accessor :lifecycle_state
|
2652
|
+
|
2653
|
+
# Optional. The memory size in GB.
|
2654
|
+
# Corresponds to the JSON property `memorySizeGb`
|
2655
|
+
# @return [Fixnum]
|
2656
|
+
attr_accessor :memory_size_gb
|
2657
|
+
|
2658
|
+
# Optional. The number of nodes in the DbSystem.
|
2659
|
+
# Corresponds to the JSON property `nodeCount`
|
2660
|
+
# @return [Fixnum]
|
2661
|
+
attr_accessor :node_count
|
2662
|
+
|
2663
|
+
# Output only. OCID of the DbSystem.
|
2664
|
+
# Corresponds to the JSON property `ocid`
|
2665
|
+
# @return [String]
|
2666
|
+
attr_accessor :ocid
|
2667
|
+
|
2668
|
+
# Optional. The private IP address of the DbSystem.
|
2669
|
+
# Corresponds to the JSON property `privateIp`
|
2670
|
+
# @return [String]
|
2671
|
+
attr_accessor :private_ip
|
2672
|
+
|
2673
|
+
# Optional. The reco/redo storage size in GB.
|
2674
|
+
# Corresponds to the JSON property `recoStorageSizeGb`
|
2675
|
+
# @return [Fixnum]
|
2676
|
+
attr_accessor :reco_storage_size_gb
|
2677
|
+
|
2678
|
+
# Required. Shape of DB System.
|
2679
|
+
# Corresponds to the JSON property `shape`
|
2680
|
+
# @return [String]
|
2681
|
+
attr_accessor :shape
|
2682
|
+
|
2683
|
+
# Required. SSH public keys to be stored with the DbSystem.
|
2684
|
+
# Corresponds to the JSON property `sshPublicKeys`
|
2685
|
+
# @return [Array<String>]
|
2686
|
+
attr_accessor :ssh_public_keys
|
2687
|
+
|
2688
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
2689
|
+
# time-zones).
|
2690
|
+
# Corresponds to the JSON property `timeZone`
|
2691
|
+
# @return [Google::Apis::OracledatabaseV1::TimeZone]
|
2692
|
+
attr_accessor :time_zone
|
2693
|
+
|
2694
|
+
def initialize(**args)
|
2695
|
+
update!(**args)
|
2696
|
+
end
|
2697
|
+
|
2698
|
+
# Update properties of this object
|
2699
|
+
def update!(**args)
|
2700
|
+
@compute_count = args[:compute_count] if args.key?(:compute_count)
|
2701
|
+
@compute_model = args[:compute_model] if args.key?(:compute_model)
|
2702
|
+
@data_collection_options = args[:data_collection_options] if args.key?(:data_collection_options)
|
2703
|
+
@data_storage_size_gb = args[:data_storage_size_gb] if args.key?(:data_storage_size_gb)
|
2704
|
+
@database_edition = args[:database_edition] if args.key?(:database_edition)
|
2705
|
+
@db_home = args[:db_home] if args.key?(:db_home)
|
2706
|
+
@db_system_options = args[:db_system_options] if args.key?(:db_system_options)
|
2707
|
+
@domain = args[:domain] if args.key?(:domain)
|
2708
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
2709
|
+
@hostname_prefix = args[:hostname_prefix] if args.key?(:hostname_prefix)
|
2710
|
+
@initial_data_storage_size_gb = args[:initial_data_storage_size_gb] if args.key?(:initial_data_storage_size_gb)
|
2711
|
+
@license_model = args[:license_model] if args.key?(:license_model)
|
2712
|
+
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
2713
|
+
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
2714
|
+
@node_count = args[:node_count] if args.key?(:node_count)
|
2715
|
+
@ocid = args[:ocid] if args.key?(:ocid)
|
2716
|
+
@private_ip = args[:private_ip] if args.key?(:private_ip)
|
2717
|
+
@reco_storage_size_gb = args[:reco_storage_size_gb] if args.key?(:reco_storage_size_gb)
|
2718
|
+
@shape = args[:shape] if args.key?(:shape)
|
2719
|
+
@ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
|
2720
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
2721
|
+
end
|
2722
|
+
end
|
2723
|
+
|
2724
|
+
# Details of the Database System Shapes resource. https://docs.oracle.com/en-us/
|
2725
|
+
# iaas/api/#/en/database/20160918/DbSystemShapeSummary/
|
2726
|
+
class DbSystemShape
|
2727
|
+
include Google::Apis::Core::Hashable
|
2728
|
+
|
2729
|
+
# Optional. Number of cores per node.
|
2730
|
+
# Corresponds to the JSON property `availableCoreCountPerNode`
|
2731
|
+
# @return [Fixnum]
|
2732
|
+
attr_accessor :available_core_count_per_node
|
2733
|
+
|
2734
|
+
# Optional. Storage per storage server in terabytes.
|
2735
|
+
# Corresponds to the JSON property `availableDataStorageTb`
|
2736
|
+
# @return [Fixnum]
|
2737
|
+
attr_accessor :available_data_storage_tb
|
2738
|
+
|
2739
|
+
# Optional. Memory per database server node in gigabytes.
|
2740
|
+
# Corresponds to the JSON property `availableMemoryPerNodeGb`
|
2741
|
+
# @return [Fixnum]
|
2742
|
+
attr_accessor :available_memory_per_node_gb
|
2743
|
+
|
2744
|
+
# Optional. Maximum number of database servers.
|
2745
|
+
# Corresponds to the JSON property `maxNodeCount`
|
2746
|
+
# @return [Fixnum]
|
2747
|
+
attr_accessor :max_node_count
|
2748
|
+
|
2749
|
+
# Optional. Maximum number of storage servers.
|
2062
2750
|
# Corresponds to the JSON property `maxStorageCount`
|
2063
2751
|
# @return [Fixnum]
|
2064
2752
|
attr_accessor :max_storage_count
|
@@ -2078,26 +2766,522 @@ module Google
|
|
2078
2766
|
# @return [Fixnum]
|
2079
2767
|
attr_accessor :min_memory_per_node_gb
|
2080
2768
|
|
2081
|
-
# Optional. Minimum number of database servers.
|
2082
|
-
# Corresponds to the JSON property `minNodeCount`
|
2083
|
-
# @return [Fixnum]
|
2084
|
-
attr_accessor :min_node_count
|
2769
|
+
# Optional. Minimum number of database servers.
|
2770
|
+
# Corresponds to the JSON property `minNodeCount`
|
2771
|
+
# @return [Fixnum]
|
2772
|
+
attr_accessor :min_node_count
|
2773
|
+
|
2774
|
+
# Optional. Minimum number of storage servers.
|
2775
|
+
# Corresponds to the JSON property `minStorageCount`
|
2776
|
+
# @return [Fixnum]
|
2777
|
+
attr_accessor :min_storage_count
|
2778
|
+
|
2779
|
+
# Identifier. The name of the Database System Shape resource with the format:
|
2780
|
+
# projects/`project`/locations/`region`/dbSystemShapes/`db_system_shape`
|
2781
|
+
# Corresponds to the JSON property `name`
|
2782
|
+
# @return [String]
|
2783
|
+
attr_accessor :name
|
2784
|
+
|
2785
|
+
# Optional. shape
|
2786
|
+
# Corresponds to the JSON property `shape`
|
2787
|
+
# @return [String]
|
2788
|
+
attr_accessor :shape
|
2789
|
+
|
2790
|
+
def initialize(**args)
|
2791
|
+
update!(**args)
|
2792
|
+
end
|
2793
|
+
|
2794
|
+
# Update properties of this object
|
2795
|
+
def update!(**args)
|
2796
|
+
@available_core_count_per_node = args[:available_core_count_per_node] if args.key?(:available_core_count_per_node)
|
2797
|
+
@available_data_storage_tb = args[:available_data_storage_tb] if args.key?(:available_data_storage_tb)
|
2798
|
+
@available_memory_per_node_gb = args[:available_memory_per_node_gb] if args.key?(:available_memory_per_node_gb)
|
2799
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
2800
|
+
@max_storage_count = args[:max_storage_count] if args.key?(:max_storage_count)
|
2801
|
+
@min_core_count_per_node = args[:min_core_count_per_node] if args.key?(:min_core_count_per_node)
|
2802
|
+
@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)
|
2803
|
+
@min_memory_per_node_gb = args[:min_memory_per_node_gb] if args.key?(:min_memory_per_node_gb)
|
2804
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
2805
|
+
@min_storage_count = args[:min_storage_count] if args.key?(:min_storage_count)
|
2806
|
+
@name = args[:name] if args.key?(:name)
|
2807
|
+
@shape = args[:shape] if args.key?(:shape)
|
2808
|
+
end
|
2809
|
+
end
|
2810
|
+
|
2811
|
+
# A valid Oracle Database version.
|
2812
|
+
class DbVersion
|
2813
|
+
include Google::Apis::Core::Hashable
|
2814
|
+
|
2815
|
+
# Output only. The name of the DbVersion resource in the following format:
|
2816
|
+
# projects/`project`/locations/`region`/dbVersions/`db_version`
|
2817
|
+
# Corresponds to the JSON property `name`
|
2818
|
+
# @return [String]
|
2819
|
+
attr_accessor :name
|
2820
|
+
|
2821
|
+
# The properties of a DbVersion.
|
2822
|
+
# Corresponds to the JSON property `properties`
|
2823
|
+
# @return [Google::Apis::OracledatabaseV1::DbVersionProperties]
|
2824
|
+
attr_accessor :properties
|
2825
|
+
|
2826
|
+
def initialize(**args)
|
2827
|
+
update!(**args)
|
2828
|
+
end
|
2829
|
+
|
2830
|
+
# Update properties of this object
|
2831
|
+
def update!(**args)
|
2832
|
+
@name = args[:name] if args.key?(:name)
|
2833
|
+
@properties = args[:properties] if args.key?(:properties)
|
2834
|
+
end
|
2835
|
+
end
|
2836
|
+
|
2837
|
+
# The properties of a DbVersion.
|
2838
|
+
class DbVersionProperties
|
2839
|
+
include Google::Apis::Core::Hashable
|
2840
|
+
|
2841
|
+
# Output only. True if this version of the Oracle Database software is the
|
2842
|
+
# latest version for a release.
|
2843
|
+
# Corresponds to the JSON property `isLatestForMajorVersion`
|
2844
|
+
# @return [Boolean]
|
2845
|
+
attr_accessor :is_latest_for_major_version
|
2846
|
+
alias_method :is_latest_for_major_version?, :is_latest_for_major_version
|
2847
|
+
|
2848
|
+
# Output only. True if this version of the Oracle Database software is the
|
2849
|
+
# preview version.
|
2850
|
+
# Corresponds to the JSON property `isPreviewDbVersion`
|
2851
|
+
# @return [Boolean]
|
2852
|
+
attr_accessor :is_preview_db_version
|
2853
|
+
alias_method :is_preview_db_version?, :is_preview_db_version
|
2854
|
+
|
2855
|
+
# Output only. True if this version of the Oracle Database software is supported
|
2856
|
+
# for Upgrade.
|
2857
|
+
# Corresponds to the JSON property `isUpgradeSupported`
|
2858
|
+
# @return [Boolean]
|
2859
|
+
attr_accessor :is_upgrade_supported
|
2860
|
+
alias_method :is_upgrade_supported?, :is_upgrade_supported
|
2861
|
+
|
2862
|
+
# Output only. True if this version of the Oracle Database software supports
|
2863
|
+
# pluggable databases.
|
2864
|
+
# Corresponds to the JSON property `supportsPdb`
|
2865
|
+
# @return [Boolean]
|
2866
|
+
attr_accessor :supports_pdb
|
2867
|
+
alias_method :supports_pdb?, :supports_pdb
|
2868
|
+
|
2869
|
+
# Output only. A valid Oracle Database version.
|
2870
|
+
# Corresponds to the JSON property `version`
|
2871
|
+
# @return [String]
|
2872
|
+
attr_accessor :version
|
2873
|
+
|
2874
|
+
def initialize(**args)
|
2875
|
+
update!(**args)
|
2876
|
+
end
|
2877
|
+
|
2878
|
+
# Update properties of this object
|
2879
|
+
def update!(**args)
|
2880
|
+
@is_latest_for_major_version = args[:is_latest_for_major_version] if args.key?(:is_latest_for_major_version)
|
2881
|
+
@is_preview_db_version = args[:is_preview_db_version] if args.key?(:is_preview_db_version)
|
2882
|
+
@is_upgrade_supported = args[:is_upgrade_supported] if args.key?(:is_upgrade_supported)
|
2883
|
+
@supports_pdb = args[:supports_pdb] if args.key?(:supports_pdb)
|
2884
|
+
@version = args[:version] if args.key?(:version)
|
2885
|
+
end
|
2886
|
+
end
|
2887
|
+
|
2888
|
+
# Wrapper message for the value of a defined tag.
|
2889
|
+
class DefinedTagValue
|
2890
|
+
include Google::Apis::Core::Hashable
|
2891
|
+
|
2892
|
+
# The tags within the namespace.
|
2893
|
+
# Corresponds to the JSON property `tags`
|
2894
|
+
# @return [Hash<String,String>]
|
2895
|
+
attr_accessor :tags
|
2896
|
+
|
2897
|
+
def initialize(**args)
|
2898
|
+
update!(**args)
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
# Update properties of this object
|
2902
|
+
def update!(**args)
|
2903
|
+
@tags = args[:tags] if args.key?(:tags)
|
2904
|
+
end
|
2905
|
+
end
|
2906
|
+
|
2907
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
2908
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
2909
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
2910
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
2911
|
+
class Empty
|
2912
|
+
include Google::Apis::Core::Hashable
|
2913
|
+
|
2914
|
+
def initialize(**args)
|
2915
|
+
update!(**args)
|
2916
|
+
end
|
2917
|
+
|
2918
|
+
# Update properties of this object
|
2919
|
+
def update!(**args)
|
2920
|
+
end
|
2921
|
+
end
|
2922
|
+
|
2923
|
+
# Details of the Entitlement resource.
|
2924
|
+
class Entitlement
|
2925
|
+
include Google::Apis::Core::Hashable
|
2926
|
+
|
2927
|
+
# Details of the OCI Cloud Account.
|
2928
|
+
# Corresponds to the JSON property `cloudAccountDetails`
|
2929
|
+
# @return [Google::Apis::OracledatabaseV1::CloudAccountDetails]
|
2930
|
+
attr_accessor :cloud_account_details
|
2931
|
+
|
2932
|
+
# Output only. Google Cloud Marketplace order ID (aka entitlement ID)
|
2933
|
+
# Corresponds to the JSON property `entitlementId`
|
2934
|
+
# @return [String]
|
2935
|
+
attr_accessor :entitlement_id
|
2936
|
+
|
2937
|
+
# Identifier. The name of the Entitlement resource with the format: projects/`
|
2938
|
+
# project`/locations/`region`/entitlements/`entitlement`
|
2939
|
+
# Corresponds to the JSON property `name`
|
2940
|
+
# @return [String]
|
2941
|
+
attr_accessor :name
|
2942
|
+
|
2943
|
+
# Output only. Entitlement State.
|
2944
|
+
# Corresponds to the JSON property `state`
|
2945
|
+
# @return [String]
|
2946
|
+
attr_accessor :state
|
2947
|
+
|
2948
|
+
def initialize(**args)
|
2949
|
+
update!(**args)
|
2950
|
+
end
|
2951
|
+
|
2952
|
+
# Update properties of this object
|
2953
|
+
def update!(**args)
|
2954
|
+
@cloud_account_details = args[:cloud_account_details] if args.key?(:cloud_account_details)
|
2955
|
+
@entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
|
2956
|
+
@name = args[:name] if args.key?(:name)
|
2957
|
+
@state = args[:state] if args.key?(:state)
|
2958
|
+
end
|
2959
|
+
end
|
2960
|
+
|
2961
|
+
# ExadbVmCluster represents a cluster of VMs that are used to run Exadata
|
2962
|
+
# workloads. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/
|
2963
|
+
# ExadbVmCluster/
|
2964
|
+
class ExadbVmCluster
|
2965
|
+
include Google::Apis::Core::Hashable
|
2966
|
+
|
2967
|
+
# Required. Immutable. The name of the backup OdbSubnet associated with the
|
2968
|
+
# ExadbVmCluster. Format: projects/`project`/locations/`location`/odbNetworks/`
|
2969
|
+
# odb_network`/odbSubnets/`odb_subnet`
|
2970
|
+
# Corresponds to the JSON property `backupOdbSubnet`
|
2971
|
+
# @return [String]
|
2972
|
+
attr_accessor :backup_odb_subnet
|
2973
|
+
|
2974
|
+
# Output only. The date and time that the ExadbVmCluster was created.
|
2975
|
+
# Corresponds to the JSON property `createTime`
|
2976
|
+
# @return [String]
|
2977
|
+
attr_accessor :create_time
|
2978
|
+
|
2979
|
+
# Required. Immutable. The display name for the ExadbVmCluster. The name does
|
2980
|
+
# not have to be unique within your project. The name must be 1-255 characters
|
2981
|
+
# long and can only contain alphanumeric characters.
|
2982
|
+
# Corresponds to the JSON property `displayName`
|
2983
|
+
# @return [String]
|
2984
|
+
attr_accessor :display_name
|
2985
|
+
|
2986
|
+
# Output only. The ID of the subscription entitlement associated with the
|
2987
|
+
# ExadbVmCluster.
|
2988
|
+
# Corresponds to the JSON property `entitlementId`
|
2989
|
+
# @return [String]
|
2990
|
+
attr_accessor :entitlement_id
|
2991
|
+
|
2992
|
+
# Output only. Immutable. The GCP Oracle zone where Oracle ExadbVmCluster is
|
2993
|
+
# hosted. Example: us-east4-b-r2. During creation, the system will pick the zone
|
2994
|
+
# assigned to the ExascaleDbStorageVault.
|
2995
|
+
# Corresponds to the JSON property `gcpOracleZone`
|
2996
|
+
# @return [String]
|
2997
|
+
attr_accessor :gcp_oracle_zone
|
2998
|
+
|
2999
|
+
# Optional. The labels or tags associated with the ExadbVmCluster.
|
3000
|
+
# Corresponds to the JSON property `labels`
|
3001
|
+
# @return [Hash<String,String>]
|
3002
|
+
attr_accessor :labels
|
3003
|
+
|
3004
|
+
# Identifier. The name of the ExadbVmCluster resource in the following format:
|
3005
|
+
# projects/`project`/locations/`region`/exadbVmClusters/`exadb_vm_cluster`
|
3006
|
+
# Corresponds to the JSON property `name`
|
3007
|
+
# @return [String]
|
3008
|
+
attr_accessor :name
|
3009
|
+
|
3010
|
+
# Optional. Immutable. The name of the OdbNetwork associated with the
|
3011
|
+
# ExadbVmCluster. Format: projects/`project`/locations/`location`/odbNetworks/`
|
3012
|
+
# odb_network` It is optional but if specified, this should match the parent
|
3013
|
+
# ODBNetwork of the OdbSubnet.
|
3014
|
+
# Corresponds to the JSON property `odbNetwork`
|
3015
|
+
# @return [String]
|
3016
|
+
attr_accessor :odb_network
|
3017
|
+
|
3018
|
+
# Required. Immutable. The name of the OdbSubnet associated with the
|
3019
|
+
# ExadbVmCluster for IP allocation. Format: projects/`project`/locations/`
|
3020
|
+
# location`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`
|
3021
|
+
# Corresponds to the JSON property `odbSubnet`
|
3022
|
+
# @return [String]
|
3023
|
+
attr_accessor :odb_subnet
|
3024
|
+
|
3025
|
+
# The properties of an ExadbVmCluster.
|
3026
|
+
# Corresponds to the JSON property `properties`
|
3027
|
+
# @return [Google::Apis::OracledatabaseV1::ExadbVmClusterProperties]
|
3028
|
+
attr_accessor :properties
|
3029
|
+
|
3030
|
+
def initialize(**args)
|
3031
|
+
update!(**args)
|
3032
|
+
end
|
3033
|
+
|
3034
|
+
# Update properties of this object
|
3035
|
+
def update!(**args)
|
3036
|
+
@backup_odb_subnet = args[:backup_odb_subnet] if args.key?(:backup_odb_subnet)
|
3037
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3038
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3039
|
+
@entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
|
3040
|
+
@gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
|
3041
|
+
@labels = args[:labels] if args.key?(:labels)
|
3042
|
+
@name = args[:name] if args.key?(:name)
|
3043
|
+
@odb_network = args[:odb_network] if args.key?(:odb_network)
|
3044
|
+
@odb_subnet = args[:odb_subnet] if args.key?(:odb_subnet)
|
3045
|
+
@properties = args[:properties] if args.key?(:properties)
|
3046
|
+
end
|
3047
|
+
end
|
3048
|
+
|
3049
|
+
# The properties of an ExadbVmCluster.
|
3050
|
+
class ExadbVmClusterProperties
|
3051
|
+
include Google::Apis::Core::Hashable
|
3052
|
+
|
3053
|
+
# Optional. Immutable. The number of additional ECPUs per node for an Exadata VM
|
3054
|
+
# cluster on exascale infrastructure.
|
3055
|
+
# Corresponds to the JSON property `additionalEcpuCountPerNode`
|
3056
|
+
# @return [Fixnum]
|
3057
|
+
attr_accessor :additional_ecpu_count_per_node
|
3058
|
+
|
3059
|
+
# Optional. Immutable. The cluster name for Exascale vm cluster. The cluster
|
3060
|
+
# name must begin with an alphabetic character and may contain hyphens(-) but
|
3061
|
+
# can not contain underscores(_). It should be not more than 11 characters and
|
3062
|
+
# is not case sensitive. OCI Cluster name.
|
3063
|
+
# Corresponds to the JSON property `clusterName`
|
3064
|
+
# @return [String]
|
3065
|
+
attr_accessor :cluster_name
|
3066
|
+
|
3067
|
+
# Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/
|
3068
|
+
# api/#/en/database/20160918/datatypes/DataCollectionOptions
|
3069
|
+
# Corresponds to the JSON property `dataCollectionOptions`
|
3070
|
+
# @return [Google::Apis::OracledatabaseV1::DataCollectionOptionsCommon]
|
3071
|
+
attr_accessor :data_collection_options
|
3072
|
+
|
3073
|
+
# Required. Immutable. The number of ECPUs enabled per node for an exadata vm
|
3074
|
+
# cluster on exascale infrastructure.
|
3075
|
+
# Corresponds to the JSON property `enabledEcpuCountPerNode`
|
3076
|
+
# @return [Fixnum]
|
3077
|
+
attr_accessor :enabled_ecpu_count_per_node
|
3078
|
+
|
3079
|
+
# Required. Immutable. The name of ExascaleDbStorageVault associated with the
|
3080
|
+
# ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a new
|
3081
|
+
# one can be created during the ExadbVmCluster creation (requires
|
3082
|
+
# storage_vault_properties to be set). Format: projects/`project`/locations/`
|
3083
|
+
# location`/exascaleDbStorageVaults/`exascale_db_storage_vault`
|
3084
|
+
# Corresponds to the JSON property `exascaleDbStorageVault`
|
3085
|
+
# @return [String]
|
3086
|
+
attr_accessor :exascale_db_storage_vault
|
3087
|
+
|
3088
|
+
# Output only. The Oracle Grid Infrastructure (GI) software version.
|
3089
|
+
# Corresponds to the JSON property `giVersion`
|
3090
|
+
# @return [String]
|
3091
|
+
attr_accessor :gi_version
|
3092
|
+
|
3093
|
+
# Required. Immutable. Grid Infrastructure Version.
|
3094
|
+
# Corresponds to the JSON property `gridImageId`
|
3095
|
+
# @return [String]
|
3096
|
+
attr_accessor :grid_image_id
|
3097
|
+
|
3098
|
+
# Output only. The hostname of the ExadbVmCluster.
|
3099
|
+
# Corresponds to the JSON property `hostname`
|
3100
|
+
# @return [String]
|
3101
|
+
attr_accessor :hostname
|
3102
|
+
|
3103
|
+
# Required. Immutable. Prefix for VM cluster host names.
|
3104
|
+
# Corresponds to the JSON property `hostnamePrefix`
|
3105
|
+
# @return [String]
|
3106
|
+
attr_accessor :hostname_prefix
|
3107
|
+
|
3108
|
+
# Optional. Immutable. The license type of the ExadbVmCluster.
|
3109
|
+
# Corresponds to the JSON property `licenseModel`
|
3110
|
+
# @return [String]
|
3111
|
+
attr_accessor :license_model
|
3112
|
+
|
3113
|
+
# Output only. State of the cluster.
|
3114
|
+
# Corresponds to the JSON property `lifecycleState`
|
3115
|
+
# @return [String]
|
3116
|
+
attr_accessor :lifecycle_state
|
3117
|
+
|
3118
|
+
# Output only. Memory per VM (GB) (Read-only): Shows the amount of memory
|
3119
|
+
# allocated to each VM. Memory is calculated based on 2.75 GB per Total ECPUs.
|
3120
|
+
# Corresponds to the JSON property `memorySizeGb`
|
3121
|
+
# @return [Fixnum]
|
3122
|
+
attr_accessor :memory_size_gb
|
3123
|
+
|
3124
|
+
# Required. The number of nodes/VMs in the ExadbVmCluster.
|
3125
|
+
# Corresponds to the JSON property `nodeCount`
|
3126
|
+
# @return [Fixnum]
|
3127
|
+
attr_accessor :node_count
|
3128
|
+
|
3129
|
+
# Output only. Deep link to the OCI console to view this resource.
|
3130
|
+
# Corresponds to the JSON property `ociUri`
|
3131
|
+
# @return [String]
|
3132
|
+
attr_accessor :oci_uri
|
3133
|
+
|
3134
|
+
# Optional. Immutable. SCAN listener port - TCP
|
3135
|
+
# Corresponds to the JSON property `scanListenerPortTcp`
|
3136
|
+
# @return [Fixnum]
|
3137
|
+
attr_accessor :scan_listener_port_tcp
|
3138
|
+
|
3139
|
+
# Required. Immutable. The shape attribute of the VM cluster. The type of
|
3140
|
+
# Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE
|
3141
|
+
# which supports Oracle Database 23ai and later
|
3142
|
+
# Corresponds to the JSON property `shapeAttribute`
|
3143
|
+
# @return [String]
|
3144
|
+
attr_accessor :shape_attribute
|
3145
|
+
|
3146
|
+
# Required. Immutable. The SSH public keys for the ExadbVmCluster.
|
3147
|
+
# Corresponds to the JSON property `sshPublicKeys`
|
3148
|
+
# @return [Array<String>]
|
3149
|
+
attr_accessor :ssh_public_keys
|
3150
|
+
|
3151
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
3152
|
+
# time-zones).
|
3153
|
+
# Corresponds to the JSON property `timeZone`
|
3154
|
+
# @return [Google::Apis::OracledatabaseV1::TimeZone]
|
3155
|
+
attr_accessor :time_zone
|
3156
|
+
|
3157
|
+
# The storage allocation for the exadbvmcluster, in gigabytes (GB).
|
3158
|
+
# Corresponds to the JSON property `vmFileSystemStorage`
|
3159
|
+
# @return [Google::Apis::OracledatabaseV1::ExadbVmClusterStorageDetails]
|
3160
|
+
attr_accessor :vm_file_system_storage
|
3161
|
+
|
3162
|
+
def initialize(**args)
|
3163
|
+
update!(**args)
|
3164
|
+
end
|
3165
|
+
|
3166
|
+
# Update properties of this object
|
3167
|
+
def update!(**args)
|
3168
|
+
@additional_ecpu_count_per_node = args[:additional_ecpu_count_per_node] if args.key?(:additional_ecpu_count_per_node)
|
3169
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
3170
|
+
@data_collection_options = args[:data_collection_options] if args.key?(:data_collection_options)
|
3171
|
+
@enabled_ecpu_count_per_node = args[:enabled_ecpu_count_per_node] if args.key?(:enabled_ecpu_count_per_node)
|
3172
|
+
@exascale_db_storage_vault = args[:exascale_db_storage_vault] if args.key?(:exascale_db_storage_vault)
|
3173
|
+
@gi_version = args[:gi_version] if args.key?(:gi_version)
|
3174
|
+
@grid_image_id = args[:grid_image_id] if args.key?(:grid_image_id)
|
3175
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
3176
|
+
@hostname_prefix = args[:hostname_prefix] if args.key?(:hostname_prefix)
|
3177
|
+
@license_model = args[:license_model] if args.key?(:license_model)
|
3178
|
+
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
3179
|
+
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
3180
|
+
@node_count = args[:node_count] if args.key?(:node_count)
|
3181
|
+
@oci_uri = args[:oci_uri] if args.key?(:oci_uri)
|
3182
|
+
@scan_listener_port_tcp = args[:scan_listener_port_tcp] if args.key?(:scan_listener_port_tcp)
|
3183
|
+
@shape_attribute = args[:shape_attribute] if args.key?(:shape_attribute)
|
3184
|
+
@ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
|
3185
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
3186
|
+
@vm_file_system_storage = args[:vm_file_system_storage] if args.key?(:vm_file_system_storage)
|
3187
|
+
end
|
3188
|
+
end
|
3189
|
+
|
3190
|
+
# The storage allocation for the exadbvmcluster, in gigabytes (GB).
|
3191
|
+
class ExadbVmClusterStorageDetails
|
3192
|
+
include Google::Apis::Core::Hashable
|
3193
|
+
|
3194
|
+
# Required. The storage allocation for the exadbvmcluster per node, in gigabytes
|
3195
|
+
# (GB). This field is used to calculate the total storage allocation for the
|
3196
|
+
# exadbvmcluster.
|
3197
|
+
# Corresponds to the JSON property `sizeInGbsPerNode`
|
3198
|
+
# @return [Fixnum]
|
3199
|
+
attr_accessor :size_in_gbs_per_node
|
3200
|
+
|
3201
|
+
def initialize(**args)
|
3202
|
+
update!(**args)
|
3203
|
+
end
|
3204
|
+
|
3205
|
+
# Update properties of this object
|
3206
|
+
def update!(**args)
|
3207
|
+
@size_in_gbs_per_node = args[:size_in_gbs_per_node] if args.key?(:size_in_gbs_per_node)
|
3208
|
+
end
|
3209
|
+
end
|
3210
|
+
|
3211
|
+
# The storage details of the ExascaleDbStorageVault.
|
3212
|
+
class ExascaleDbStorageDetails
|
3213
|
+
include Google::Apis::Core::Hashable
|
3214
|
+
|
3215
|
+
# Output only. The available storage capacity for the ExascaleDbStorageVault, in
|
3216
|
+
# gigabytes (GB).
|
3217
|
+
# Corresponds to the JSON property `availableSizeGbs`
|
3218
|
+
# @return [Fixnum]
|
3219
|
+
attr_accessor :available_size_gbs
|
3220
|
+
|
3221
|
+
# Required. The total storage allocation for the ExascaleDbStorageVault, in
|
3222
|
+
# gigabytes (GB).
|
3223
|
+
# Corresponds to the JSON property `totalSizeGbs`
|
3224
|
+
# @return [Fixnum]
|
3225
|
+
attr_accessor :total_size_gbs
|
3226
|
+
|
3227
|
+
def initialize(**args)
|
3228
|
+
update!(**args)
|
3229
|
+
end
|
3230
|
+
|
3231
|
+
# Update properties of this object
|
3232
|
+
def update!(**args)
|
3233
|
+
@available_size_gbs = args[:available_size_gbs] if args.key?(:available_size_gbs)
|
3234
|
+
@total_size_gbs = args[:total_size_gbs] if args.key?(:total_size_gbs)
|
3235
|
+
end
|
3236
|
+
end
|
3237
|
+
|
3238
|
+
# ExascaleDbStorageVault represents a storage vault exadb vm cluster resource.
|
3239
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/
|
3240
|
+
# ExascaleDbStorageVault/
|
3241
|
+
class ExascaleDbStorageVault
|
3242
|
+
include Google::Apis::Core::Hashable
|
3243
|
+
|
3244
|
+
# Output only. The date and time when the ExascaleDbStorageVault was created.
|
3245
|
+
# Corresponds to the JSON property `createTime`
|
3246
|
+
# @return [String]
|
3247
|
+
attr_accessor :create_time
|
3248
|
+
|
3249
|
+
# Required. The display name for the ExascaleDbStorageVault. The name does not
|
3250
|
+
# have to be unique within your project. The name must be 1-255 characters long
|
3251
|
+
# and can only contain alphanumeric characters.
|
3252
|
+
# Corresponds to the JSON property `displayName`
|
3253
|
+
# @return [String]
|
3254
|
+
attr_accessor :display_name
|
3255
|
+
|
3256
|
+
# Output only. The ID of the subscription entitlement associated with the
|
3257
|
+
# ExascaleDbStorageVault.
|
3258
|
+
# Corresponds to the JSON property `entitlementId`
|
3259
|
+
# @return [String]
|
3260
|
+
attr_accessor :entitlement_id
|
3261
|
+
|
3262
|
+
# Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted.
|
3263
|
+
# Example: us-east4-b-r2. If not specified, the system will pick a zone based on
|
3264
|
+
# availability.
|
3265
|
+
# Corresponds to the JSON property `gcpOracleZone`
|
3266
|
+
# @return [String]
|
3267
|
+
attr_accessor :gcp_oracle_zone
|
2085
3268
|
|
2086
|
-
# Optional.
|
2087
|
-
# Corresponds to the JSON property `
|
2088
|
-
# @return [
|
2089
|
-
attr_accessor :
|
3269
|
+
# Optional. The labels or tags associated with the ExascaleDbStorageVault.
|
3270
|
+
# Corresponds to the JSON property `labels`
|
3271
|
+
# @return [Hash<String,String>]
|
3272
|
+
attr_accessor :labels
|
2090
3273
|
|
2091
|
-
# Identifier. The name of the
|
2092
|
-
#
|
3274
|
+
# Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/`
|
3275
|
+
# project`/locations/`location`/exascaleDbStorageVaults/`
|
3276
|
+
# exascale_db_storage_vault`
|
2093
3277
|
# Corresponds to the JSON property `name`
|
2094
3278
|
# @return [String]
|
2095
3279
|
attr_accessor :name
|
2096
3280
|
|
2097
|
-
#
|
2098
|
-
# Corresponds to the JSON property `
|
2099
|
-
# @return [
|
2100
|
-
attr_accessor :
|
3281
|
+
# The properties of the ExascaleDbStorageVault. next ID: 12
|
3282
|
+
# Corresponds to the JSON property `properties`
|
3283
|
+
# @return [Google::Apis::OracledatabaseV1::ExascaleDbStorageVaultProperties]
|
3284
|
+
attr_accessor :properties
|
2101
3285
|
|
2102
3286
|
def initialize(**args)
|
2103
3287
|
update!(**args)
|
@@ -2105,72 +3289,117 @@ module Google
|
|
2105
3289
|
|
2106
3290
|
# Update properties of this object
|
2107
3291
|
def update!(**args)
|
2108
|
-
@
|
2109
|
-
@
|
2110
|
-
@
|
2111
|
-
@
|
2112
|
-
@
|
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)
|
3292
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3293
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3294
|
+
@entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
|
3295
|
+
@gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
|
3296
|
+
@labels = args[:labels] if args.key?(:labels)
|
2118
3297
|
@name = args[:name] if args.key?(:name)
|
2119
|
-
@
|
3298
|
+
@properties = args[:properties] if args.key?(:properties)
|
2120
3299
|
end
|
2121
3300
|
end
|
2122
3301
|
|
2123
|
-
#
|
2124
|
-
|
2125
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
2126
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
2127
|
-
class Empty
|
3302
|
+
# The properties of the ExascaleDbStorageVault. next ID: 12
|
3303
|
+
class ExascaleDbStorageVaultProperties
|
2128
3304
|
include Google::Apis::Core::Hashable
|
2129
3305
|
|
2130
|
-
|
2131
|
-
|
2132
|
-
|
3306
|
+
# Optional. The size of additional flash cache in percentage of high capacity
|
3307
|
+
# database storage.
|
3308
|
+
# Corresponds to the JSON property `additionalFlashCachePercent`
|
3309
|
+
# @return [Fixnum]
|
3310
|
+
attr_accessor :additional_flash_cache_percent
|
2133
3311
|
|
2134
|
-
#
|
2135
|
-
|
2136
|
-
|
2137
|
-
|
3312
|
+
# Output only. The shape attributes of the VM clusters attached to the
|
3313
|
+
# ExascaleDbStorageVault.
|
3314
|
+
# Corresponds to the JSON property `attachedShapeAttributes`
|
3315
|
+
# @return [Array<String>]
|
3316
|
+
attr_accessor :attached_shape_attributes
|
2138
3317
|
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
3318
|
+
# Output only. The shape attributes available for the VM clusters to be attached
|
3319
|
+
# to the ExascaleDbStorageVault.
|
3320
|
+
# Corresponds to the JSON property `availableShapeAttributes`
|
3321
|
+
# @return [Array<String>]
|
3322
|
+
attr_accessor :available_shape_attributes
|
2142
3323
|
|
2143
|
-
#
|
2144
|
-
# Corresponds to the JSON property `
|
2145
|
-
# @return [
|
2146
|
-
attr_accessor :
|
3324
|
+
# Optional. The description of the ExascaleDbStorageVault.
|
3325
|
+
# Corresponds to the JSON property `description`
|
3326
|
+
# @return [String]
|
3327
|
+
attr_accessor :description
|
2147
3328
|
|
2148
|
-
#
|
2149
|
-
# Corresponds to the JSON property `
|
3329
|
+
# The storage details of the ExascaleDbStorageVault.
|
3330
|
+
# Corresponds to the JSON property `exascaleDbStorageDetails`
|
3331
|
+
# @return [Google::Apis::OracledatabaseV1::ExascaleDbStorageDetails]
|
3332
|
+
attr_accessor :exascale_db_storage_details
|
3333
|
+
|
3334
|
+
# Output only. Deep link to the OCI console to view this resource.
|
3335
|
+
# Corresponds to the JSON property `ociUri`
|
2150
3336
|
# @return [String]
|
2151
|
-
attr_accessor :
|
3337
|
+
attr_accessor :oci_uri
|
2152
3338
|
|
2153
|
-
#
|
2154
|
-
#
|
2155
|
-
# Corresponds to the JSON property `name`
|
3339
|
+
# Output only. The OCID for the ExascaleDbStorageVault.
|
3340
|
+
# Corresponds to the JSON property `ocid`
|
2156
3341
|
# @return [String]
|
2157
|
-
attr_accessor :
|
3342
|
+
attr_accessor :ocid
|
2158
3343
|
|
2159
|
-
# Output only.
|
3344
|
+
# Output only. The state of the ExascaleDbStorageVault.
|
2160
3345
|
# Corresponds to the JSON property `state`
|
2161
3346
|
# @return [String]
|
2162
3347
|
attr_accessor :state
|
2163
3348
|
|
3349
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
3350
|
+
# time-zones).
|
3351
|
+
# Corresponds to the JSON property `timeZone`
|
3352
|
+
# @return [Google::Apis::OracledatabaseV1::TimeZone]
|
3353
|
+
attr_accessor :time_zone
|
3354
|
+
|
3355
|
+
# Output only. The number of VM clusters associated with the
|
3356
|
+
# ExascaleDbStorageVault.
|
3357
|
+
# Corresponds to the JSON property `vmClusterCount`
|
3358
|
+
# @return [Fixnum]
|
3359
|
+
attr_accessor :vm_cluster_count
|
3360
|
+
|
3361
|
+
# Output only. The list of VM cluster OCIDs associated with the
|
3362
|
+
# ExascaleDbStorageVault.
|
3363
|
+
# Corresponds to the JSON property `vmClusterIds`
|
3364
|
+
# @return [Array<String>]
|
3365
|
+
attr_accessor :vm_cluster_ids
|
3366
|
+
|
2164
3367
|
def initialize(**args)
|
2165
3368
|
update!(**args)
|
2166
3369
|
end
|
2167
3370
|
|
2168
3371
|
# Update properties of this object
|
2169
3372
|
def update!(**args)
|
2170
|
-
@
|
2171
|
-
@
|
2172
|
-
@
|
3373
|
+
@additional_flash_cache_percent = args[:additional_flash_cache_percent] if args.key?(:additional_flash_cache_percent)
|
3374
|
+
@attached_shape_attributes = args[:attached_shape_attributes] if args.key?(:attached_shape_attributes)
|
3375
|
+
@available_shape_attributes = args[:available_shape_attributes] if args.key?(:available_shape_attributes)
|
3376
|
+
@description = args[:description] if args.key?(:description)
|
3377
|
+
@exascale_db_storage_details = args[:exascale_db_storage_details] if args.key?(:exascale_db_storage_details)
|
3378
|
+
@oci_uri = args[:oci_uri] if args.key?(:oci_uri)
|
3379
|
+
@ocid = args[:ocid] if args.key?(:ocid)
|
2173
3380
|
@state = args[:state] if args.key?(:state)
|
3381
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
3382
|
+
@vm_cluster_count = args[:vm_cluster_count] if args.key?(:vm_cluster_count)
|
3383
|
+
@vm_cluster_ids = args[:vm_cluster_ids] if args.key?(:vm_cluster_ids)
|
3384
|
+
end
|
3385
|
+
end
|
3386
|
+
|
3387
|
+
# The request for `OracleDatabase.FailoverAutonomousDatabase`.
|
3388
|
+
class FailoverAutonomousDatabaseRequest
|
3389
|
+
include Google::Apis::Core::Hashable
|
3390
|
+
|
3391
|
+
# Required. The peer database name to fail over to.
|
3392
|
+
# Corresponds to the JSON property `peerAutonomousDatabase`
|
3393
|
+
# @return [String]
|
3394
|
+
attr_accessor :peer_autonomous_database
|
3395
|
+
|
3396
|
+
def initialize(**args)
|
3397
|
+
update!(**args)
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
# Update properties of this object
|
3401
|
+
def update!(**args)
|
3402
|
+
@peer_autonomous_database = args[:peer_autonomous_database] if args.key?(:peer_autonomous_database)
|
2174
3403
|
end
|
2175
3404
|
end
|
2176
3405
|
|
@@ -2429,21 +3658,196 @@ module Google
|
|
2429
3658
|
|
2430
3659
|
# Update properties of this object
|
2431
3660
|
def update!(**args)
|
2432
|
-
@cloud_vm_clusters = args[:cloud_vm_clusters] if args.key?(:cloud_vm_clusters)
|
3661
|
+
@cloud_vm_clusters = args[:cloud_vm_clusters] if args.key?(:cloud_vm_clusters)
|
3662
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3663
|
+
end
|
3664
|
+
end
|
3665
|
+
|
3666
|
+
# The response for `DatabaseCharacterSet.List`.
|
3667
|
+
class ListDatabaseCharacterSetsResponse
|
3668
|
+
include Google::Apis::Core::Hashable
|
3669
|
+
|
3670
|
+
# The list of DatabaseCharacterSets.
|
3671
|
+
# Corresponds to the JSON property `databaseCharacterSets`
|
3672
|
+
# @return [Array<Google::Apis::OracledatabaseV1::DatabaseCharacterSet>]
|
3673
|
+
attr_accessor :database_character_sets
|
3674
|
+
|
3675
|
+
# A token identifying a page of results the server should return.
|
3676
|
+
# Corresponds to the JSON property `nextPageToken`
|
3677
|
+
# @return [String]
|
3678
|
+
attr_accessor :next_page_token
|
3679
|
+
|
3680
|
+
def initialize(**args)
|
3681
|
+
update!(**args)
|
3682
|
+
end
|
3683
|
+
|
3684
|
+
# Update properties of this object
|
3685
|
+
def update!(**args)
|
3686
|
+
@database_character_sets = args[:database_character_sets] if args.key?(:database_character_sets)
|
3687
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3688
|
+
end
|
3689
|
+
end
|
3690
|
+
|
3691
|
+
# The response for `Database.List`.
|
3692
|
+
class ListDatabasesResponse
|
3693
|
+
include Google::Apis::Core::Hashable
|
3694
|
+
|
3695
|
+
# The list of Databases.
|
3696
|
+
# Corresponds to the JSON property `databases`
|
3697
|
+
# @return [Array<Google::Apis::OracledatabaseV1::Database>]
|
3698
|
+
attr_accessor :databases
|
3699
|
+
|
3700
|
+
# A token identifying a page of results the server should return.
|
3701
|
+
# Corresponds to the JSON property `nextPageToken`
|
3702
|
+
# @return [String]
|
3703
|
+
attr_accessor :next_page_token
|
3704
|
+
|
3705
|
+
def initialize(**args)
|
3706
|
+
update!(**args)
|
3707
|
+
end
|
3708
|
+
|
3709
|
+
# Update properties of this object
|
3710
|
+
def update!(**args)
|
3711
|
+
@databases = args[:databases] if args.key?(:databases)
|
3712
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3713
|
+
end
|
3714
|
+
end
|
3715
|
+
|
3716
|
+
# The response for `DbNode.List`.
|
3717
|
+
class ListDbNodesResponse
|
3718
|
+
include Google::Apis::Core::Hashable
|
3719
|
+
|
3720
|
+
# The list of DB Nodes
|
3721
|
+
# Corresponds to the JSON property `dbNodes`
|
3722
|
+
# @return [Array<Google::Apis::OracledatabaseV1::DbNode>]
|
3723
|
+
attr_accessor :db_nodes
|
3724
|
+
|
3725
|
+
# A token identifying a page of results the node should return.
|
3726
|
+
# Corresponds to the JSON property `nextPageToken`
|
3727
|
+
# @return [String]
|
3728
|
+
attr_accessor :next_page_token
|
3729
|
+
|
3730
|
+
def initialize(**args)
|
3731
|
+
update!(**args)
|
3732
|
+
end
|
3733
|
+
|
3734
|
+
# Update properties of this object
|
3735
|
+
def update!(**args)
|
3736
|
+
@db_nodes = args[:db_nodes] if args.key?(:db_nodes)
|
3737
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3738
|
+
end
|
3739
|
+
end
|
3740
|
+
|
3741
|
+
# The response for `DbServer.List`.
|
3742
|
+
class ListDbServersResponse
|
3743
|
+
include Google::Apis::Core::Hashable
|
3744
|
+
|
3745
|
+
# The list of database servers.
|
3746
|
+
# Corresponds to the JSON property `dbServers`
|
3747
|
+
# @return [Array<Google::Apis::OracledatabaseV1::DbServer>]
|
3748
|
+
attr_accessor :db_servers
|
3749
|
+
|
3750
|
+
# A token identifying a page of results the server should return.
|
3751
|
+
# Corresponds to the JSON property `nextPageToken`
|
3752
|
+
# @return [String]
|
3753
|
+
attr_accessor :next_page_token
|
3754
|
+
|
3755
|
+
def initialize(**args)
|
3756
|
+
update!(**args)
|
3757
|
+
end
|
3758
|
+
|
3759
|
+
# Update properties of this object
|
3760
|
+
def update!(**args)
|
3761
|
+
@db_servers = args[:db_servers] if args.key?(:db_servers)
|
3762
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3763
|
+
end
|
3764
|
+
end
|
3765
|
+
|
3766
|
+
# The response for `DbSystemInitialStorageSizes.List`.
|
3767
|
+
class ListDbSystemInitialStorageSizesResponse
|
3768
|
+
include Google::Apis::Core::Hashable
|
3769
|
+
|
3770
|
+
# The list of DbSystemInitialStorageSizes.
|
3771
|
+
# Corresponds to the JSON property `dbSystemInitialStorageSizes`
|
3772
|
+
# @return [Array<Google::Apis::OracledatabaseV1::DbSystemInitialStorageSize>]
|
3773
|
+
attr_accessor :db_system_initial_storage_sizes
|
3774
|
+
|
3775
|
+
# A token identifying a page of results the server should return.
|
3776
|
+
# Corresponds to the JSON property `nextPageToken`
|
3777
|
+
# @return [String]
|
3778
|
+
attr_accessor :next_page_token
|
3779
|
+
|
3780
|
+
def initialize(**args)
|
3781
|
+
update!(**args)
|
3782
|
+
end
|
3783
|
+
|
3784
|
+
# Update properties of this object
|
3785
|
+
def update!(**args)
|
3786
|
+
@db_system_initial_storage_sizes = args[:db_system_initial_storage_sizes] if args.key?(:db_system_initial_storage_sizes)
|
3787
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3788
|
+
end
|
3789
|
+
end
|
3790
|
+
|
3791
|
+
# The response for `DbSystemShape.List`.
|
3792
|
+
class ListDbSystemShapesResponse
|
3793
|
+
include Google::Apis::Core::Hashable
|
3794
|
+
|
3795
|
+
# The list of Database System shapes.
|
3796
|
+
# Corresponds to the JSON property `dbSystemShapes`
|
3797
|
+
# @return [Array<Google::Apis::OracledatabaseV1::DbSystemShape>]
|
3798
|
+
attr_accessor :db_system_shapes
|
3799
|
+
|
3800
|
+
# A token identifying a page of results the server should return.
|
3801
|
+
# Corresponds to the JSON property `nextPageToken`
|
3802
|
+
# @return [String]
|
3803
|
+
attr_accessor :next_page_token
|
3804
|
+
|
3805
|
+
def initialize(**args)
|
3806
|
+
update!(**args)
|
3807
|
+
end
|
3808
|
+
|
3809
|
+
# Update properties of this object
|
3810
|
+
def update!(**args)
|
3811
|
+
@db_system_shapes = args[:db_system_shapes] if args.key?(:db_system_shapes)
|
3812
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3813
|
+
end
|
3814
|
+
end
|
3815
|
+
|
3816
|
+
# The response for `DbSystem.List`.
|
3817
|
+
class ListDbSystemsResponse
|
3818
|
+
include Google::Apis::Core::Hashable
|
3819
|
+
|
3820
|
+
# The list of DbSystems.
|
3821
|
+
# Corresponds to the JSON property `dbSystems`
|
3822
|
+
# @return [Array<Google::Apis::OracledatabaseV1::DbSystem>]
|
3823
|
+
attr_accessor :db_systems
|
3824
|
+
|
3825
|
+
# A token identifying a page of results the server should return.
|
3826
|
+
# Corresponds to the JSON property `nextPageToken`
|
3827
|
+
# @return [String]
|
3828
|
+
attr_accessor :next_page_token
|
3829
|
+
|
3830
|
+
def initialize(**args)
|
3831
|
+
update!(**args)
|
3832
|
+
end
|
3833
|
+
|
3834
|
+
# Update properties of this object
|
3835
|
+
def update!(**args)
|
3836
|
+
@db_systems = args[:db_systems] if args.key?(:db_systems)
|
2433
3837
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2434
3838
|
end
|
2435
3839
|
end
|
2436
3840
|
|
2437
|
-
# The response for `
|
2438
|
-
class
|
3841
|
+
# The response for `DbVersions.List`.
|
3842
|
+
class ListDbVersionsResponse
|
2439
3843
|
include Google::Apis::Core::Hashable
|
2440
3844
|
|
2441
|
-
# The list of
|
2442
|
-
# Corresponds to the JSON property `
|
2443
|
-
# @return [Array<Google::Apis::OracledatabaseV1::
|
2444
|
-
attr_accessor :
|
3845
|
+
# The list of DbVersions.
|
3846
|
+
# Corresponds to the JSON property `dbVersions`
|
3847
|
+
# @return [Array<Google::Apis::OracledatabaseV1::DbVersion>]
|
3848
|
+
attr_accessor :db_versions
|
2445
3849
|
|
2446
|
-
# A token identifying a page of results the
|
3850
|
+
# A token identifying a page of results the server should return.
|
2447
3851
|
# Corresponds to the JSON property `nextPageToken`
|
2448
3852
|
# @return [String]
|
2449
3853
|
attr_accessor :next_page_token
|
@@ -2454,19 +3858,19 @@ module Google
|
|
2454
3858
|
|
2455
3859
|
# Update properties of this object
|
2456
3860
|
def update!(**args)
|
2457
|
-
@
|
3861
|
+
@db_versions = args[:db_versions] if args.key?(:db_versions)
|
2458
3862
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2459
3863
|
end
|
2460
3864
|
end
|
2461
3865
|
|
2462
|
-
# The response for `
|
2463
|
-
class
|
3866
|
+
# The response for `Entitlement.List`.
|
3867
|
+
class ListEntitlementsResponse
|
2464
3868
|
include Google::Apis::Core::Hashable
|
2465
3869
|
|
2466
|
-
# The list of
|
2467
|
-
# Corresponds to the JSON property `
|
2468
|
-
# @return [Array<Google::Apis::OracledatabaseV1::
|
2469
|
-
attr_accessor :
|
3870
|
+
# The list of Entitlements
|
3871
|
+
# Corresponds to the JSON property `entitlements`
|
3872
|
+
# @return [Array<Google::Apis::OracledatabaseV1::Entitlement>]
|
3873
|
+
attr_accessor :entitlements
|
2470
3874
|
|
2471
3875
|
# A token identifying a page of results the server should return.
|
2472
3876
|
# Corresponds to the JSON property `nextPageToken`
|
@@ -2479,19 +3883,19 @@ module Google
|
|
2479
3883
|
|
2480
3884
|
# Update properties of this object
|
2481
3885
|
def update!(**args)
|
2482
|
-
@
|
3886
|
+
@entitlements = args[:entitlements] if args.key?(:entitlements)
|
2483
3887
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2484
3888
|
end
|
2485
3889
|
end
|
2486
3890
|
|
2487
|
-
# The response for `
|
2488
|
-
class
|
3891
|
+
# The response for `ExadbVmCluster.List`.
|
3892
|
+
class ListExadbVmClustersResponse
|
2489
3893
|
include Google::Apis::Core::Hashable
|
2490
3894
|
|
2491
|
-
# The list of
|
2492
|
-
# Corresponds to the JSON property `
|
2493
|
-
# @return [Array<Google::Apis::OracledatabaseV1::
|
2494
|
-
attr_accessor :
|
3895
|
+
# The list of ExadbVmClusters.
|
3896
|
+
# Corresponds to the JSON property `exadbVmClusters`
|
3897
|
+
# @return [Array<Google::Apis::OracledatabaseV1::ExadbVmCluster>]
|
3898
|
+
attr_accessor :exadb_vm_clusters
|
2495
3899
|
|
2496
3900
|
# A token identifying a page of results the server should return.
|
2497
3901
|
# Corresponds to the JSON property `nextPageToken`
|
@@ -2504,21 +3908,24 @@ module Google
|
|
2504
3908
|
|
2505
3909
|
# Update properties of this object
|
2506
3910
|
def update!(**args)
|
2507
|
-
@
|
3911
|
+
@exadb_vm_clusters = args[:exadb_vm_clusters] if args.key?(:exadb_vm_clusters)
|
2508
3912
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2509
3913
|
end
|
2510
3914
|
end
|
2511
3915
|
|
2512
|
-
# The response for `
|
2513
|
-
class
|
3916
|
+
# The response for `ExascaleDbStorageVault.List`.
|
3917
|
+
class ListExascaleDbStorageVaultsResponse
|
2514
3918
|
include Google::Apis::Core::Hashable
|
2515
3919
|
|
2516
|
-
# The
|
2517
|
-
# Corresponds to the JSON property `
|
2518
|
-
# @return [Array<Google::Apis::OracledatabaseV1::
|
2519
|
-
attr_accessor :
|
3920
|
+
# The ExascaleDbStorageVaults.
|
3921
|
+
# Corresponds to the JSON property `exascaleDbStorageVaults`
|
3922
|
+
# @return [Array<Google::Apis::OracledatabaseV1::ExascaleDbStorageVault>]
|
3923
|
+
attr_accessor :exascale_db_storage_vaults
|
2520
3924
|
|
2521
|
-
# A token identifying a page of results the server should return.
|
3925
|
+
# A token identifying a page of results the server should return. If present,
|
3926
|
+
# the next page token can be provided to a subsequent
|
3927
|
+
# ListExascaleDbStorageVaults call to list the next page. If empty, there are no
|
3928
|
+
# more pages.
|
2522
3929
|
# Corresponds to the JSON property `nextPageToken`
|
2523
3930
|
# @return [String]
|
2524
3931
|
attr_accessor :next_page_token
|
@@ -2529,7 +3936,7 @@ module Google
|
|
2529
3936
|
|
2530
3937
|
# Update properties of this object
|
2531
3938
|
def update!(**args)
|
2532
|
-
@
|
3939
|
+
@exascale_db_storage_vaults = args[:exascale_db_storage_vaults] if args.key?(:exascale_db_storage_vaults)
|
2533
3940
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2534
3941
|
end
|
2535
3942
|
end
|
@@ -2584,6 +3991,31 @@ module Google
|
|
2584
3991
|
end
|
2585
3992
|
end
|
2586
3993
|
|
3994
|
+
# The response for `MinorVersion.List`.
|
3995
|
+
class ListMinorVersionsResponse
|
3996
|
+
include Google::Apis::Core::Hashable
|
3997
|
+
|
3998
|
+
# The list of MinorVersions.
|
3999
|
+
# Corresponds to the JSON property `minorVersions`
|
4000
|
+
# @return [Array<Google::Apis::OracledatabaseV1::MinorVersion>]
|
4001
|
+
attr_accessor :minor_versions
|
4002
|
+
|
4003
|
+
# A token identifying a page of results the server should return.
|
4004
|
+
# Corresponds to the JSON property `nextPageToken`
|
4005
|
+
# @return [String]
|
4006
|
+
attr_accessor :next_page_token
|
4007
|
+
|
4008
|
+
def initialize(**args)
|
4009
|
+
update!(**args)
|
4010
|
+
end
|
4011
|
+
|
4012
|
+
# Update properties of this object
|
4013
|
+
def update!(**args)
|
4014
|
+
@minor_versions = args[:minor_versions] if args.key?(:minor_versions)
|
4015
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4016
|
+
end
|
4017
|
+
end
|
4018
|
+
|
2587
4019
|
# The response for `OdbNetwork.List`.
|
2588
4020
|
class ListOdbNetworksResponse
|
2589
4021
|
include Google::Apis::Core::Hashable
|
@@ -2673,6 +4105,31 @@ module Google
|
|
2673
4105
|
end
|
2674
4106
|
end
|
2675
4107
|
|
4108
|
+
# The response for `PluggableDatabase.List`.
|
4109
|
+
class ListPluggableDatabasesResponse
|
4110
|
+
include Google::Apis::Core::Hashable
|
4111
|
+
|
4112
|
+
# A token identifying a page of results the server should return.
|
4113
|
+
# Corresponds to the JSON property `nextPageToken`
|
4114
|
+
# @return [String]
|
4115
|
+
attr_accessor :next_page_token
|
4116
|
+
|
4117
|
+
# The list of PluggableDatabases.
|
4118
|
+
# Corresponds to the JSON property `pluggableDatabases`
|
4119
|
+
# @return [Array<Google::Apis::OracledatabaseV1::PluggableDatabase>]
|
4120
|
+
attr_accessor :pluggable_databases
|
4121
|
+
|
4122
|
+
def initialize(**args)
|
4123
|
+
update!(**args)
|
4124
|
+
end
|
4125
|
+
|
4126
|
+
# Update properties of this object
|
4127
|
+
def update!(**args)
|
4128
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4129
|
+
@pluggable_databases = args[:pluggable_databases] if args.key?(:pluggable_databases)
|
4130
|
+
end
|
4131
|
+
end
|
4132
|
+
|
2676
4133
|
# A resource that represents a Google Cloud location.
|
2677
4134
|
class Location
|
2678
4135
|
include Google::Apis::Core::Hashable
|
@@ -2820,6 +4277,40 @@ module Google
|
|
2820
4277
|
end
|
2821
4278
|
end
|
2822
4279
|
|
4280
|
+
# MinorVersion represents a minor version of a GI. https://docs.oracle.com/en-us/
|
4281
|
+
# iaas/api/#/en/database/20160918/GiMinorVersionSummary/
|
4282
|
+
class MinorVersion
|
4283
|
+
include Google::Apis::Core::Hashable
|
4284
|
+
|
4285
|
+
# Optional. The ID of the Grid Image.
|
4286
|
+
# Corresponds to the JSON property `gridImageId`
|
4287
|
+
# @return [String]
|
4288
|
+
attr_accessor :grid_image_id
|
4289
|
+
|
4290
|
+
# Identifier. The name of the MinorVersion resource with the format: projects/`
|
4291
|
+
# project`/locations/`region`/giVersions/`gi_version`/minorVersions/`
|
4292
|
+
# minor_version`
|
4293
|
+
# Corresponds to the JSON property `name`
|
4294
|
+
# @return [String]
|
4295
|
+
attr_accessor :name
|
4296
|
+
|
4297
|
+
# Optional. The valid Oracle grid infrastructure software version.
|
4298
|
+
# Corresponds to the JSON property `version`
|
4299
|
+
# @return [String]
|
4300
|
+
attr_accessor :version
|
4301
|
+
|
4302
|
+
def initialize(**args)
|
4303
|
+
update!(**args)
|
4304
|
+
end
|
4305
|
+
|
4306
|
+
# Update properties of this object
|
4307
|
+
def update!(**args)
|
4308
|
+
@grid_image_id = args[:grid_image_id] if args.key?(:grid_image_id)
|
4309
|
+
@name = args[:name] if args.key?(:name)
|
4310
|
+
@version = args[:version] if args.key?(:version)
|
4311
|
+
end
|
4312
|
+
end
|
4313
|
+
|
2823
4314
|
# Represents OdbNetwork resource.
|
2824
4315
|
class OdbNetwork
|
2825
4316
|
include Google::Apis::Core::Hashable
|
@@ -2835,6 +4326,12 @@ module Google
|
|
2835
4326
|
# @return [String]
|
2836
4327
|
attr_accessor :entitlement_id
|
2837
4328
|
|
4329
|
+
# Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-
|
4330
|
+
# r2. If not specified, the system will pick a zone based on availability.
|
4331
|
+
# Corresponds to the JSON property `gcpOracleZone`
|
4332
|
+
# @return [String]
|
4333
|
+
attr_accessor :gcp_oracle_zone
|
4334
|
+
|
2838
4335
|
# Optional. Labels or tags associated with the resource.
|
2839
4336
|
# Corresponds to the JSON property `labels`
|
2840
4337
|
# @return [Hash<String,String>]
|
@@ -2865,6 +4362,7 @@ module Google
|
|
2865
4362
|
def update!(**args)
|
2866
4363
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2867
4364
|
@entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
|
4365
|
+
@gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
|
2868
4366
|
@labels = args[:labels] if args.key?(:labels)
|
2869
4367
|
@name = args[:name] if args.key?(:name)
|
2870
4368
|
@network = args[:network] if args.key?(:network)
|
@@ -3051,6 +4549,236 @@ module Google
|
|
3051
4549
|
end
|
3052
4550
|
end
|
3053
4551
|
|
4552
|
+
# The PluggableDatabase resource. https://docs.oracle.com/en-us/iaas/api/#/en/
|
4553
|
+
# database/20160918/PluggableDatabase/
|
4554
|
+
class PluggableDatabase
|
4555
|
+
include Google::Apis::Core::Hashable
|
4556
|
+
|
4557
|
+
# Output only. The date and time that the PluggableDatabase was created.
|
4558
|
+
# Corresponds to the JSON property `createTime`
|
4559
|
+
# @return [String]
|
4560
|
+
attr_accessor :create_time
|
4561
|
+
|
4562
|
+
# Identifier. The name of the PluggableDatabase resource in the following format:
|
4563
|
+
# projects/`project`/locations/`region`/pluggableDatabases/`pluggable_database`
|
4564
|
+
# Corresponds to the JSON property `name`
|
4565
|
+
# @return [String]
|
4566
|
+
attr_accessor :name
|
4567
|
+
|
4568
|
+
# Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
|
4569
|
+
# Corresponds to the JSON property `ociUrl`
|
4570
|
+
# @return [String]
|
4571
|
+
attr_accessor :oci_url
|
4572
|
+
|
4573
|
+
# The properties of a PluggableDatabase.
|
4574
|
+
# Corresponds to the JSON property `properties`
|
4575
|
+
# @return [Google::Apis::OracledatabaseV1::PluggableDatabaseProperties]
|
4576
|
+
attr_accessor :properties
|
4577
|
+
|
4578
|
+
def initialize(**args)
|
4579
|
+
update!(**args)
|
4580
|
+
end
|
4581
|
+
|
4582
|
+
# Update properties of this object
|
4583
|
+
def update!(**args)
|
4584
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4585
|
+
@name = args[:name] if args.key?(:name)
|
4586
|
+
@oci_url = args[:oci_url] if args.key?(:oci_url)
|
4587
|
+
@properties = args[:properties] if args.key?(:properties)
|
4588
|
+
end
|
4589
|
+
end
|
4590
|
+
|
4591
|
+
# The connection strings used to connect to the Oracle Database.
|
4592
|
+
class PluggableDatabaseConnectionStrings
|
4593
|
+
include Google::Apis::Core::Hashable
|
4594
|
+
|
4595
|
+
# Optional. All connection strings to use to connect to the pluggable database.
|
4596
|
+
# Corresponds to the JSON property `allConnectionStrings`
|
4597
|
+
# @return [Hash<String,String>]
|
4598
|
+
attr_accessor :all_connection_strings
|
4599
|
+
|
4600
|
+
# Optional. The default connection string to use to connect to the pluggable
|
4601
|
+
# database.
|
4602
|
+
# Corresponds to the JSON property `pdbDefault`
|
4603
|
+
# @return [String]
|
4604
|
+
attr_accessor :pdb_default
|
4605
|
+
|
4606
|
+
# Optional. The default connection string to use to connect to the pluggable
|
4607
|
+
# database using IP.
|
4608
|
+
# Corresponds to the JSON property `pdbIpDefault`
|
4609
|
+
# @return [String]
|
4610
|
+
attr_accessor :pdb_ip_default
|
4611
|
+
|
4612
|
+
def initialize(**args)
|
4613
|
+
update!(**args)
|
4614
|
+
end
|
4615
|
+
|
4616
|
+
# Update properties of this object
|
4617
|
+
def update!(**args)
|
4618
|
+
@all_connection_strings = args[:all_connection_strings] if args.key?(:all_connection_strings)
|
4619
|
+
@pdb_default = args[:pdb_default] if args.key?(:pdb_default)
|
4620
|
+
@pdb_ip_default = args[:pdb_ip_default] if args.key?(:pdb_ip_default)
|
4621
|
+
end
|
4622
|
+
end
|
4623
|
+
|
4624
|
+
# The Pluggable Database Node Level Details.
|
4625
|
+
class PluggableDatabaseNodeLevelDetails
|
4626
|
+
include Google::Apis::Core::Hashable
|
4627
|
+
|
4628
|
+
# Required. The Node name of the Database home.
|
4629
|
+
# Corresponds to the JSON property `nodeName`
|
4630
|
+
# @return [String]
|
4631
|
+
attr_accessor :node_name
|
4632
|
+
|
4633
|
+
# Required. The mode that the pluggable database is in to open it.
|
4634
|
+
# Corresponds to the JSON property `openMode`
|
4635
|
+
# @return [String]
|
4636
|
+
attr_accessor :open_mode
|
4637
|
+
|
4638
|
+
# Required. The OCID of the Pluggable Database.
|
4639
|
+
# Corresponds to the JSON property `pluggableDatabaseId`
|
4640
|
+
# @return [String]
|
4641
|
+
attr_accessor :pluggable_database_id
|
4642
|
+
|
4643
|
+
def initialize(**args)
|
4644
|
+
update!(**args)
|
4645
|
+
end
|
4646
|
+
|
4647
|
+
# Update properties of this object
|
4648
|
+
def update!(**args)
|
4649
|
+
@node_name = args[:node_name] if args.key?(:node_name)
|
4650
|
+
@open_mode = args[:open_mode] if args.key?(:open_mode)
|
4651
|
+
@pluggable_database_id = args[:pluggable_database_id] if args.key?(:pluggable_database_id)
|
4652
|
+
end
|
4653
|
+
end
|
4654
|
+
|
4655
|
+
# The properties of a PluggableDatabase.
|
4656
|
+
class PluggableDatabaseProperties
|
4657
|
+
include Google::Apis::Core::Hashable
|
4658
|
+
|
4659
|
+
# Required. The OCID of the compartment.
|
4660
|
+
# Corresponds to the JSON property `compartmentId`
|
4661
|
+
# @return [String]
|
4662
|
+
attr_accessor :compartment_id
|
4663
|
+
|
4664
|
+
# The connection strings used to connect to the Oracle Database.
|
4665
|
+
# Corresponds to the JSON property `connectionStrings`
|
4666
|
+
# @return [Google::Apis::OracledatabaseV1::PluggableDatabaseConnectionStrings]
|
4667
|
+
attr_accessor :connection_strings
|
4668
|
+
|
4669
|
+
# Required. The OCID of the CDB.
|
4670
|
+
# Corresponds to the JSON property `containerDatabaseOcid`
|
4671
|
+
# @return [String]
|
4672
|
+
attr_accessor :container_database_ocid
|
4673
|
+
|
4674
|
+
# The configuration of the Database Management service.
|
4675
|
+
# Corresponds to the JSON property `databaseManagementConfig`
|
4676
|
+
# @return [Google::Apis::OracledatabaseV1::DatabaseManagementConfig]
|
4677
|
+
attr_accessor :database_management_config
|
4678
|
+
|
4679
|
+
# Optional. Defined tags for this resource. Each key is predefined and scoped to
|
4680
|
+
# a namespace.
|
4681
|
+
# Corresponds to the JSON property `definedTags`
|
4682
|
+
# @return [Hash<String,Google::Apis::OracledatabaseV1::DefinedTagValue>]
|
4683
|
+
attr_accessor :defined_tags
|
4684
|
+
|
4685
|
+
# Optional. Free-form tags for this resource. Each tag is a simple key-value
|
4686
|
+
# pair with no predefined name, type, or namespace.
|
4687
|
+
# Corresponds to the JSON property `freeformTags`
|
4688
|
+
# @return [Hash<String,String>]
|
4689
|
+
attr_accessor :freeform_tags
|
4690
|
+
|
4691
|
+
# Optional. The restricted mode of the pluggable database. If a pluggable
|
4692
|
+
# database is opened in restricted mode, the user needs both create a session
|
4693
|
+
# and have restricted session privileges to connect to it.
|
4694
|
+
# Corresponds to the JSON property `isRestricted`
|
4695
|
+
# @return [Boolean]
|
4696
|
+
attr_accessor :is_restricted
|
4697
|
+
alias_method :is_restricted?, :is_restricted
|
4698
|
+
|
4699
|
+
# Output only. Additional information about the current lifecycle state.
|
4700
|
+
# Corresponds to the JSON property `lifecycleDetails`
|
4701
|
+
# @return [String]
|
4702
|
+
attr_accessor :lifecycle_details
|
4703
|
+
|
4704
|
+
# Output only. The current state of the pluggable database.
|
4705
|
+
# Corresponds to the JSON property `lifecycleState`
|
4706
|
+
# @return [String]
|
4707
|
+
attr_accessor :lifecycle_state
|
4708
|
+
|
4709
|
+
# Output only. The OCID of the pluggable database.
|
4710
|
+
# Corresponds to the JSON property `ocid`
|
4711
|
+
# @return [String]
|
4712
|
+
attr_accessor :ocid
|
4713
|
+
|
4714
|
+
# Output only. The status of Operations Insights for this Database.
|
4715
|
+
# Corresponds to the JSON property `operationsInsightsState`
|
4716
|
+
# @return [String]
|
4717
|
+
attr_accessor :operations_insights_state
|
4718
|
+
|
4719
|
+
# Required. The database name.
|
4720
|
+
# Corresponds to the JSON property `pdbName`
|
4721
|
+
# @return [String]
|
4722
|
+
attr_accessor :pdb_name
|
4723
|
+
|
4724
|
+
# Optional. Pluggable Database Node Level Details
|
4725
|
+
# Corresponds to the JSON property `pdbNodeLevelDetails`
|
4726
|
+
# @return [Array<Google::Apis::OracledatabaseV1::PluggableDatabaseNodeLevelDetails>]
|
4727
|
+
attr_accessor :pdb_node_level_details
|
4728
|
+
|
4729
|
+
def initialize(**args)
|
4730
|
+
update!(**args)
|
4731
|
+
end
|
4732
|
+
|
4733
|
+
# Update properties of this object
|
4734
|
+
def update!(**args)
|
4735
|
+
@compartment_id = args[:compartment_id] if args.key?(:compartment_id)
|
4736
|
+
@connection_strings = args[:connection_strings] if args.key?(:connection_strings)
|
4737
|
+
@container_database_ocid = args[:container_database_ocid] if args.key?(:container_database_ocid)
|
4738
|
+
@database_management_config = args[:database_management_config] if args.key?(:database_management_config)
|
4739
|
+
@defined_tags = args[:defined_tags] if args.key?(:defined_tags)
|
4740
|
+
@freeform_tags = args[:freeform_tags] if args.key?(:freeform_tags)
|
4741
|
+
@is_restricted = args[:is_restricted] if args.key?(:is_restricted)
|
4742
|
+
@lifecycle_details = args[:lifecycle_details] if args.key?(:lifecycle_details)
|
4743
|
+
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
4744
|
+
@ocid = args[:ocid] if args.key?(:ocid)
|
4745
|
+
@operations_insights_state = args[:operations_insights_state] if args.key?(:operations_insights_state)
|
4746
|
+
@pdb_name = args[:pdb_name] if args.key?(:pdb_name)
|
4747
|
+
@pdb_node_level_details = args[:pdb_node_level_details] if args.key?(:pdb_node_level_details)
|
4748
|
+
end
|
4749
|
+
end
|
4750
|
+
|
4751
|
+
# The request for `ExadbVmCluster.RemoveVirtualMachine`.
|
4752
|
+
class RemoveVirtualMachineExadbVmClusterRequest
|
4753
|
+
include Google::Apis::Core::Hashable
|
4754
|
+
|
4755
|
+
# Required. The list of host names of db nodes to be removed from the
|
4756
|
+
# ExadbVmCluster.
|
4757
|
+
# Corresponds to the JSON property `hostnames`
|
4758
|
+
# @return [Array<String>]
|
4759
|
+
attr_accessor :hostnames
|
4760
|
+
|
4761
|
+
# Optional. An optional ID to identify the request. This value is used to
|
4762
|
+
# identify duplicate requests. If you make a request with the same request ID
|
4763
|
+
# and the original request is still in progress or completed, the server ignores
|
4764
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
4765
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
4766
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4767
|
+
# Corresponds to the JSON property `requestId`
|
4768
|
+
# @return [String]
|
4769
|
+
attr_accessor :request_id
|
4770
|
+
|
4771
|
+
def initialize(**args)
|
4772
|
+
update!(**args)
|
4773
|
+
end
|
4774
|
+
|
4775
|
+
# Update properties of this object
|
4776
|
+
def update!(**args)
|
4777
|
+
@hostnames = args[:hostnames] if args.key?(:hostnames)
|
4778
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
4779
|
+
end
|
4780
|
+
end
|
4781
|
+
|
3054
4782
|
# The request for `AutonomousDatabase.Restart`.
|
3055
4783
|
class RestartAutonomousDatabaseRequest
|
3056
4784
|
include Google::Apis::Core::Hashable
|
@@ -3212,6 +4940,34 @@ module Google
|
|
3212
4940
|
end
|
3213
4941
|
end
|
3214
4942
|
|
4943
|
+
# The initial storage size, in gigabytes, that is applicable for virtual machine
|
4944
|
+
# DBSystem.
|
4945
|
+
class StorageSizeDetails
|
4946
|
+
include Google::Apis::Core::Hashable
|
4947
|
+
|
4948
|
+
# Output only. The data storage size, in gigabytes, that is applicable for
|
4949
|
+
# virtual machine DBSystem.
|
4950
|
+
# Corresponds to the JSON property `dataStorageSizeInGbs`
|
4951
|
+
# @return [Fixnum]
|
4952
|
+
attr_accessor :data_storage_size_in_gbs
|
4953
|
+
|
4954
|
+
# Output only. The RECO/REDO storage size, in gigabytes, that is applicable for
|
4955
|
+
# virtual machine DBSystem.
|
4956
|
+
# Corresponds to the JSON property `recoStorageSizeInGbs`
|
4957
|
+
# @return [Fixnum]
|
4958
|
+
attr_accessor :reco_storage_size_in_gbs
|
4959
|
+
|
4960
|
+
def initialize(**args)
|
4961
|
+
update!(**args)
|
4962
|
+
end
|
4963
|
+
|
4964
|
+
# Update properties of this object
|
4965
|
+
def update!(**args)
|
4966
|
+
@data_storage_size_in_gbs = args[:data_storage_size_in_gbs] if args.key?(:data_storage_size_in_gbs)
|
4967
|
+
@reco_storage_size_in_gbs = args[:reco_storage_size_in_gbs] if args.key?(:reco_storage_size_in_gbs)
|
4968
|
+
end
|
4969
|
+
end
|
4970
|
+
|
3215
4971
|
# The request for `OracleDatabase.SwitchoverAutonomousDatabase`.
|
3216
4972
|
class SwitchoverAutonomousDatabaseRequest
|
3217
4973
|
include Google::Apis::Core::Hashable
|