Skip to content

Commit

Permalink
feat(connectors): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Oct 29, 2024
1 parent 148f5da commit 3fed47a
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ <h3>Method Details</h3>
&quot;parameter&quot;: &quot;A String&quot;, # Name of the Parameter.
},
],
&quot;inputSchemaAsString&quot;: &quot;A String&quot;, # Output only. Input schema as string.
&quot;resultJsonSchema&quot;: { # JsonSchema representation of schema metadata # Output only. JsonSchema representation of this action&#x27;s result metadata
&quot;default&quot;: &quot;&quot;, # The default value of the field or object described by this schema.
&quot;description&quot;: &quot;A String&quot;, # A description of this schema.
Expand Down Expand Up @@ -297,6 +298,7 @@ <h3>Method Details</h3>
&quot;nullable&quot;: True or False, # Specifies whether a null value is allowed.
},
],
&quot;resultSchemaAsString&quot;: &quot;A String&quot;, # Output only. Result schema as string.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # token for next page
Expand Down
2 changes: 2 additions & 0 deletions docs/dyn/connectors_v1.projects.locations.connections.html
Original file line number Diff line number Diff line change
Expand Up @@ -2212,6 +2212,7 @@ <h3>Method Details</h3>
&quot;parameter&quot;: &quot;A String&quot;, # Name of the Parameter.
},
],
&quot;inputSchemaAsString&quot;: &quot;A String&quot;, # Output only. Input schema as string.
&quot;resultJsonSchema&quot;: { # JsonSchema representation of schema metadata # Output only. JsonSchema representation of this action&#x27;s result metadata
&quot;default&quot;: &quot;&quot;, # The default value of the field or object described by this schema.
&quot;description&quot;: &quot;A String&quot;, # A description of this schema.
Expand Down Expand Up @@ -2259,6 +2260,7 @@ <h3>Method Details</h3>
&quot;nullable&quot;: True or False, # Specifies whether a null value is allowed.
},
],
&quot;resultSchemaAsString&quot;: &quot;A String&quot;, # Output only. Result schema as string.
},
&quot;connection&quot;: { # Connection represents an instance of connector. # Output only. Connection details
&quot;asyncOperationsEnabled&quot;: 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, schemaAsString=None, x__xgafv=None)</a></code></p>
<p class="firstline">List schema of a runtime actions filtered by action name.</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
Expand All @@ -90,14 +90,15 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, schemaAsString=None, x__xgafv=None)</code>
<pre>List schema of a runtime actions filtered by action name.

Args:
parent: string, Required. Parent resource of RuntimeActionSchema Format: projects/{project}/locations/{location}/connections/{connection} (required)
filter: string, Required. Filter Format: action=&quot;{actionId}&quot; Only action field is supported with literal equality operator. Accepted filter example: action=&quot;CancelOrder&quot; 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
Expand Down Expand Up @@ -160,6 +161,7 @@ <h3>Method Details</h3>
&quot;parameter&quot;: &quot;A String&quot;, # Name of the Parameter.
},
],
&quot;inputSchemaAsString&quot;: &quot;A String&quot;, # Output only. Input schema as string.
&quot;resultJsonSchema&quot;: { # JsonSchema representation of schema metadata # Output only. JsonSchema representation of this action&#x27;s result metadata
&quot;default&quot;: &quot;&quot;, # The default value of the field or object described by this schema.
&quot;description&quot;: &quot;A String&quot;, # A description of this schema.
Expand Down Expand Up @@ -207,6 +209,7 @@ <h3>Method Details</h3>
&quot;nullable&quot;: True or False, # Specifies whether a null value is allowed.
},
],
&quot;resultSchemaAsString&quot;: &quot;A String&quot;, # Output only. Result schema as string.
},
],
}</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ <h3>Method Details</h3>
&quot;connectorInfraConfig&quot;: { # 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.
&quot;alwaysAllocateCpu&quot;: True or False, # Indicates that the Cloud Run CPU should always be allocated.
&quot;connectionRatelimitWindowSeconds&quot;: &quot;A String&quot;, # The window used for ratelimiting runtime requests to connections.
&quot;connectorVersioningEnabled&quot;: True or False, # Indicate whether connector versioning is enabled.
&quot;deploymentModel&quot;: &quot;A String&quot;, # Indicate whether connector is deployed on GKE/CloudRun
&quot;hpaConfig&quot;: { # Autoscaling config for connector deployment system metrics. # HPA autoscaling config.
&quot;cpuUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent CPU utilization where HPA triggers autoscaling.
Expand Down Expand Up @@ -1101,6 +1102,7 @@ <h3>Method Details</h3>
&quot;connectorInfraConfig&quot;: { # 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.
&quot;alwaysAllocateCpu&quot;: True or False, # Indicates that the Cloud Run CPU should always be allocated.
&quot;connectionRatelimitWindowSeconds&quot;: &quot;A String&quot;, # The window used for ratelimiting runtime requests to connections.
&quot;connectorVersioningEnabled&quot;: True or False, # Indicate whether connector versioning is enabled.
&quot;deploymentModel&quot;: &quot;A String&quot;, # Indicate whether connector is deployed on GKE/CloudRun
&quot;hpaConfig&quot;: { # Autoscaling config for connector deployment system metrics. # HPA autoscaling config.
&quot;cpuUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent CPU utilization where HPA triggers autoscaling.
Expand Down
29 changes: 24 additions & 5 deletions googleapiclient/discovery_cache/documents/connectors.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -2497,7 +2502,7 @@
}
}
},
"revision": "20240924",
"revision": "20241015",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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",
Expand All @@ -7048,6 +7062,11 @@ false
},
"readOnly": true,
"type": "array"
},
"resultSchemaAsString": {
"description": "Output only. Result schema as string.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -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"
}
Expand Down
10 changes: 5 additions & 5 deletions googleapiclient/discovery_cache/documents/connectors.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@
}
}
},
"revision": "20240729",
"revision": "20241015",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AccessCredentials": {
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit 3fed47a

Please sign in to comment.