Skip to content

Commit c892cd5

Browse files
feat(oracledatabase): update the api
#### oracledatabase:v1 The following keys were added: - resources.projects.resources.locations.resources.autonomousDatabases.methods.restart (Total Keys: 12) - resources.projects.resources.locations.resources.autonomousDatabases.methods.start (Total Keys: 12) - resources.projects.resources.locations.resources.autonomousDatabases.methods.stop (Total Keys: 12) - schemas.RestartAutonomousDatabaseRequest (Total Keys: 2) - schemas.StartAutonomousDatabaseRequest (Total Keys: 2) - schemas.StopAutonomousDatabaseRequest (Total Keys: 2)
1 parent 5012558 commit c892cd5

File tree

2 files changed

+235
-1
lines changed

2 files changed

+235
-1
lines changed

docs/dyn/oracledatabase_v1.projects.locations.autonomousDatabases.html

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,18 @@ <h2>Instance Methods</h2>
9595
<p class="toc_element">
9696
<code><a href="#list_next">list_next()</a></code></p>
9797
<p class="firstline">Retrieves the next page of results.</p>
98+
<p class="toc_element">
99+
<code><a href="#restart">restart(name, body=None, x__xgafv=None)</a></code></p>
100+
<p class="firstline">Restarts an Autonomous Database.</p>
98101
<p class="toc_element">
99102
<code><a href="#restore">restore(name, body=None, x__xgafv=None)</a></code></p>
100103
<p class="firstline">Restores a single Autonomous Database.</p>
104+
<p class="toc_element">
105+
<code><a href="#start">start(name, body=None, x__xgafv=None)</a></code></p>
106+
<p class="firstline">Starts an Autonomous Database.</p>
107+
<p class="toc_element">
108+
<code><a href="#stop">stop(name, body=None, x__xgafv=None)</a></code></p>
109+
<p class="firstline">Stops an Autonomous Database.</p>
101110
<h3>Method Details</h3>
102111
<div class="method">
103112
<code class="details" id="close">close()</code>
@@ -681,6 +690,47 @@ <h3>Method Details</h3>
681690
</pre>
682691
</div>
683692

693+
<div class="method">
694+
<code class="details" id="restart">restart(name, body=None, x__xgafv=None)</code>
695+
<pre>Restarts an Autonomous Database.
696+
697+
Args:
698+
name: string, Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. (required)
699+
body: object, The request body.
700+
The object takes the form of:
701+
702+
{ # The request for `AutonomousDatabase.Restart`.
703+
}
704+
705+
x__xgafv: string, V1 error format.
706+
Allowed values
707+
1 - v1 error format
708+
2 - v2 error format
709+
710+
Returns:
711+
An object of the form:
712+
713+
{ # This resource represents a long-running operation that is the result of a network API call.
714+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
715+
&quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
716+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
717+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
718+
{
719+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
720+
},
721+
],
722+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
723+
},
724+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
725+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
726+
},
727+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
728+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
729+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
730+
},
731+
}</pre>
732+
</div>
733+
684734
<div class="method">
685735
<code class="details" id="restore">restore(name, body=None, x__xgafv=None)</code>
686736
<pre>Restores a single Autonomous Database.
@@ -723,4 +773,86 @@ <h3>Method Details</h3>
723773
}</pre>
724774
</div>
725775

776+
<div class="method">
777+
<code class="details" id="start">start(name, body=None, x__xgafv=None)</code>
778+
<pre>Starts an Autonomous Database.
779+
780+
Args:
781+
name: string, Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. (required)
782+
body: object, The request body.
783+
The object takes the form of:
784+
785+
{ # The request for `AutonomousDatabase.Start`.
786+
}
787+
788+
x__xgafv: string, V1 error format.
789+
Allowed values
790+
1 - v1 error format
791+
2 - v2 error format
792+
793+
Returns:
794+
An object of the form:
795+
796+
{ # This resource represents a long-running operation that is the result of a network API call.
797+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
798+
&quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
799+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
800+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
801+
{
802+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
803+
},
804+
],
805+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
806+
},
807+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
808+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
809+
},
810+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
811+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
812+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
813+
},
814+
}</pre>
815+
</div>
816+
817+
<div class="method">
818+
<code class="details" id="stop">stop(name, body=None, x__xgafv=None)</code>
819+
<pre>Stops an Autonomous Database.
820+
821+
Args:
822+
name: string, Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. (required)
823+
body: object, The request body.
824+
The object takes the form of:
825+
826+
{ # The request for `AutonomousDatabase.Stop`.
827+
}
828+
829+
x__xgafv: string, V1 error format.
830+
Allowed values
831+
1 - v1 error format
832+
2 - v2 error format
833+
834+
Returns:
835+
An object of the form:
836+
837+
{ # This resource represents a long-running operation that is the result of a network API call.
838+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
839+
&quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
840+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
841+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
842+
{
843+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
844+
},
845+
],
846+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
847+
},
848+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
849+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
850+
},
851+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
852+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
853+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
854+
},
855+
}</pre>
856+
</div>
857+
726858
</body></html>

googleapiclient/discovery_cache/documents/oracledatabase.v1.json

Lines changed: 103 additions & 1 deletion
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)