Skip to content

Commit 0cde10d

Browse files
feat(apphub): update the api
#### apphub:v1 The following keys were added: - schemas.FunctionalType (Total Keys: 4) - schemas.ServiceProperties.properties.functionalType (Total Keys: 2) - schemas.WorkloadProperties.properties.functionalType (Total Keys: 2) #### apphub:v1alpha The following keys were added: - schemas.FunctionalType (Total Keys: 4) - schemas.ServiceProperties.properties.functionalType (Total Keys: 2) - schemas.WorkloadProperties.properties.functionalType (Total Keys: 2)
1 parent f820a3b commit 0cde10d

12 files changed

+160
-6
lines changed

docs/dyn/apphub_v1.projects.locations.applications.services.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ <h3>Method Details</h3>
143143
&quot;displayName&quot;: &quot;A String&quot;, # Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
144144
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a Service. Format: `&quot;projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}&quot;`
145145
&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.
146+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
147+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
148+
},
146149
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
147150
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
148151
&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).
@@ -269,6 +272,9 @@ <h3>Method Details</h3>
269272
&quot;displayName&quot;: &quot;A String&quot;, # Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
270273
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a Service. Format: `&quot;projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}&quot;`
271274
&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.
275+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
276+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
277+
},
272278
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
273279
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
274280
&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).
@@ -336,6 +342,9 @@ <h3>Method Details</h3>
336342
&quot;displayName&quot;: &quot;A String&quot;, # Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
337343
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a Service. Format: `&quot;projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}&quot;`
338344
&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.
345+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
346+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
347+
},
339348
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
340349
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
341350
&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).
@@ -410,6 +419,9 @@ <h3>Method Details</h3>
410419
&quot;displayName&quot;: &quot;A String&quot;, # Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
411420
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a Service. Format: `&quot;projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}&quot;`
412421
&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.
422+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
423+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
424+
},
413425
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
414426
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
415427
&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).

docs/dyn/apphub_v1.projects.locations.applications.workloads.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ <h3>Method Details</h3>
146146
&quot;uid&quot;: &quot;A String&quot;, # Output only. A universally unique identifier (UUID) for the `Workload` in the UUID4 format.
147147
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
148148
&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.
149+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
150+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
151+
},
149152
&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.
150153
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
151154
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
@@ -272,6 +275,9 @@ <h3>Method Details</h3>
272275
&quot;uid&quot;: &quot;A String&quot;, # Output only. A universally unique identifier (UUID) for the `Workload` in the UUID4 format.
273276
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
274277
&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.
278+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
279+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
280+
},
275281
&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.
276282
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
277283
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
@@ -342,6 +348,9 @@ <h3>Method Details</h3>
342348
&quot;uid&quot;: &quot;A String&quot;, # Output only. A universally unique identifier (UUID) for the `Workload` in the UUID4 format.
343349
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
344350
&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.
351+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
352+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
353+
},
345354
&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.
346355
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
347356
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
@@ -413,6 +422,9 @@ <h3>Method Details</h3>
413422
&quot;uid&quot;: &quot;A String&quot;, # Output only. A universally unique identifier (UUID) for the `Workload` in the UUID4 format.
414423
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
415424
&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.
425+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
426+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
427+
},
416428
&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.
417429
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
418430
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ <h3>Method Details</h3>
112112
{ # 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.
113113
&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;`
114114
&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.
115+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
116+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
117+
},
115118
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
116119
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
117120
&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).
@@ -145,6 +148,9 @@ <h3>Method Details</h3>
145148
{ # 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.
146149
&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;`
147150
&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.
151+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
152+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
153+
},
148154
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
149155
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
150156
&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).
@@ -194,6 +200,9 @@ <h3>Method Details</h3>
194200
&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.
195201
&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;`
196202
&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.
203+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the service.
204+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
205+
},
197206
&quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in.
198207
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying resource resides in, for example, us-west1.
199208
&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).

docs/dyn/apphub_v1.projects.locations.discoveredWorkloads.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ <h3>Method Details</h3>
112112
{ # 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.
113113
&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;`
114114
&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.
115+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
116+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
117+
},
115118
&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.
116119
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
117120
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
@@ -145,6 +148,9 @@ <h3>Method Details</h3>
145148
{ # 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.
146149
&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;`
147150
&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.
151+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
152+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
153+
},
148154
&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.
149155
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
150156
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
@@ -194,6 +200,9 @@ <h3>Method Details</h3>
194200
&quot;discoveredWorkload&quot;: { # 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. # Discovered Workload if exists, empty otherwise.
195201
&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;`
196202
&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.
203+
&quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
204+
&quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
205+
},
197206
&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.
198207
&quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
199208
&quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).

docs/dyn/apphub_v1.projects.locations.html

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

181181
Args:
182182
name: string, The resource that owns the locations collection, if applicable. (required)
183-
extraLocationTypes: string, Optional. Unless explicitly documented otherwise, don&#x27;t use this unsupported field which is primarily intended for internal usage. (repeated)
183+
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)
184184
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).
185185
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
186186
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

0 commit comments

Comments
 (0)