AppHubApplication
The AppHubApplication resource represents an application registered in App Hub. App Hub helps you discover, deploy, and manage applications and services running in Google Cloud.
Property | Value |
---|---|
Google Cloud Service Name | App Hub |
Google Cloud Service Documentation | /app-hub/docs/ |
Google Cloud REST Resource Name | v1.projects.locations.applications |
Google Cloud REST Resource Documentation | /app-hub/docs/reference/rest/v1/projects.locations.applications |
Config Connector Resource Short Names | gcpapphubapplication gcpapphubapplications apphubapplication |
Config Connector Service Name | apphub.googleapis.com |
Config Connector Resource Fully Qualified Name | apphubapplications.apphub.cnrm.cloud.google.com |
Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
attributes:
businessOwners:
- displayName: string
email: string
criticality:
type: string
developerOwners:
- displayName: string
email: string
environment:
type: string
operatorOwners:
- displayName: string
email: string
description: string
displayName: string
location: string
projectRef:
external: string
kind: string
name: string
namespace: string
resourceID: string
scope:
type: string
Fields | |
---|---|
Optional |
Optional. Consumer provided attributes. |
Optional |
Optional. Business team that ensures user needs are met and value is delivered |
Optional |
|
Optional |
Optional. Contact's name. Can have a maximum length of 63 characters. |
Optional |
Required. Email address of the contacts. |
Optional |
Optional. User-defined criticality information. |
Optional |
Required. Criticality Type. |
Optional |
Optional. Developer team that owns development and coding. |
Optional |
|
Optional |
Optional. Contact's name. Can have a maximum length of 63 characters. |
Optional |
Required. Email address of the contacts. |
Optional |
Optional. User-defined environment information. |
Optional |
Required. Environment Type. |
Optional |
Optional. Operator team that ensures runtime and operations. |
Optional |
|
Optional |
Optional. Contact's name. Can have a maximum length of 63 characters. |
Optional |
Required. Email address of the contacts. |
Optional |
Optional. User-defined description of an Application. Can have a maximum length of 2048 characters. |
Optional |
Optional. User-defined name for the Application. Can have a maximum length of 63 characters. |
Optional |
Required. The location of the application. |
Optional |
Required. The host project of the application. |
Optional |
The `projectID` field of a project, when not managed by Config Connector. |
Optional |
The kind of the Project resource; optional but must be `Project` if provided. |
Optional |
The `name` field of a `Project` resource. |
Optional |
The `namespace` field of a `Project` resource. |
Optional |
The AppHubApplication name. If not given, the metadata.name will be used. |
Optional |
Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered. |
Optional |
Required. Scope Type. |
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
externalRef: string
observedGeneration: integer
observedState:
createTime: string
state: string
uid: string
updateTime: string
Fields | |
---|---|
conditions |
Conditions represent the latest available observations of the object's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
externalRef |
A unique specifier for the AppHubApplication resource in GCP. |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
observedState |
ObservedState is the state of the resource as most recently observed in {{gcp_name_short}}. |
observedState.createTime |
Output only. Create time. |
observedState.state |
Output only. Application state. |
observedState.uid |
Output only. A universally unique identifier (in UUID4 format) for the `Application`. |
observedState.updateTime |
Output only. Update time. |
Sample YAML(s)
Typical Use Case
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apphub.cnrm.cloud.google.com/v1beta1
kind: AppHubApplication
metadata:
name: apphubapplication-sample
spec:
projectRef:
external: projects/${PROJECT_ID?}
location: us-west2
description: "Initial description"
scope:
type: REGIONAL