Debian Codegraph @

docs/dyn/apphub_v1alpha.projects.locations.discoveredServices.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="apphub_v1alpha.html">App Hub API</a> . <a href="apphub_v1alpha.projects.html">projects</a> . <a href="apphub_v1alpha.projects.locations.html">locations</a> . <a href="apphub_v1alpha.projects.locations.discoveredServices.html">discoveredServices</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Finds unregistered services in a host project and location.</p>
83 <p class="toc_element">
84 <code><a href="#findUnregistered_next">findUnregistered_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a Discovered Service in a host project and location.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists Discovered Services that can be added to an Application in a host project and location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#lookup">lookup(parent, uri=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists a Discovered Service in a host project and location, with a given resource URI.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
106 <pre>Finds unregistered services in a host project and location.
107
108 Args:
109 parent: string, Required. Project and location to find unregistered Discovered Services on. Expected format: `projects/{project}/locations/{location}`. (required)
110 filter: string, Optional. Filtering results.
111 orderBy: string, Optional. Hint for how to order the results.
112 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
113 pageToken: string, Optional. A token identifying a page of results the server should return.
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119 Returns:
120 An object of the form:
121
122 { # Response for FindUnregisteredServices.
123 &quot;discoveredServices&quot;: [ # List of Discovered Services.
124 { # DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.
125 &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;`
126 &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.
127 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
128 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
129 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
130 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
131 },
132 },
133 },
134 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
135 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
136 },
137 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
138 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the service.
139 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
140 },
141 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
142 &quot;registrationType&quot;: { # The registration type of a service. # Output only. The registration type of the service.
143 &quot;type&quot;: &quot;A String&quot;, # Output only. The registration type of a service.
144 },
145 &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).
146 },
147 &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.
148 &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.
149 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service.
150 },
151 },
152 ],
153 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
154 &quot;unreachable&quot;: [ # Locations that could not be reached.
155 &quot;A String&quot;,
156 ],
157 }</pre>
158 </div>
159
160 <div class="method">
161 <code class="details" id="findUnregistered_next">findUnregistered_next()</code>
162 <pre>Retrieves the next page of results.
163
164 Args:
165 previous_request: The request for the previous page. (required)
166 previous_response: The response from the request for the previous page. (required)
167
168 Returns:
169 A request object that you can call &#x27;execute()&#x27; on to request the next
170 page. Returns None if there are no more items in the collection.
171 </pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="get">get(name, x__xgafv=None)</code>
176 <pre>Gets a Discovered Service in a host project and location.
177
178 Args:
179 name: string, Required. Fully qualified name of the Discovered Service to fetch. Expected format: `projects/{project}/locations/{location}/discoveredServices/{discoveredService}`. (required)
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.
189 &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;`
190 &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.
191 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
192 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
193 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
195 },
196 },
197 },
198 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
199 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
200 },
201 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
202 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the service.
203 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
204 },
205 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
206 &quot;registrationType&quot;: { # The registration type of a service. # Output only. The registration type of the service.
207 &quot;type&quot;: &quot;A String&quot;, # Output only. The registration type of a service.
208 },
209 &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).
210 },
211 &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.
212 &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.
213 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service.
214 },
215 }</pre>
216 </div>
217
218 <div class="method">
219 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
220 <pre>Lists Discovered Services that can be added to an Application in a host project and location.
221
222 Args:
223 parent: string, Required. Project and location to list Discovered Services on. Expected format: `projects/{project}/locations/{location}`. (required)
224 filter: string, Optional. Filtering results.
225 orderBy: string, Optional. Hint for how to order the results.
226 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
227 pageToken: string, Optional. A token identifying a page of results the server should return.
228 x__xgafv: string, V1 error format.
229 Allowed values
230 1 - v1 error format
231 2 - v2 error format
232
233 Returns:
234 An object of the form:
235
236 { # Response for ListDiscoveredServices.
237 &quot;discoveredServices&quot;: [ # List of Discovered Services.
238 { # DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.
239 &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;`
240 &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.
241 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
242 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
243 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
244 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
245 },
246 },
247 },
248 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
249 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
250 },
251 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
252 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the service.
253 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
254 },
255 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
256 &quot;registrationType&quot;: { # The registration type of a service. # Output only. The registration type of the service.
257 &quot;type&quot;: &quot;A String&quot;, # Output only. The registration type of a service.
258 },
259 &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).
260 },
261 &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.
262 &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.
263 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service.
264 },
265 },
266 ],
267 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
268 &quot;unreachable&quot;: [ # Locations that could not be reached.
269 &quot;A String&quot;,
270 ],
271 }</pre>
272 </div>
273
274 <div class="method">
275 <code class="details" id="list_next">list_next()</code>
276 <pre>Retrieves the next page of results.
277
278 Args:
279 previous_request: The request for the previous page. (required)
280 previous_response: The response from the request for the previous page. (required)
281
282 Returns:
283 A request object that you can call &#x27;execute()&#x27; on to request the next
284 page. Returns None if there are no more items in the collection.
285 </pre>
286 </div>
287
288 <div class="method">
289 <code class="details" id="lookup">lookup(parent, uri=None, x__xgafv=None)</code>
290 <pre>Lists a Discovered Service in a host project and location, with a given resource URI.
291
292 Args:
293 parent: string, Required. Host project ID and location to lookup Discovered Service in. Expected format: `projects/{project}/locations/{location}`. (required)
294 uri: string, Required. Resource URI to find DiscoveredService for. Accepts both project number and project ID and does translation when needed.
295 x__xgafv: string, V1 error format.
296 Allowed values
297 1 - v1 error format
298 2 - v2 error format
299
300 Returns:
301 An object of the form:
302
303 { # Response for LookupDiscoveredService.
304 &quot;discoveredService&quot;: { # DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service. # Discovered Service if exists, empty otherwise.
305 &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;`
306 &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.
307 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
308 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
309 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
310 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
311 },
312 },
313 },
314 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
315 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
316 },
317 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
318 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the service.
319 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
320 },
321 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
322 &quot;registrationType&quot;: { # The registration type of a service. # Output only. The registration type of the service.
323 &quot;type&quot;: &quot;A String&quot;, # Output only. The registration type of a service.
324 },
325 &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).
326 },
327 &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.
328 &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.
329 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service.
330 },
331 },
332 }</pre>
333 </div>
334
335 </body></html>