Skip to content

Commit ad14290

Browse files
yoshi-automationsofisl
authored andcommitted
feat(oracledatabase): update the API
#### oracledatabase:v1 The following keys were added: - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.flatPath - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.httpMethod - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.id - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.parameterOrder - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.parameters.name.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.parameters.name.location - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.parameters.name.pattern - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.parameters.name.required - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.parameters.name.type - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.path - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.request.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.response.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart.scopes - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.flatPath - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.httpMethod - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.id - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.parameterOrder - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.parameters.name.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.parameters.name.location - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.parameters.name.pattern - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.parameters.name.required - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.parameters.name.type - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.path - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.request.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.response.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.start.scopes - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.flatPath - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.httpMethod - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.id - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.parameterOrder - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.parameters.name.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.parameters.name.location - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.parameters.name.pattern - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.parameters.name.required - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.parameters.name.type - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.path - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.request.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.response.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop.scopes - schemas.RestartAutonomousDatabaseRequest.description - schemas.RestartAutonomousDatabaseRequest.id - schemas.RestartAutonomousDatabaseRequest.type - schemas.StartAutonomousDatabaseRequest.description - schemas.StartAutonomousDatabaseRequest.id - schemas.StartAutonomousDatabaseRequest.type - schemas.StopAutonomousDatabaseRequest.description - schemas.StopAutonomousDatabaseRequest.id - schemas.StopAutonomousDatabaseRequest.type
1 parent 4b176f2 commit ad14290

File tree

2 files changed

+415
-1
lines changed

2 files changed

+415
-1
lines changed

discovery/oracledatabase-v1.json

+103-1
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,34 @@
436436
"https://www.googleapis.com/auth/cloud-platform"
437437
]
438438
},
439+
"restart": {
440+
"description": "Restarts an Autonomous Database.",
441+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:restart",
442+
"httpMethod": "POST",
443+
"id": "oracledatabase.projects.locations.autonomousDatabases.restart",
444+
"parameterOrder": [
445+
"name"
446+
],
447+
"parameters": {
448+
"name": {
449+
"description": "Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.",
450+
"location": "path",
451+
"pattern": "^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$",
452+
"required": true,
453+
"type": "string"
454+
}
455+
},
456+
"path": "v1/{+name}:restart",
457+
"request": {
458+
"$ref": "RestartAutonomousDatabaseRequest"
459+
},
460+
"response": {
461+
"$ref": "Operation"
462+
},
463+
"scopes": [
464+
"https://www.googleapis.com/auth/cloud-platform"
465+
]
466+
},
439467
"restore": {
440468
"description": "Restores a single Autonomous Database.",
441469
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:restore",
@@ -463,6 +491,62 @@
463491
"scopes": [
464492
"https://www.googleapis.com/auth/cloud-platform"
465493
]
494+
},
495+
"start": {
496+
"description": "Starts an Autonomous Database.",
497+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:start",
498+
"httpMethod": "POST",
499+
"id": "oracledatabase.projects.locations.autonomousDatabases.start",
500+
"parameterOrder": [
501+
"name"
502+
],
503+
"parameters": {
504+
"name": {
505+
"description": "Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.",
506+
"location": "path",
507+
"pattern": "^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$",
508+
"required": true,
509+
"type": "string"
510+
}
511+
},
512+
"path": "v1/{+name}:start",
513+
"request": {
514+
"$ref": "StartAutonomousDatabaseRequest"
515+
},
516+
"response": {
517+
"$ref": "Operation"
518+
},
519+
"scopes": [
520+
"https://www.googleapis.com/auth/cloud-platform"
521+
]
522+
},
523+
"stop": {
524+
"description": "Stops an Autonomous Database.",
525+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:stop",
526+
"httpMethod": "POST",
527+
"id": "oracledatabase.projects.locations.autonomousDatabases.stop",
528+
"parameterOrder": [
529+
"name"
530+
],
531+
"parameters": {
532+
"name": {
533+
"description": "Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.",
534+
"location": "path",
535+
"pattern": "^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$",
536+
"required": true,
537+
"type": "string"
538+
}
539+
},
540+
"path": "v1/{+name}:stop",
541+
"request": {
542+
"$ref": "StopAutonomousDatabaseRequest"
543+
},
544+
"response": {
545+
"$ref": "Operation"
546+
},
547+
"scopes": [
548+
"https://www.googleapis.com/auth/cloud-platform"
549+
]
466550
}
467551
}
468552
},
@@ -1119,7 +1203,7 @@
11191203
}
11201204
}
11211205
},
1122-
"revision": "20250223",
1206+
"revision": "20250312",
11231207
"rootUrl": "https://oracledatabase.googleapis.com/",
11241208
"schemas": {
11251209
"AllConnectionStrings": {
@@ -3639,6 +3723,12 @@
36393723
},
36403724
"type": "object"
36413725
},
3726+
"RestartAutonomousDatabaseRequest": {
3727+
"description": "The request for `AutonomousDatabase.Restart`.",
3728+
"id": "RestartAutonomousDatabaseRequest",
3729+
"properties": {},
3730+
"type": "object"
3731+
},
36423732
"RestoreAutonomousDatabaseRequest": {
36433733
"description": "The request for `AutonomousDatabase.Restore`.",
36443734
"id": "RestoreAutonomousDatabaseRequest",
@@ -3693,6 +3783,12 @@
36933783
},
36943784
"type": "object"
36953785
},
3786+
"StartAutonomousDatabaseRequest": {
3787+
"description": "The request for `AutonomousDatabase.Start`.",
3788+
"id": "StartAutonomousDatabaseRequest",
3789+
"properties": {},
3790+
"type": "object"
3791+
},
36963792
"Status": {
36973793
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
36983794
"id": "Status",
@@ -3720,6 +3816,12 @@
37203816
},
37213817
"type": "object"
37223818
},
3819+
"StopAutonomousDatabaseRequest": {
3820+
"description": "The request for `AutonomousDatabase.Stop`.",
3821+
"id": "StopAutonomousDatabaseRequest",
3822+
"properties": {},
3823+
"type": "object"
3824+
},
37233825
"TimeOfDay": {
37243826
"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.",
37253827
"id": "TimeOfDay",

0 commit comments

Comments
 (0)