Skip to content

Commit 9ce6a87

Browse files
yoshi-automationsofisl
authored andcommitted
feat(looker): update the API
#### looker:v1 The following keys were added: - schemas.Instance.properties.customDomain.description The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.Instance.properties.platformEdition.enum - schemas.Instance.properties.platformEdition.enumDescriptions - schemas.Instance.properties.userMetadata.description - schemas.TimeOfDay.properties.hours.description - schemas.TimeOfDay.properties.minutes.description - schemas.TimeOfDay.properties.nanos.description - schemas.TimeOfDay.properties.seconds.description
1 parent 52b7e88 commit 9ce6a87

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

‎discovery/looker-v1.json

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@
606606
"operations": {
607607
"methods": {
608608
"cancel": {
609-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
609+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
610610
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
611611
"httpMethod": "POST",
612612
"id": "looker.projects.locations.operations.cancel",
@@ -731,7 +731,7 @@
731731
}
732732
}
733733
},
734-
"revision": "20240910",
734+
"revision": "20250108",
735735
"rootUrl": "https://looker.googleapis.com/",
736736
"schemas": {
737737
"AdminSettings": {
@@ -1077,7 +1077,8 @@
10771077
"type": "string"
10781078
},
10791079
"customDomain": {
1080-
"$ref": "CustomDomain"
1080+
"$ref": "CustomDomain",
1081+
"description": "Custom domain configuration for the instance."
10811082
},
10821083
"denyMaintenancePeriod": {
10831084
"$ref": "DenyMaintenancePeriod",
@@ -1155,15 +1156,21 @@
11551156
"LOOKER_CORE_STANDARD",
11561157
"LOOKER_CORE_STANDARD_ANNUAL",
11571158
"LOOKER_CORE_ENTERPRISE_ANNUAL",
1158-
"LOOKER_CORE_EMBED_ANNUAL"
1159+
"LOOKER_CORE_EMBED_ANNUAL",
1160+
"LOOKER_CORE_NONPROD_STANDARD_ANNUAL",
1161+
"LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL",
1162+
"LOOKER_CORE_NONPROD_EMBED_ANNUAL"
11591163
],
11601164
"enumDescriptions": [
11611165
"Platform edition is unspecified.",
11621166
"Trial.",
11631167
"Standard.",
11641168
"Subscription Standard.",
11651169
"Subscription Enterprise.",
1166-
"Subscription Embed."
1170+
"Subscription Embed.",
1171+
"Nonprod Subscription Standard.",
1172+
"Nonprod Subscription Enterprise.",
1173+
"Nonprod Subscription Embed."
11671174
],
11681175
"type": "string"
11691176
},
@@ -1222,7 +1229,7 @@
12221229
},
12231230
"userMetadata": {
12241231
"$ref": "UserMetadata",
1225-
"description": "User metadata."
1232+
"description": "Optional. User metadata."
12261233
}
12271234
},
12281235
"type": "object"
@@ -1636,22 +1643,22 @@
16361643
"id": "TimeOfDay",
16371644
"properties": {
16381645
"hours": {
1639-
"description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
1646+
"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
16401647
"format": "int32",
16411648
"type": "integer"
16421649
},
16431650
"minutes": {
1644-
"description": "Minutes of hour of day. Must be from 0 to 59.",
1651+
"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
16451652
"format": "int32",
16461653
"type": "integer"
16471654
},
16481655
"nanos": {
1649-
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
1656+
"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
16501657
"format": "int32",
16511658
"type": "integer"
16521659
},
16531660
"seconds": {
1654-
"description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.",
1661+
"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.",
16551662
"format": "int32",
16561663
"type": "integer"
16571664
}

‎src/apis/looker/v1.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,9 @@ export namespace looker_v1 {
362362
* Output only. The time when the Looker instance provisioning was first requested.
363363
*/
364364
createTime?: string | null;
365+
/**
366+
* Custom domain configuration for the instance.
367+
*/
365368
customDomain?: Schema$CustomDomain;
366369
/**
367370
* Maintenance denial period for this instance.
@@ -456,7 +459,7 @@ export namespace looker_v1 {
456459
*/
457460
updateTime?: string | null;
458461
/**
459-
* User metadata.
462+
* Optional. User metadata.
460463
*/
461464
userMetadata?: Schema$UserMetadata;
462465
}
@@ -737,19 +740,19 @@ export namespace looker_v1 {
737740
*/
738741
export interface Schema$TimeOfDay {
739742
/**
740-
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
743+
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
741744
*/
742745
hours?: number | null;
743746
/**
744-
* Minutes of hour of day. Must be from 0 to 59.
747+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
745748
*/
746749
minutes?: number | null;
747750
/**
748-
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
751+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
749752
*/
750753
nanos?: number | null;
751754
/**
752-
* Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
755+
* Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
753756
*/
754757
seconds?: number | null;
755758
}
@@ -2438,7 +2441,7 @@ export namespace looker_v1 {
24382441
}
24392442

24402443
/**
2441-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2444+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
24422445
*
24432446
* @param params - Parameters for request
24442447
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)