Skip to content

Commit

Permalink
feat(apphub): update the api
Browse files Browse the repository at this point in the history
#### apphub:v1alpha

The following keys were added:
- resources.projects.resources.locations.resources.discoveredServices.methods.find (Total Keys: 20)
- resources.projects.resources.locations.resources.discoveredWorkloads.methods.find (Total Keys: 20)
- schemas.FindDiscoveredServicesResponse (Total Keys: 7)
- schemas.FindDiscoveredWorkloadsResponse (Total Keys: 7)
  • Loading branch information
yoshi-automation committed Feb 6, 2024
1 parent 946cf3a commit 5dc1275
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 2 deletions.
60 changes: 60 additions & 0 deletions docs/dyn/apphub_v1alpha.projects.locations.discoveredServices.html
Expand Up @@ -77,12 +77,18 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#find">find(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Finds discovered services that could be added to an application in a host project and location.</p>
<p class="toc_element">
<code><a href="#findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Finds unregistered services in a host project and location.</p>
<p class="toc_element">
<code><a href="#findUnregistered_next">findUnregistered_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#find_next">find_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a discovered service in a host project and location.</p>
Expand All @@ -98,6 +104,46 @@ <h3>Method Details</h3>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="find">find(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Finds discovered services that could be added to an application in a host project and location.

Args:
parent: string, Required. Value for parent. (required)
filter: string, Optional. Filtering results
orderBy: string, Optional. Hint for how to order the results
pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
pageToken: string, Optional. A token identifying a page of results the server should return.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response for FindDiscoveredServices.
&quot;discoveredServices&quot;: [ # List of discovered services.
{ # DiscoveredService is a network/api interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the discovered service. Format: &quot;projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}&quot;&quot;
&quot;serviceProperties&quot;: { # Properties of an underlying cloud resource that can comprise a Service. # Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).
},
&quot;serviceReference&quot;: { # Reference to an underlying networking resource that can comprise a Service. # Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
&quot;path&quot;: &quot;A String&quot;, # Output only. Additional path under the resource URI (demultiplexing one resource URI into multiple entries). Smallest unit a policy can be attached to. Examples: URL Map path entry.
&quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying resource URI (For example, URI of Forwarding Rule, URL Map, and Backend Service).
},
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
&quot;unreachable&quot;: [ # Locations that could not be reached.
&quot;A String&quot;,
],
}</pre>
</div>

<div class="method">
<code class="details" id="findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Finds unregistered services in a host project and location.
Expand Down Expand Up @@ -152,6 +198,20 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="find_next">find_next()</code>
<pre>Retrieves the next page of results.

Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)

Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>

<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Gets a discovered service in a host project and location.
Expand Down
Expand Up @@ -77,12 +77,18 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#find">find(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Finds discovered workloads that could be added to an application in a host project and location.</p>
<p class="toc_element">
<code><a href="#findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Finds unregistered workloads in a host project and location.</p>
<p class="toc_element">
<code><a href="#findUnregistered_next">findUnregistered_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#find_next">find_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a discovered workload in a host project and location.</p>
Expand All @@ -98,6 +104,45 @@ <h3>Method Details</h3>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="find">find(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Finds discovered workloads that could be added to an application in a host project and location.

Args:
parent: string, Required. Value for parent. (required)
filter: string, Optional. Filtering results
orderBy: string, Optional. Hint for how to order the results
pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
pageToken: string, Optional. A token identifying a page of results the server should return.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response for FindDiscoveredWorkloads.
&quot;discoveredWorkloads&quot;: [ # List of discovered workloads.
{ # DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the discovered workload. Format: &quot;projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}&quot;
&quot;workloadProperties&quot;: { # Properties of an underlying compute resource represented by the Workload. # Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in. Empty for non cloud resources.
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (e.g us-west1).
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (e.g us-west1-a).
},
&quot;workloadReference&quot;: { # Reference of an underlying compute resource represented by the Workload. # Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
&quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
},
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
&quot;unreachable&quot;: [ # Locations that could not be reached.
&quot;A String&quot;,
],
}</pre>
</div>

<div class="method">
<code class="details" id="findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Finds unregistered workloads in a host project and location.
Expand Down Expand Up @@ -151,6 +196,20 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="find_next">find_next()</code>
<pre>Retrieves the next page of results.

Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)

Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>

<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Gets a discovered workload in a host project and location.
Expand Down
2 changes: 1 addition & 1 deletion googleapiclient/discovery_cache/documents/apphub.v1.json
Expand Up @@ -396,7 +396,7 @@
}
}
},
"revision": "20240122",
"revision": "20240131",
"rootUrl": "https://apphub.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down
144 changes: 143 additions & 1 deletion googleapiclient/discovery_cache/documents/apphub.v1alpha.json
Expand Up @@ -867,6 +867,52 @@
},
"discoveredServices": {
"methods": {
"find": {
"description": "Finds discovered services that could be added to an application in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices:find",
"httpMethod": "GET",
"id": "apphub.projects.locations.discoveredServices.find",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. Filtering results",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Hint for how to order the results",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. A token identifying a page of results the server should return.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Value for parent.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/discoveredServices:find",
"response": {
"$ref": "FindDiscoveredServicesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"findUnregistered": {
"description": "Finds unregistered services in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices:findUnregistered",
Expand Down Expand Up @@ -988,6 +1034,52 @@
},
"discoveredWorkloads": {
"methods": {
"find": {
"description": "Finds discovered workloads that could be added to an application in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:find",
"httpMethod": "GET",
"id": "apphub.projects.locations.discoveredWorkloads.find",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. Filtering results",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Hint for how to order the results",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. A token identifying a page of results the server should return.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Value for parent.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/discoveredWorkloads:find",
"response": {
"$ref": "FindDiscoveredWorkloadsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"findUnregistered": {
"description": "Finds unregistered workloads in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:findUnregistered",
Expand Down Expand Up @@ -1378,7 +1470,7 @@
}
}
},
"revision": "20240122",
"revision": "20240131",
"rootUrl": "https://apphub.googleapis.com/",
"schemas": {
"Application": {
Expand Down Expand Up @@ -1693,6 +1785,56 @@
},
"type": "object"
},
"FindDiscoveredServicesResponse": {
"description": "Response for FindDiscoveredServices.",
"id": "FindDiscoveredServicesResponse",
"properties": {
"discoveredServices": {
"description": "List of discovered services.",
"items": {
"$ref": "DiscoveredService"
},
"type": "array"
},
"nextPageToken": {
"description": "A token identifying a page of results the server should return.",
"type": "string"
},
"unreachable": {
"description": "Locations that could not be reached.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"FindDiscoveredWorkloadsResponse": {
"description": "Response for FindDiscoveredWorkloads.",
"id": "FindDiscoveredWorkloadsResponse",
"properties": {
"discoveredWorkloads": {
"description": "List of discovered workloads.",
"items": {
"$ref": "DiscoveredWorkload"
},
"type": "array"
},
"nextPageToken": {
"description": "A token identifying a page of results the server should return.",
"type": "string"
},
"unreachable": {
"description": "Locations that could not be reached.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"FindUnregisteredServicesResponse": {
"description": "Response for FindUnregisteredServices.",
"id": "FindUnregisteredServicesResponse",
Expand Down

0 comments on commit 5dc1275

Please sign in to comment.