Skip to content

Commit 96cf760

Browse files
yoshi-automationsofisl
authored andcommitted
feat(looker): update the API
#### looker:v1 The following keys were added: - schemas.Instance.properties.pscConfig.$ref - schemas.Instance.properties.pscConfig.description - schemas.Instance.properties.pscEnabled.description - schemas.Instance.properties.pscEnabled.type - schemas.PscConfig.description - schemas.PscConfig.id - schemas.PscConfig.properties.allowedVpcs.description - schemas.PscConfig.properties.allowedVpcs.items.type - schemas.PscConfig.properties.allowedVpcs.type - schemas.PscConfig.properties.lookerServiceAttachmentUri.description - schemas.PscConfig.properties.lookerServiceAttachmentUri.readOnly - schemas.PscConfig.properties.lookerServiceAttachmentUri.type - schemas.PscConfig.properties.serviceAttachments.description - schemas.PscConfig.properties.serviceAttachments.items.$ref - schemas.PscConfig.properties.serviceAttachments.type - schemas.PscConfig.type - schemas.ServiceAttachment.description - schemas.ServiceAttachment.id - schemas.ServiceAttachment.properties.connectionStatus.description - schemas.ServiceAttachment.properties.connectionStatus.enum - schemas.ServiceAttachment.properties.connectionStatus.enumDescriptions - schemas.ServiceAttachment.properties.connectionStatus.readOnly - schemas.ServiceAttachment.properties.connectionStatus.type - schemas.ServiceAttachment.properties.localFqdn.description - schemas.ServiceAttachment.properties.localFqdn.type - schemas.ServiceAttachment.properties.targetServiceAttachmentUri.description - schemas.ServiceAttachment.properties.targetServiceAttachmentUri.type - schemas.ServiceAttachment.type
1 parent f267f00 commit 96cf760

File tree

2 files changed

+113
-1
lines changed

2 files changed

+113
-1
lines changed

discovery/looker-v1.json

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@
731731
}
732732
}
733733
},
734-
"revision": "20240522",
734+
"revision": "20240814",
735735
"rootUrl": "https://looker.googleapis.com/",
736736
"schemas": {
737737
"AdminSettings": {
@@ -1163,6 +1163,14 @@
11631163
"description": "Whether private IP is enabled on the Looker instance.",
11641164
"type": "boolean"
11651165
},
1166+
"pscConfig": {
1167+
"$ref": "PscConfig",
1168+
"description": "Optional. PSC configuration. Used when `psc_enabled` is true."
1169+
},
1170+
"pscEnabled": {
1171+
"description": "Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, neither `public_ip_enabled` nor `private_ip_enabled` can be true.",
1172+
"type": "boolean"
1173+
},
11661174
"publicIpEnabled": {
11671175
"description": "Whether public IP is enabled on the Looker instance.",
11681176
"type": "boolean"
@@ -1476,12 +1484,74 @@
14761484
},
14771485
"type": "object"
14781486
},
1487+
"PscConfig": {
1488+
"description": "Information for Private Service Connect (PSC) setup for a Looker instance.",
1489+
"id": "PscConfig",
1490+
"properties": {
1491+
"allowedVpcs": {
1492+
"description": "Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project}/global/networks/{network}",
1493+
"items": {
1494+
"type": "string"
1495+
},
1496+
"type": "array"
1497+
},
1498+
"lookerServiceAttachmentUri": {
1499+
"description": "Output only. URI of the Looker service attachment.",
1500+
"readOnly": true,
1501+
"type": "string"
1502+
},
1503+
"serviceAttachments": {
1504+
"description": "Optional. List of egress service attachment configurations.",
1505+
"items": {
1506+
"$ref": "ServiceAttachment"
1507+
},
1508+
"type": "array"
1509+
}
1510+
},
1511+
"type": "object"
1512+
},
14791513
"RestartInstanceRequest": {
14801514
"description": "Request options for restarting an instance.",
14811515
"id": "RestartInstanceRequest",
14821516
"properties": {},
14831517
"type": "object"
14841518
},
1519+
"ServiceAttachment": {
1520+
"description": "Service attachment configuration.",
1521+
"id": "ServiceAttachment",
1522+
"properties": {
1523+
"connectionStatus": {
1524+
"description": "Output only. Connection status.",
1525+
"enum": [
1526+
"UNKNOWN",
1527+
"ACCEPTED",
1528+
"PENDING",
1529+
"REJECTED",
1530+
"NEEDS_ATTENTION",
1531+
"CLOSED"
1532+
],
1533+
"enumDescriptions": [
1534+
"Connection status is unspecified.",
1535+
"Connection is established and functioning normally.",
1536+
"Connection is not established (Looker tenant project hasn't been allowlisted).",
1537+
"Connection is not established (Looker tenant project is explicitly in reject list).",
1538+
"Issue with target service attachment, e.g. NAT subnet is exhausted.",
1539+
"Target service attachment does not exist. This status is a terminal state."
1540+
],
1541+
"readOnly": true,
1542+
"type": "string"
1543+
},
1544+
"localFqdn": {
1545+
"description": "Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment.",
1546+
"type": "string"
1547+
},
1548+
"targetServiceAttachmentUri": {
1549+
"description": "Required. URI of the service attachment to connect to. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}",
1550+
"type": "string"
1551+
}
1552+
},
1553+
"type": "object"
1554+
},
14851555
"SetIamPolicyRequest": {
14861556
"description": "Request message for `SetIamPolicy` method.",
14871557
"id": "SetIamPolicyRequest",

src/apis/looker/v1.ts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,14 @@ export namespace looker_v1 {
423423
* Whether private IP is enabled on the Looker instance.
424424
*/
425425
privateIpEnabled?: boolean | null;
426+
/**
427+
* Optional. PSC configuration. Used when `psc_enabled` is true.
428+
*/
429+
pscConfig?: Schema$PscConfig;
430+
/**
431+
* Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, neither `public_ip_enabled` nor `private_ip_enabled` can be true.
432+
*/
433+
pscEnabled?: boolean | null;
426434
/**
427435
* Whether public IP is enabled on the Looker instance.
428436
*/
@@ -630,10 +638,44 @@ export namespace looker_v1 {
630638
*/
631639
version?: number | null;
632640
}
641+
/**
642+
* Information for Private Service Connect (PSC) setup for a Looker instance.
643+
*/
644+
export interface Schema$PscConfig {
645+
/**
646+
* Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project\}/global/networks/{network\}
647+
*/
648+
allowedVpcs?: string[] | null;
649+
/**
650+
* Output only. URI of the Looker service attachment.
651+
*/
652+
lookerServiceAttachmentUri?: string | null;
653+
/**
654+
* Optional. List of egress service attachment configurations.
655+
*/
656+
serviceAttachments?: Schema$ServiceAttachment[];
657+
}
633658
/**
634659
* Request options for restarting an instance.
635660
*/
636661
export interface Schema$RestartInstanceRequest {}
662+
/**
663+
* Service attachment configuration.
664+
*/
665+
export interface Schema$ServiceAttachment {
666+
/**
667+
* Output only. Connection status.
668+
*/
669+
connectionStatus?: string | null;
670+
/**
671+
* Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment.
672+
*/
673+
localFqdn?: string | null;
674+
/**
675+
* Required. URI of the service attachment to connect to. Format: projects/{project\}/regions/{region\}/serviceAttachments/{service_attachment\}
676+
*/
677+
targetServiceAttachmentUri?: string | null;
678+
}
637679
/**
638680
* Request message for `SetIamPolicy` method.
639681
*/

0 commit comments

Comments
 (0)