Google Cloud App Topology V1 Client - Class Property (0.2.0)

Reference documentation and code samples for the Google Cloud App Topology V1 Client class Property.

Property defines the schema of a property in the graph.

Generated from protobuf message google.cloud.apptopology.v1.Property

Namespace

Google \ Cloud \ AppTopology \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ string_value StringValue

StringValue represents a property that has a string value type.

↳ int_value IntValue

IntValue represents a property that has an integer value type.

↳ bool_value BoolValue

BoolValue represents a property that has a boolean value type.

↳ double_value DoubleValue

DoubleValue represents a property that has a double value type.

↳ name string

name is the key string to identify the property in Nodes & Edges. Examples: ProjectId, Base/displayName etc.

↳ description string

A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.

getStringValue

StringValue represents a property that has a string value type.

Returns
Type Description
StringValue|null

hasStringValue

setStringValue

StringValue represents a property that has a string value type.

Parameter
Name Description
var StringValue
Returns
Type Description
$this

getIntValue

IntValue represents a property that has an integer value type.

Returns
Type Description
IntValue|null

hasIntValue

setIntValue

IntValue represents a property that has an integer value type.

Parameter
Name Description
var IntValue
Returns
Type Description
$this

getBoolValue

BoolValue represents a property that has a boolean value type.

Returns
Type Description
BoolValue|null

hasBoolValue

setBoolValue

BoolValue represents a property that has a boolean value type.

Parameter
Name Description
var BoolValue
Returns
Type Description
$this

getDoubleValue

DoubleValue represents a property that has a double value type.

Returns
Type Description
DoubleValue|null

hasDoubleValue

setDoubleValue

DoubleValue represents a property that has a double value type.

Parameter
Name Description
var DoubleValue
Returns
Type Description
$this

getName

name is the key string to identify the property in Nodes & Edges.

Examples: ProjectId, Base/displayName etc.

Returns
Type Description
string

setName

name is the key string to identify the property in Nodes & Edges.

Examples: ProjectId, Base/displayName etc.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.

Returns
Type Description
string

setDescription

A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Returns
Type Description
string