---
updatedAt: 2025-11-12T01:24:39.000Z
agentTools:
  projectIndex: https://public.docs.kivera.io/llms.txt
---

# APPHUB

<Embed url="https://cloud.google.com/docs" title="GCP documentation" provider="cloud.google.com" href="https://cloud.google.com/docs" />

# apphub.projects.locations.applications.create

```erlang
enum_CriticalityType := [ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ]
enum_EnvironmentType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ]
enum_ScopeType := [ "TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL" ]

valid {
    input.Body.attributes.businessOwners[_].displayName == STRING
    input.Body.attributes.businessOwners[_].email == STRING
    input.Body.attributes.criticality.type == enum_CriticalityType[_]
    input.Body.attributes.developerOwners[_].displayName == STRING
    input.Body.attributes.developerOwners[_].email == STRING
    input.Body.attributes.environment.type == enum_EnvironmentType[_]
    input.Body.attributes.operatorOwners[_].displayName == STRING
    input.Body.attributes.operatorOwners[_].email == STRING
    input.Body.description == STRING
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.Body.scope.type == enum_ScopeType[_]
    input.ReqMap.parent == STRING
    input.Qs.applicationId == STRING
    input.Qs.requestId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.delete

```erlang
valid {
    input.ReqMap.name == STRING
    input.Qs.requestId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.getIamPolicy

```erlang
valid {
    input.ReqMap.resource == STRING
    input.Qs.options.requestedPolicyVersion == INTEGER
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.list

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.patch

```erlang
enum_CriticalityType := [ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ]
enum_EnvironmentType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ]
enum_ScopeType := [ "TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL" ]

valid {
    input.Body.attributes.businessOwners[_].displayName == STRING
    input.Body.attributes.businessOwners[_].email == STRING
    input.Body.attributes.criticality.type == enum_CriticalityType[_]
    input.Body.attributes.developerOwners[_].displayName == STRING
    input.Body.attributes.developerOwners[_].email == STRING
    input.Body.attributes.environment.type == enum_EnvironmentType[_]
    input.Body.attributes.operatorOwners[_].displayName == STRING
    input.Body.attributes.operatorOwners[_].email == STRING
    input.Body.description == STRING
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.Body.scope.type == enum_ScopeType[_]
    input.ReqMap.name == STRING
    input.Qs.requestId == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.services.create

```erlang
enum_CriticalityType := [ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ]
enum_EnvironmentType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ]

valid {
    input.Body.attributes.businessOwners[_].displayName == STRING
    input.Body.attributes.businessOwners[_].email == STRING
    input.Body.attributes.criticality.type == enum_CriticalityType[_]
    input.Body.attributes.developerOwners[_].displayName == STRING
    input.Body.attributes.developerOwners[_].email == STRING
    input.Body.attributes.environment.type == enum_EnvironmentType[_]
    input.Body.attributes.operatorOwners[_].displayName == STRING
    input.Body.attributes.operatorOwners[_].email == STRING
    input.Body.description == STRING
    input.Body.discoveredService == STRING
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.requestId == STRING
    input.Qs.serviceId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.services.delete

```erlang
valid {
    input.ReqMap.name == STRING
    input.Qs.requestId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.services.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.services.list

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.services.patch

```erlang
enum_CriticalityType := [ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ]
enum_EnvironmentType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ]

valid {
    input.Body.attributes.businessOwners[_].displayName == STRING
    input.Body.attributes.businessOwners[_].email == STRING
    input.Body.attributes.criticality.type == enum_CriticalityType[_]
    input.Body.attributes.developerOwners[_].displayName == STRING
    input.Body.attributes.developerOwners[_].email == STRING
    input.Body.attributes.environment.type == enum_EnvironmentType[_]
    input.Body.attributes.operatorOwners[_].displayName == STRING
    input.Body.attributes.operatorOwners[_].email == STRING
    input.Body.description == STRING
    input.Body.discoveredService == STRING
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.ReqMap.name == STRING
    input.Qs.requestId == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.setIamPolicy

```erlang
enum_AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.testIamPermissions

```erlang
valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.workloads.create

```erlang
enum_CriticalityType := [ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ]
enum_EnvironmentType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ]

valid {
    input.Body.attributes.businessOwners[_].displayName == STRING
    input.Body.attributes.businessOwners[_].email == STRING
    input.Body.attributes.criticality.type == enum_CriticalityType[_]
    input.Body.attributes.developerOwners[_].displayName == STRING
    input.Body.attributes.developerOwners[_].email == STRING
    input.Body.attributes.environment.type == enum_EnvironmentType[_]
    input.Body.attributes.operatorOwners[_].displayName == STRING
    input.Body.attributes.operatorOwners[_].email == STRING
    input.Body.description == STRING
    input.Body.discoveredWorkload == STRING
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.requestId == STRING
    input.Qs.workloadId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.workloads.delete

```erlang
valid {
    input.ReqMap.name == STRING
    input.Qs.requestId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.workloads.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.workloads.list

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.applications.workloads.patch

```erlang
enum_CriticalityType := [ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ]
enum_EnvironmentType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ]

valid {
    input.Body.attributes.businessOwners[_].displayName == STRING
    input.Body.attributes.businessOwners[_].email == STRING
    input.Body.attributes.criticality.type == enum_CriticalityType[_]
    input.Body.attributes.developerOwners[_].displayName == STRING
    input.Body.attributes.developerOwners[_].email == STRING
    input.Body.attributes.environment.type == enum_EnvironmentType[_]
    input.Body.attributes.operatorOwners[_].displayName == STRING
    input.Body.attributes.operatorOwners[_].email == STRING
    input.Body.description == STRING
    input.Body.discoveredWorkload == STRING
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.ReqMap.name == STRING
    input.Qs.requestId == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.detachServiceProjectAttachment

```erlang
valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredServices.findUnregistered

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredServices.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredServices.list

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredServices.lookup

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.uri == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredWorkloads.findUnregistered

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredWorkloads.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredWorkloads.list

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.discoveredWorkloads.lookup

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.uri == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.list

```erlang
valid {
    input.ReqMap.name == STRING
    input.Qs.extraLocationTypes == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.lookupServiceProjectAttachment

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.operations.cancel

```erlang
valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.operations.delete

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.operations.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.operations.list

```erlang
valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.returnPartialSuccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.serviceProjectAttachments.create

```erlang
valid {
    input.Body.name == STRING
    input.Body.serviceProject == STRING
    input.ReqMap.parent == STRING
    input.Qs.requestId == STRING
    input.Qs.serviceProjectAttachmentId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.serviceProjectAttachments.delete

```erlang
valid {
    input.ReqMap.name == STRING
    input.Qs.requestId == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.serviceProjectAttachments.get

```erlang
valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}
```

# apphub.projects.locations.serviceProjectAttachments.list

```erlang
valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}
```