Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d25a9a6

Browse files
committedMar 18, 2025
feat(looker): update the api
#### looker:v1 The following keys were deleted: - resources.projects.resources.locations.resources.instances.methods.restore (Total Keys: 12) - resources.projects.resources.locations.resources.instances.resources.backups.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.instances.resources.backups.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.instances.resources.backups.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.instances.resources.backups.methods.list (Total Keys: 18) - schemas.InstanceBackup (Total Keys: 13) - schemas.ListInstanceBackupsResponse (Total Keys: 7) - schemas.RestoreInstanceRequest (Total Keys: 3)
1 parent 90d6c6d commit d25a9a6

File tree

2 files changed

+1
-287
lines changed

2 files changed

+1
-287
lines changed
 

‎docs/dyn/looker_v1.projects.locations.instances.html

-50
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@
7474

7575
<h1><a href="looker_v1.html">Looker (Google Cloud core) API</a> . <a href="looker_v1.projects.html">projects</a> . <a href="looker_v1.projects.locations.html">locations</a> . <a href="looker_v1.projects.locations.instances.html">instances</a></h1>
7676
<h2>Instance Methods</h2>
77-
<p class="toc_element">
78-
<code><a href="looker_v1.projects.locations.instances.backups.html">backups()</a></code>
79-
</p>
80-
<p class="firstline">Returns the backups Resource.</p>
81-
8277
<p class="toc_element">
8378
<code><a href="#close">close()</a></code></p>
8479
<p class="firstline">Close httplib2 connections.</p>
@@ -109,9 +104,6 @@ <h2>Instance Methods</h2>
109104
<p class="toc_element">
110105
<code><a href="#restart">restart(name, body=None, x__xgafv=None)</a></code></p>
111106
<p class="firstline">Restart instance.</p>
112-
<p class="toc_element">
113-
<code><a href="#restore">restore(name, body=None, x__xgafv=None)</a></code></p>
114-
<p class="firstline">Restore Looker instance.</p>
115107
<h3>Method Details</h3>
116108
<div class="method">
117109
<code class="details" id="close">close()</code>
@@ -846,46 +838,4 @@ <h3>Method Details</h3>
846838
}</pre>
847839
</div>
848840

849-
<div class="method">
850-
<code class="details" id="restore">restore(name, body=None, x__xgafv=None)</code>
851-
<pre>Restore Looker instance.
852-
853-
Args:
854-
name: string, Required. Instance being restored Format: projects/{project}/locations/{location}/instances/{instance} (required)
855-
body: object, The request body.
856-
The object takes the form of:
857-
858-
{ # Request options for restoring an instance
859-
&quot;backup&quot;: &quot;A String&quot;, # Required. Backup being used to restore the instance Format: projects/{project}/locations/{location}/instances/{instance}/backups/{backup}
860-
}
861-
862-
x__xgafv: string, V1 error format.
863-
Allowed values
864-
1 - v1 error format
865-
2 - v2 error format
866-
867-
Returns:
868-
An object of the form:
869-
870-
{ # This resource represents a long-running operation that is the result of a network API call.
871-
&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.
872-
&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.
873-
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
874-
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
875-
{
876-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
877-
},
878-
],
879-
&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.
880-
},
881-
&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.
882-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
883-
},
884-
&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}`.
885-
&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`.
886-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
887-
},
888-
}</pre>
889-
</div>
890-
891841
</body></html>

‎googleapiclient/discovery_cache/documents/looker.v1.json

+1-237
Original file line numberDiff line numberDiff line change
@@ -420,159 +420,6 @@
420420
"scopes": [
421421
"https://www.googleapis.com/auth/cloud-platform"
422422
]
423-
},
424-
"restore": {
425-
"description": "Restore Looker instance.",
426-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restore",
427-
"httpMethod": "POST",
428-
"id": "looker.projects.locations.instances.restore",
429-
"parameterOrder": [
430-
"name"
431-
],
432-
"parameters": {
433-
"name": {
434-
"description": "Required. Instance being restored Format: projects/{project}/locations/{location}/instances/{instance}",
435-
"location": "path",
436-
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
437-
"required": true,
438-
"type": "string"
439-
}
440-
},
441-
"path": "v1/{+name}:restore",
442-
"request": {
443-
"$ref": "RestoreInstanceRequest"
444-
},
445-
"response": {
446-
"$ref": "Operation"
447-
},
448-
"scopes": [
449-
"https://www.googleapis.com/auth/cloud-platform"
450-
]
451-
}
452-
},
453-
"resources": {
454-
"backups": {
455-
"methods": {
456-
"create": {
457-
"description": "Backup Looker instance.",
458-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups",
459-
"httpMethod": "POST",
460-
"id": "looker.projects.locations.instances.backups.create",
461-
"parameterOrder": [
462-
"parent"
463-
],
464-
"parameters": {
465-
"parent": {
466-
"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}",
467-
"location": "path",
468-
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
469-
"required": true,
470-
"type": "string"
471-
}
472-
},
473-
"path": "v1/{+parent}/backups",
474-
"request": {
475-
"$ref": "InstanceBackup"
476-
},
477-
"response": {
478-
"$ref": "Operation"
479-
},
480-
"scopes": [
481-
"https://www.googleapis.com/auth/cloud-platform"
482-
]
483-
},
484-
"delete": {
485-
"description": "Delete backup.",
486-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups/{backupsId}",
487-
"httpMethod": "DELETE",
488-
"id": "looker.projects.locations.instances.backups.delete",
489-
"parameterOrder": [
490-
"name"
491-
],
492-
"parameters": {
493-
"name": {
494-
"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}/backups/{backup}",
495-
"location": "path",
496-
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/backups/[^/]+$",
497-
"required": true,
498-
"type": "string"
499-
}
500-
},
501-
"path": "v1/{+name}",
502-
"response": {
503-
"$ref": "Operation"
504-
},
505-
"scopes": [
506-
"https://www.googleapis.com/auth/cloud-platform"
507-
]
508-
},
509-
"get": {
510-
"description": "",
511-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups/{backupsId}",
512-
"httpMethod": "GET",
513-
"id": "looker.projects.locations.instances.backups.get",
514-
"parameterOrder": [
515-
"name"
516-
],
517-
"parameters": {
518-
"name": {
519-
"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}/backups/{backup}`.",
520-
"location": "path",
521-
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/backups/[^/]+$",
522-
"required": true,
523-
"type": "string"
524-
}
525-
},
526-
"path": "v1/{+name}",
527-
"response": {
528-
"$ref": "InstanceBackup"
529-
},
530-
"scopes": [
531-
"https://www.googleapis.com/auth/cloud-platform"
532-
]
533-
},
534-
"list": {
535-
"description": "List backups of Looker instance.",
536-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups",
537-
"httpMethod": "GET",
538-
"id": "looker.projects.locations.instances.backups.list",
539-
"parameterOrder": [
540-
"parent"
541-
],
542-
"parameters": {
543-
"orderBy": {
544-
"description": "Sort results. Default order is \"create_time desc\". Other supported fields are \"state\" and \"expire_time\". https://google.aip.dev/132#ordering",
545-
"location": "query",
546-
"type": "string"
547-
},
548-
"pageSize": {
549-
"description": "The maximum number of instances to return.",
550-
"format": "int32",
551-
"location": "query",
552-
"type": "integer"
553-
},
554-
"pageToken": {
555-
"description": "A page token received from a previous ListInstances request.",
556-
"location": "query",
557-
"type": "string"
558-
},
559-
"parent": {
560-
"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}.",
561-
"location": "path",
562-
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
563-
"required": true,
564-
"type": "string"
565-
}
566-
},
567-
"path": "v1/{+parent}/backups",
568-
"response": {
569-
"$ref": "ListInstanceBackupsResponse"
570-
},
571-
"scopes": [
572-
"https://www.googleapis.com/auth/cloud-platform"
573-
]
574-
}
575-
}
576423
}
577424
}
578425
},
@@ -704,7 +551,7 @@
704551
}
705552
}
706553
},
707-
"revision": "20250205",
554+
"revision": "20250305",
708555
"rootUrl": "https://looker.googleapis.com/",
709556
"schemas": {
710557
"AdminSettings": {
@@ -1124,78 +971,6 @@
1124971
},
1125972
"type": "object"
1126973
},
1127-
"InstanceBackup": {
1128-
"description": "The details of a backup resource.",
1129-
"id": "InstanceBackup",
1130-
"properties": {
1131-
"createTime": {
1132-
"description": "Output only. The time when the backup was started.",
1133-
"format": "google-datetime",
1134-
"readOnly": true,
1135-
"type": "string"
1136-
},
1137-
"encryptionConfig": {
1138-
"$ref": "EncryptionConfig",
1139-
"description": "Output only. Current status of the CMEK encryption",
1140-
"readOnly": true
1141-
},
1142-
"expireTime": {
1143-
"description": "Output only. The time when the backup will be deleted.",
1144-
"format": "google-datetime",
1145-
"readOnly": true,
1146-
"type": "string"
1147-
},
1148-
"name": {
1149-
"description": "Immutable. The relative resource name of the backup, in the following form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}/backups/{backup}`",
1150-
"type": "string"
1151-
},
1152-
"state": {
1153-
"description": "Output only. The current state of the backup.",
1154-
"enum": [
1155-
"STATE_UNSPECIFIED",
1156-
"CREATING",
1157-
"DELETING",
1158-
"ACTIVE",
1159-
"FAILED"
1160-
],
1161-
"enumDescriptions": [
1162-
"The state of the backup is unknown.",
1163-
"The backup is being created.",
1164-
"The backup is being deleted.",
1165-
"The backup is active and ready to use.",
1166-
"The backup failed."
1167-
],
1168-
"readOnly": true,
1169-
"type": "string"
1170-
}
1171-
},
1172-
"type": "object"
1173-
},
1174-
"ListInstanceBackupsResponse": {
1175-
"description": "Response from listing Looker instance backups.",
1176-
"id": "ListInstanceBackupsResponse",
1177-
"properties": {
1178-
"instanceBackups": {
1179-
"description": "The list of instances matching the request filters, up to the requested `page_size`.",
1180-
"items": {
1181-
"$ref": "InstanceBackup"
1182-
},
1183-
"type": "array"
1184-
},
1185-
"nextPageToken": {
1186-
"description": "If provided, a page token that can look up the next `page_size` results. If empty, the results list is exhausted.",
1187-
"type": "string"
1188-
},
1189-
"unreachable": {
1190-
"description": "Locations that could not be reached.",
1191-
"items": {
1192-
"type": "string"
1193-
},
1194-
"type": "array"
1195-
}
1196-
},
1197-
"type": "object"
1198-
},
1199974
"ListInstancesResponse": {
1200975
"description": "Response from ListInstances.",
1201976
"id": "ListInstancesResponse",
@@ -1462,17 +1237,6 @@
14621237
"properties": {},
14631238
"type": "object"
14641239
},
1465-
"RestoreInstanceRequest": {
1466-
"description": "Request options for restoring an instance",
1467-
"id": "RestoreInstanceRequest",
1468-
"properties": {
1469-
"backup": {
1470-
"description": "Required. Backup being used to restore the instance Format: projects/{project}/locations/{location}/instances/{instance}/backups/{backup}",
1471-
"type": "string"
1472-
}
1473-
},
1474-
"type": "object"
1475-
},
14761240
"ServiceAttachment": {
14771241
"description": "Service attachment configuration.",
14781242
"id": "ServiceAttachment",

0 commit comments

Comments
 (0)
Please sign in to comment.