google.api.servicemanagement.v1.ChangeReport
*/
class ChangeReport extends \Google\Protobuf\Internal\Message
{
/**
* List of changes between two service configurations.
* The changes will be alphabetically sorted based on the identifier
* of each change.
* A ConfigChange identifier is a dot separated path to the configuration.
* Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
*
* Generated from protobuf field repeated .google.api.ConfigChange config_changes = 1;
*/
private $config_changes;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Google\Api\ConfigChange[]|\Google\Protobuf\Internal\RepeatedField $config_changes
* List of changes between two service configurations.
* The changes will be alphabetically sorted based on the identifier
* of each change.
* A ConfigChange identifier is a dot separated path to the configuration.
* Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Api\Servicemanagement\V1\Resources::initOnce();
parent::__construct($data);
}
/**
* List of changes between two service configurations.
* The changes will be alphabetically sorted based on the identifier
* of each change.
* A ConfigChange identifier is a dot separated path to the configuration.
* Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
*
* Generated from protobuf field repeated .google.api.ConfigChange config_changes = 1;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getConfigChanges()
{
return $this->config_changes;
}
/**
* List of changes between two service configurations.
* The changes will be alphabetically sorted based on the identifier
* of each change.
* A ConfigChange identifier is a dot separated path to the configuration.
* Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
*
* Generated from protobuf field repeated .google.api.ConfigChange config_changes = 1;
* @param \Google\Api\ConfigChange[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setConfigChanges($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\ConfigChange::class);
$this->config_changes = $arr;
return $this;
}
}