From 3fed47a5796b3e3d54f74abe503dc27e7cfa1e1d Mon Sep 17 00:00:00 2001
From: Yoshi Automation
Date: Tue, 29 Oct 2024 07:08:43 +0000
Subject: [PATCH] feat(connectors): update the api
#### connectors:v1
The following keys were added:
- resources.projects.resources.locations.resources.connections.resources.runtimeActionSchemas.methods.list.parameters.schemaAsString (Total Keys: 2)
- schemas.ConnectorInfraConfig.properties.connectorVersioningEnabled.type (Total Keys: 1)
- schemas.RuntimeActionSchema.properties.inputSchemaAsString (Total Keys: 2)
- schemas.RuntimeActionSchema.properties.resultSchemaAsString (Total Keys: 2)
---
....connections.connectionSchemaMetadata.html | 2 ++
...ors_v1.projects.locations.connections.html | 2 ++
...ions.connections.runtimeActionSchemas.html | 7 +++--
...cations.providers.connectors.versions.html | 2 ++
.../documents/connectors.v1.json | 29 +++++++++++++++----
.../documents/connectors.v2.json | 10 +++----
6 files changed, 40 insertions(+), 12 deletions(-)
diff --git a/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html b/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html
index 43a80086ffc..6883116aad8 100644
--- a/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html
+++ b/docs/dyn/connectors_v1.projects.locations.connections.connectionSchemaMetadata.html
@@ -250,6 +250,7 @@ Method Details
"parameter": "A String", # Name of the Parameter.
},
],
+ "inputSchemaAsString": "A String", # Output only. Input schema as string.
"resultJsonSchema": { # JsonSchema representation of schema metadata # Output only. JsonSchema representation of this action's result metadata
"default": "", # The default value of the field or object described by this schema.
"description": "A String", # A description of this schema.
@@ -297,6 +298,7 @@ Method Details
"nullable": True or False, # Specifies whether a null value is allowed.
},
],
+ "resultSchemaAsString": "A String", # Output only. Result schema as string.
},
],
"nextPageToken": "A String", # token for next page
diff --git a/docs/dyn/connectors_v1.projects.locations.connections.html b/docs/dyn/connectors_v1.projects.locations.connections.html
index dc0bbb27cea..d93d72bf422 100644
--- a/docs/dyn/connectors_v1.projects.locations.connections.html
+++ b/docs/dyn/connectors_v1.projects.locations.connections.html
@@ -2212,6 +2212,7 @@ Method Details
"parameter": "A String", # Name of the Parameter.
},
],
+ "inputSchemaAsString": "A String", # Output only. Input schema as string.
"resultJsonSchema": { # JsonSchema representation of schema metadata # Output only. JsonSchema representation of this action's result metadata
"default": "", # The default value of the field or object described by this schema.
"description": "A String", # A description of this schema.
@@ -2259,6 +2260,7 @@ Method Details
"nullable": True or False, # Specifies whether a null value is allowed.
},
],
+ "resultSchemaAsString": "A String", # Output only. Result schema as string.
},
"connection": { # Connection represents an instance of connector. # Output only. Connection details
"asyncOperationsEnabled": True or False, # Optional. Async operations enabled for the connection. If Async Operations is enabled, Connection allows the customers to initiate async long running operations using the actions API.
diff --git a/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html b/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html
index 9b37f45fd2b..c3a6e21a253 100644
--- a/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html
+++ b/docs/dyn/connectors_v1.projects.locations.connections.runtimeActionSchemas.html
@@ -78,7 +78,7 @@ Instance Methods
close()
Close httplib2 connections.
List schema of a runtime actions filtered by action name.
-
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
+
list(parent, filter=None, pageSize=None, pageToken=None, schemaAsString=None, x__xgafv=None)
List schema of a runtime actions filtered by action name.
Args:
@@ -98,6 +98,7 @@ Method Details
filter: string, Required. Filter Format: action="{actionId}" Only action field is supported with literal equality operator. Accepted filter example: action="CancelOrder" Wildcards are not supported in the filter currently.
pageSize: integer, Page size.
pageToken: string, Page token.
+ schemaAsString: boolean, Optional. Flag to indicate if schema should be returned as string or not
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -160,6 +161,7 @@ Method Details
"parameter": "A String", # Name of the Parameter.
},
],
+ "inputSchemaAsString": "A String", # Output only. Input schema as string.
"resultJsonSchema": { # JsonSchema representation of schema metadata # Output only. JsonSchema representation of this action's result metadata
"default": "", # The default value of the field or object described by this schema.
"description": "A String", # A description of this schema.
@@ -207,6 +209,7 @@ Method Details
"nullable": True or False, # Specifies whether a null value is allowed.
},
],
+ "resultSchemaAsString": "A String", # Output only. Result schema as string.
},
],
}
diff --git a/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html b/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html
index 31cfade4805..c99d760c8dd 100644
--- a/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html
+++ b/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html
@@ -331,6 +331,7 @@
Method Details
"connectorInfraConfig": { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector.
"alwaysAllocateCpu": True or False, # Indicates that the Cloud Run CPU should always be allocated.
"connectionRatelimitWindowSeconds": "A String", # The window used for ratelimiting runtime requests to connections.
+ "connectorVersioningEnabled": True or False, # Indicate whether connector versioning is enabled.
"deploymentModel": "A String", # Indicate whether connector is deployed on GKE/CloudRun
"hpaConfig": { # Autoscaling config for connector deployment system metrics. # HPA autoscaling config.
"cpuUtilizationThreshold": "A String", # Output only. Percent CPU utilization where HPA triggers autoscaling.
@@ -1101,6 +1102,7 @@
Method Details
"connectorInfraConfig": { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector.
"alwaysAllocateCpu": True or False, # Indicates that the Cloud Run CPU should always be allocated.
"connectionRatelimitWindowSeconds": "A String", # The window used for ratelimiting runtime requests to connections.
+ "connectorVersioningEnabled": True or False, # Indicate whether connector versioning is enabled.
"deploymentModel": "A String", # Indicate whether connector is deployed on GKE/CloudRun
"hpaConfig": { # Autoscaling config for connector deployment system metrics. # HPA autoscaling config.
"cpuUtilizationThreshold": "A String", # Output only. Percent CPU utilization where HPA triggers autoscaling.
diff --git a/googleapiclient/discovery_cache/documents/connectors.v1.json b/googleapiclient/discovery_cache/documents/connectors.v1.json
index 555978586c2..6714cf7151e 100644
--- a/googleapiclient/discovery_cache/documents/connectors.v1.json
+++ b/googleapiclient/discovery_cache/documents/connectors.v1.json
@@ -1095,6 +1095,11 @@
"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
"required": true,
"type": "string"
+},
+"schemaAsString": {
+"description": "Optional. Flag to indicate if schema should be returned as string or not",
+"location": "query",
+"type": "boolean"
}
},
"path": "v1/{+parent}/runtimeActionSchemas",
@@ -2497,7 +2502,7 @@
}
}
},
-"revision": "20240924",
+"revision": "20241015",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
@@ -3463,6 +3468,10 @@
"format": "int64",
"type": "string"
},
+"connectorVersioningEnabled": {
+"description": "Indicate whether connector versioning is enabled.",
+"type": "boolean"
+},
"deploymentModel": {
"description": "Indicate whether connector is deployed on GKE/CloudRun",
"enum": [
@@ -7036,6 +7045,11 @@ false
"readOnly": true,
"type": "array"
},
+"inputSchemaAsString": {
+"description": "Output only. Input schema as string.",
+"readOnly": true,
+"type": "string"
+},
"resultJsonSchema": {
"$ref": "JsonSchema",
"description": "Output only. JsonSchema representation of this action's result metadata",
@@ -7048,6 +7062,11 @@ false
},
"readOnly": true,
"type": "array"
+},
+"resultSchemaAsString": {
+"description": "Output only. Result schema as string.",
+"readOnly": true,
+"type": "string"
}
},
"type": "object"
@@ -7671,22 +7690,22 @@ false
"id": "TimeOfDay",
"properties": {
"hours": {
-"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.",
+"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.",
"format": "int32",
"type": "integer"
},
"minutes": {
-"description": "Minutes of hour of day. Must be from 0 to 59.",
+"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
"format": "int32",
"type": "integer"
},
"nanos": {
-"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
+"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
"format": "int32",
"type": "integer"
},
"seconds": {
-"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.",
+"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.",
"format": "int32",
"type": "integer"
}
diff --git a/googleapiclient/discovery_cache/documents/connectors.v2.json b/googleapiclient/discovery_cache/documents/connectors.v2.json
index 450fee51c19..d385ecf5faa 100644
--- a/googleapiclient/discovery_cache/documents/connectors.v2.json
+++ b/googleapiclient/discovery_cache/documents/connectors.v2.json
@@ -660,7 +660,7 @@
}
}
},
-"revision": "20240729",
+"revision": "20241015",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AccessCredentials": {
@@ -2403,22 +2403,22 @@ false
"id": "TimeOfDay",
"properties": {
"hours": {
-"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.",
+"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.",
"format": "int32",
"type": "integer"
},
"minutes": {
-"description": "Minutes of hour of day. Must be from 0 to 59.",
+"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
"format": "int32",
"type": "integer"
},
"nanos": {
-"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
+"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
"format": "int32",
"type": "integer"
},
"seconds": {
-"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.",
+"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.",
"format": "int32",
"type": "integer"
}