Skip to content

Commit 58b9bcb

Browse files
feat(integrations): update the api
#### integrations:v1 The following keys were added: - resources.projects.resources.locations.resources.integrations.methods.search (Total Keys: 20) - schemas.EnterpriseCrmEventbusProtoTaskExecutionDetails.properties.skippedOnFailure.type (Total Keys: 1) - schemas.GoogleCloudConnectorsV1Connection.properties.trafficShapingConfigs (Total Keys: 2) - schemas.GoogleCloudConnectorsV1TrafficShapingConfig (Total Keys: 6) - schemas.GoogleCloudIntegrationsV1alphaIntegrationVersion.properties.snapshotNumber.readOnly (Total Keys: 1) - schemas.GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse (Total Keys: 17)
1 parent 6ab6d89 commit 58b9bcb

15 files changed

+401
-185
lines changed

docs/dyn/integrations_v1.projects.locations.authConfigs.html

Lines changed: 36 additions & 36 deletions
Large diffs are not rendered by default.

docs/dyn/integrations_v1.projects.locations.connections.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ <h3>Method Details</h3>
241241
],
242242
&quot;connectionRevision&quot;: &quot;A String&quot;, # Output only. Connection revision. This field is only updated when the connection is created or updated by User.
243243
&quot;connectorVersion&quot;: &quot;A String&quot;, # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.
244-
&quot;connectorVersionInfraConfig&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 Version.
244+
&quot;connectorVersionInfraConfig&quot;: { # This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
245245
&quot;connectionRatelimitWindowSeconds&quot;: &quot;A String&quot;, # Output only. The window used for ratelimiting runtime requests to connections.
246246
&quot;deploymentModel&quot;: &quot;A String&quot;, # Output only. Indicates whether connector is deployed on GKE/CloudRun
247247
&quot;deploymentModelMigrationState&quot;: &quot;A String&quot;, # Output only. Status of the deployment model migration.
@@ -590,6 +590,12 @@ <h3>Method Details</h3>
590590
&quot;subscriptionType&quot;: &quot;A String&quot;, # Output only. This subscription type enum states the subscription type of the project.
591591
&quot;suspended&quot;: True or False, # Optional. Suspended indicates if a user has suspended a connection or not.
592592
&quot;tlsServiceDirectory&quot;: &quot;A String&quot;, # Output only. The name of the Service Directory service with TLS.
593+
&quot;trafficShapingConfigs&quot;: [ # Optional. Traffic shaping configuration for the connection.
594+
{ # * TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on.
595+
&quot;duration&quot;: &quot;A String&quot;, # Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds.
596+
&quot;quotaLimit&quot;: &quot;A String&quot;, # Required. Maximum number of api calls allowed.
597+
},
598+
],
593599
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
594600
},
595601
],

docs/dyn/integrations_v1.projects.locations.integrations.executions.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ <h3>Method Details</h3>
308308
&quot;snapshotTime&quot;: &quot;A String&quot;, # Indicates when this snapshot is taken.
309309
&quot;taskExecutionDetails&quot;: [ # All of the task execution details at the given point of time.
310310
{ # Contains the details of the execution of this task. Next available id: 11
311+
&quot;skippedOnFailure&quot;: True or False, # Indicates whether the task was skipped on failure. Only relevant if the task is in SKIPPED state.
311312
&quot;taskAttemptStats&quot;: [
312313
{
313314
&quot;endTime&quot;: &quot;A String&quot;, # The end time of the task execution for current attempt.
@@ -760,6 +761,7 @@ <h3>Method Details</h3>
760761
&quot;snapshotTime&quot;: &quot;A String&quot;, # Indicates when this snapshot is taken.
761762
&quot;taskExecutionDetails&quot;: [ # All of the task execution details at the given point of time.
762763
{ # Contains the details of the execution of this task. Next available id: 11
764+
&quot;skippedOnFailure&quot;: True or False, # Indicates whether the task was skipped on failure. Only relevant if the task is in SKIPPED state.
763765
&quot;taskAttemptStats&quot;: [
764766
{
765767
&quot;endTime&quot;: &quot;A String&quot;, # The end time of the task execution for current attempt.
@@ -1049,6 +1051,7 @@ <h3>Method Details</h3>
10491051
&quot;snapshotTime&quot;: &quot;A String&quot;, # Indicates when this snapshot is taken.
10501052
&quot;taskExecutionDetails&quot;: [ # All of the task execution details at the given point of time.
10511053
{ # Contains the details of the execution of this task. Next available id: 11
1054+
&quot;skippedOnFailure&quot;: True or False, # Indicates whether the task was skipped on failure. Only relevant if the task is in SKIPPED state.
10521055
&quot;taskAttemptStats&quot;: [
10531056
{
10541057
&quot;endTime&quot;: &quot;A String&quot;, # The end time of the task execution for current attempt.

docs/dyn/integrations_v1.projects.locations.integrations.html

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ <h2>Instance Methods</h2>
105105
<p class="toc_element">
106106
<code><a href="#schedule">schedule(name, body=None, x__xgafv=None)</a></code></p>
107107
<p class="firstline">Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.</p>
108+
<p class="toc_element">
109+
<code><a href="#search">search(parent, filter=None, pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
110+
<p class="firstline">Searches and returns the list of integrations in the specified project.</p>
111+
<p class="toc_element">
112+
<code><a href="#search_next">search_next()</a></code></p>
113+
<p class="firstline">Retrieves the next page of results.</p>
108114
<p class="toc_element">
109115
<code><a href="#test">test(name, body=None, x__xgafv=None)</a></code></p>
110116
<p class="firstline">Execute the integration in draft state</p>
@@ -639,6 +645,55 @@ <h3>Method Details</h3>
639645
}</pre>
640646
</div>
641647

648+
<div class="method">
649+
<code class="details" id="search">search(parent, filter=None, pageSize=None, pageToken=None, query=None, x__xgafv=None)</code>
650+
<pre>Searches and returns the list of integrations in the specified project.
651+
652+
Args:
653+
parent: string, Required. Project and location from which the integrations should be listed. Format: projects/*/locations/*/resources/integrations (required)
654+
filter: string, Optional. The pre-filter to be applied to the search. This should follow the expressions defined in https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata. For example, &quot;status:ANY(&quot;ACTIVE&quot;)&quot; will return all the resources whose status contains the &quot;ACTIVE&quot;.
655+
pageSize: integer, Optional. The maximum number of results to return. The service may return fewer than this value. If unspecified, at most 10 results will be returned. The maximum value is 100; values above 100 will be coerced to 100.
656+
pageToken: string, Optional. A page token, received from a previous `SearchIntegrations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchIntegrations` must match the call that provided the page token.
657+
query: string, Required. The user query
658+
x__xgafv: string, V1 error format.
659+
Allowed values
660+
1 - v1 error format
661+
2 - v2 error format
662+
663+
Returns:
664+
An object of the form:
665+
666+
{ # Response for SearchIntegrations.
667+
&quot;integrations&quot;: [ # The list of integrations that match the search criteria.
668+
{ # The integration search result with integration level information.
669+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time of the integration version.
670+
&quot;creator&quot;: &quot;A String&quot;, # The creator of the integration version.
671+
&quot;description&quot;: &quot;A String&quot;, # The description of the integration version.
672+
&quot;id&quot;: &quot;A String&quot;, # The integration id.
673+
&quot;name&quot;: &quot;A String&quot;, # The integration document metadata.
674+
&quot;region&quot;: &quot;A String&quot;, # The region of the integration version.
675+
&quot;status&quot;: &quot;A String&quot;, # Output only. The status of the integration version.
676+
&quot;version&quot;: &quot;A String&quot;, # The version of the integration version.
677+
},
678+
],
679+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
680+
}</pre>
681+
</div>
682+
683+
<div class="method">
684+
<code class="details" id="search_next">search_next()</code>
685+
<pre>Retrieves the next page of results.
686+
687+
Args:
688+
previous_request: The request for the previous page. (required)
689+
previous_response: The response from the request for the previous page. (required)
690+
691+
Returns:
692+
A request object that you can call &#x27;execute()&#x27; on to request the next
693+
page. Returns None if there are no more items in the collection.
694+
</pre>
695+
</div>
696+
642697
<div class="method">
643698
<code class="details" id="test">test(name, body=None, x__xgafv=None)</code>
644699
<pre>Execute the integration in draft state
@@ -939,7 +994,7 @@ <h3>Method Details</h3>
939994
&quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
940995
&quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
941996
&quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
942-
&quot;snapshotNumber&quot;: &quot;A String&quot;, # Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
997+
&quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
943998
&quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
944999
&quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
9451000
&quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.

0 commit comments

Comments
 (0)