REST Resource: projects.locations.applications

Resource: Application

Application defines the governance boundary for App Hub entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "attributes": {
    object (Attributes)
  },
  "createTime": string,
  "updateTime": string,
  "scope": {
    object (Scope)
  },
  "uid": string,
  "state": enum (State)
}
Fields
name

string

Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"

displayName

string

Optional. User-defined name for the Application. Can have a maximum length of 63 characters.

description

string

Optional. User-defined description of an Application. Can have a maximum length of 2048 characters.

attributes

object (Attributes)

Optional. Consumer provided attributes.

createTime

string (Timestamp format)

Output only. Create time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Update time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

scope

object (Scope)

Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered.

uid

string

Output only. A universally unique identifier (in UUID4 format) for the Application.

state

enum (State)

Output only. Application state.

Scope

Scope of an application.

JSON representation
{
  "type": enum (Type)
}
Fields
type

enum (Type)

Required. Scope Type.

Type

Scope Type.

Enums
TYPE_UNSPECIFIED Unspecified type.
REGIONAL Regional type.
GLOBAL Global type.

State

Application state.

Enums
STATE_UNSPECIFIED Unspecified state.
CREATING The Application is being created.
ACTIVE The Application is ready to register Services and Workloads.
DELETING The Application is being deleted.

Methods

create

Creates an Application in a host project and location.

delete

Deletes an Application in a host project and location.

get

Gets an Application in a host project and location.

getIamPolicy

Gets the access control policy for a resource.

list

Lists Applications in a host project and location.

patch

Updates an Application in a host project and location.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.