From 6f898f376d9afa062abea6043f5fc4d680637ac1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 12 Mar 2024 07:08:28 +0000 Subject: [PATCH] feat(looker): update the api #### looker:v1 The following keys were deleted: - schemas.Instance.properties.pscConfig.$ref (Total Keys: 1) - schemas.Instance.properties.pscEnabled.type (Total Keys: 1) - schemas.PscConfig (Total Keys: 8) - schemas.ServiceAttachment (Total Keys: 6) The following keys were added: - schemas.Instance.properties.linkedLspProjectNumber (Total Keys: 2) --- ...ooker_v1.projects.locations.instances.html | 60 +-------------- .../discovery_cache/documents/looker.v1.json | 77 ++----------------- 2 files changed, 10 insertions(+), 127 deletions(-) diff --git a/docs/dyn/looker_v1.projects.locations.instances.html b/docs/dyn/looker_v1.projects.locations.instances.html index 1440ad0a49..3b11c1c82e 100644 --- a/docs/dyn/looker_v1.projects.locations.instances.html +++ b/docs/dyn/looker_v1.projects.locations.instances.html @@ -189,6 +189,7 @@

Method Details

"seconds": 42, # 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. }, }, + "linkedLspProjectNumber": "A String", # Optional. Linked Google Cloud Project Number for Looker Studio Pro. "lookerUri": "A String", # Output only. Looker instance URI which can be used to access the Looker Instance UI. "lookerVersion": "A String", # Output only. The Looker version that the instance is using. "maintenanceSchedule": { # Published upcoming future maintenance schedule. # Maintenance schedule for this instance. @@ -211,20 +212,6 @@

Method Details

}, "platformEdition": "A String", # Platform edition. "privateIpEnabled": True or False, # Whether private IP is enabled on the Looker instance. - "pscConfig": { # Information for Private Service Connect (PSC) setup for a Looker instance. # Optional. PSC configuration. Used when `enable_private_ip` and `psc_enabled` are both true. - "allowedVpcs": [ # Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project}/global/networks/{network} - "A String", - ], - "lookerServiceAttachmentUri": "A String", # Output only. URI of the Looker service attachment. - "serviceAttachments": [ # Optional. List of egress service attachment configurations. - { # Service attachment configuration. - "connectionStatus": "A String", # Output only. Connection status. - "localFqdn": "A String", # Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment. - "targetServiceAttachmentUri": "A String", # Required. URI of the service attachment to connect to. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment} - }, - ], - }, - "pscEnabled": True or False, # Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, VPC peering (PSA) will not be used. "publicIpEnabled": True or False, # Whether public IP is enabled on the Looker instance. "reservedRange": "A String", # Name of a reserved IP address range within the Instance.consumer_network, to be used for private services access connection. May or may not be specified in a create request. "state": "A String", # Output only. The state of the instance. @@ -417,6 +404,7 @@

Method Details

"seconds": 42, # 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. }, }, + "linkedLspProjectNumber": "A String", # Optional. Linked Google Cloud Project Number for Looker Studio Pro. "lookerUri": "A String", # Output only. Looker instance URI which can be used to access the Looker Instance UI. "lookerVersion": "A String", # Output only. The Looker version that the instance is using. "maintenanceSchedule": { # Published upcoming future maintenance schedule. # Maintenance schedule for this instance. @@ -439,20 +427,6 @@

Method Details

}, "platformEdition": "A String", # Platform edition. "privateIpEnabled": True or False, # Whether private IP is enabled on the Looker instance. - "pscConfig": { # Information for Private Service Connect (PSC) setup for a Looker instance. # Optional. PSC configuration. Used when `enable_private_ip` and `psc_enabled` are both true. - "allowedVpcs": [ # Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project}/global/networks/{network} - "A String", - ], - "lookerServiceAttachmentUri": "A String", # Output only. URI of the Looker service attachment. - "serviceAttachments": [ # Optional. List of egress service attachment configurations. - { # Service attachment configuration. - "connectionStatus": "A String", # Output only. Connection status. - "localFqdn": "A String", # Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment. - "targetServiceAttachmentUri": "A String", # Required. URI of the service attachment to connect to. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment} - }, - ], - }, - "pscEnabled": True or False, # Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, VPC peering (PSA) will not be used. "publicIpEnabled": True or False, # Whether public IP is enabled on the Looker instance. "reservedRange": "A String", # Name of a reserved IP address range within the Instance.consumer_network, to be used for private services access connection. May or may not be specified in a create request. "state": "A String", # Output only. The state of the instance. @@ -629,6 +603,7 @@

Method Details

"seconds": 42, # 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. }, }, + "linkedLspProjectNumber": "A String", # Optional. Linked Google Cloud Project Number for Looker Studio Pro. "lookerUri": "A String", # Output only. Looker instance URI which can be used to access the Looker Instance UI. "lookerVersion": "A String", # Output only. The Looker version that the instance is using. "maintenanceSchedule": { # Published upcoming future maintenance schedule. # Maintenance schedule for this instance. @@ -651,20 +626,6 @@

Method Details

}, "platformEdition": "A String", # Platform edition. "privateIpEnabled": True or False, # Whether private IP is enabled on the Looker instance. - "pscConfig": { # Information for Private Service Connect (PSC) setup for a Looker instance. # Optional. PSC configuration. Used when `enable_private_ip` and `psc_enabled` are both true. - "allowedVpcs": [ # Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project}/global/networks/{network} - "A String", - ], - "lookerServiceAttachmentUri": "A String", # Output only. URI of the Looker service attachment. - "serviceAttachments": [ # Optional. List of egress service attachment configurations. - { # Service attachment configuration. - "connectionStatus": "A String", # Output only. Connection status. - "localFqdn": "A String", # Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment. - "targetServiceAttachmentUri": "A String", # Required. URI of the service attachment to connect to. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment} - }, - ], - }, - "pscEnabled": True or False, # Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, VPC peering (PSA) will not be used. "publicIpEnabled": True or False, # Whether public IP is enabled on the Looker instance. "reservedRange": "A String", # Name of a reserved IP address range within the Instance.consumer_network, to be used for private services access connection. May or may not be specified in a create request. "state": "A String", # Output only. The state of the instance. @@ -762,6 +723,7 @@

Method Details

"seconds": 42, # 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. }, }, + "linkedLspProjectNumber": "A String", # Optional. Linked Google Cloud Project Number for Looker Studio Pro. "lookerUri": "A String", # Output only. Looker instance URI which can be used to access the Looker Instance UI. "lookerVersion": "A String", # Output only. The Looker version that the instance is using. "maintenanceSchedule": { # Published upcoming future maintenance schedule. # Maintenance schedule for this instance. @@ -784,20 +746,6 @@

Method Details

}, "platformEdition": "A String", # Platform edition. "privateIpEnabled": True or False, # Whether private IP is enabled on the Looker instance. - "pscConfig": { # Information for Private Service Connect (PSC) setup for a Looker instance. # Optional. PSC configuration. Used when `enable_private_ip` and `psc_enabled` are both true. - "allowedVpcs": [ # Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project}/global/networks/{network} - "A String", - ], - "lookerServiceAttachmentUri": "A String", # Output only. URI of the Looker service attachment. - "serviceAttachments": [ # Optional. List of egress service attachment configurations. - { # Service attachment configuration. - "connectionStatus": "A String", # Output only. Connection status. - "localFqdn": "A String", # Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment. - "targetServiceAttachmentUri": "A String", # Required. URI of the service attachment to connect to. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment} - }, - ], - }, - "pscEnabled": True or False, # Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, VPC peering (PSA) will not be used. "publicIpEnabled": True or False, # Whether public IP is enabled on the Looker instance. "reservedRange": "A String", # Name of a reserved IP address range within the Instance.consumer_network, to be used for private services access connection. May or may not be specified in a create request. "state": "A String", # Output only. The state of the instance. diff --git a/googleapiclient/discovery_cache/documents/looker.v1.json b/googleapiclient/discovery_cache/documents/looker.v1.json index df063a033f..fda88721f0 100644 --- a/googleapiclient/discovery_cache/documents/looker.v1.json +++ b/googleapiclient/discovery_cache/documents/looker.v1.json @@ -731,7 +731,7 @@ } } }, -"revision": "20240220", +"revision": "20240305", "rootUrl": "https://looker.googleapis.com/", "schemas": { "AdminSettings": { @@ -1107,6 +1107,11 @@ "description": "Output only. Last computed maintenance denial period for this instance.", "readOnly": true }, +"linkedLspProjectNumber": { +"description": "Optional. Linked Google Cloud Project Number for Looker Studio Pro.", +"format": "int64", +"type": "string" +}, "lookerUri": { "description": "Output only. Looker instance URI which can be used to access the Looker Instance UI.", "readOnly": true, @@ -1158,14 +1163,6 @@ "description": "Whether private IP is enabled on the Looker instance.", "type": "boolean" }, -"pscConfig": { -"$ref": "PscConfig", -"description": "Optional. PSC configuration. Used when `enable_private_ip` and `psc_enabled` are both true." -}, -"pscEnabled": { -"description": "Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, VPC peering (PSA) will not be used.", -"type": "boolean" -}, "publicIpEnabled": { "description": "Whether public IP is enabled on the Looker instance.", "type": "boolean" @@ -1479,74 +1476,12 @@ }, "type": "object" }, -"PscConfig": { -"description": "Information for Private Service Connect (PSC) setup for a Looker instance.", -"id": "PscConfig", -"properties": { -"allowedVpcs": { -"description": "Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project}/global/networks/{network}", -"items": { -"type": "string" -}, -"type": "array" -}, -"lookerServiceAttachmentUri": { -"description": "Output only. URI of the Looker service attachment.", -"readOnly": true, -"type": "string" -}, -"serviceAttachments": { -"description": "Optional. List of egress service attachment configurations.", -"items": { -"$ref": "ServiceAttachment" -}, -"type": "array" -} -}, -"type": "object" -}, "RestartInstanceRequest": { "description": "Request options for restarting an instance.", "id": "RestartInstanceRequest", "properties": {}, "type": "object" }, -"ServiceAttachment": { -"description": "Service attachment configuration.", -"id": "ServiceAttachment", -"properties": { -"connectionStatus": { -"description": "Output only. Connection status.", -"enum": [ -"UNKNOWN", -"ACCEPTED", -"PENDING", -"REJECTED", -"NEEDS_ATTENTION", -"CLOSED" -], -"enumDescriptions": [ -"Connection status is unspecified.", -"Connection is established and functioning normally.", -"Connection is not established (Looker tenant project hasn't been allowlisted).", -"Connection is not established (Looker tenant project is explicitly in reject list).", -"Issue with target service attachment, e.g. NAT subnet is exhausted.", -"Target service attachment does not exist. This status is a terminal state." -], -"readOnly": true, -"type": "string" -}, -"localFqdn": { -"description": "Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment.", -"type": "string" -}, -"targetServiceAttachmentUri": { -"description": "Required. URI of the service attachment to connect to. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}", -"type": "string" -} -}, -"type": "object" -}, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest",