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