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.

Protobuf type 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.

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.

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.

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.

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.

setAdvices(array|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 102
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

at line 115
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 127
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

at line 140
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 152
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

at line 164
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 175
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

at line 188
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 200
setAdvices(array|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

array|RepeatedField $var