class Property extends Message

Defines project properties.

API services can define properties that can be assigned to consumer projects so that backends can perform response customization without having to make additional calls or maintain additional storage. For example, Maps API defines properties that controls map tile cache period, or whether to embed a watermark in a result. These values can be set via API producer console. Only API providers can define and set these properties.

Generated from protobuf message google.api.Property

Methods

__construct()

No description

string
getName()

The name of the property (a.k.a key).

$this
setName(string $var)

The name of the property (a.k.a key).

int
getType()

The type of this property.

$this
setType(int $var)

The type of this property.

string
getDescription()

The description of the property

$this
setDescription(string $var)

The description of the property

Details

at line 44
__construct()

at line 55
string getName()

The name of the property (a.k.a key).

Generated from protobuf field string name = 1;

Return Value

string

at line 67
$this setName(string $var)

The name of the property (a.k.a key).

Generated from protobuf field string name = 1;

Parameters

string $var

Return Value

$this

at line 81
int getType()

The type of this property.

Generated from protobuf field .google.api.Property.PropertyType type = 2;

Return Value

int

at line 93
$this setType(int $var)

The type of this property.

Generated from protobuf field .google.api.Property.PropertyType type = 2;

Parameters

int $var

Return Value

$this

at line 107
string getDescription()

The description of the property

Generated from protobuf field string description = 3;

Return Value

string

at line 119
$this setDescription(string $var)

The description of the property

Generated from protobuf field string description = 3;

Parameters

string $var

Return Value

$this