class ConfigChange extends Message

Output generated from semantically comparing two versions of a service configuration.

Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.

Generated from protobuf message google.api.ConfigChange

Methods

__construct()

No description

string
getElement()

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used.

$this
setElement(string $var)

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used.

string
getOldValue()

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

$this
setOldValue(string $var)

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

string
getNewValue()

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

$this
setNewValue(string $var)

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

int
getChangeType()

The type for this change, either ADDED, REMOVED, or MODIFIED.

$this
setChangeType(int $var)

The type for this change, either ADDED, REMOVED, or MODIFIED.

RepeatedField
getAdvices()

Collection of advice provided for this change, useful for determining the possible impact of this change.

$this
setAdvices(Advice[]|RepeatedField $var)

Collection of advice provided for this change, useful for determining the possible impact of this change.

Details

at line 64
__construct()

at line 83
string getElement()

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used.

Examples: - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - logging.producer_destinations[0]

Generated from protobuf field string element = 1;

Return Value

string

at line 103
$this setElement(string $var)

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used.

Examples: - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - logging.producer_destinations[0]

Generated from protobuf field string element = 1;

Parameters

string $var

Return Value

$this

at line 118
string getOldValue()

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

Generated from protobuf field string old_value = 2;

Return Value

string

at line 131
$this setOldValue(string $var)

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

Generated from protobuf field string old_value = 2;

Parameters

string $var

Return Value

$this

at line 146
string getNewValue()

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

Generated from protobuf field string new_value = 3;

Return Value

string

at line 159
$this setNewValue(string $var)

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

Generated from protobuf field string new_value = 3;

Parameters

string $var

Return Value

$this

at line 173
int getChangeType()

The type for this change, either ADDED, REMOVED, or MODIFIED.

Generated from protobuf field .google.api.ChangeType change_type = 4;

Return Value

int

at line 185
$this setChangeType(int $var)

The type for this change, either ADDED, REMOVED, or MODIFIED.

Generated from protobuf field .google.api.ChangeType change_type = 4;

Parameters

int $var

Return Value

$this

at line 200
RepeatedField getAdvices()

Collection of advice provided for this change, useful for determining the possible impact of this change.

Generated from protobuf field repeated .google.api.Advice advices = 5;

Return Value

RepeatedField

at line 213
$this setAdvices(Advice[]|RepeatedField $var)

Collection of advice provided for this change, useful for determining the possible impact of this change.

Generated from protobuf field repeated .google.api.Advice advices = 5;

Parameters

Advice[]|RepeatedField $var

Return Value

$this