google-apis-oracledatabase_v1 0.17.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 +4 -0
- data/lib/google/apis/oracledatabase_v1/classes.rb +1857 -108
- data/lib/google/apis/oracledatabase_v1/gem_version.rb +2 -2
- data/lib/google/apis/oracledatabase_v1/representations.rb +717 -17
- data/lib/google/apis/oracledatabase_v1/service.rb +1162 -200
- metadata +2 -2
@@ -308,6 +308,42 @@ module Google
|
|
308
308
|
execute_or_queue_command(command, &block)
|
309
309
|
end
|
310
310
|
|
311
|
+
# Initiates a failover to target autonomous database from the associated primary
|
312
|
+
# database.
|
313
|
+
# @param [String] name
|
314
|
+
# Required. The name of the Autonomous Database in the following format:
|
315
|
+
# projects/`project`/locations/`location`/autonomousDatabases/`
|
316
|
+
# autonomous_database`.
|
317
|
+
# @param [Google::Apis::OracledatabaseV1::FailoverAutonomousDatabaseRequest] failover_autonomous_database_request_object
|
318
|
+
# @param [String] fields
|
319
|
+
# Selector specifying which fields to include in a partial response.
|
320
|
+
# @param [String] quota_user
|
321
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
322
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
323
|
+
# @param [Google::Apis::RequestOptions] options
|
324
|
+
# Request-specific options
|
325
|
+
#
|
326
|
+
# @yield [result, err] Result & error if block supplied
|
327
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
328
|
+
# @yieldparam err [StandardError] error object if request failed
|
329
|
+
#
|
330
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
331
|
+
#
|
332
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
333
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
334
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
335
|
+
def failover_autonomous_database(name, failover_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
336
|
+
command = make_simple_command(:post, 'v1/{+name}:failover', options)
|
337
|
+
command.request_representation = Google::Apis::OracledatabaseV1::FailoverAutonomousDatabaseRequest::Representation
|
338
|
+
command.request_object = failover_autonomous_database_request_object
|
339
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
340
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
341
|
+
command.params['name'] = name unless name.nil?
|
342
|
+
command.query['fields'] = fields unless fields.nil?
|
343
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
344
|
+
execute_or_queue_command(command, &block)
|
345
|
+
end
|
346
|
+
|
311
347
|
# Generates a wallet for an Autonomous Database.
|
312
348
|
# @param [String] name
|
313
349
|
# Required. The name of the Autonomous Database in the following format:
|
@@ -1048,20 +1084,25 @@ module Google
|
|
1048
1084
|
execute_or_queue_command(command, &block)
|
1049
1085
|
end
|
1050
1086
|
|
1051
|
-
#
|
1087
|
+
# List DatabaseCharacterSets for the given project and location.
|
1052
1088
|
# @param [String] parent
|
1053
|
-
# Required. The parent value for
|
1089
|
+
# Required. The parent value for DatabaseCharacterSets in the following format:
|
1054
1090
|
# projects/`project`/locations/`location`.
|
1055
1091
|
# @param [String] filter
|
1056
|
-
# Optional. An expression for filtering the results of the request. Only the
|
1057
|
-
#
|
1058
|
-
#
|
1092
|
+
# Optional. An expression for filtering the results of the request. Only the **
|
1093
|
+
# character_set_type** field is supported in the following format: `
|
1094
|
+
# character_set_type="`characterSetType`"`. Accepted values include `DATABASE`
|
1095
|
+
# and `NATIONAL`.
|
1059
1096
|
# @param [Fixnum] page_size
|
1060
|
-
# Optional. The maximum number of
|
1061
|
-
#
|
1097
|
+
# Optional. The maximum number of DatabaseCharacterSets to return. The service
|
1098
|
+
# may return fewer than this value. If unspecified, at most 50
|
1099
|
+
# DatabaseCharacterSets will be returned. The maximum value is 1000; values
|
1062
1100
|
# above 1000 will be coerced to 1000.
|
1063
1101
|
# @param [String] page_token
|
1064
|
-
# Optional. A
|
1102
|
+
# Optional. A page token, received from a previous `ListDatabaseCharacterSets`
|
1103
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
1104
|
+
# parameters provided to `ListDatabaseCharacterSets` must match the call that
|
1105
|
+
# provided the page token.
|
1065
1106
|
# @param [String] fields
|
1066
1107
|
# Selector specifying which fields to include in a partial response.
|
1067
1108
|
# @param [String] quota_user
|
@@ -1071,18 +1112,18 @@ module Google
|
|
1071
1112
|
# Request-specific options
|
1072
1113
|
#
|
1073
1114
|
# @yield [result, err] Result & error if block supplied
|
1074
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::
|
1115
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse] parsed result object
|
1075
1116
|
# @yieldparam err [StandardError] error object if request failed
|
1076
1117
|
#
|
1077
|
-
# @return [Google::Apis::OracledatabaseV1::
|
1118
|
+
# @return [Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse]
|
1078
1119
|
#
|
1079
1120
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
1121
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
1122
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
-
def
|
1083
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
1084
|
-
command.response_representation = Google::Apis::OracledatabaseV1::
|
1085
|
-
command.response_class = Google::Apis::OracledatabaseV1::
|
1123
|
+
def list_project_location_database_character_sets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1124
|
+
command = make_simple_command(:get, 'v1/{+parent}/databaseCharacterSets', options)
|
1125
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse::Representation
|
1126
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse
|
1086
1127
|
command.params['parent'] = parent unless parent.nil?
|
1087
1128
|
command.query['filter'] = filter unless filter.nil?
|
1088
1129
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -1092,15 +1133,10 @@ module Google
|
|
1092
1133
|
execute_or_queue_command(command, &block)
|
1093
1134
|
end
|
1094
1135
|
|
1095
|
-
#
|
1096
|
-
# @param [String]
|
1097
|
-
# Required. The
|
1098
|
-
#
|
1099
|
-
# @param [Fixnum] page_size
|
1100
|
-
# Optional. The maximum number of items to return. If unspecified, a maximum of
|
1101
|
-
# 50 entitlements will be returned. The maximum value is 1000.
|
1102
|
-
# @param [String] page_token
|
1103
|
-
# Optional. A token identifying a page of results the server should return.
|
1136
|
+
# Gets details of a single Database.
|
1137
|
+
# @param [String] name
|
1138
|
+
# Required. The name of the Database resource in the following format: projects/`
|
1139
|
+
# project`/locations/`region`/databases/`database`
|
1104
1140
|
# @param [String] fields
|
1105
1141
|
# Selector specifying which fields to include in a partial response.
|
1106
1142
|
# @param [String] quota_user
|
@@ -1110,41 +1146,41 @@ module Google
|
|
1110
1146
|
# Request-specific options
|
1111
1147
|
#
|
1112
1148
|
# @yield [result, err] Result & error if block supplied
|
1113
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::
|
1149
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Database] parsed result object
|
1114
1150
|
# @yieldparam err [StandardError] error object if request failed
|
1115
1151
|
#
|
1116
|
-
# @return [Google::Apis::OracledatabaseV1::
|
1152
|
+
# @return [Google::Apis::OracledatabaseV1::Database]
|
1117
1153
|
#
|
1118
1154
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1119
1155
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1120
1156
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1121
|
-
def
|
1122
|
-
command = make_simple_command(:get, 'v1/{+
|
1123
|
-
command.response_representation = Google::Apis::OracledatabaseV1::
|
1124
|
-
command.response_class = Google::Apis::OracledatabaseV1::
|
1125
|
-
command.params['
|
1126
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1127
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1157
|
+
def get_project_location_database(name, fields: nil, quota_user: nil, options: nil, &block)
|
1158
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1159
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Database::Representation
|
1160
|
+
command.response_class = Google::Apis::OracledatabaseV1::Database
|
1161
|
+
command.params['name'] = name unless name.nil?
|
1128
1162
|
command.query['fields'] = fields unless fields.nil?
|
1129
1163
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1130
1164
|
execute_or_queue_command(command, &block)
|
1131
1165
|
end
|
1132
1166
|
|
1133
|
-
# Lists all the
|
1134
|
-
# project and location.
|
1167
|
+
# Lists all the Databases for the given project, location and DbSystem.
|
1135
1168
|
# @param [String] parent
|
1136
|
-
# Required. The parent
|
1137
|
-
#
|
1169
|
+
# Required. The parent resource name in the following format: projects/`project`/
|
1170
|
+
# locations/`region`
|
1138
1171
|
# @param [String] filter
|
1139
|
-
# Optional. An expression for filtering the results of the request.
|
1140
|
-
#
|
1141
|
-
#
|
1172
|
+
# Optional. An expression for filtering the results of the request. list for
|
1173
|
+
# container databases is supported only with a valid dbSystem (full resource
|
1174
|
+
# name) filter in this format: `dbSystem="projects/`project`/locations/`location`
|
1175
|
+
# /dbSystems/`dbSystemId`"`
|
1142
1176
|
# @param [Fixnum] page_size
|
1143
1177
|
# Optional. The maximum number of items to return. If unspecified, a maximum of
|
1144
|
-
# 50
|
1145
|
-
#
|
1178
|
+
# 50 System Versions will be returned. The maximum value is 1000; values above
|
1179
|
+
# 1000 will be reset to 1000.
|
1146
1180
|
# @param [String] page_token
|
1147
|
-
# Optional. A token identifying
|
1181
|
+
# Optional. A token identifying the requested page of results to return. All
|
1182
|
+
# fields except the filter should remain the same as in the request that
|
1183
|
+
# provided this page token.
|
1148
1184
|
# @param [String] fields
|
1149
1185
|
# Selector specifying which fields to include in a partial response.
|
1150
1186
|
# @param [String] quota_user
|
@@ -1154,18 +1190,18 @@ module Google
|
|
1154
1190
|
# Request-specific options
|
1155
1191
|
#
|
1156
1192
|
# @yield [result, err] Result & error if block supplied
|
1157
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::
|
1193
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListDatabasesResponse] parsed result object
|
1158
1194
|
# @yieldparam err [StandardError] error object if request failed
|
1159
1195
|
#
|
1160
|
-
# @return [Google::Apis::OracledatabaseV1::
|
1196
|
+
# @return [Google::Apis::OracledatabaseV1::ListDatabasesResponse]
|
1161
1197
|
#
|
1162
1198
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1163
1199
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1164
1200
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1165
|
-
def
|
1166
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
1167
|
-
command.response_representation = Google::Apis::OracledatabaseV1::
|
1168
|
-
command.response_class = Google::Apis::OracledatabaseV1::
|
1201
|
+
def list_project_location_databases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1202
|
+
command = make_simple_command(:get, 'v1/{+parent}/databases', options)
|
1203
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListDatabasesResponse::Representation
|
1204
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListDatabasesResponse
|
1169
1205
|
command.params['parent'] = parent unless parent.nil?
|
1170
1206
|
command.query['filter'] = filter unless filter.nil?
|
1171
1207
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -1175,22 +1211,18 @@ module Google
|
|
1175
1211
|
execute_or_queue_command(command, &block)
|
1176
1212
|
end
|
1177
1213
|
|
1178
|
-
#
|
1214
|
+
# Lists all the DbSystemInitialStorageSizes for the given project and location.
|
1179
1215
|
# @param [String] parent
|
1180
|
-
# Required. The parent value for the
|
1181
|
-
# projects/`project`/locations/`location
|
1182
|
-
# @param [
|
1183
|
-
#
|
1184
|
-
#
|
1185
|
-
#
|
1186
|
-
#
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
# and the original request is still in progress or completed, the server ignores
|
1191
|
-
# the second request. This prevents clients from accidentally creating duplicate
|
1192
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
1193
|
-
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1216
|
+
# Required. The parent value for the DbSystemInitialStorageSize resource with
|
1217
|
+
# the format: projects/`project`/locations/`location`
|
1218
|
+
# @param [Fixnum] page_size
|
1219
|
+
# Optional. The maximum number of items to return. If unspecified, a maximum of
|
1220
|
+
# 50 System Versions will be returned. The maximum value is 1000; values above
|
1221
|
+
# 1000 will be reset to 1000.
|
1222
|
+
# @param [String] page_token
|
1223
|
+
# Optional. A token identifying the requested page of results to return. All
|
1224
|
+
# fields except the filter should remain the same as in the request that
|
1225
|
+
# provided this page token.
|
1194
1226
|
# @param [String] fields
|
1195
1227
|
# Selector specifying which fields to include in a partial response.
|
1196
1228
|
# @param [String] quota_user
|
@@ -1200,110 +1232,38 @@ module Google
|
|
1200
1232
|
# Request-specific options
|
1201
1233
|
#
|
1202
1234
|
# @yield [result, err] Result & error if block supplied
|
1203
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::
|
1235
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse] parsed result object
|
1204
1236
|
# @yieldparam err [StandardError] error object if request failed
|
1205
1237
|
#
|
1206
|
-
# @return [Google::Apis::OracledatabaseV1::
|
1238
|
+
# @return [Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse]
|
1207
1239
|
#
|
1208
1240
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1209
1241
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1210
1242
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1211
|
-
def
|
1212
|
-
command = make_simple_command(:
|
1213
|
-
command.
|
1214
|
-
command.
|
1215
|
-
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1216
|
-
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1243
|
+
def list_project_location_db_system_initial_storage_sizes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1244
|
+
command = make_simple_command(:get, 'v1/{+parent}/dbSystemInitialStorageSizes', options)
|
1245
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse::Representation
|
1246
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse
|
1217
1247
|
command.params['parent'] = parent unless parent.nil?
|
1218
|
-
command.query['
|
1219
|
-
command.query['
|
1220
|
-
command.query['fields'] = fields unless fields.nil?
|
1221
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1222
|
-
execute_or_queue_command(command, &block)
|
1223
|
-
end
|
1224
|
-
|
1225
|
-
# Deletes a single ODB Network.
|
1226
|
-
# @param [String] name
|
1227
|
-
# Required. The name of the resource in the following format: projects/`project`/
|
1228
|
-
# locations/`location`/odbNetworks/`odb_network`.
|
1229
|
-
# @param [String] request_id
|
1230
|
-
# Optional. An optional ID to identify the request. This value is used to
|
1231
|
-
# identify duplicate requests. If you make a request with the same request ID
|
1232
|
-
# and the original request is still in progress or completed, the server ignores
|
1233
|
-
# the second request. This prevents clients from accidentally creating duplicate
|
1234
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
1235
|
-
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1236
|
-
# @param [String] fields
|
1237
|
-
# Selector specifying which fields to include in a partial response.
|
1238
|
-
# @param [String] quota_user
|
1239
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1240
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1241
|
-
# @param [Google::Apis::RequestOptions] options
|
1242
|
-
# Request-specific options
|
1243
|
-
#
|
1244
|
-
# @yield [result, err] Result & error if block supplied
|
1245
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
1246
|
-
# @yieldparam err [StandardError] error object if request failed
|
1247
|
-
#
|
1248
|
-
# @return [Google::Apis::OracledatabaseV1::Operation]
|
1249
|
-
#
|
1250
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1251
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1252
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1253
|
-
def delete_project_location_odb_network(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1254
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1255
|
-
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1256
|
-
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1257
|
-
command.params['name'] = name unless name.nil?
|
1258
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1259
|
-
command.query['fields'] = fields unless fields.nil?
|
1260
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1261
|
-
execute_or_queue_command(command, &block)
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
# Gets details of a single ODB Network.
|
1265
|
-
# @param [String] name
|
1266
|
-
# Required. The name of the OdbNetwork in the following format: projects/`
|
1267
|
-
# project`/locations/`location`/odbNetworks/`odb_network`.
|
1268
|
-
# @param [String] fields
|
1269
|
-
# Selector specifying which fields to include in a partial response.
|
1270
|
-
# @param [String] quota_user
|
1271
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1272
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1273
|
-
# @param [Google::Apis::RequestOptions] options
|
1274
|
-
# Request-specific options
|
1275
|
-
#
|
1276
|
-
# @yield [result, err] Result & error if block supplied
|
1277
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::OdbNetwork] parsed result object
|
1278
|
-
# @yieldparam err [StandardError] error object if request failed
|
1279
|
-
#
|
1280
|
-
# @return [Google::Apis::OracledatabaseV1::OdbNetwork]
|
1281
|
-
#
|
1282
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1283
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1284
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1285
|
-
def get_project_location_odb_network(name, fields: nil, quota_user: nil, options: nil, &block)
|
1286
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1287
|
-
command.response_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
|
1288
|
-
command.response_class = Google::Apis::OracledatabaseV1::OdbNetwork
|
1289
|
-
command.params['name'] = name unless name.nil?
|
1248
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1249
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1290
1250
|
command.query['fields'] = fields unless fields.nil?
|
1291
1251
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1292
1252
|
execute_or_queue_command(command, &block)
|
1293
1253
|
end
|
1294
1254
|
|
1295
|
-
# Lists the
|
1255
|
+
# Lists the database system shapes available for the project and location.
|
1296
1256
|
# @param [String] parent
|
1297
|
-
# Required. The parent value for
|
1257
|
+
# Required. The parent value for Database System Shapes in the following format:
|
1298
1258
|
# projects/`project`/locations/`location`.
|
1299
1259
|
# @param [String] filter
|
1300
|
-
# Optional. An expression for filtering the results of the request.
|
1301
|
-
#
|
1302
|
-
#
|
1260
|
+
# Optional. An expression for filtering the results of the request. Only the
|
1261
|
+
# gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id="`
|
1262
|
+
# gcp_oracle_zone_id`"`.
|
1303
1263
|
# @param [Fixnum] page_size
|
1304
1264
|
# Optional. The maximum number of items to return. If unspecified, at most 50
|
1305
|
-
#
|
1306
|
-
# will be coerced to 1000.
|
1265
|
+
# database system shapes will be returned. The maximum value is 1000; values
|
1266
|
+
# above 1000 will be coerced to 1000.
|
1307
1267
|
# @param [String] page_token
|
1308
1268
|
# Optional. A token identifying a page of results the server should return.
|
1309
1269
|
# @param [String] fields
|
@@ -1315,21 +1275,20 @@ module Google
|
|
1315
1275
|
# Request-specific options
|
1316
1276
|
#
|
1317
1277
|
# @yield [result, err] Result & error if block supplied
|
1318
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::
|
1278
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse] parsed result object
|
1319
1279
|
# @yieldparam err [StandardError] error object if request failed
|
1320
1280
|
#
|
1321
|
-
# @return [Google::Apis::OracledatabaseV1::
|
1281
|
+
# @return [Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse]
|
1322
1282
|
#
|
1323
1283
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1324
1284
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1325
1285
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1326
|
-
def
|
1327
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
1328
|
-
command.response_representation = Google::Apis::OracledatabaseV1::
|
1329
|
-
command.response_class = Google::Apis::OracledatabaseV1::
|
1286
|
+
def list_project_location_db_system_shapes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1287
|
+
command = make_simple_command(:get, 'v1/{+parent}/dbSystemShapes', options)
|
1288
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse::Representation
|
1289
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse
|
1330
1290
|
command.params['parent'] = parent unless parent.nil?
|
1331
1291
|
command.query['filter'] = filter unless filter.nil?
|
1332
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
1333
1292
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1334
1293
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1335
1294
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1337,22 +1296,26 @@ module Google
|
|
1337
1296
|
execute_or_queue_command(command, &block)
|
1338
1297
|
end
|
1339
1298
|
|
1340
|
-
# Creates a new
|
1299
|
+
# Creates a new DbSystem in a given project and location.
|
1341
1300
|
# @param [String] parent
|
1342
|
-
# Required. The
|
1343
|
-
#
|
1344
|
-
# @param [Google::Apis::OracledatabaseV1::
|
1345
|
-
# @param [String]
|
1346
|
-
# Required. The ID of the
|
1347
|
-
#
|
1348
|
-
#
|
1301
|
+
# Required. The value for parent of the DbSystem in the following format:
|
1302
|
+
# projects/`project`/locations/`location`.
|
1303
|
+
# @param [Google::Apis::OracledatabaseV1::DbSystem] db_system_object
|
1304
|
+
# @param [String] db_system_id
|
1305
|
+
# Required. The ID of the DbSystem to create. This value is restricted to (^[a-z]
|
1306
|
+
# ([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in length.
|
1307
|
+
# The value must start with a letter and end with a letter or a number.
|
1349
1308
|
# @param [String] request_id
|
1350
|
-
# Optional. An optional ID to identify
|
1351
|
-
#
|
1352
|
-
#
|
1353
|
-
# the
|
1354
|
-
#
|
1355
|
-
#
|
1309
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1310
|
+
# request ID so that if you must retry your request, the server will know to
|
1311
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1312
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1313
|
+
# situation where you make an initial request and the request times out. If you
|
1314
|
+
# make the request again with the same request ID, the server can check if
|
1315
|
+
# original operation with the same request ID was received, and if so, will
|
1316
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1317
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1318
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1356
1319
|
# @param [String] fields
|
1357
1320
|
# Selector specifying which fields to include in a partial response.
|
1358
1321
|
# @param [String] quota_user
|
@@ -1370,24 +1333,24 @@ module Google
|
|
1370
1333
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1371
1334
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1372
1335
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1373
|
-
def
|
1374
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
1375
|
-
command.request_representation = Google::Apis::OracledatabaseV1::
|
1376
|
-
command.request_object =
|
1336
|
+
def create_project_location_db_system(parent, db_system_object = nil, db_system_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1337
|
+
command = make_simple_command(:post, 'v1/{+parent}/dbSystems', options)
|
1338
|
+
command.request_representation = Google::Apis::OracledatabaseV1::DbSystem::Representation
|
1339
|
+
command.request_object = db_system_object
|
1377
1340
|
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1378
1341
|
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1379
1342
|
command.params['parent'] = parent unless parent.nil?
|
1380
|
-
command.query['
|
1343
|
+
command.query['dbSystemId'] = db_system_id unless db_system_id.nil?
|
1381
1344
|
command.query['requestId'] = request_id unless request_id.nil?
|
1382
1345
|
command.query['fields'] = fields unless fields.nil?
|
1383
1346
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1384
1347
|
execute_or_queue_command(command, &block)
|
1385
1348
|
end
|
1386
1349
|
|
1387
|
-
# Deletes a single
|
1350
|
+
# Deletes a single DbSystem.
|
1388
1351
|
# @param [String] name
|
1389
|
-
# Required. The name of the
|
1390
|
-
# locations/`
|
1352
|
+
# Required. The name of the DbSystem in the following format: projects/`project`/
|
1353
|
+
# locations/`location`/dbSystems/`db_system`.
|
1391
1354
|
# @param [String] request_id
|
1392
1355
|
# Optional. An optional ID to identify the request. This value is used to
|
1393
1356
|
# identify duplicate requests. If you make a request with the same request ID
|
@@ -1412,7 +1375,7 @@ module Google
|
|
1412
1375
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1413
1376
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1414
1377
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1415
|
-
def
|
1378
|
+
def delete_project_location_db_system(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1416
1379
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1417
1380
|
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1418
1381
|
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
@@ -1423,10 +1386,10 @@ module Google
|
|
1423
1386
|
execute_or_queue_command(command, &block)
|
1424
1387
|
end
|
1425
1388
|
|
1426
|
-
# Gets details of a single
|
1389
|
+
# Gets details of a single DbSystem.
|
1427
1390
|
# @param [String] name
|
1428
|
-
# Required. The name of the
|
1429
|
-
#
|
1391
|
+
# Required. The name of the DbSystem in the following format: projects/`project`/
|
1392
|
+
# locations/`location`/dbSystems/`db_system`.
|
1430
1393
|
# @param [String] fields
|
1431
1394
|
# Selector specifying which fields to include in a partial response.
|
1432
1395
|
# @param [String] quota_user
|
@@ -1436,36 +1399,36 @@ module Google
|
|
1436
1399
|
# Request-specific options
|
1437
1400
|
#
|
1438
1401
|
# @yield [result, err] Result & error if block supplied
|
1439
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::
|
1402
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::DbSystem] parsed result object
|
1440
1403
|
# @yieldparam err [StandardError] error object if request failed
|
1441
1404
|
#
|
1442
|
-
# @return [Google::Apis::OracledatabaseV1::
|
1405
|
+
# @return [Google::Apis::OracledatabaseV1::DbSystem]
|
1443
1406
|
#
|
1444
1407
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1445
1408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1446
1409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1447
|
-
def
|
1410
|
+
def get_project_location_db_system(name, fields: nil, quota_user: nil, options: nil, &block)
|
1448
1411
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1449
|
-
command.response_representation = Google::Apis::OracledatabaseV1::
|
1450
|
-
command.response_class = Google::Apis::OracledatabaseV1::
|
1412
|
+
command.response_representation = Google::Apis::OracledatabaseV1::DbSystem::Representation
|
1413
|
+
command.response_class = Google::Apis::OracledatabaseV1::DbSystem
|
1451
1414
|
command.params['name'] = name unless name.nil?
|
1452
1415
|
command.query['fields'] = fields unless fields.nil?
|
1453
1416
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1454
1417
|
execute_or_queue_command(command, &block)
|
1455
1418
|
end
|
1456
1419
|
|
1457
|
-
# Lists all the
|
1420
|
+
# Lists all the DbSystems for the given project and location.
|
1458
1421
|
# @param [String] parent
|
1459
|
-
# Required. The parent value for
|
1460
|
-
#
|
1422
|
+
# Required. The parent value for DbSystems in the following format: projects/`
|
1423
|
+
# project`/locations/`location`.
|
1461
1424
|
# @param [String] filter
|
1462
1425
|
# Optional. An expression for filtering the results of the request.
|
1463
1426
|
# @param [String] order_by
|
1464
1427
|
# Optional. An expression for ordering the results of the request.
|
1465
1428
|
# @param [Fixnum] page_size
|
1466
1429
|
# Optional. The maximum number of items to return. If unspecified, at most 50
|
1467
|
-
#
|
1468
|
-
#
|
1430
|
+
# DbSystems will be returned. The maximum value is 1000; values above 1000 will
|
1431
|
+
# be coerced to 1000.
|
1469
1432
|
# @param [String] page_token
|
1470
1433
|
# Optional. A token identifying a page of results the server should return.
|
1471
1434
|
# @param [String] fields
|
@@ -1477,18 +1440,18 @@ module Google
|
|
1477
1440
|
# Request-specific options
|
1478
1441
|
#
|
1479
1442
|
# @yield [result, err] Result & error if block supplied
|
1480
|
-
# @yieldparam result [Google::Apis::OracledatabaseV1::
|
1443
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListDbSystemsResponse] parsed result object
|
1481
1444
|
# @yieldparam err [StandardError] error object if request failed
|
1482
1445
|
#
|
1483
|
-
# @return [Google::Apis::OracledatabaseV1::
|
1446
|
+
# @return [Google::Apis::OracledatabaseV1::ListDbSystemsResponse]
|
1484
1447
|
#
|
1485
1448
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1486
1449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1487
1450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1488
|
-
def
|
1489
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
1490
|
-
command.response_representation = Google::Apis::OracledatabaseV1::
|
1491
|
-
command.response_class = Google::Apis::OracledatabaseV1::
|
1451
|
+
def list_project_location_db_systems(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1452
|
+
command = make_simple_command(:get, 'v1/{+parent}/dbSystems', options)
|
1453
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemsResponse::Representation
|
1454
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemsResponse
|
1492
1455
|
command.params['parent'] = parent unless parent.nil?
|
1493
1456
|
command.query['filter'] = filter unless filter.nil?
|
1494
1457
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -1499,7 +1462,927 @@ module Google
|
|
1499
1462
|
execute_or_queue_command(command, &block)
|
1500
1463
|
end
|
1501
1464
|
|
1502
|
-
#
|
1465
|
+
# List DbVersions for the given project and location.
|
1466
|
+
# @param [String] parent
|
1467
|
+
# Required. The parent value for the DbVersion resource with the format:
|
1468
|
+
# projects/`project`/locations/`location`
|
1469
|
+
# @param [String] filter
|
1470
|
+
# Optional. Filter expression that matches a subset of the DbVersions to show.
|
1471
|
+
# The supported filter for dbSystem creation is `db_system_shape = `
|
1472
|
+
# db_system_shape` AND storage_management = `storage_management``. If no filter
|
1473
|
+
# is provided, all DbVersions will be returned.
|
1474
|
+
# @param [Fixnum] page_size
|
1475
|
+
# Optional. The maximum number of items to return. If unspecified, a maximum of
|
1476
|
+
# 50 System Versions will be returned. The maximum value is 1000; values above
|
1477
|
+
# 1000 will be reset to 1000.
|
1478
|
+
# @param [String] page_token
|
1479
|
+
# Optional. A token identifying the requested page of results to return. All
|
1480
|
+
# fields except the filter should remain the same as in the request that
|
1481
|
+
# provided this page token.
|
1482
|
+
# @param [String] fields
|
1483
|
+
# Selector specifying which fields to include in a partial response.
|
1484
|
+
# @param [String] quota_user
|
1485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1487
|
+
# @param [Google::Apis::RequestOptions] options
|
1488
|
+
# Request-specific options
|
1489
|
+
#
|
1490
|
+
# @yield [result, err] Result & error if block supplied
|
1491
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListDbVersionsResponse] parsed result object
|
1492
|
+
# @yieldparam err [StandardError] error object if request failed
|
1493
|
+
#
|
1494
|
+
# @return [Google::Apis::OracledatabaseV1::ListDbVersionsResponse]
|
1495
|
+
#
|
1496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1499
|
+
def list_project_location_db_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1500
|
+
command = make_simple_command(:get, 'v1/{+parent}/dbVersions', options)
|
1501
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListDbVersionsResponse::Representation
|
1502
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListDbVersionsResponse
|
1503
|
+
command.params['parent'] = parent unless parent.nil?
|
1504
|
+
command.query['filter'] = filter unless filter.nil?
|
1505
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1506
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1507
|
+
command.query['fields'] = fields unless fields.nil?
|
1508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1509
|
+
execute_or_queue_command(command, &block)
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
# Lists the entitlements in a given project.
|
1513
|
+
# @param [String] parent
|
1514
|
+
# Required. The parent value for the entitlement in the following format:
|
1515
|
+
# projects/`project`/locations/`location`.
|
1516
|
+
# @param [Fixnum] page_size
|
1517
|
+
# Optional. The maximum number of items to return. If unspecified, a maximum of
|
1518
|
+
# 50 entitlements will be returned. The maximum value is 1000.
|
1519
|
+
# @param [String] page_token
|
1520
|
+
# Optional. A token identifying a page of results the server should return.
|
1521
|
+
# @param [String] fields
|
1522
|
+
# Selector specifying which fields to include in a partial response.
|
1523
|
+
# @param [String] quota_user
|
1524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1526
|
+
# @param [Google::Apis::RequestOptions] options
|
1527
|
+
# Request-specific options
|
1528
|
+
#
|
1529
|
+
# @yield [result, err] Result & error if block supplied
|
1530
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListEntitlementsResponse] parsed result object
|
1531
|
+
# @yieldparam err [StandardError] error object if request failed
|
1532
|
+
#
|
1533
|
+
# @return [Google::Apis::OracledatabaseV1::ListEntitlementsResponse]
|
1534
|
+
#
|
1535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1538
|
+
def list_project_location_entitlements(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1539
|
+
command = make_simple_command(:get, 'v1/{+parent}/entitlements', options)
|
1540
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListEntitlementsResponse::Representation
|
1541
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListEntitlementsResponse
|
1542
|
+
command.params['parent'] = parent unless parent.nil?
|
1543
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1544
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1545
|
+
command.query['fields'] = fields unless fields.nil?
|
1546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1547
|
+
execute_or_queue_command(command, &block)
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
# Creates a new Exadb (Exascale) VM Cluster resource.
|
1551
|
+
# @param [String] parent
|
1552
|
+
# Required. The value for parent of the ExadbVmCluster in the following format:
|
1553
|
+
# projects/`project`/locations/`location`.
|
1554
|
+
# @param [Google::Apis::OracledatabaseV1::ExadbVmCluster] exadb_vm_cluster_object
|
1555
|
+
# @param [String] exadb_vm_cluster_id
|
1556
|
+
# Required. The ID of the ExadbVmCluster to create. This value is restricted to (
|
1557
|
+
# ^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
|
1558
|
+
# length. The value must start with a letter and end with a letter or a number.
|
1559
|
+
# @param [String] request_id
|
1560
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1561
|
+
# request ID so that if you must retry your request, the server will know to
|
1562
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1563
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1564
|
+
# situation where you make an initial request and the request times out. If you
|
1565
|
+
# make the request again with the same request ID, the server can check if
|
1566
|
+
# original operation with the same request ID was received, and if so, will
|
1567
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1568
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1569
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1570
|
+
# @param [String] fields
|
1571
|
+
# Selector specifying which fields to include in a partial response.
|
1572
|
+
# @param [String] quota_user
|
1573
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1574
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1575
|
+
# @param [Google::Apis::RequestOptions] options
|
1576
|
+
# Request-specific options
|
1577
|
+
#
|
1578
|
+
# @yield [result, err] Result & error if block supplied
|
1579
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
1580
|
+
# @yieldparam err [StandardError] error object if request failed
|
1581
|
+
#
|
1582
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
1583
|
+
#
|
1584
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1585
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1586
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1587
|
+
def create_project_location_exadb_vm_cluster(parent, exadb_vm_cluster_object = nil, exadb_vm_cluster_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1588
|
+
command = make_simple_command(:post, 'v1/{+parent}/exadbVmClusters', options)
|
1589
|
+
command.request_representation = Google::Apis::OracledatabaseV1::ExadbVmCluster::Representation
|
1590
|
+
command.request_object = exadb_vm_cluster_object
|
1591
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1592
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1593
|
+
command.params['parent'] = parent unless parent.nil?
|
1594
|
+
command.query['exadbVmClusterId'] = exadb_vm_cluster_id unless exadb_vm_cluster_id.nil?
|
1595
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1596
|
+
command.query['fields'] = fields unless fields.nil?
|
1597
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1598
|
+
execute_or_queue_command(command, &block)
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
# Deletes a single Exadb (Exascale) VM Cluster.
|
1602
|
+
# @param [String] name
|
1603
|
+
# Required. The name of the ExadbVmCluster in the following format: projects/`
|
1604
|
+
# project`/locations/`location`/exadbVmClusters/`exadb_vm_cluster`.
|
1605
|
+
# @param [String] request_id
|
1606
|
+
# Optional. An optional ID to identify the request. This value is used to
|
1607
|
+
# identify duplicate requests. If you make a request with the same request ID
|
1608
|
+
# and the original request is still in progress or completed, the server ignores
|
1609
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
1610
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1611
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1612
|
+
# @param [String] fields
|
1613
|
+
# Selector specifying which fields to include in a partial response.
|
1614
|
+
# @param [String] quota_user
|
1615
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1616
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1617
|
+
# @param [Google::Apis::RequestOptions] options
|
1618
|
+
# Request-specific options
|
1619
|
+
#
|
1620
|
+
# @yield [result, err] Result & error if block supplied
|
1621
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
1622
|
+
# @yieldparam err [StandardError] error object if request failed
|
1623
|
+
#
|
1624
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
1625
|
+
#
|
1626
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1627
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1628
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1629
|
+
def delete_project_location_exadb_vm_cluster(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1630
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1631
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1632
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1633
|
+
command.params['name'] = name unless name.nil?
|
1634
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1635
|
+
command.query['fields'] = fields unless fields.nil?
|
1636
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1637
|
+
execute_or_queue_command(command, &block)
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
# Gets details of a single Exadb (Exascale) VM Cluster.
|
1641
|
+
# @param [String] name
|
1642
|
+
# Required. The name of the ExadbVmCluster in the following format: projects/`
|
1643
|
+
# project`/locations/`location`/exadbVmClusters/`exadb_vm_cluster`.
|
1644
|
+
# @param [String] fields
|
1645
|
+
# Selector specifying which fields to include in a partial response.
|
1646
|
+
# @param [String] quota_user
|
1647
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1648
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1649
|
+
# @param [Google::Apis::RequestOptions] options
|
1650
|
+
# Request-specific options
|
1651
|
+
#
|
1652
|
+
# @yield [result, err] Result & error if block supplied
|
1653
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ExadbVmCluster] parsed result object
|
1654
|
+
# @yieldparam err [StandardError] error object if request failed
|
1655
|
+
#
|
1656
|
+
# @return [Google::Apis::OracledatabaseV1::ExadbVmCluster]
|
1657
|
+
#
|
1658
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1659
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1660
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1661
|
+
def get_project_location_exadb_vm_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
|
1662
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1663
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ExadbVmCluster::Representation
|
1664
|
+
command.response_class = Google::Apis::OracledatabaseV1::ExadbVmCluster
|
1665
|
+
command.params['name'] = name unless name.nil?
|
1666
|
+
command.query['fields'] = fields unless fields.nil?
|
1667
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1668
|
+
execute_or_queue_command(command, &block)
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
# Lists all the Exadb (Exascale) VM Clusters for the given project and location.
|
1672
|
+
# @param [String] parent
|
1673
|
+
# Required. The parent value for ExadbVmClusters in the following format:
|
1674
|
+
# projects/`project`/locations/`location`.
|
1675
|
+
# @param [String] filter
|
1676
|
+
# Optional. An expression for filtering the results of the request.
|
1677
|
+
# @param [String] order_by
|
1678
|
+
# Optional. An expression for ordering the results of the request.
|
1679
|
+
# @param [Fixnum] page_size
|
1680
|
+
# Optional. The maximum number of items to return. If unspecified, at most 50
|
1681
|
+
# ExadbVmClusters will be returned. The maximum value is 1000; values above 1000
|
1682
|
+
# will be coerced to 1000.
|
1683
|
+
# @param [String] page_token
|
1684
|
+
# Optional. A token identifying a page of results the server should return.
|
1685
|
+
# @param [String] fields
|
1686
|
+
# Selector specifying which fields to include in a partial response.
|
1687
|
+
# @param [String] quota_user
|
1688
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1689
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1690
|
+
# @param [Google::Apis::RequestOptions] options
|
1691
|
+
# Request-specific options
|
1692
|
+
#
|
1693
|
+
# @yield [result, err] Result & error if block supplied
|
1694
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse] parsed result object
|
1695
|
+
# @yieldparam err [StandardError] error object if request failed
|
1696
|
+
#
|
1697
|
+
# @return [Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse]
|
1698
|
+
#
|
1699
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1700
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1701
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1702
|
+
def list_project_location_exadb_vm_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1703
|
+
command = make_simple_command(:get, 'v1/{+parent}/exadbVmClusters', options)
|
1704
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse::Representation
|
1705
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse
|
1706
|
+
command.params['parent'] = parent unless parent.nil?
|
1707
|
+
command.query['filter'] = filter unless filter.nil?
|
1708
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1709
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1710
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1711
|
+
command.query['fields'] = fields unless fields.nil?
|
1712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1713
|
+
execute_or_queue_command(command, &block)
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to
|
1717
|
+
# existing exadb vm cluster, only pass the node count.
|
1718
|
+
# @param [String] name
|
1719
|
+
# Identifier. The name of the ExadbVmCluster resource in the following format:
|
1720
|
+
# projects/`project`/locations/`region`/exadbVmClusters/`exadb_vm_cluster`
|
1721
|
+
# @param [Google::Apis::OracledatabaseV1::ExadbVmCluster] exadb_vm_cluster_object
|
1722
|
+
# @param [String] request_id
|
1723
|
+
# Optional. An optional ID to identify the request. This value is used to
|
1724
|
+
# identify duplicate requests. If you make a request with the same request ID
|
1725
|
+
# and the original request is still in progress or completed, the server ignores
|
1726
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
1727
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1728
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1729
|
+
# @param [String] update_mask
|
1730
|
+
# Optional. A mask specifying which fields in th VM Cluster should be updated. A
|
1731
|
+
# field specified in the mask is overwritten. If a mask isn't provided then all
|
1732
|
+
# the fields in the VM Cluster are overwritten.
|
1733
|
+
# @param [String] fields
|
1734
|
+
# Selector specifying which fields to include in a partial response.
|
1735
|
+
# @param [String] quota_user
|
1736
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1737
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1738
|
+
# @param [Google::Apis::RequestOptions] options
|
1739
|
+
# Request-specific options
|
1740
|
+
#
|
1741
|
+
# @yield [result, err] Result & error if block supplied
|
1742
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
1743
|
+
# @yieldparam err [StandardError] error object if request failed
|
1744
|
+
#
|
1745
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
1746
|
+
#
|
1747
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1748
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1749
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1750
|
+
def patch_project_location_exadb_vm_cluster(name, exadb_vm_cluster_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1751
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1752
|
+
command.request_representation = Google::Apis::OracledatabaseV1::ExadbVmCluster::Representation
|
1753
|
+
command.request_object = exadb_vm_cluster_object
|
1754
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1755
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1756
|
+
command.params['name'] = name unless name.nil?
|
1757
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1758
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1759
|
+
command.query['fields'] = fields unless fields.nil?
|
1760
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1761
|
+
execute_or_queue_command(command, &block)
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# Removes virtual machines from an existing exadb vm cluster.
|
1765
|
+
# @param [String] name
|
1766
|
+
# Required. The name of the ExadbVmCluster in the following format: projects/`
|
1767
|
+
# project`/locations/`location`/exadbVmClusters/`exadb_vm_cluster`.
|
1768
|
+
# @param [Google::Apis::OracledatabaseV1::RemoveVirtualMachineExadbVmClusterRequest] remove_virtual_machine_exadb_vm_cluster_request_object
|
1769
|
+
# @param [String] fields
|
1770
|
+
# Selector specifying which fields to include in a partial response.
|
1771
|
+
# @param [String] quota_user
|
1772
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1773
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1774
|
+
# @param [Google::Apis::RequestOptions] options
|
1775
|
+
# Request-specific options
|
1776
|
+
#
|
1777
|
+
# @yield [result, err] Result & error if block supplied
|
1778
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
1779
|
+
# @yieldparam err [StandardError] error object if request failed
|
1780
|
+
#
|
1781
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
1782
|
+
#
|
1783
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1784
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1785
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1786
|
+
def remove_virtual_machine_exadb_vm_cluster(name, remove_virtual_machine_exadb_vm_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1787
|
+
command = make_simple_command(:post, 'v1/{+name}:removeVirtualMachine', options)
|
1788
|
+
command.request_representation = Google::Apis::OracledatabaseV1::RemoveVirtualMachineExadbVmClusterRequest::Representation
|
1789
|
+
command.request_object = remove_virtual_machine_exadb_vm_cluster_request_object
|
1790
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1791
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1792
|
+
command.params['name'] = name unless name.nil?
|
1793
|
+
command.query['fields'] = fields unless fields.nil?
|
1794
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1795
|
+
execute_or_queue_command(command, &block)
|
1796
|
+
end
|
1797
|
+
|
1798
|
+
# Creates a new ExascaleDB Storage Vault resource.
|
1799
|
+
# @param [String] parent
|
1800
|
+
# Required. The value for parent of the ExascaleDbStorageVault in the following
|
1801
|
+
# format: projects/`project`/locations/`location`.
|
1802
|
+
# @param [Google::Apis::OracledatabaseV1::ExascaleDbStorageVault] exascale_db_storage_vault_object
|
1803
|
+
# @param [String] exascale_db_storage_vault_id
|
1804
|
+
# Required. The ID of the ExascaleDbStorageVault to create. This value is
|
1805
|
+
# restricted to (^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63
|
1806
|
+
# characters in length. The value must start with a letter and end with a letter
|
1807
|
+
# or a number.
|
1808
|
+
# @param [String] request_id
|
1809
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1810
|
+
# request ID so that if you must retry your request, the server will know to
|
1811
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1812
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1813
|
+
# situation where you make an initial request and the request times out. If you
|
1814
|
+
# make the request again with the same request ID, the server can check if
|
1815
|
+
# original operation with the same request ID was received, and if so, will
|
1816
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1817
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1818
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1819
|
+
# @param [String] fields
|
1820
|
+
# Selector specifying which fields to include in a partial response.
|
1821
|
+
# @param [String] quota_user
|
1822
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1823
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1824
|
+
# @param [Google::Apis::RequestOptions] options
|
1825
|
+
# Request-specific options
|
1826
|
+
#
|
1827
|
+
# @yield [result, err] Result & error if block supplied
|
1828
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
1829
|
+
# @yieldparam err [StandardError] error object if request failed
|
1830
|
+
#
|
1831
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
1832
|
+
#
|
1833
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1834
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1835
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1836
|
+
def create_project_location_exascale_db_storage_vault(parent, exascale_db_storage_vault_object = nil, exascale_db_storage_vault_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1837
|
+
command = make_simple_command(:post, 'v1/{+parent}/exascaleDbStorageVaults', options)
|
1838
|
+
command.request_representation = Google::Apis::OracledatabaseV1::ExascaleDbStorageVault::Representation
|
1839
|
+
command.request_object = exascale_db_storage_vault_object
|
1840
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1841
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1842
|
+
command.params['parent'] = parent unless parent.nil?
|
1843
|
+
command.query['exascaleDbStorageVaultId'] = exascale_db_storage_vault_id unless exascale_db_storage_vault_id.nil?
|
1844
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1845
|
+
command.query['fields'] = fields unless fields.nil?
|
1846
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1847
|
+
execute_or_queue_command(command, &block)
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
# Deletes a single ExascaleDB Storage Vault.
|
1851
|
+
# @param [String] name
|
1852
|
+
# Required. The name of the ExascaleDbStorageVault in the following format:
|
1853
|
+
# projects/`project`/locations/`location`/exascaleDbStorageVaults/`
|
1854
|
+
# exascale_db_storage_vault`.
|
1855
|
+
# @param [String] request_id
|
1856
|
+
# Optional. An optional ID to identify the request. This value is used to
|
1857
|
+
# identify duplicate requests. If you make a request with the same request ID
|
1858
|
+
# and the original request is still in progress or completed, the server ignores
|
1859
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
1860
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1861
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1862
|
+
# @param [String] fields
|
1863
|
+
# Selector specifying which fields to include in a partial response.
|
1864
|
+
# @param [String] quota_user
|
1865
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1866
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1867
|
+
# @param [Google::Apis::RequestOptions] options
|
1868
|
+
# Request-specific options
|
1869
|
+
#
|
1870
|
+
# @yield [result, err] Result & error if block supplied
|
1871
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
1872
|
+
# @yieldparam err [StandardError] error object if request failed
|
1873
|
+
#
|
1874
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
1875
|
+
#
|
1876
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1877
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1878
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1879
|
+
def delete_project_location_exascale_db_storage_vault(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1880
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1881
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
1882
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
1883
|
+
command.params['name'] = name unless name.nil?
|
1884
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1885
|
+
command.query['fields'] = fields unless fields.nil?
|
1886
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1887
|
+
execute_or_queue_command(command, &block)
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
# Gets details of a single ExascaleDB Storage Vault.
|
1891
|
+
# @param [String] name
|
1892
|
+
# Required. The name of the ExascaleDbStorageVault in the following format:
|
1893
|
+
# projects/`project`/locations/`location`/exascaleDbStorageVaults/`
|
1894
|
+
# exascale_db_storage_vault`.
|
1895
|
+
# @param [String] fields
|
1896
|
+
# Selector specifying which fields to include in a partial response.
|
1897
|
+
# @param [String] quota_user
|
1898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1900
|
+
# @param [Google::Apis::RequestOptions] options
|
1901
|
+
# Request-specific options
|
1902
|
+
#
|
1903
|
+
# @yield [result, err] Result & error if block supplied
|
1904
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ExascaleDbStorageVault] parsed result object
|
1905
|
+
# @yieldparam err [StandardError] error object if request failed
|
1906
|
+
#
|
1907
|
+
# @return [Google::Apis::OracledatabaseV1::ExascaleDbStorageVault]
|
1908
|
+
#
|
1909
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1910
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1911
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1912
|
+
def get_project_location_exascale_db_storage_vault(name, fields: nil, quota_user: nil, options: nil, &block)
|
1913
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1914
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ExascaleDbStorageVault::Representation
|
1915
|
+
command.response_class = Google::Apis::OracledatabaseV1::ExascaleDbStorageVault
|
1916
|
+
command.params['name'] = name unless name.nil?
|
1917
|
+
command.query['fields'] = fields unless fields.nil?
|
1918
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1919
|
+
execute_or_queue_command(command, &block)
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
# Lists all the ExascaleDB Storage Vaults for the given project and location.
|
1923
|
+
# @param [String] parent
|
1924
|
+
# Required. The parent value for ExascaleDbStorageVault in the following format:
|
1925
|
+
# projects/`project`/locations/`location`.
|
1926
|
+
# @param [String] filter
|
1927
|
+
# Optional. An expression for filtering the results of the request. Filter the
|
1928
|
+
# list as specified in https://google.aip.dev/160.
|
1929
|
+
# @param [String] order_by
|
1930
|
+
# Optional. An expression for ordering the results of the request. Order results
|
1931
|
+
# as specified in https://google.aip.dev/132.
|
1932
|
+
# @param [Fixnum] page_size
|
1933
|
+
# Optional. The maximum number of items to return. If unspecified, at most 50
|
1934
|
+
# ExascaleDbStorageVaults will be returned. The maximum value is 1000; values
|
1935
|
+
# above 1000 will be coerced to 1000.
|
1936
|
+
# @param [String] page_token
|
1937
|
+
# Optional. A token identifying a page of results the server should return.
|
1938
|
+
# @param [String] fields
|
1939
|
+
# Selector specifying which fields to include in a partial response.
|
1940
|
+
# @param [String] quota_user
|
1941
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1942
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1943
|
+
# @param [Google::Apis::RequestOptions] options
|
1944
|
+
# Request-specific options
|
1945
|
+
#
|
1946
|
+
# @yield [result, err] Result & error if block supplied
|
1947
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse] parsed result object
|
1948
|
+
# @yieldparam err [StandardError] error object if request failed
|
1949
|
+
#
|
1950
|
+
# @return [Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse]
|
1951
|
+
#
|
1952
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1953
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1954
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1955
|
+
def list_project_location_exascale_db_storage_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1956
|
+
command = make_simple_command(:get, 'v1/{+parent}/exascaleDbStorageVaults', options)
|
1957
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse::Representation
|
1958
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse
|
1959
|
+
command.params['parent'] = parent unless parent.nil?
|
1960
|
+
command.query['filter'] = filter unless filter.nil?
|
1961
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1962
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1963
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1964
|
+
command.query['fields'] = fields unless fields.nil?
|
1965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1966
|
+
execute_or_queue_command(command, &block)
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
# Lists all the valid Oracle Grid Infrastructure (GI) versions for the given
|
1970
|
+
# project and location.
|
1971
|
+
# @param [String] parent
|
1972
|
+
# Required. The parent value for Grid Infrastructure Version in the following
|
1973
|
+
# format: Format: projects/`project`/locations/`location`.
|
1974
|
+
# @param [String] filter
|
1975
|
+
# Optional. An expression for filtering the results of the request. Only the
|
1976
|
+
# shape, gcp_oracle_zone and gi_version fields are supported in this format: `
|
1977
|
+
# shape="`shape`"`.
|
1978
|
+
# @param [Fixnum] page_size
|
1979
|
+
# Optional. The maximum number of items to return. If unspecified, a maximum of
|
1980
|
+
# 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum
|
1981
|
+
# value is 1000; values above 1000 will be reset to 1000.
|
1982
|
+
# @param [String] page_token
|
1983
|
+
# Optional. A token identifying a page of results the server should return.
|
1984
|
+
# @param [String] fields
|
1985
|
+
# Selector specifying which fields to include in a partial response.
|
1986
|
+
# @param [String] quota_user
|
1987
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1988
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1989
|
+
# @param [Google::Apis::RequestOptions] options
|
1990
|
+
# Request-specific options
|
1991
|
+
#
|
1992
|
+
# @yield [result, err] Result & error if block supplied
|
1993
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListGiVersionsResponse] parsed result object
|
1994
|
+
# @yieldparam err [StandardError] error object if request failed
|
1995
|
+
#
|
1996
|
+
# @return [Google::Apis::OracledatabaseV1::ListGiVersionsResponse]
|
1997
|
+
#
|
1998
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1999
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2000
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2001
|
+
def list_project_location_gi_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2002
|
+
command = make_simple_command(:get, 'v1/{+parent}/giVersions', options)
|
2003
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListGiVersionsResponse::Representation
|
2004
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListGiVersionsResponse
|
2005
|
+
command.params['parent'] = parent unless parent.nil?
|
2006
|
+
command.query['filter'] = filter unless filter.nil?
|
2007
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2008
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2009
|
+
command.query['fields'] = fields unless fields.nil?
|
2010
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2011
|
+
execute_or_queue_command(command, &block)
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
# Lists all the valid minor versions for the given project, location, gi version
|
2015
|
+
# and shape family.
|
2016
|
+
# @param [String] parent
|
2017
|
+
# Required. The parent value for the MinorVersion resource with the format:
|
2018
|
+
# projects/`project`/locations/`location`/giVersions/`gi_version`
|
2019
|
+
# @param [String] filter
|
2020
|
+
# Optional. An expression for filtering the results of the request. Only
|
2021
|
+
# shapeFamily and gcp_oracle_zone_id are supported in this format: `shape_family=
|
2022
|
+
# "`shapeFamily`" AND gcp_oracle_zone_id="`gcp_oracle_zone_id`"`.
|
2023
|
+
# @param [Fixnum] page_size
|
2024
|
+
# Optional. The maximum number of items to return. If unspecified, a maximum of
|
2025
|
+
# 50 System Versions will be returned. The maximum value is 1000; values above
|
2026
|
+
# 1000 will be reset to 1000.
|
2027
|
+
# @param [String] page_token
|
2028
|
+
# Optional. A token identifying the requested page of results to return. All
|
2029
|
+
# fields except the filter should remain the same as in the request that
|
2030
|
+
# provided this page token.
|
2031
|
+
# @param [String] fields
|
2032
|
+
# Selector specifying which fields to include in a partial response.
|
2033
|
+
# @param [String] quota_user
|
2034
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2035
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2036
|
+
# @param [Google::Apis::RequestOptions] options
|
2037
|
+
# Request-specific options
|
2038
|
+
#
|
2039
|
+
# @yield [result, err] Result & error if block supplied
|
2040
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListMinorVersionsResponse] parsed result object
|
2041
|
+
# @yieldparam err [StandardError] error object if request failed
|
2042
|
+
#
|
2043
|
+
# @return [Google::Apis::OracledatabaseV1::ListMinorVersionsResponse]
|
2044
|
+
#
|
2045
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2046
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2047
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2048
|
+
def list_project_location_gi_version_minor_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2049
|
+
command = make_simple_command(:get, 'v1/{+parent}/minorVersions', options)
|
2050
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListMinorVersionsResponse::Representation
|
2051
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListMinorVersionsResponse
|
2052
|
+
command.params['parent'] = parent unless parent.nil?
|
2053
|
+
command.query['filter'] = filter unless filter.nil?
|
2054
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2055
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2056
|
+
command.query['fields'] = fields unless fields.nil?
|
2057
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2058
|
+
execute_or_queue_command(command, &block)
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
# Creates a new ODB Network in a given project and location.
|
2062
|
+
# @param [String] parent
|
2063
|
+
# Required. The parent value for the OdbNetwork in the following format:
|
2064
|
+
# projects/`project`/locations/`location`.
|
2065
|
+
# @param [Google::Apis::OracledatabaseV1::OdbNetwork] odb_network_object
|
2066
|
+
# @param [String] odb_network_id
|
2067
|
+
# Required. The ID of the OdbNetwork to create. This value is restricted to (^[a-
|
2068
|
+
# z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
|
2069
|
+
# length. The value must start with a letter and end with a letter or a number.
|
2070
|
+
# @param [String] request_id
|
2071
|
+
# Optional. An optional ID to identify the request. This value is used to
|
2072
|
+
# identify duplicate requests. If you make a request with the same request ID
|
2073
|
+
# and the original request is still in progress or completed, the server ignores
|
2074
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
2075
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2076
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2077
|
+
# @param [String] fields
|
2078
|
+
# Selector specifying which fields to include in a partial response.
|
2079
|
+
# @param [String] quota_user
|
2080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2082
|
+
# @param [Google::Apis::RequestOptions] options
|
2083
|
+
# Request-specific options
|
2084
|
+
#
|
2085
|
+
# @yield [result, err] Result & error if block supplied
|
2086
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
2087
|
+
# @yieldparam err [StandardError] error object if request failed
|
2088
|
+
#
|
2089
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
2090
|
+
#
|
2091
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2092
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2093
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2094
|
+
def create_project_location_odb_network(parent, odb_network_object = nil, odb_network_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2095
|
+
command = make_simple_command(:post, 'v1/{+parent}/odbNetworks', options)
|
2096
|
+
command.request_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
|
2097
|
+
command.request_object = odb_network_object
|
2098
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
2099
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
2100
|
+
command.params['parent'] = parent unless parent.nil?
|
2101
|
+
command.query['odbNetworkId'] = odb_network_id unless odb_network_id.nil?
|
2102
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2103
|
+
command.query['fields'] = fields unless fields.nil?
|
2104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2105
|
+
execute_or_queue_command(command, &block)
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
# Deletes a single ODB Network.
|
2109
|
+
# @param [String] name
|
2110
|
+
# Required. The name of the resource in the following format: projects/`project`/
|
2111
|
+
# locations/`location`/odbNetworks/`odb_network`.
|
2112
|
+
# @param [String] request_id
|
2113
|
+
# Optional. An optional ID to identify the request. This value is used to
|
2114
|
+
# identify duplicate requests. If you make a request with the same request ID
|
2115
|
+
# and the original request is still in progress or completed, the server ignores
|
2116
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
2117
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2118
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2119
|
+
# @param [String] fields
|
2120
|
+
# Selector specifying which fields to include in a partial response.
|
2121
|
+
# @param [String] quota_user
|
2122
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2123
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2124
|
+
# @param [Google::Apis::RequestOptions] options
|
2125
|
+
# Request-specific options
|
2126
|
+
#
|
2127
|
+
# @yield [result, err] Result & error if block supplied
|
2128
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
2129
|
+
# @yieldparam err [StandardError] error object if request failed
|
2130
|
+
#
|
2131
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
2132
|
+
#
|
2133
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2134
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2135
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2136
|
+
def delete_project_location_odb_network(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2137
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2138
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
2139
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
2140
|
+
command.params['name'] = name unless name.nil?
|
2141
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2142
|
+
command.query['fields'] = fields unless fields.nil?
|
2143
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2144
|
+
execute_or_queue_command(command, &block)
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
# Gets details of a single ODB Network.
|
2148
|
+
# @param [String] name
|
2149
|
+
# Required. The name of the OdbNetwork in the following format: projects/`
|
2150
|
+
# project`/locations/`location`/odbNetworks/`odb_network`.
|
2151
|
+
# @param [String] fields
|
2152
|
+
# Selector specifying which fields to include in a partial response.
|
2153
|
+
# @param [String] quota_user
|
2154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2156
|
+
# @param [Google::Apis::RequestOptions] options
|
2157
|
+
# Request-specific options
|
2158
|
+
#
|
2159
|
+
# @yield [result, err] Result & error if block supplied
|
2160
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::OdbNetwork] parsed result object
|
2161
|
+
# @yieldparam err [StandardError] error object if request failed
|
2162
|
+
#
|
2163
|
+
# @return [Google::Apis::OracledatabaseV1::OdbNetwork]
|
2164
|
+
#
|
2165
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2166
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2167
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2168
|
+
def get_project_location_odb_network(name, fields: nil, quota_user: nil, options: nil, &block)
|
2169
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2170
|
+
command.response_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
|
2171
|
+
command.response_class = Google::Apis::OracledatabaseV1::OdbNetwork
|
2172
|
+
command.params['name'] = name unless name.nil?
|
2173
|
+
command.query['fields'] = fields unless fields.nil?
|
2174
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2175
|
+
execute_or_queue_command(command, &block)
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
# Lists the ODB Networks in a given project and location.
|
2179
|
+
# @param [String] parent
|
2180
|
+
# Required. The parent value for the ODB Network in the following format:
|
2181
|
+
# projects/`project`/locations/`location`.
|
2182
|
+
# @param [String] filter
|
2183
|
+
# Optional. An expression for filtering the results of the request.
|
2184
|
+
# @param [String] order_by
|
2185
|
+
# Optional. An expression for ordering the results of the request.
|
2186
|
+
# @param [Fixnum] page_size
|
2187
|
+
# Optional. The maximum number of items to return. If unspecified, at most 50
|
2188
|
+
# ODB Networks will be returned. The maximum value is 1000; values above 1000
|
2189
|
+
# will be coerced to 1000.
|
2190
|
+
# @param [String] page_token
|
2191
|
+
# Optional. A token identifying a page of results the server should return.
|
2192
|
+
# @param [String] fields
|
2193
|
+
# Selector specifying which fields to include in a partial response.
|
2194
|
+
# @param [String] quota_user
|
2195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2197
|
+
# @param [Google::Apis::RequestOptions] options
|
2198
|
+
# Request-specific options
|
2199
|
+
#
|
2200
|
+
# @yield [result, err] Result & error if block supplied
|
2201
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse] parsed result object
|
2202
|
+
# @yieldparam err [StandardError] error object if request failed
|
2203
|
+
#
|
2204
|
+
# @return [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse]
|
2205
|
+
#
|
2206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2209
|
+
def list_project_location_odb_networks(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2210
|
+
command = make_simple_command(:get, 'v1/{+parent}/odbNetworks', options)
|
2211
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse::Representation
|
2212
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse
|
2213
|
+
command.params['parent'] = parent unless parent.nil?
|
2214
|
+
command.query['filter'] = filter unless filter.nil?
|
2215
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2216
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2217
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2218
|
+
command.query['fields'] = fields unless fields.nil?
|
2219
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2220
|
+
execute_or_queue_command(command, &block)
|
2221
|
+
end
|
2222
|
+
|
2223
|
+
# Creates a new ODB Subnet in a given ODB Network.
|
2224
|
+
# @param [String] parent
|
2225
|
+
# Required. The parent value for the OdbSubnet in the following format: projects/
|
2226
|
+
# `project`/locations/`location`/odbNetworks/`odb_network`.
|
2227
|
+
# @param [Google::Apis::OracledatabaseV1::OdbSubnet] odb_subnet_object
|
2228
|
+
# @param [String] odb_subnet_id
|
2229
|
+
# Required. The ID of the OdbSubnet to create. This value is restricted to (^[a-
|
2230
|
+
# z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
|
2231
|
+
# length. The value must start with a letter and end with a letter or a number.
|
2232
|
+
# @param [String] request_id
|
2233
|
+
# Optional. An optional ID to identify the request. This value is used to
|
2234
|
+
# identify duplicate requests. If you make a request with the same request ID
|
2235
|
+
# and the original request is still in progress or completed, the server ignores
|
2236
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
2237
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2238
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2239
|
+
# @param [String] fields
|
2240
|
+
# Selector specifying which fields to include in a partial response.
|
2241
|
+
# @param [String] quota_user
|
2242
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2243
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2244
|
+
# @param [Google::Apis::RequestOptions] options
|
2245
|
+
# Request-specific options
|
2246
|
+
#
|
2247
|
+
# @yield [result, err] Result & error if block supplied
|
2248
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
2249
|
+
# @yieldparam err [StandardError] error object if request failed
|
2250
|
+
#
|
2251
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
2252
|
+
#
|
2253
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2254
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2255
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2256
|
+
def create_project_location_odb_network_odb_subnet(parent, odb_subnet_object = nil, odb_subnet_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2257
|
+
command = make_simple_command(:post, 'v1/{+parent}/odbSubnets', options)
|
2258
|
+
command.request_representation = Google::Apis::OracledatabaseV1::OdbSubnet::Representation
|
2259
|
+
command.request_object = odb_subnet_object
|
2260
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
2261
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
2262
|
+
command.params['parent'] = parent unless parent.nil?
|
2263
|
+
command.query['odbSubnetId'] = odb_subnet_id unless odb_subnet_id.nil?
|
2264
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2265
|
+
command.query['fields'] = fields unless fields.nil?
|
2266
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2267
|
+
execute_or_queue_command(command, &block)
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
# Deletes a single ODB Subnet.
|
2271
|
+
# @param [String] name
|
2272
|
+
# Required. The name of the resource in the following format: projects/`project`/
|
2273
|
+
# locations/`region`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`.
|
2274
|
+
# @param [String] request_id
|
2275
|
+
# Optional. An optional ID to identify the request. This value is used to
|
2276
|
+
# identify duplicate requests. If you make a request with the same request ID
|
2277
|
+
# and the original request is still in progress or completed, the server ignores
|
2278
|
+
# the second request. This prevents clients from accidentally creating duplicate
|
2279
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2280
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2281
|
+
# @param [String] fields
|
2282
|
+
# Selector specifying which fields to include in a partial response.
|
2283
|
+
# @param [String] quota_user
|
2284
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2285
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2286
|
+
# @param [Google::Apis::RequestOptions] options
|
2287
|
+
# Request-specific options
|
2288
|
+
#
|
2289
|
+
# @yield [result, err] Result & error if block supplied
|
2290
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
2291
|
+
# @yieldparam err [StandardError] error object if request failed
|
2292
|
+
#
|
2293
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
2294
|
+
#
|
2295
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2296
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2297
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2298
|
+
def delete_project_location_odb_network_odb_subnet(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2299
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2300
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
2301
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
2302
|
+
command.params['name'] = name unless name.nil?
|
2303
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2304
|
+
command.query['fields'] = fields unless fields.nil?
|
2305
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2306
|
+
execute_or_queue_command(command, &block)
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# Gets details of a single ODB Subnet.
|
2310
|
+
# @param [String] name
|
2311
|
+
# Required. The name of the OdbSubnet in the following format: projects/`project`
|
2312
|
+
# /locations/`location`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`.
|
2313
|
+
# @param [String] fields
|
2314
|
+
# Selector specifying which fields to include in a partial response.
|
2315
|
+
# @param [String] quota_user
|
2316
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2317
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2318
|
+
# @param [Google::Apis::RequestOptions] options
|
2319
|
+
# Request-specific options
|
2320
|
+
#
|
2321
|
+
# @yield [result, err] Result & error if block supplied
|
2322
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::OdbSubnet] parsed result object
|
2323
|
+
# @yieldparam err [StandardError] error object if request failed
|
2324
|
+
#
|
2325
|
+
# @return [Google::Apis::OracledatabaseV1::OdbSubnet]
|
2326
|
+
#
|
2327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2330
|
+
def get_project_location_odb_network_odb_subnet(name, fields: nil, quota_user: nil, options: nil, &block)
|
2331
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2332
|
+
command.response_representation = Google::Apis::OracledatabaseV1::OdbSubnet::Representation
|
2333
|
+
command.response_class = Google::Apis::OracledatabaseV1::OdbSubnet
|
2334
|
+
command.params['name'] = name unless name.nil?
|
2335
|
+
command.query['fields'] = fields unless fields.nil?
|
2336
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2337
|
+
execute_or_queue_command(command, &block)
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
# Lists all the ODB Subnets in a given ODB Network.
|
2341
|
+
# @param [String] parent
|
2342
|
+
# Required. The parent value for the OdbSubnet in the following format: projects/
|
2343
|
+
# `project`/locations/`location`/odbNetworks/`odb_network`.
|
2344
|
+
# @param [String] filter
|
2345
|
+
# Optional. An expression for filtering the results of the request.
|
2346
|
+
# @param [String] order_by
|
2347
|
+
# Optional. An expression for ordering the results of the request.
|
2348
|
+
# @param [Fixnum] page_size
|
2349
|
+
# Optional. The maximum number of items to return. If unspecified, at most 50
|
2350
|
+
# ODB Networks will be returned. The maximum value is 1000; values above 1000
|
2351
|
+
# will be coerced to 1000.
|
2352
|
+
# @param [String] page_token
|
2353
|
+
# Optional. A token identifying a page of results the server should return.
|
2354
|
+
# @param [String] fields
|
2355
|
+
# Selector specifying which fields to include in a partial response.
|
2356
|
+
# @param [String] quota_user
|
2357
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2358
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2359
|
+
# @param [Google::Apis::RequestOptions] options
|
2360
|
+
# Request-specific options
|
2361
|
+
#
|
2362
|
+
# @yield [result, err] Result & error if block supplied
|
2363
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse] parsed result object
|
2364
|
+
# @yieldparam err [StandardError] error object if request failed
|
2365
|
+
#
|
2366
|
+
# @return [Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse]
|
2367
|
+
#
|
2368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2371
|
+
def list_project_location_odb_network_odb_subnets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2372
|
+
command = make_simple_command(:get, 'v1/{+parent}/odbSubnets', options)
|
2373
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse::Representation
|
2374
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse
|
2375
|
+
command.params['parent'] = parent unless parent.nil?
|
2376
|
+
command.query['filter'] = filter unless filter.nil?
|
2377
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2378
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2379
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2380
|
+
command.query['fields'] = fields unless fields.nil?
|
2381
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2382
|
+
execute_or_queue_command(command, &block)
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1503
2386
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1504
2387
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1505
2388
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
@@ -1642,6 +2525,85 @@ module Google
|
|
1642
2525
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1643
2526
|
execute_or_queue_command(command, &block)
|
1644
2527
|
end
|
2528
|
+
|
2529
|
+
# Gets details of a single PluggableDatabase.
|
2530
|
+
# @param [String] name
|
2531
|
+
# Required. The name of the PluggableDatabase resource in the following format:
|
2532
|
+
# projects/`project`/locations/`region`/pluggableDatabases/`pluggable_database`
|
2533
|
+
# @param [String] fields
|
2534
|
+
# Selector specifying which fields to include in a partial response.
|
2535
|
+
# @param [String] quota_user
|
2536
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2537
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2538
|
+
# @param [Google::Apis::RequestOptions] options
|
2539
|
+
# Request-specific options
|
2540
|
+
#
|
2541
|
+
# @yield [result, err] Result & error if block supplied
|
2542
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::PluggableDatabase] parsed result object
|
2543
|
+
# @yieldparam err [StandardError] error object if request failed
|
2544
|
+
#
|
2545
|
+
# @return [Google::Apis::OracledatabaseV1::PluggableDatabase]
|
2546
|
+
#
|
2547
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2548
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2549
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2550
|
+
def get_project_location_pluggable_database(name, fields: nil, quota_user: nil, options: nil, &block)
|
2551
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2552
|
+
command.response_representation = Google::Apis::OracledatabaseV1::PluggableDatabase::Representation
|
2553
|
+
command.response_class = Google::Apis::OracledatabaseV1::PluggableDatabase
|
2554
|
+
command.params['name'] = name unless name.nil?
|
2555
|
+
command.query['fields'] = fields unless fields.nil?
|
2556
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2557
|
+
execute_or_queue_command(command, &block)
|
2558
|
+
end
|
2559
|
+
|
2560
|
+
# Lists all the PluggableDatabases for the given project, location and Container
|
2561
|
+
# Database.
|
2562
|
+
# @param [String] parent
|
2563
|
+
# Required. The parent, which owns this collection of PluggableDatabases. Format:
|
2564
|
+
# projects/`project`/locations/`location`
|
2565
|
+
# @param [String] filter
|
2566
|
+
# Optional. An expression for filtering the results of the request. List for
|
2567
|
+
# pluggable databases is supported only with a valid container database (full
|
2568
|
+
# resource name) filter in this format: `database="projects/`project`/locations/`
|
2569
|
+
# location`/databases/`database`"`
|
2570
|
+
# @param [Fixnum] page_size
|
2571
|
+
# Optional. The maximum number of PluggableDatabases to return. The service may
|
2572
|
+
# return fewer than this value.
|
2573
|
+
# @param [String] page_token
|
2574
|
+
# Optional. A page token, received from a previous `ListPluggableDatabases` call.
|
2575
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
2576
|
+
# parameters provided to `ListPluggableDatabases` must match the call that
|
2577
|
+
# provided the page token.
|
2578
|
+
# @param [String] fields
|
2579
|
+
# Selector specifying which fields to include in a partial response.
|
2580
|
+
# @param [String] quota_user
|
2581
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2582
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2583
|
+
# @param [Google::Apis::RequestOptions] options
|
2584
|
+
# Request-specific options
|
2585
|
+
#
|
2586
|
+
# @yield [result, err] Result & error if block supplied
|
2587
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse] parsed result object
|
2588
|
+
# @yieldparam err [StandardError] error object if request failed
|
2589
|
+
#
|
2590
|
+
# @return [Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse]
|
2591
|
+
#
|
2592
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2593
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2594
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2595
|
+
def list_project_location_pluggable_databases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2596
|
+
command = make_simple_command(:get, 'v1/{+parent}/pluggableDatabases', options)
|
2597
|
+
command.response_representation = Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse::Representation
|
2598
|
+
command.response_class = Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse
|
2599
|
+
command.params['parent'] = parent unless parent.nil?
|
2600
|
+
command.query['filter'] = filter unless filter.nil?
|
2601
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2602
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2603
|
+
command.query['fields'] = fields unless fields.nil?
|
2604
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2605
|
+
execute_or_queue_command(command, &block)
|
2606
|
+
end
|
1645
2607
|
|
1646
2608
|
protected
|
1647
2609
|
|