Property
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
Constructor.
The name of the property (a.k.a key).
The name of the property (a.k.a key).
The type of this property.
The type of this property.
The description of the property
The description of the property
Details
at line 58
__construct(array $data = NULL)
Constructor.
at line 69
string
getName()
The name of the property (a.k.a key).
Generated from protobuf field string name = 1;
at line 81
$this
setName(string $var)
The name of the property (a.k.a key).
Generated from protobuf field string name = 1;
at line 95
int
getType()
The type of this property.
Generated from protobuf field .google.api.Property.PropertyType type = 2;
at line 107
$this
setType(int $var)
The type of this property.
Generated from protobuf field .google.api.Property.PropertyType type = 2;
at line 121
string
getDescription()
The description of the property
Generated from protobuf field string description = 3;
at line 133
$this
setDescription(string $var)
The description of the property
Generated from protobuf field string description = 3;