Google Cloud App Hub V1 Client - Class Application (0.1.2)

Reference documentation and code samples for the Google Cloud App Hub V1 Client class 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.

Generated from protobuf message google.cloud.apphub.v1.Application

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ display_name 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 Google\Cloud\AppHub\V1\Attributes

Optional. Consumer provided attributes.

↳ create_time Google\Protobuf\Timestamp

Output only. Create time.

↳ update_time Google\Protobuf\Timestamp

Output only. Update time.

↳ scope Google\Cloud\AppHub\V1\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 int

Output only. Application state.

getName

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

Returns
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. User-defined name for the Application.

Can have a maximum length of 63 characters.

Returns
Type Description
string

setDisplayName

Optional. User-defined name for the Application.

Can have a maximum length of 63 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. User-defined description of an Application.

Can have a maximum length of 2048 characters.

Returns
Type Description
string

setDescription

Optional. User-defined description of an Application.

Can have a maximum length of 2048 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getAttributes

Optional. Consumer provided attributes.

Returns
Type Description
Google\Cloud\AppHub\V1\Attributes|null

hasAttributes

clearAttributes

setAttributes

Optional. Consumer provided attributes.

Parameter
Name Description
var Google\Cloud\AppHub\V1\Attributes
Returns
Type Description
$this

getCreateTime

Output only. Create time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Update time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getScope

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

Returns
Type Description
Google\Cloud\AppHub\V1\Scope|null

hasScope

clearScope

setScope

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

Parameter
Name Description
var Google\Cloud\AppHub\V1\Scope
Returns
Type Description
$this

getUid

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

Returns
Type Description
string

setUid

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

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. Application state.

Returns
Type Description
int

setState

Output only. Application state.

Parameter
Name Description
var int
Returns
Type Description
$this