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 |
public __construct( $data = NULL) Constructor.
|
public getDescription() The description of the property Generated from protobuf field string description = 3;
|
public getName() The name of the property (a.k.a key). Generated from protobuf field string name = 1;
|
public getType() The type of this property. Generated from protobuf field .google.api.Property.PropertyType type = 2;
|
public setDescription( $var) The description of the property Generated from protobuf field string description = 3;
|
public setName( $var) The name of the property (a.k.a key). Generated from protobuf field string name = 1;
|
public setType( $var) The type of this property. Generated from protobuf field .google.api.Property.PropertyType type = 2;
|
Properties |
protected $description = '' The description of the property Generated from protobuf field string description = 3; |
protected $name = '' The name of the property (a.k.a key). Generated from protobuf field string name = 1; |
protected $type = 0 The type of this property. Generated from protobuf field .google.api.Property.PropertyType type = 2; |
Methods |