google-apis-oracledatabase_v1 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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:
@@ -420,6 +456,56 @@ module Google
420
456
  execute_or_queue_command(command, &block)
421
457
  end
422
458
 
459
+ # Updates the parameters of a single Autonomous Database.
460
+ # @param [String] name
461
+ # Identifier. The name of the Autonomous Database resource in the following
462
+ # format: projects/`project`/locations/`region`/autonomousDatabases/`
463
+ # autonomous_database`
464
+ # @param [Google::Apis::OracledatabaseV1::AutonomousDatabase] autonomous_database_object
465
+ # @param [String] request_id
466
+ # Optional. An optional ID to identify the request. This value is used to
467
+ # identify duplicate requests. If you make a request with the same request ID
468
+ # and the original request is still in progress or completed, the server ignores
469
+ # the second request. This prevents clients from accidentally creating duplicate
470
+ # commitments. The request ID must be a valid UUID with the exception that zero
471
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
472
+ # @param [String] update_mask
473
+ # Optional. Field mask is used to specify the fields to be overwritten in the
474
+ # Exadata resource by the update. The fields specified in the update_mask are
475
+ # relative to the resource, not the full request. A field will be overwritten if
476
+ # it is in the mask. If the user does not provide a mask then all fields will be
477
+ # overwritten.
478
+ # @param [String] fields
479
+ # Selector specifying which fields to include in a partial response.
480
+ # @param [String] quota_user
481
+ # Available to use for quota purposes for server-side applications. Can be any
482
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
483
+ # @param [Google::Apis::RequestOptions] options
484
+ # Request-specific options
485
+ #
486
+ # @yield [result, err] Result & error if block supplied
487
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
488
+ # @yieldparam err [StandardError] error object if request failed
489
+ #
490
+ # @return [Google::Apis::OracledatabaseV1::Operation]
491
+ #
492
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
495
+ def patch_project_location_autonomous_database(name, autonomous_database_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
496
+ command = make_simple_command(:patch, 'v1/{+name}', options)
497
+ command.request_representation = Google::Apis::OracledatabaseV1::AutonomousDatabase::Representation
498
+ command.request_object = autonomous_database_object
499
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
500
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
501
+ command.params['name'] = name unless name.nil?
502
+ command.query['requestId'] = request_id unless request_id.nil?
503
+ command.query['updateMask'] = update_mask unless update_mask.nil?
504
+ command.query['fields'] = fields unless fields.nil?
505
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
506
+ execute_or_queue_command(command, &block)
507
+ end
508
+
423
509
  # Restarts an Autonomous Database.
424
510
  # @param [String] name
425
511
  # Required. The name of the Autonomous Database in the following format:
@@ -1048,20 +1134,25 @@ module Google
1048
1134
  execute_or_queue_command(command, &block)
1049
1135
  end
1050
1136
 
1051
- # Lists the database system shapes available for the project and location.
1137
+ # List DatabaseCharacterSets for the given project and location.
1052
1138
  # @param [String] parent
1053
- # Required. The parent value for Database System Shapes in the following format:
1139
+ # Required. The parent value for DatabaseCharacterSets in the following format:
1054
1140
  # projects/`project`/locations/`location`.
1055
1141
  # @param [String] filter
1056
- # Optional. An expression for filtering the results of the request. Only the
1057
- # gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id="`
1058
- # gcp_oracle_zone_id`"`.
1142
+ # Optional. An expression for filtering the results of the request. Only the **
1143
+ # character_set_type** field is supported in the following format: `
1144
+ # character_set_type="`characterSetType`"`. Accepted values include `DATABASE`
1145
+ # and `NATIONAL`.
1059
1146
  # @param [Fixnum] page_size
1060
- # Optional. The maximum number of items to return. If unspecified, at most 50
1061
- # database system shapes will be returned. The maximum value is 1000; values
1147
+ # Optional. The maximum number of DatabaseCharacterSets to return. The service
1148
+ # may return fewer than this value. If unspecified, at most 50
1149
+ # DatabaseCharacterSets will be returned. The maximum value is 1000; values
1062
1150
  # above 1000 will be coerced to 1000.
1063
1151
  # @param [String] page_token
1064
- # Optional. A token identifying a page of results the server should return.
1152
+ # Optional. A page token, received from a previous `ListDatabaseCharacterSets`
1153
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
1154
+ # parameters provided to `ListDatabaseCharacterSets` must match the call that
1155
+ # provided the page token.
1065
1156
  # @param [String] fields
1066
1157
  # Selector specifying which fields to include in a partial response.
1067
1158
  # @param [String] quota_user
@@ -1071,18 +1162,18 @@ module Google
1071
1162
  # Request-specific options
1072
1163
  #
1073
1164
  # @yield [result, err] Result & error if block supplied
1074
- # @yieldparam result [Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse] parsed result object
1165
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse] parsed result object
1075
1166
  # @yieldparam err [StandardError] error object if request failed
1076
1167
  #
1077
- # @return [Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse]
1168
+ # @return [Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse]
1078
1169
  #
1079
1170
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1080
1171
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1081
1172
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1082
- def list_project_location_db_system_shapes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1083
- command = make_simple_command(:get, 'v1/{+parent}/dbSystemShapes', options)
1084
- command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse::Representation
1085
- command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse
1173
+ def list_project_location_database_character_sets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1174
+ command = make_simple_command(:get, 'v1/{+parent}/databaseCharacterSets', options)
1175
+ command.response_representation = Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse::Representation
1176
+ command.response_class = Google::Apis::OracledatabaseV1::ListDatabaseCharacterSetsResponse
1086
1177
  command.params['parent'] = parent unless parent.nil?
1087
1178
  command.query['filter'] = filter unless filter.nil?
1088
1179
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -1092,15 +1183,54 @@ module Google
1092
1183
  execute_or_queue_command(command, &block)
1093
1184
  end
1094
1185
 
1095
- # Lists the entitlements in a given project.
1186
+ # Gets details of a single Database.
1187
+ # @param [String] name
1188
+ # Required. The name of the Database resource in the following format: projects/`
1189
+ # project`/locations/`region`/databases/`database`
1190
+ # @param [String] fields
1191
+ # Selector specifying which fields to include in a partial response.
1192
+ # @param [String] quota_user
1193
+ # Available to use for quota purposes for server-side applications. Can be any
1194
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1195
+ # @param [Google::Apis::RequestOptions] options
1196
+ # Request-specific options
1197
+ #
1198
+ # @yield [result, err] Result & error if block supplied
1199
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Database] parsed result object
1200
+ # @yieldparam err [StandardError] error object if request failed
1201
+ #
1202
+ # @return [Google::Apis::OracledatabaseV1::Database]
1203
+ #
1204
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1205
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1206
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1207
+ def get_project_location_database(name, fields: nil, quota_user: nil, options: nil, &block)
1208
+ command = make_simple_command(:get, 'v1/{+name}', options)
1209
+ command.response_representation = Google::Apis::OracledatabaseV1::Database::Representation
1210
+ command.response_class = Google::Apis::OracledatabaseV1::Database
1211
+ command.params['name'] = name unless name.nil?
1212
+ command.query['fields'] = fields unless fields.nil?
1213
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1214
+ execute_or_queue_command(command, &block)
1215
+ end
1216
+
1217
+ # Lists all the Databases for the given project, location and DbSystem.
1096
1218
  # @param [String] parent
1097
- # Required. The parent value for the entitlement in the following format:
1098
- # projects/`project`/locations/`location`.
1219
+ # Required. The parent resource name in the following format: projects/`project`/
1220
+ # locations/`region`
1221
+ # @param [String] filter
1222
+ # Optional. An expression for filtering the results of the request. list for
1223
+ # container databases is supported only with a valid dbSystem (full resource
1224
+ # name) filter in this format: `dbSystem="projects/`project`/locations/`location`
1225
+ # /dbSystems/`dbSystemId`"`
1099
1226
  # @param [Fixnum] page_size
1100
1227
  # Optional. The maximum number of items to return. If unspecified, a maximum of
1101
- # 50 entitlements will be returned. The maximum value is 1000.
1228
+ # 50 System Versions will be returned. The maximum value is 1000; values above
1229
+ # 1000 will be reset to 1000.
1102
1230
  # @param [String] page_token
1103
- # Optional. A token identifying a page of results the server should return.
1231
+ # Optional. A token identifying the requested page of results to return. All
1232
+ # fields except the filter should remain the same as in the request that
1233
+ # provided this page token.
1104
1234
  # @param [String] fields
1105
1235
  # Selector specifying which fields to include in a partial response.
1106
1236
  # @param [String] quota_user
@@ -1110,19 +1240,20 @@ module Google
1110
1240
  # Request-specific options
1111
1241
  #
1112
1242
  # @yield [result, err] Result & error if block supplied
1113
- # @yieldparam result [Google::Apis::OracledatabaseV1::ListEntitlementsResponse] parsed result object
1243
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListDatabasesResponse] parsed result object
1114
1244
  # @yieldparam err [StandardError] error object if request failed
1115
1245
  #
1116
- # @return [Google::Apis::OracledatabaseV1::ListEntitlementsResponse]
1246
+ # @return [Google::Apis::OracledatabaseV1::ListDatabasesResponse]
1117
1247
  #
1118
1248
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1119
1249
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1120
1250
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1121
- def list_project_location_entitlements(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1122
- command = make_simple_command(:get, 'v1/{+parent}/entitlements', options)
1123
- command.response_representation = Google::Apis::OracledatabaseV1::ListEntitlementsResponse::Representation
1124
- command.response_class = Google::Apis::OracledatabaseV1::ListEntitlementsResponse
1251
+ def list_project_location_databases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1252
+ command = make_simple_command(:get, 'v1/{+parent}/databases', options)
1253
+ command.response_representation = Google::Apis::OracledatabaseV1::ListDatabasesResponse::Representation
1254
+ command.response_class = Google::Apis::OracledatabaseV1::ListDatabasesResponse
1125
1255
  command.params['parent'] = parent unless parent.nil?
1256
+ command.query['filter'] = filter unless filter.nil?
1126
1257
  command.query['pageSize'] = page_size unless page_size.nil?
1127
1258
  command.query['pageToken'] = page_token unless page_token.nil?
1128
1259
  command.query['fields'] = fields unless fields.nil?
@@ -1130,19 +1261,59 @@ module Google
1130
1261
  execute_or_queue_command(command, &block)
1131
1262
  end
1132
1263
 
1133
- # Lists all the valid Oracle Grid Infrastructure (GI) versions for the given
1134
- # project and location.
1264
+ # Lists all the DbSystemInitialStorageSizes for the given project and location.
1135
1265
  # @param [String] parent
1136
- # Required. The parent value for Grid Infrastructure Version in the following
1137
- # format: Format: projects/`project`/locations/`location`.
1266
+ # Required. The parent value for the DbSystemInitialStorageSize resource with
1267
+ # the format: projects/`project`/locations/`location`
1268
+ # @param [Fixnum] page_size
1269
+ # Optional. The maximum number of items to return. If unspecified, a maximum of
1270
+ # 50 System Versions will be returned. The maximum value is 1000; values above
1271
+ # 1000 will be reset to 1000.
1272
+ # @param [String] page_token
1273
+ # Optional. A token identifying the requested page of results to return. All
1274
+ # fields except the filter should remain the same as in the request that
1275
+ # provided this page token.
1276
+ # @param [String] fields
1277
+ # Selector specifying which fields to include in a partial response.
1278
+ # @param [String] quota_user
1279
+ # Available to use for quota purposes for server-side applications. Can be any
1280
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1281
+ # @param [Google::Apis::RequestOptions] options
1282
+ # Request-specific options
1283
+ #
1284
+ # @yield [result, err] Result & error if block supplied
1285
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse] parsed result object
1286
+ # @yieldparam err [StandardError] error object if request failed
1287
+ #
1288
+ # @return [Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse]
1289
+ #
1290
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1291
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1292
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1293
+ def list_project_location_db_system_initial_storage_sizes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1294
+ command = make_simple_command(:get, 'v1/{+parent}/dbSystemInitialStorageSizes', options)
1295
+ command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse::Representation
1296
+ command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemInitialStorageSizesResponse
1297
+ command.params['parent'] = parent unless parent.nil?
1298
+ command.query['pageSize'] = page_size unless page_size.nil?
1299
+ command.query['pageToken'] = page_token unless page_token.nil?
1300
+ command.query['fields'] = fields unless fields.nil?
1301
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1302
+ execute_or_queue_command(command, &block)
1303
+ end
1304
+
1305
+ # Lists the database system shapes available for the project and location.
1306
+ # @param [String] parent
1307
+ # Required. The parent value for Database System Shapes in the following format:
1308
+ # projects/`project`/locations/`location`.
1138
1309
  # @param [String] filter
1139
1310
  # Optional. An expression for filtering the results of the request. Only the
1140
- # shape, gcp_oracle_zone and gi_version fields are supported in this format: `
1141
- # shape="`shape`"`.
1311
+ # gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id="`
1312
+ # gcp_oracle_zone_id`"`.
1142
1313
  # @param [Fixnum] page_size
1143
- # Optional. The maximum number of items to return. If unspecified, a maximum of
1144
- # 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum
1145
- # value is 1000; values above 1000 will be reset to 1000.
1314
+ # Optional. The maximum number of items to return. If unspecified, at most 50
1315
+ # database system shapes will be returned. The maximum value is 1000; values
1316
+ # above 1000 will be coerced to 1000.
1146
1317
  # @param [String] page_token
1147
1318
  # Optional. A token identifying a page of results the server should return.
1148
1319
  # @param [String] fields
@@ -1154,18 +1325,18 @@ module Google
1154
1325
  # Request-specific options
1155
1326
  #
1156
1327
  # @yield [result, err] Result & error if block supplied
1157
- # @yieldparam result [Google::Apis::OracledatabaseV1::ListGiVersionsResponse] parsed result object
1328
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse] parsed result object
1158
1329
  # @yieldparam err [StandardError] error object if request failed
1159
1330
  #
1160
- # @return [Google::Apis::OracledatabaseV1::ListGiVersionsResponse]
1331
+ # @return [Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse]
1161
1332
  #
1162
1333
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1163
1334
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1164
1335
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1165
- def list_project_location_gi_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1166
- command = make_simple_command(:get, 'v1/{+parent}/giVersions', options)
1167
- command.response_representation = Google::Apis::OracledatabaseV1::ListGiVersionsResponse::Representation
1168
- command.response_class = Google::Apis::OracledatabaseV1::ListGiVersionsResponse
1336
+ def list_project_location_db_system_shapes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1337
+ command = make_simple_command(:get, 'v1/{+parent}/dbSystemShapes', options)
1338
+ command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse::Representation
1339
+ command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse
1169
1340
  command.params['parent'] = parent unless parent.nil?
1170
1341
  command.query['filter'] = filter unless filter.nil?
1171
1342
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -1175,22 +1346,26 @@ module Google
1175
1346
  execute_or_queue_command(command, &block)
1176
1347
  end
1177
1348
 
1178
- # Creates a new ODB Network in a given project and location.
1349
+ # Creates a new DbSystem in a given project and location.
1179
1350
  # @param [String] parent
1180
- # Required. The parent value for the OdbNetwork in the following format:
1351
+ # Required. The value for parent of the DbSystem in the following format:
1181
1352
  # projects/`project`/locations/`location`.
1182
- # @param [Google::Apis::OracledatabaseV1::OdbNetwork] odb_network_object
1183
- # @param [String] odb_network_id
1184
- # Required. The ID of the OdbNetwork to create. This value is restricted to (^[a-
1185
- # z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
1186
- # length. The value must start with a letter and end with a letter or a number.
1353
+ # @param [Google::Apis::OracledatabaseV1::DbSystem] db_system_object
1354
+ # @param [String] db_system_id
1355
+ # Required. The ID of the DbSystem to create. This value is restricted to (^[a-z]
1356
+ # ([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in length.
1357
+ # The value must start with a letter and end with a letter or a number.
1187
1358
  # @param [String] request_id
1188
- # Optional. An optional ID to identify the request. This value is used to
1189
- # identify duplicate requests. If you make a request with the same request ID
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).
1359
+ # Optional. An optional request ID to identify requests. Specify a unique
1360
+ # request ID so that if you must retry your request, the server will know to
1361
+ # ignore the request if it has already been completed. The server will guarantee
1362
+ # that for at least 60 minutes since the first request. For example, consider a
1363
+ # situation where you make an initial request and the request times out. If you
1364
+ # make the request again with the same request ID, the server can check if
1365
+ # original operation with the same request ID was received, and if so, will
1366
+ # ignore the second request. This prevents clients from accidentally creating
1367
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1368
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1194
1369
  # @param [String] fields
1195
1370
  # Selector specifying which fields to include in a partial response.
1196
1371
  # @param [String] quota_user
@@ -1208,24 +1383,24 @@ module Google
1208
1383
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1209
1384
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1210
1385
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1211
- 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)
1212
- command = make_simple_command(:post, 'v1/{+parent}/odbNetworks', options)
1213
- command.request_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
1214
- command.request_object = odb_network_object
1386
+ 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)
1387
+ command = make_simple_command(:post, 'v1/{+parent}/dbSystems', options)
1388
+ command.request_representation = Google::Apis::OracledatabaseV1::DbSystem::Representation
1389
+ command.request_object = db_system_object
1215
1390
  command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1216
1391
  command.response_class = Google::Apis::OracledatabaseV1::Operation
1217
1392
  command.params['parent'] = parent unless parent.nil?
1218
- command.query['odbNetworkId'] = odb_network_id unless odb_network_id.nil?
1393
+ command.query['dbSystemId'] = db_system_id unless db_system_id.nil?
1219
1394
  command.query['requestId'] = request_id unless request_id.nil?
1220
1395
  command.query['fields'] = fields unless fields.nil?
1221
1396
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1222
1397
  execute_or_queue_command(command, &block)
1223
1398
  end
1224
1399
 
1225
- # Deletes a single ODB Network.
1400
+ # Deletes a single DbSystem.
1226
1401
  # @param [String] name
1227
- # Required. The name of the resource in the following format: projects/`project`/
1228
- # locations/`location`/odbNetworks/`odb_network`.
1402
+ # Required. The name of the DbSystem in the following format: projects/`project`/
1403
+ # locations/`location`/dbSystems/`db_system`.
1229
1404
  # @param [String] request_id
1230
1405
  # Optional. An optional ID to identify the request. This value is used to
1231
1406
  # identify duplicate requests. If you make a request with the same request ID
@@ -1250,7 +1425,7 @@ module Google
1250
1425
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1251
1426
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1252
1427
  # @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)
1428
+ def delete_project_location_db_system(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1254
1429
  command = make_simple_command(:delete, 'v1/{+name}', options)
1255
1430
  command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1256
1431
  command.response_class = Google::Apis::OracledatabaseV1::Operation
@@ -1261,10 +1436,10 @@ module Google
1261
1436
  execute_or_queue_command(command, &block)
1262
1437
  end
1263
1438
 
1264
- # Gets details of a single ODB Network.
1439
+ # Gets details of a single DbSystem.
1265
1440
  # @param [String] name
1266
- # Required. The name of the OdbNetwork in the following format: projects/`
1267
- # project`/locations/`location`/odbNetworks/`odb_network`.
1441
+ # Required. The name of the DbSystem in the following format: projects/`project`/
1442
+ # locations/`location`/dbSystems/`db_system`.
1268
1443
  # @param [String] fields
1269
1444
  # Selector specifying which fields to include in a partial response.
1270
1445
  # @param [String] quota_user
@@ -1274,36 +1449,36 @@ module Google
1274
1449
  # Request-specific options
1275
1450
  #
1276
1451
  # @yield [result, err] Result & error if block supplied
1277
- # @yieldparam result [Google::Apis::OracledatabaseV1::OdbNetwork] parsed result object
1452
+ # @yieldparam result [Google::Apis::OracledatabaseV1::DbSystem] parsed result object
1278
1453
  # @yieldparam err [StandardError] error object if request failed
1279
1454
  #
1280
- # @return [Google::Apis::OracledatabaseV1::OdbNetwork]
1455
+ # @return [Google::Apis::OracledatabaseV1::DbSystem]
1281
1456
  #
1282
1457
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1283
1458
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1284
1459
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1285
- def get_project_location_odb_network(name, fields: nil, quota_user: nil, options: nil, &block)
1460
+ def get_project_location_db_system(name, fields: nil, quota_user: nil, options: nil, &block)
1286
1461
  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
1462
+ command.response_representation = Google::Apis::OracledatabaseV1::DbSystem::Representation
1463
+ command.response_class = Google::Apis::OracledatabaseV1::DbSystem
1289
1464
  command.params['name'] = name unless name.nil?
1290
1465
  command.query['fields'] = fields unless fields.nil?
1291
1466
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1292
1467
  execute_or_queue_command(command, &block)
1293
1468
  end
1294
1469
 
1295
- # Lists the ODB Networks in a given project and location.
1470
+ # Lists all the DbSystems for the given project and location.
1296
1471
  # @param [String] parent
1297
- # Required. The parent value for the ODB Network in the following format:
1298
- # projects/`project`/locations/`location`.
1472
+ # Required. The parent value for DbSystems in the following format: projects/`
1473
+ # project`/locations/`location`.
1299
1474
  # @param [String] filter
1300
1475
  # Optional. An expression for filtering the results of the request.
1301
1476
  # @param [String] order_by
1302
1477
  # Optional. An expression for ordering the results of the request.
1303
1478
  # @param [Fixnum] page_size
1304
1479
  # Optional. The maximum number of items to return. If unspecified, at most 50
1305
- # ODB Networks will be returned. The maximum value is 1000; values above 1000
1306
- # will be coerced to 1000.
1480
+ # DbSystems will be returned. The maximum value is 1000; values above 1000 will
1481
+ # be coerced to 1000.
1307
1482
  # @param [String] page_token
1308
1483
  # Optional. A token identifying a page of results the server should return.
1309
1484
  # @param [String] fields
@@ -1315,18 +1490,18 @@ module Google
1315
1490
  # Request-specific options
1316
1491
  #
1317
1492
  # @yield [result, err] Result & error if block supplied
1318
- # @yieldparam result [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse] parsed result object
1493
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListDbSystemsResponse] parsed result object
1319
1494
  # @yieldparam err [StandardError] error object if request failed
1320
1495
  #
1321
- # @return [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse]
1496
+ # @return [Google::Apis::OracledatabaseV1::ListDbSystemsResponse]
1322
1497
  #
1323
1498
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1324
1499
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1325
1500
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1326
- 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)
1327
- command = make_simple_command(:get, 'v1/{+parent}/odbNetworks', options)
1328
- command.response_representation = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse::Representation
1329
- command.response_class = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse
1501
+ 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)
1502
+ command = make_simple_command(:get, 'v1/{+parent}/dbSystems', options)
1503
+ command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemsResponse::Representation
1504
+ command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemsResponse
1330
1505
  command.params['parent'] = parent unless parent.nil?
1331
1506
  command.query['filter'] = filter unless filter.nil?
1332
1507
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -1337,22 +1512,23 @@ module Google
1337
1512
  execute_or_queue_command(command, &block)
1338
1513
  end
1339
1514
 
1340
- # Creates a new ODB Subnet in a given ODB Network.
1515
+ # List DbVersions for the given project and location.
1341
1516
  # @param [String] parent
1342
- # Required. The parent value for the OdbSubnet in the following format: projects/
1343
- # `project`/locations/`location`/odbNetworks/`odb_network`.
1344
- # @param [Google::Apis::OracledatabaseV1::OdbSubnet] odb_subnet_object
1345
- # @param [String] odb_subnet_id
1346
- # Required. The ID of the OdbSubnet to create. This value is restricted to (^[a-
1347
- # z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
1348
- # length. The value must start with a letter and end with a letter or a number.
1349
- # @param [String] request_id
1350
- # Optional. An optional ID to identify the request. This value is used to
1351
- # identify duplicate requests. If you make a request with the same request ID
1352
- # and the original request is still in progress or completed, the server ignores
1353
- # the second request. This prevents clients from accidentally creating duplicate
1354
- # commitments. The request ID must be a valid UUID with the exception that zero
1355
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
1517
+ # Required. The parent value for the DbVersion resource with the format:
1518
+ # projects/`project`/locations/`location`
1519
+ # @param [String] filter
1520
+ # Optional. Filter expression that matches a subset of the DbVersions to show.
1521
+ # The supported filter for dbSystem creation is `db_system_shape = `
1522
+ # db_system_shape` AND storage_management = `storage_management``. If no filter
1523
+ # is provided, all DbVersions will be returned.
1524
+ # @param [Fixnum] page_size
1525
+ # Optional. The maximum number of items to return. If unspecified, a maximum of
1526
+ # 50 System Versions will be returned. The maximum value is 1000; values above
1527
+ # 1000 will be reset to 1000.
1528
+ # @param [String] page_token
1529
+ # Optional. A token identifying the requested page of results to return. All
1530
+ # fields except the filter should remain the same as in the request that
1531
+ # provided this page token.
1356
1532
  # @param [String] fields
1357
1533
  # Selector specifying which fields to include in a partial response.
1358
1534
  # @param [String] quota_user
@@ -1362,34 +1538,791 @@ module Google
1362
1538
  # Request-specific options
1363
1539
  #
1364
1540
  # @yield [result, err] Result & error if block supplied
1365
- # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1541
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListDbVersionsResponse] parsed result object
1366
1542
  # @yieldparam err [StandardError] error object if request failed
1367
1543
  #
1368
- # @return [Google::Apis::OracledatabaseV1::Operation]
1544
+ # @return [Google::Apis::OracledatabaseV1::ListDbVersionsResponse]
1369
1545
  #
1370
1546
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1371
1547
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1372
1548
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1373
- 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)
1374
- command = make_simple_command(:post, 'v1/{+parent}/odbSubnets', options)
1375
- command.request_representation = Google::Apis::OracledatabaseV1::OdbSubnet::Representation
1376
- command.request_object = odb_subnet_object
1377
- command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1378
- command.response_class = Google::Apis::OracledatabaseV1::Operation
1549
+ def list_project_location_db_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1550
+ command = make_simple_command(:get, 'v1/{+parent}/dbVersions', options)
1551
+ command.response_representation = Google::Apis::OracledatabaseV1::ListDbVersionsResponse::Representation
1552
+ command.response_class = Google::Apis::OracledatabaseV1::ListDbVersionsResponse
1379
1553
  command.params['parent'] = parent unless parent.nil?
1380
- command.query['odbSubnetId'] = odb_subnet_id unless odb_subnet_id.nil?
1381
- command.query['requestId'] = request_id unless request_id.nil?
1554
+ command.query['filter'] = filter unless filter.nil?
1555
+ command.query['pageSize'] = page_size unless page_size.nil?
1556
+ command.query['pageToken'] = page_token unless page_token.nil?
1382
1557
  command.query['fields'] = fields unless fields.nil?
1383
1558
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1384
1559
  execute_or_queue_command(command, &block)
1385
1560
  end
1386
1561
 
1387
- # Deletes a single ODB Subnet.
1388
- # @param [String] name
1389
- # Required. The name of the resource in the following format: projects/`project`/
1390
- # locations/`region`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`.
1391
- # @param [String] request_id
1392
- # Optional. An optional ID to identify the request. This value is used to
1562
+ # Lists the entitlements in a given project.
1563
+ # @param [String] parent
1564
+ # Required. The parent value for the entitlement in the following format:
1565
+ # projects/`project`/locations/`location`.
1566
+ # @param [Fixnum] page_size
1567
+ # Optional. The maximum number of items to return. If unspecified, a maximum of
1568
+ # 50 entitlements will be returned. The maximum value is 1000.
1569
+ # @param [String] page_token
1570
+ # Optional. A token identifying a page of results the server should return.
1571
+ # @param [String] fields
1572
+ # Selector specifying which fields to include in a partial response.
1573
+ # @param [String] quota_user
1574
+ # Available to use for quota purposes for server-side applications. Can be any
1575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1576
+ # @param [Google::Apis::RequestOptions] options
1577
+ # Request-specific options
1578
+ #
1579
+ # @yield [result, err] Result & error if block supplied
1580
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListEntitlementsResponse] parsed result object
1581
+ # @yieldparam err [StandardError] error object if request failed
1582
+ #
1583
+ # @return [Google::Apis::OracledatabaseV1::ListEntitlementsResponse]
1584
+ #
1585
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1586
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1587
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1588
+ def list_project_location_entitlements(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1589
+ command = make_simple_command(:get, 'v1/{+parent}/entitlements', options)
1590
+ command.response_representation = Google::Apis::OracledatabaseV1::ListEntitlementsResponse::Representation
1591
+ command.response_class = Google::Apis::OracledatabaseV1::ListEntitlementsResponse
1592
+ command.params['parent'] = parent unless parent.nil?
1593
+ command.query['pageSize'] = page_size unless page_size.nil?
1594
+ command.query['pageToken'] = page_token unless page_token.nil?
1595
+ command.query['fields'] = fields unless fields.nil?
1596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1597
+ execute_or_queue_command(command, &block)
1598
+ end
1599
+
1600
+ # Creates a new Exadb (Exascale) VM Cluster resource.
1601
+ # @param [String] parent
1602
+ # Required. The value for parent of the ExadbVmCluster in the following format:
1603
+ # projects/`project`/locations/`location`.
1604
+ # @param [Google::Apis::OracledatabaseV1::ExadbVmCluster] exadb_vm_cluster_object
1605
+ # @param [String] exadb_vm_cluster_id
1606
+ # Required. The ID of the ExadbVmCluster to create. This value is restricted to (
1607
+ # ^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
1608
+ # length. The value must start with a letter and end with a letter or a number.
1609
+ # @param [String] request_id
1610
+ # Optional. An optional request ID to identify requests. Specify a unique
1611
+ # request ID so that if you must retry your request, the server will know to
1612
+ # ignore the request if it has already been completed. The server will guarantee
1613
+ # that for at least 60 minutes since the first request. For example, consider a
1614
+ # situation where you make an initial request and the request times out. If you
1615
+ # make the request again with the same request ID, the server can check if
1616
+ # original operation with the same request ID was received, and if so, will
1617
+ # ignore the second request. This prevents clients from accidentally creating
1618
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1619
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1620
+ # @param [String] fields
1621
+ # Selector specifying which fields to include in a partial response.
1622
+ # @param [String] quota_user
1623
+ # Available to use for quota purposes for server-side applications. Can be any
1624
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1625
+ # @param [Google::Apis::RequestOptions] options
1626
+ # Request-specific options
1627
+ #
1628
+ # @yield [result, err] Result & error if block supplied
1629
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1630
+ # @yieldparam err [StandardError] error object if request failed
1631
+ #
1632
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1633
+ #
1634
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1635
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1636
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1637
+ 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)
1638
+ command = make_simple_command(:post, 'v1/{+parent}/exadbVmClusters', options)
1639
+ command.request_representation = Google::Apis::OracledatabaseV1::ExadbVmCluster::Representation
1640
+ command.request_object = exadb_vm_cluster_object
1641
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1642
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1643
+ command.params['parent'] = parent unless parent.nil?
1644
+ command.query['exadbVmClusterId'] = exadb_vm_cluster_id unless exadb_vm_cluster_id.nil?
1645
+ command.query['requestId'] = request_id unless request_id.nil?
1646
+ command.query['fields'] = fields unless fields.nil?
1647
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1648
+ execute_or_queue_command(command, &block)
1649
+ end
1650
+
1651
+ # Deletes a single Exadb (Exascale) VM Cluster.
1652
+ # @param [String] name
1653
+ # Required. The name of the ExadbVmCluster in the following format: projects/`
1654
+ # project`/locations/`location`/exadbVmClusters/`exadb_vm_cluster`.
1655
+ # @param [String] request_id
1656
+ # Optional. An optional ID to identify the request. This value is used to
1657
+ # identify duplicate requests. If you make a request with the same request ID
1658
+ # and the original request is still in progress or completed, the server ignores
1659
+ # the second request. This prevents clients from accidentally creating duplicate
1660
+ # commitments. The request ID must be a valid UUID with the exception that zero
1661
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1662
+ # @param [String] fields
1663
+ # Selector specifying which fields to include in a partial response.
1664
+ # @param [String] quota_user
1665
+ # Available to use for quota purposes for server-side applications. Can be any
1666
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1667
+ # @param [Google::Apis::RequestOptions] options
1668
+ # Request-specific options
1669
+ #
1670
+ # @yield [result, err] Result & error if block supplied
1671
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1672
+ # @yieldparam err [StandardError] error object if request failed
1673
+ #
1674
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1675
+ #
1676
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1677
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1678
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1679
+ def delete_project_location_exadb_vm_cluster(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1680
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1681
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1682
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1683
+ command.params['name'] = name unless name.nil?
1684
+ command.query['requestId'] = request_id unless request_id.nil?
1685
+ command.query['fields'] = fields unless fields.nil?
1686
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1687
+ execute_or_queue_command(command, &block)
1688
+ end
1689
+
1690
+ # Gets details of a single Exadb (Exascale) VM Cluster.
1691
+ # @param [String] name
1692
+ # Required. The name of the ExadbVmCluster in the following format: projects/`
1693
+ # project`/locations/`location`/exadbVmClusters/`exadb_vm_cluster`.
1694
+ # @param [String] fields
1695
+ # Selector specifying which fields to include in a partial response.
1696
+ # @param [String] quota_user
1697
+ # Available to use for quota purposes for server-side applications. Can be any
1698
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1699
+ # @param [Google::Apis::RequestOptions] options
1700
+ # Request-specific options
1701
+ #
1702
+ # @yield [result, err] Result & error if block supplied
1703
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ExadbVmCluster] parsed result object
1704
+ # @yieldparam err [StandardError] error object if request failed
1705
+ #
1706
+ # @return [Google::Apis::OracledatabaseV1::ExadbVmCluster]
1707
+ #
1708
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1709
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1710
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1711
+ def get_project_location_exadb_vm_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
1712
+ command = make_simple_command(:get, 'v1/{+name}', options)
1713
+ command.response_representation = Google::Apis::OracledatabaseV1::ExadbVmCluster::Representation
1714
+ command.response_class = Google::Apis::OracledatabaseV1::ExadbVmCluster
1715
+ command.params['name'] = name unless name.nil?
1716
+ command.query['fields'] = fields unless fields.nil?
1717
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1718
+ execute_or_queue_command(command, &block)
1719
+ end
1720
+
1721
+ # Lists all the Exadb (Exascale) VM Clusters for the given project and location.
1722
+ # @param [String] parent
1723
+ # Required. The parent value for ExadbVmClusters in the following format:
1724
+ # projects/`project`/locations/`location`.
1725
+ # @param [String] filter
1726
+ # Optional. An expression for filtering the results of the request.
1727
+ # @param [String] order_by
1728
+ # Optional. An expression for ordering the results of the request.
1729
+ # @param [Fixnum] page_size
1730
+ # Optional. The maximum number of items to return. If unspecified, at most 50
1731
+ # ExadbVmClusters will be returned. The maximum value is 1000; values above 1000
1732
+ # will be coerced to 1000.
1733
+ # @param [String] page_token
1734
+ # Optional. A token identifying a page of results the server should return.
1735
+ # @param [String] fields
1736
+ # Selector specifying which fields to include in a partial response.
1737
+ # @param [String] quota_user
1738
+ # Available to use for quota purposes for server-side applications. Can be any
1739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1740
+ # @param [Google::Apis::RequestOptions] options
1741
+ # Request-specific options
1742
+ #
1743
+ # @yield [result, err] Result & error if block supplied
1744
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse] parsed result object
1745
+ # @yieldparam err [StandardError] error object if request failed
1746
+ #
1747
+ # @return [Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse]
1748
+ #
1749
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1750
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1751
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1752
+ 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)
1753
+ command = make_simple_command(:get, 'v1/{+parent}/exadbVmClusters', options)
1754
+ command.response_representation = Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse::Representation
1755
+ command.response_class = Google::Apis::OracledatabaseV1::ListExadbVmClustersResponse
1756
+ command.params['parent'] = parent unless parent.nil?
1757
+ command.query['filter'] = filter unless filter.nil?
1758
+ command.query['orderBy'] = order_by unless order_by.nil?
1759
+ command.query['pageSize'] = page_size unless page_size.nil?
1760
+ command.query['pageToken'] = page_token unless page_token.nil?
1761
+ command.query['fields'] = fields unless fields.nil?
1762
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1763
+ execute_or_queue_command(command, &block)
1764
+ end
1765
+
1766
+ # Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to
1767
+ # existing exadb vm cluster, only pass the node count.
1768
+ # @param [String] name
1769
+ # Identifier. The name of the ExadbVmCluster resource in the following format:
1770
+ # projects/`project`/locations/`region`/exadbVmClusters/`exadb_vm_cluster`
1771
+ # @param [Google::Apis::OracledatabaseV1::ExadbVmCluster] exadb_vm_cluster_object
1772
+ # @param [String] request_id
1773
+ # Optional. An optional ID to identify the request. This value is used to
1774
+ # identify duplicate requests. If you make a request with the same request ID
1775
+ # and the original request is still in progress or completed, the server ignores
1776
+ # the second request. This prevents clients from accidentally creating duplicate
1777
+ # commitments. The request ID must be a valid UUID with the exception that zero
1778
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1779
+ # @param [String] update_mask
1780
+ # Optional. A mask specifying which fields in th VM Cluster should be updated. A
1781
+ # field specified in the mask is overwritten. If a mask isn't provided then all
1782
+ # the fields in the VM Cluster are overwritten.
1783
+ # @param [String] fields
1784
+ # Selector specifying which fields to include in a partial response.
1785
+ # @param [String] quota_user
1786
+ # Available to use for quota purposes for server-side applications. Can be any
1787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1788
+ # @param [Google::Apis::RequestOptions] options
1789
+ # Request-specific options
1790
+ #
1791
+ # @yield [result, err] Result & error if block supplied
1792
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1793
+ # @yieldparam err [StandardError] error object if request failed
1794
+ #
1795
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1796
+ #
1797
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1798
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1799
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1800
+ 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)
1801
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1802
+ command.request_representation = Google::Apis::OracledatabaseV1::ExadbVmCluster::Representation
1803
+ command.request_object = exadb_vm_cluster_object
1804
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1805
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1806
+ command.params['name'] = name unless name.nil?
1807
+ command.query['requestId'] = request_id unless request_id.nil?
1808
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1809
+ command.query['fields'] = fields unless fields.nil?
1810
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1811
+ execute_or_queue_command(command, &block)
1812
+ end
1813
+
1814
+ # Removes virtual machines from an existing exadb vm cluster.
1815
+ # @param [String] name
1816
+ # Required. The name of the ExadbVmCluster in the following format: projects/`
1817
+ # project`/locations/`location`/exadbVmClusters/`exadb_vm_cluster`.
1818
+ # @param [Google::Apis::OracledatabaseV1::RemoveVirtualMachineExadbVmClusterRequest] remove_virtual_machine_exadb_vm_cluster_request_object
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 remove_virtual_machine_exadb_vm_cluster(name, remove_virtual_machine_exadb_vm_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1837
+ command = make_simple_command(:post, 'v1/{+name}:removeVirtualMachine', options)
1838
+ command.request_representation = Google::Apis::OracledatabaseV1::RemoveVirtualMachineExadbVmClusterRequest::Representation
1839
+ command.request_object = remove_virtual_machine_exadb_vm_cluster_request_object
1840
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1841
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1842
+ command.params['name'] = name unless name.nil?
1843
+ command.query['fields'] = fields unless fields.nil?
1844
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1845
+ execute_or_queue_command(command, &block)
1846
+ end
1847
+
1848
+ # Creates a new ExascaleDB Storage Vault resource.
1849
+ # @param [String] parent
1850
+ # Required. The value for parent of the ExascaleDbStorageVault in the following
1851
+ # format: projects/`project`/locations/`location`.
1852
+ # @param [Google::Apis::OracledatabaseV1::ExascaleDbStorageVault] exascale_db_storage_vault_object
1853
+ # @param [String] exascale_db_storage_vault_id
1854
+ # Required. The ID of the ExascaleDbStorageVault to create. This value is
1855
+ # restricted to (^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63
1856
+ # characters in length. The value must start with a letter and end with a letter
1857
+ # or a number.
1858
+ # @param [String] request_id
1859
+ # Optional. An optional request ID to identify requests. Specify a unique
1860
+ # request ID so that if you must retry your request, the server will know to
1861
+ # ignore the request if it has already been completed. The server will guarantee
1862
+ # that for at least 60 minutes since the first request. For example, consider a
1863
+ # situation where you make an initial request and the request times out. If you
1864
+ # make the request again with the same request ID, the server can check if
1865
+ # original operation with the same request ID was received, and if so, will
1866
+ # ignore the second request. This prevents clients from accidentally creating
1867
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1868
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1869
+ # @param [String] fields
1870
+ # Selector specifying which fields to include in a partial response.
1871
+ # @param [String] quota_user
1872
+ # Available to use for quota purposes for server-side applications. Can be any
1873
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1874
+ # @param [Google::Apis::RequestOptions] options
1875
+ # Request-specific options
1876
+ #
1877
+ # @yield [result, err] Result & error if block supplied
1878
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1879
+ # @yieldparam err [StandardError] error object if request failed
1880
+ #
1881
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1882
+ #
1883
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1884
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1885
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1886
+ 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)
1887
+ command = make_simple_command(:post, 'v1/{+parent}/exascaleDbStorageVaults', options)
1888
+ command.request_representation = Google::Apis::OracledatabaseV1::ExascaleDbStorageVault::Representation
1889
+ command.request_object = exascale_db_storage_vault_object
1890
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1891
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1892
+ command.params['parent'] = parent unless parent.nil?
1893
+ command.query['exascaleDbStorageVaultId'] = exascale_db_storage_vault_id unless exascale_db_storage_vault_id.nil?
1894
+ command.query['requestId'] = request_id unless request_id.nil?
1895
+ command.query['fields'] = fields unless fields.nil?
1896
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1897
+ execute_or_queue_command(command, &block)
1898
+ end
1899
+
1900
+ # Deletes a single ExascaleDB Storage Vault.
1901
+ # @param [String] name
1902
+ # Required. The name of the ExascaleDbStorageVault in the following format:
1903
+ # projects/`project`/locations/`location`/exascaleDbStorageVaults/`
1904
+ # exascale_db_storage_vault`.
1905
+ # @param [String] request_id
1906
+ # Optional. An optional ID to identify the request. This value is used to
1907
+ # identify duplicate requests. If you make a request with the same request ID
1908
+ # and the original request is still in progress or completed, the server ignores
1909
+ # the second request. This prevents clients from accidentally creating duplicate
1910
+ # commitments. The request ID must be a valid UUID with the exception that zero
1911
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1912
+ # @param [String] fields
1913
+ # Selector specifying which fields to include in a partial response.
1914
+ # @param [String] quota_user
1915
+ # Available to use for quota purposes for server-side applications. Can be any
1916
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1917
+ # @param [Google::Apis::RequestOptions] options
1918
+ # Request-specific options
1919
+ #
1920
+ # @yield [result, err] Result & error if block supplied
1921
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1922
+ # @yieldparam err [StandardError] error object if request failed
1923
+ #
1924
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1925
+ #
1926
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1927
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1928
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1929
+ def delete_project_location_exascale_db_storage_vault(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1930
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1931
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1932
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1933
+ command.params['name'] = name unless name.nil?
1934
+ command.query['requestId'] = request_id unless request_id.nil?
1935
+ command.query['fields'] = fields unless fields.nil?
1936
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1937
+ execute_or_queue_command(command, &block)
1938
+ end
1939
+
1940
+ # Gets details of a single ExascaleDB Storage Vault.
1941
+ # @param [String] name
1942
+ # Required. The name of the ExascaleDbStorageVault in the following format:
1943
+ # projects/`project`/locations/`location`/exascaleDbStorageVaults/`
1944
+ # exascale_db_storage_vault`.
1945
+ # @param [String] fields
1946
+ # Selector specifying which fields to include in a partial response.
1947
+ # @param [String] quota_user
1948
+ # Available to use for quota purposes for server-side applications. Can be any
1949
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1950
+ # @param [Google::Apis::RequestOptions] options
1951
+ # Request-specific options
1952
+ #
1953
+ # @yield [result, err] Result & error if block supplied
1954
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ExascaleDbStorageVault] parsed result object
1955
+ # @yieldparam err [StandardError] error object if request failed
1956
+ #
1957
+ # @return [Google::Apis::OracledatabaseV1::ExascaleDbStorageVault]
1958
+ #
1959
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1960
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1961
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1962
+ def get_project_location_exascale_db_storage_vault(name, fields: nil, quota_user: nil, options: nil, &block)
1963
+ command = make_simple_command(:get, 'v1/{+name}', options)
1964
+ command.response_representation = Google::Apis::OracledatabaseV1::ExascaleDbStorageVault::Representation
1965
+ command.response_class = Google::Apis::OracledatabaseV1::ExascaleDbStorageVault
1966
+ command.params['name'] = name unless name.nil?
1967
+ command.query['fields'] = fields unless fields.nil?
1968
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1969
+ execute_or_queue_command(command, &block)
1970
+ end
1971
+
1972
+ # Lists all the ExascaleDB Storage Vaults for the given project and location.
1973
+ # @param [String] parent
1974
+ # Required. The parent value for ExascaleDbStorageVault in the following format:
1975
+ # projects/`project`/locations/`location`.
1976
+ # @param [String] filter
1977
+ # Optional. An expression for filtering the results of the request. Filter the
1978
+ # list as specified in https://google.aip.dev/160.
1979
+ # @param [String] order_by
1980
+ # Optional. An expression for ordering the results of the request. Order results
1981
+ # as specified in https://google.aip.dev/132.
1982
+ # @param [Fixnum] page_size
1983
+ # Optional. The maximum number of items to return. If unspecified, at most 50
1984
+ # ExascaleDbStorageVaults will be returned. The maximum value is 1000; values
1985
+ # above 1000 will be coerced to 1000.
1986
+ # @param [String] page_token
1987
+ # Optional. A token identifying a page of results the server should return.
1988
+ # @param [String] fields
1989
+ # Selector specifying which fields to include in a partial response.
1990
+ # @param [String] quota_user
1991
+ # Available to use for quota purposes for server-side applications. Can be any
1992
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1993
+ # @param [Google::Apis::RequestOptions] options
1994
+ # Request-specific options
1995
+ #
1996
+ # @yield [result, err] Result & error if block supplied
1997
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse] parsed result object
1998
+ # @yieldparam err [StandardError] error object if request failed
1999
+ #
2000
+ # @return [Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse]
2001
+ #
2002
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2003
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2004
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2005
+ 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)
2006
+ command = make_simple_command(:get, 'v1/{+parent}/exascaleDbStorageVaults', options)
2007
+ command.response_representation = Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse::Representation
2008
+ command.response_class = Google::Apis::OracledatabaseV1::ListExascaleDbStorageVaultsResponse
2009
+ command.params['parent'] = parent unless parent.nil?
2010
+ command.query['filter'] = filter unless filter.nil?
2011
+ command.query['orderBy'] = order_by unless order_by.nil?
2012
+ command.query['pageSize'] = page_size unless page_size.nil?
2013
+ command.query['pageToken'] = page_token unless page_token.nil?
2014
+ command.query['fields'] = fields unless fields.nil?
2015
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2016
+ execute_or_queue_command(command, &block)
2017
+ end
2018
+
2019
+ # Lists all the valid Oracle Grid Infrastructure (GI) versions for the given
2020
+ # project and location.
2021
+ # @param [String] parent
2022
+ # Required. The parent value for Grid Infrastructure Version in the following
2023
+ # format: Format: projects/`project`/locations/`location`.
2024
+ # @param [String] filter
2025
+ # Optional. An expression for filtering the results of the request. Only the
2026
+ # shape, gcp_oracle_zone and gi_version fields are supported in this format: `
2027
+ # shape="`shape`"`.
2028
+ # @param [Fixnum] page_size
2029
+ # Optional. The maximum number of items to return. If unspecified, a maximum of
2030
+ # 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum
2031
+ # value is 1000; values above 1000 will be reset to 1000.
2032
+ # @param [String] page_token
2033
+ # Optional. A token identifying a page of results the server should return.
2034
+ # @param [String] fields
2035
+ # Selector specifying which fields to include in a partial response.
2036
+ # @param [String] quota_user
2037
+ # Available to use for quota purposes for server-side applications. Can be any
2038
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2039
+ # @param [Google::Apis::RequestOptions] options
2040
+ # Request-specific options
2041
+ #
2042
+ # @yield [result, err] Result & error if block supplied
2043
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListGiVersionsResponse] parsed result object
2044
+ # @yieldparam err [StandardError] error object if request failed
2045
+ #
2046
+ # @return [Google::Apis::OracledatabaseV1::ListGiVersionsResponse]
2047
+ #
2048
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2049
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2050
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2051
+ def list_project_location_gi_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2052
+ command = make_simple_command(:get, 'v1/{+parent}/giVersions', options)
2053
+ command.response_representation = Google::Apis::OracledatabaseV1::ListGiVersionsResponse::Representation
2054
+ command.response_class = Google::Apis::OracledatabaseV1::ListGiVersionsResponse
2055
+ command.params['parent'] = parent unless parent.nil?
2056
+ command.query['filter'] = filter unless filter.nil?
2057
+ command.query['pageSize'] = page_size unless page_size.nil?
2058
+ command.query['pageToken'] = page_token unless page_token.nil?
2059
+ command.query['fields'] = fields unless fields.nil?
2060
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2061
+ execute_or_queue_command(command, &block)
2062
+ end
2063
+
2064
+ # Lists all the valid minor versions for the given project, location, gi version
2065
+ # and shape family.
2066
+ # @param [String] parent
2067
+ # Required. The parent value for the MinorVersion resource with the format:
2068
+ # projects/`project`/locations/`location`/giVersions/`gi_version`
2069
+ # @param [String] filter
2070
+ # Optional. An expression for filtering the results of the request. Only
2071
+ # shapeFamily and gcp_oracle_zone_id are supported in this format: `shape_family=
2072
+ # "`shapeFamily`" AND gcp_oracle_zone_id="`gcp_oracle_zone_id`"`.
2073
+ # @param [Fixnum] page_size
2074
+ # Optional. The maximum number of items to return. If unspecified, a maximum of
2075
+ # 50 System Versions will be returned. The maximum value is 1000; values above
2076
+ # 1000 will be reset to 1000.
2077
+ # @param [String] page_token
2078
+ # Optional. A token identifying the requested page of results to return. All
2079
+ # fields except the filter should remain the same as in the request that
2080
+ # provided this page token.
2081
+ # @param [String] fields
2082
+ # Selector specifying which fields to include in a partial response.
2083
+ # @param [String] quota_user
2084
+ # Available to use for quota purposes for server-side applications. Can be any
2085
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2086
+ # @param [Google::Apis::RequestOptions] options
2087
+ # Request-specific options
2088
+ #
2089
+ # @yield [result, err] Result & error if block supplied
2090
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListMinorVersionsResponse] parsed result object
2091
+ # @yieldparam err [StandardError] error object if request failed
2092
+ #
2093
+ # @return [Google::Apis::OracledatabaseV1::ListMinorVersionsResponse]
2094
+ #
2095
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2096
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2097
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2098
+ 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)
2099
+ command = make_simple_command(:get, 'v1/{+parent}/minorVersions', options)
2100
+ command.response_representation = Google::Apis::OracledatabaseV1::ListMinorVersionsResponse::Representation
2101
+ command.response_class = Google::Apis::OracledatabaseV1::ListMinorVersionsResponse
2102
+ command.params['parent'] = parent unless parent.nil?
2103
+ command.query['filter'] = filter unless filter.nil?
2104
+ command.query['pageSize'] = page_size unless page_size.nil?
2105
+ command.query['pageToken'] = page_token unless page_token.nil?
2106
+ command.query['fields'] = fields unless fields.nil?
2107
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2108
+ execute_or_queue_command(command, &block)
2109
+ end
2110
+
2111
+ # Creates a new ODB Network in a given project and location.
2112
+ # @param [String] parent
2113
+ # Required. The parent value for the OdbNetwork in the following format:
2114
+ # projects/`project`/locations/`location`.
2115
+ # @param [Google::Apis::OracledatabaseV1::OdbNetwork] odb_network_object
2116
+ # @param [String] odb_network_id
2117
+ # Required. The ID of the OdbNetwork to create. This value is restricted to (^[a-
2118
+ # z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
2119
+ # length. The value must start with a letter and end with a letter or a number.
2120
+ # @param [String] request_id
2121
+ # Optional. An optional ID to identify the request. This value is used to
2122
+ # identify duplicate requests. If you make a request with the same request ID
2123
+ # and the original request is still in progress or completed, the server ignores
2124
+ # the second request. This prevents clients from accidentally creating duplicate
2125
+ # commitments. The request ID must be a valid UUID with the exception that zero
2126
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
2127
+ # @param [String] fields
2128
+ # Selector specifying which fields to include in a partial response.
2129
+ # @param [String] quota_user
2130
+ # Available to use for quota purposes for server-side applications. Can be any
2131
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2132
+ # @param [Google::Apis::RequestOptions] options
2133
+ # Request-specific options
2134
+ #
2135
+ # @yield [result, err] Result & error if block supplied
2136
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
2137
+ # @yieldparam err [StandardError] error object if request failed
2138
+ #
2139
+ # @return [Google::Apis::OracledatabaseV1::Operation]
2140
+ #
2141
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2142
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2143
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2144
+ 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)
2145
+ command = make_simple_command(:post, 'v1/{+parent}/odbNetworks', options)
2146
+ command.request_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
2147
+ command.request_object = odb_network_object
2148
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
2149
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
2150
+ command.params['parent'] = parent unless parent.nil?
2151
+ command.query['odbNetworkId'] = odb_network_id unless odb_network_id.nil?
2152
+ command.query['requestId'] = request_id unless request_id.nil?
2153
+ command.query['fields'] = fields unless fields.nil?
2154
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2155
+ execute_or_queue_command(command, &block)
2156
+ end
2157
+
2158
+ # Deletes a single ODB Network.
2159
+ # @param [String] name
2160
+ # Required. The name of the resource in the following format: projects/`project`/
2161
+ # locations/`location`/odbNetworks/`odb_network`.
2162
+ # @param [String] request_id
2163
+ # Optional. An optional ID to identify the request. This value is used to
2164
+ # identify duplicate requests. If you make a request with the same request ID
2165
+ # and the original request is still in progress or completed, the server ignores
2166
+ # the second request. This prevents clients from accidentally creating duplicate
2167
+ # commitments. The request ID must be a valid UUID with the exception that zero
2168
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
2169
+ # @param [String] fields
2170
+ # Selector specifying which fields to include in a partial response.
2171
+ # @param [String] quota_user
2172
+ # Available to use for quota purposes for server-side applications. Can be any
2173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2174
+ # @param [Google::Apis::RequestOptions] options
2175
+ # Request-specific options
2176
+ #
2177
+ # @yield [result, err] Result & error if block supplied
2178
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
2179
+ # @yieldparam err [StandardError] error object if request failed
2180
+ #
2181
+ # @return [Google::Apis::OracledatabaseV1::Operation]
2182
+ #
2183
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2184
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2185
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2186
+ def delete_project_location_odb_network(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2187
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2188
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
2189
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
2190
+ command.params['name'] = name unless name.nil?
2191
+ command.query['requestId'] = request_id unless request_id.nil?
2192
+ command.query['fields'] = fields unless fields.nil?
2193
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2194
+ execute_or_queue_command(command, &block)
2195
+ end
2196
+
2197
+ # Gets details of a single ODB Network.
2198
+ # @param [String] name
2199
+ # Required. The name of the OdbNetwork in the following format: projects/`
2200
+ # project`/locations/`location`/odbNetworks/`odb_network`.
2201
+ # @param [String] fields
2202
+ # Selector specifying which fields to include in a partial response.
2203
+ # @param [String] quota_user
2204
+ # Available to use for quota purposes for server-side applications. Can be any
2205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2206
+ # @param [Google::Apis::RequestOptions] options
2207
+ # Request-specific options
2208
+ #
2209
+ # @yield [result, err] Result & error if block supplied
2210
+ # @yieldparam result [Google::Apis::OracledatabaseV1::OdbNetwork] parsed result object
2211
+ # @yieldparam err [StandardError] error object if request failed
2212
+ #
2213
+ # @return [Google::Apis::OracledatabaseV1::OdbNetwork]
2214
+ #
2215
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2216
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2217
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2218
+ def get_project_location_odb_network(name, fields: nil, quota_user: nil, options: nil, &block)
2219
+ command = make_simple_command(:get, 'v1/{+name}', options)
2220
+ command.response_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
2221
+ command.response_class = Google::Apis::OracledatabaseV1::OdbNetwork
2222
+ command.params['name'] = name unless name.nil?
2223
+ command.query['fields'] = fields unless fields.nil?
2224
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2225
+ execute_or_queue_command(command, &block)
2226
+ end
2227
+
2228
+ # Lists the ODB Networks in a given project and location.
2229
+ # @param [String] parent
2230
+ # Required. The parent value for the ODB Network in the following format:
2231
+ # projects/`project`/locations/`location`.
2232
+ # @param [String] filter
2233
+ # Optional. An expression for filtering the results of the request.
2234
+ # @param [String] order_by
2235
+ # Optional. An expression for ordering the results of the request.
2236
+ # @param [Fixnum] page_size
2237
+ # Optional. The maximum number of items to return. If unspecified, at most 50
2238
+ # ODB Networks will be returned. The maximum value is 1000; values above 1000
2239
+ # will be coerced to 1000.
2240
+ # @param [String] page_token
2241
+ # Optional. A token identifying a page of results the server should return.
2242
+ # @param [String] fields
2243
+ # Selector specifying which fields to include in a partial response.
2244
+ # @param [String] quota_user
2245
+ # Available to use for quota purposes for server-side applications. Can be any
2246
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2247
+ # @param [Google::Apis::RequestOptions] options
2248
+ # Request-specific options
2249
+ #
2250
+ # @yield [result, err] Result & error if block supplied
2251
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse] parsed result object
2252
+ # @yieldparam err [StandardError] error object if request failed
2253
+ #
2254
+ # @return [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse]
2255
+ #
2256
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2257
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2258
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2259
+ 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)
2260
+ command = make_simple_command(:get, 'v1/{+parent}/odbNetworks', options)
2261
+ command.response_representation = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse::Representation
2262
+ command.response_class = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse
2263
+ command.params['parent'] = parent unless parent.nil?
2264
+ command.query['filter'] = filter unless filter.nil?
2265
+ command.query['orderBy'] = order_by unless order_by.nil?
2266
+ command.query['pageSize'] = page_size unless page_size.nil?
2267
+ command.query['pageToken'] = page_token unless page_token.nil?
2268
+ command.query['fields'] = fields unless fields.nil?
2269
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2270
+ execute_or_queue_command(command, &block)
2271
+ end
2272
+
2273
+ # Creates a new ODB Subnet in a given ODB Network.
2274
+ # @param [String] parent
2275
+ # Required. The parent value for the OdbSubnet in the following format: projects/
2276
+ # `project`/locations/`location`/odbNetworks/`odb_network`.
2277
+ # @param [Google::Apis::OracledatabaseV1::OdbSubnet] odb_subnet_object
2278
+ # @param [String] odb_subnet_id
2279
+ # Required. The ID of the OdbSubnet to create. This value is restricted to (^[a-
2280
+ # z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
2281
+ # length. The value must start with a letter and end with a letter or a number.
2282
+ # @param [String] request_id
2283
+ # Optional. An optional ID to identify the request. This value is used to
2284
+ # identify duplicate requests. If you make a request with the same request ID
2285
+ # and the original request is still in progress or completed, the server ignores
2286
+ # the second request. This prevents clients from accidentally creating duplicate
2287
+ # commitments. The request ID must be a valid UUID with the exception that zero
2288
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
2289
+ # @param [String] fields
2290
+ # Selector specifying which fields to include in a partial response.
2291
+ # @param [String] quota_user
2292
+ # Available to use for quota purposes for server-side applications. Can be any
2293
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2294
+ # @param [Google::Apis::RequestOptions] options
2295
+ # Request-specific options
2296
+ #
2297
+ # @yield [result, err] Result & error if block supplied
2298
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
2299
+ # @yieldparam err [StandardError] error object if request failed
2300
+ #
2301
+ # @return [Google::Apis::OracledatabaseV1::Operation]
2302
+ #
2303
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2304
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2305
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2306
+ 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)
2307
+ command = make_simple_command(:post, 'v1/{+parent}/odbSubnets', options)
2308
+ command.request_representation = Google::Apis::OracledatabaseV1::OdbSubnet::Representation
2309
+ command.request_object = odb_subnet_object
2310
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
2311
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
2312
+ command.params['parent'] = parent unless parent.nil?
2313
+ command.query['odbSubnetId'] = odb_subnet_id unless odb_subnet_id.nil?
2314
+ command.query['requestId'] = request_id unless request_id.nil?
2315
+ command.query['fields'] = fields unless fields.nil?
2316
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2317
+ execute_or_queue_command(command, &block)
2318
+ end
2319
+
2320
+ # Deletes a single ODB Subnet.
2321
+ # @param [String] name
2322
+ # Required. The name of the resource in the following format: projects/`project`/
2323
+ # locations/`region`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`.
2324
+ # @param [String] request_id
2325
+ # Optional. An optional ID to identify the request. This value is used to
1393
2326
  # identify duplicate requests. If you make a request with the same request ID
1394
2327
  # and the original request is still in progress or completed, the server ignores
1395
2328
  # the second request. This prevents clients from accidentally creating duplicate
@@ -1613,6 +2546,13 @@ module Google
1613
2546
  # The standard list page size.
1614
2547
  # @param [String] page_token
1615
2548
  # The standard list page token.
2549
+ # @param [Boolean] return_partial_success
2550
+ # When set to `true`, operations that are reachable are returned as normal, and
2551
+ # those that are unreachable are returned in the [ListOperationsResponse.
2552
+ # unreachable] field. This can only be `true` when reading across collections e.
2553
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2554
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2555
+ # explicitly documented otherwise in service or product specific documentation.
1616
2556
  # @param [String] fields
1617
2557
  # Selector specifying which fields to include in a partial response.
1618
2558
  # @param [String] quota_user
@@ -1630,7 +2570,7 @@ module Google
1630
2570
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1631
2571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1632
2572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1633
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2573
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1634
2574
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
1635
2575
  command.response_representation = Google::Apis::OracledatabaseV1::ListOperationsResponse::Representation
1636
2576
  command.response_class = Google::Apis::OracledatabaseV1::ListOperationsResponse
@@ -1638,6 +2578,86 @@ module Google
1638
2578
  command.query['filter'] = filter unless filter.nil?
1639
2579
  command.query['pageSize'] = page_size unless page_size.nil?
1640
2580
  command.query['pageToken'] = page_token unless page_token.nil?
2581
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2582
+ command.query['fields'] = fields unless fields.nil?
2583
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2584
+ execute_or_queue_command(command, &block)
2585
+ end
2586
+
2587
+ # Gets details of a single PluggableDatabase.
2588
+ # @param [String] name
2589
+ # Required. The name of the PluggableDatabase resource in the following format:
2590
+ # projects/`project`/locations/`region`/pluggableDatabases/`pluggable_database`
2591
+ # @param [String] fields
2592
+ # Selector specifying which fields to include in a partial response.
2593
+ # @param [String] quota_user
2594
+ # Available to use for quota purposes for server-side applications. Can be any
2595
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2596
+ # @param [Google::Apis::RequestOptions] options
2597
+ # Request-specific options
2598
+ #
2599
+ # @yield [result, err] Result & error if block supplied
2600
+ # @yieldparam result [Google::Apis::OracledatabaseV1::PluggableDatabase] parsed result object
2601
+ # @yieldparam err [StandardError] error object if request failed
2602
+ #
2603
+ # @return [Google::Apis::OracledatabaseV1::PluggableDatabase]
2604
+ #
2605
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2606
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2607
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2608
+ def get_project_location_pluggable_database(name, fields: nil, quota_user: nil, options: nil, &block)
2609
+ command = make_simple_command(:get, 'v1/{+name}', options)
2610
+ command.response_representation = Google::Apis::OracledatabaseV1::PluggableDatabase::Representation
2611
+ command.response_class = Google::Apis::OracledatabaseV1::PluggableDatabase
2612
+ command.params['name'] = name unless name.nil?
2613
+ command.query['fields'] = fields unless fields.nil?
2614
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2615
+ execute_or_queue_command(command, &block)
2616
+ end
2617
+
2618
+ # Lists all the PluggableDatabases for the given project, location and Container
2619
+ # Database.
2620
+ # @param [String] parent
2621
+ # Required. The parent, which owns this collection of PluggableDatabases. Format:
2622
+ # projects/`project`/locations/`location`
2623
+ # @param [String] filter
2624
+ # Optional. An expression for filtering the results of the request. List for
2625
+ # pluggable databases is supported only with a valid container database (full
2626
+ # resource name) filter in this format: `database="projects/`project`/locations/`
2627
+ # location`/databases/`database`"`
2628
+ # @param [Fixnum] page_size
2629
+ # Optional. The maximum number of PluggableDatabases to return. The service may
2630
+ # return fewer than this value.
2631
+ # @param [String] page_token
2632
+ # Optional. A page token, received from a previous `ListPluggableDatabases` call.
2633
+ # Provide this to retrieve the subsequent page. When paginating, all other
2634
+ # parameters provided to `ListPluggableDatabases` must match the call that
2635
+ # provided the page token.
2636
+ # @param [String] fields
2637
+ # Selector specifying which fields to include in a partial response.
2638
+ # @param [String] quota_user
2639
+ # Available to use for quota purposes for server-side applications. Can be any
2640
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2641
+ # @param [Google::Apis::RequestOptions] options
2642
+ # Request-specific options
2643
+ #
2644
+ # @yield [result, err] Result & error if block supplied
2645
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse] parsed result object
2646
+ # @yieldparam err [StandardError] error object if request failed
2647
+ #
2648
+ # @return [Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse]
2649
+ #
2650
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2651
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2652
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2653
+ def list_project_location_pluggable_databases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2654
+ command = make_simple_command(:get, 'v1/{+parent}/pluggableDatabases', options)
2655
+ command.response_representation = Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse::Representation
2656
+ command.response_class = Google::Apis::OracledatabaseV1::ListPluggableDatabasesResponse
2657
+ command.params['parent'] = parent unless parent.nil?
2658
+ command.query['filter'] = filter unless filter.nil?
2659
+ command.query['pageSize'] = page_size unless page_size.nil?
2660
+ command.query['pageToken'] = page_token unless page_token.nil?
1641
2661
  command.query['fields'] = fields unless fields.nil?
1642
2662
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1643
2663
  execute_or_queue_command(command, &block)