Skip to content

Commit 9fea79f

Browse files
feat(apihub): update the api
#### apihub:v1 The following keys were added: - resources.projects.resources.locations.resources.plugins.resources.instances.methods.manageSourceData (Total Keys: 12) - schemas.GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest (Total Keys: 7) - schemas.GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse (Total Keys: 2)
1 parent bdb05bf commit 9fea79f

File tree

5 files changed

+126
-13
lines changed

5 files changed

+126
-13
lines changed

docs/dyn/apihub_v1.projects.locations.apiHubInstances.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Provisions instance resources for the API Hub.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Deletes the API hub instance.</p>
85+
<p class="firstline">Deletes the API hub instance. Deleting the API hub instance will also result in the removal of all associated runtime project attachments and the host project registration.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets details of a single API Hub instance.</p>
@@ -154,7 +154,7 @@ <h3>Method Details</h3>
154154

155155
<div class="method">
156156
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
157-
<pre>Deletes the API hub instance.
157+
<pre>Deletes the API hub instance. Deleting the API hub instance will also result in the removal of all associated runtime project attachments and the host project registration.
158158

159159
Args:
160160
name: string, Required. The name of the Api Hub instance to delete. Format: `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`. (required)

docs/dyn/apihub_v1.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ <h3>Method Details</h3>
10361036

10371037
Args:
10381038
name: string, The resource that owns the locations collection, if applicable. (required)
1039-
extraLocationTypes: string, Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. (repeated)
1039+
extraLocationTypes: string, Optional. Unless explicitly documented otherwise, don&#x27;t use this unsupported field which is primarily intended for internal usage. (repeated)
10401040
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
10411041
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
10421042
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

docs/dyn/apihub_v1.projects.locations.plugins.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h3>Method Details</h3>
130130
The object takes the form of:
131131

132132
{ # A plugin resource in the API Hub.
133-
&quot;actionsConfig&quot;: [ # Required. The configuration of actions supported by the plugin.
133+
&quot;actionsConfig&quot;: [ # Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.
134134
{ # PluginActionConfig represents the configuration of an action supported by a plugin.
135135
&quot;description&quot;: &quot;A String&quot;, # Required. The description of the operation performed by the action.
136136
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the action.
@@ -226,7 +226,7 @@ <h3>Method Details</h3>
226226
An object of the form:
227227

228228
{ # A plugin resource in the API Hub.
229-
&quot;actionsConfig&quot;: [ # Required. The configuration of actions supported by the plugin.
229+
&quot;actionsConfig&quot;: [ # Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.
230230
{ # PluginActionConfig represents the configuration of an action supported by a plugin.
231231
&quot;description&quot;: &quot;A String&quot;, # Required. The description of the operation performed by the action.
232232
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the action.
@@ -369,7 +369,7 @@ <h3>Method Details</h3>
369369
An object of the form:
370370

371371
{ # A plugin resource in the API Hub.
372-
&quot;actionsConfig&quot;: [ # Required. The configuration of actions supported by the plugin.
372+
&quot;actionsConfig&quot;: [ # Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.
373373
{ # PluginActionConfig represents the configuration of an action supported by a plugin.
374374
&quot;description&quot;: &quot;A String&quot;, # Required. The description of the operation performed by the action.
375375
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the action.
@@ -477,7 +477,7 @@ <h3>Method Details</h3>
477477
An object of the form:
478478

479479
{ # A plugin resource in the API Hub.
480-
&quot;actionsConfig&quot;: [ # Required. The configuration of actions supported by the plugin.
480+
&quot;actionsConfig&quot;: [ # Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.
481481
{ # PluginActionConfig represents the configuration of an action supported by a plugin.
482482
&quot;description&quot;: &quot;A String&quot;, # Required. The description of the operation performed by the action.
483483
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the action.
@@ -579,7 +579,7 @@ <h3>Method Details</h3>
579579
An object of the form:
580580

581581
{ # A plugin resource in the API Hub.
582-
&quot;actionsConfig&quot;: [ # Required. The configuration of actions supported by the plugin.
582+
&quot;actionsConfig&quot;: [ # Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.
583583
{ # PluginActionConfig represents the configuration of an action supported by a plugin.
584584
&quot;description&quot;: &quot;A String&quot;, # Required. The description of the operation performed by the action.
585585
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the action.
@@ -711,7 +711,7 @@ <h3>Method Details</h3>
711711
&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.
712712
&quot;plugins&quot;: [ # The plugins from the specified parent resource.
713713
{ # A plugin resource in the API Hub.
714-
&quot;actionsConfig&quot;: [ # Required. The configuration of actions supported by the plugin.
714+
&quot;actionsConfig&quot;: [ # Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.
715715
{ # PluginActionConfig represents the configuration of an action supported by a plugin.
716716
&quot;description&quot;: &quot;A String&quot;, # Required. The description of the operation performed by the action.
717717
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the action.

docs/dyn/apihub_v1.projects.locations.plugins.instances.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ <h2>Instance Methods</h2>
101101
<p class="toc_element">
102102
<code><a href="#list_next">list_next()</a></code></p>
103103
<p class="firstline">Retrieves the next page of results.</p>
104+
<p class="toc_element">
105+
<code><a href="#manageSourceData">manageSourceData(name, body=None, x__xgafv=None)</a></code></p>
106+
<p class="firstline">Manages data for a given plugin instance.</p>
104107
<p class="toc_element">
105108
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
106109
<p class="firstline">Updates a plugin instance in the API hub. The following fields in the plugin_instance can be updated currently: * display_name * schedule_cron_expression The update_mask should be used to specify the fields being updated. To update the auth_config and additional_config of the plugin instance, use the ApplyPluginInstanceConfig method.</p>
@@ -658,6 +661,34 @@ <h3>Method Details</h3>
658661
</pre>
659662
</div>
660663

664+
<div class="method">
665+
<code class="details" id="manageSourceData">manageSourceData(name, body=None, x__xgafv=None)</code>
666+
<pre>Manages data for a given plugin instance.
667+
668+
Args:
669+
name: string, Required. The name of the plugin instance for which data needs to be managed. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` (required)
670+
body: object, The request body.
671+
The object takes the form of:
672+
673+
{ # The ManagePluginInstanceSourceData method&#x27;s request.
674+
&quot;action&quot;: &quot;A String&quot;, # Required. Action to be performed.
675+
&quot;data&quot;: &quot;A String&quot;, # Required. Data to be managed.
676+
&quot;dataType&quot;: &quot;A String&quot;, # Required. Type of data to be managed.
677+
&quot;relativePath&quot;: &quot;A String&quot;, # Required. Relative path of data being managed for a given plugin instance.
678+
}
679+
680+
x__xgafv: string, V1 error format.
681+
Allowed values
682+
1 - v1 error format
683+
2 - v2 error format
684+
685+
Returns:
686+
An object of the form:
687+
688+
{ # The ManagePluginInstanceSourceData method&#x27;s response.
689+
}</pre>
690+
</div>
691+
661692
<div class="method">
662693
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
663694
<pre>Updates a plugin instance in the API hub. The following fields in the plugin_instance can be updated currently: * display_name * schedule_cron_expression The update_mask should be used to specify the fields being updated. To update the auth_config and additional_config of the plugin instance, use the ApplyPluginInstanceConfig method.

googleapiclient/discovery_cache/documents/apihub.v1.json

Lines changed: 86 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
],
173173
"parameters": {
174174
"extraLocationTypes": {
175-
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
175+
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
176176
"location": "query",
177177
"repeated": true,
178178
"type": "string"
@@ -300,7 +300,7 @@
300300
]
301301
},
302302
"delete": {
303-
"description": "Deletes the API hub instance.",
303+
"description": "Deletes the API hub instance. Deleting the API hub instance will also result in the removal of all associated runtime project attachments and the host project registration.",
304304
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apiHubInstances/{apiHubInstancesId}",
305305
"httpMethod": "DELETE",
306306
"id": "apihub.projects.locations.apiHubInstances.delete",
@@ -2741,6 +2741,34 @@
27412741
"https://www.googleapis.com/auth/cloud-platform"
27422742
]
27432743
},
2744+
"manageSourceData": {
2745+
"description": "Manages data for a given plugin instance.",
2746+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}:manageSourceData",
2747+
"httpMethod": "POST",
2748+
"id": "apihub.projects.locations.plugins.instances.manageSourceData",
2749+
"parameterOrder": [
2750+
"name"
2751+
],
2752+
"parameters": {
2753+
"name": {
2754+
"description": "Required. The name of the plugin instance for which data needs to be managed. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`",
2755+
"location": "path",
2756+
"pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$",
2757+
"required": true,
2758+
"type": "string"
2759+
}
2760+
},
2761+
"path": "v1/{+name}:manageSourceData",
2762+
"request": {
2763+
"$ref": "GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest"
2764+
},
2765+
"response": {
2766+
"$ref": "GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse"
2767+
},
2768+
"scopes": [
2769+
"https://www.googleapis.com/auth/cloud-platform"
2770+
]
2771+
},
27442772
"patch": {
27452773
"description": "Updates a plugin instance in the API hub. The following fields in the plugin_instance can be updated currently: * display_name * schedule_cron_expression The update_mask should be used to specify the fields being updated. To update the auth_config and additional_config of the plugin instance, use the ApplyPluginInstanceConfig method.",
27462774
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}",
@@ -2946,7 +2974,7 @@
29462974
}
29472975
}
29482976
},
2949-
"revision": "20250829",
2977+
"revision": "20250912",
29502978
"rootUrl": "https://apihub.googleapis.com/",
29512979
"schemas": {
29522980
"Empty": {
@@ -5140,6 +5168,60 @@
51405168
},
51415169
"type": "object"
51425170
},
5171+
"GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest": {
5172+
"description": "The ManagePluginInstanceSourceData method's request.",
5173+
"id": "GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest",
5174+
"properties": {
5175+
"action": {
5176+
"description": "Required. Action to be performed.",
5177+
"enum": [
5178+
"ACTION_UNSPECIFIED",
5179+
"UPLOAD",
5180+
"DELETE"
5181+
],
5182+
"enumDescriptions": [
5183+
"Default unspecified action.",
5184+
"Upload or upsert data.",
5185+
"Delete data."
5186+
],
5187+
"type": "string"
5188+
},
5189+
"data": {
5190+
"description": "Required. Data to be managed.",
5191+
"format": "byte",
5192+
"type": "string"
5193+
},
5194+
"dataType": {
5195+
"description": "Required. Type of data to be managed.",
5196+
"enum": [
5197+
"DATA_TYPE_UNSPECIFIED",
5198+
"PROXY_DEPLOYMENT_MANIFEST",
5199+
"ENVIRONMENT_MANIFEST",
5200+
"PROXY_BUNDLE",
5201+
"SHARED_FLOW_BUNDLE"
5202+
],
5203+
"enumDescriptions": [
5204+
"Default unspecified type.",
5205+
"Proxy deployment manifest.",
5206+
"Environment manifest.",
5207+
"Proxy bundle.",
5208+
"Shared flow bundle."
5209+
],
5210+
"type": "string"
5211+
},
5212+
"relativePath": {
5213+
"description": "Required. Relative path of data being managed for a given plugin instance.",
5214+
"type": "string"
5215+
}
5216+
},
5217+
"type": "object"
5218+
},
5219+
"GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse": {
5220+
"description": "The ManagePluginInstanceSourceData method's response.",
5221+
"id": "GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse",
5222+
"properties": {},
5223+
"type": "object"
5224+
},
51435225
"GoogleCloudApihubV1MatchResult": {
51445226
"description": "MatchResult represents the result of matching a discovered API operation with a catalog API operation.",
51455227
"id": "GoogleCloudApihubV1MatchResult",
@@ -5378,7 +5460,7 @@
53785460
"id": "GoogleCloudApihubV1Plugin",
53795461
"properties": {
53805462
"actionsConfig": {
5381-
"description": "Required. The configuration of actions supported by the plugin.",
5463+
"description": "Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.",
53825464
"items": {
53835465
"$ref": "GoogleCloudApihubV1PluginActionConfig"
53845466
},

0 commit comments

Comments
 (0)