ConfigChange
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
Constructor.
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.
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.
Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
The type for this change, either ADDED, REMOVED, or MODIFIED.
The type for this change, either ADDED, REMOVED, or MODIFIED.
Collection of advice provided for this change, useful for determining the possible impact of this change.
Collection of advice provided for this change, useful for determining the possible impact of this change.
Details
at line 93
__construct(array $data = NULL)
Constructor.
at line 112
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;
at line 132
$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;
at line 147
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;
at line 160
$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;
at line 175
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;
at line 188
$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;
at line 202
int
getChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
Generated from protobuf field .google.api.ChangeType change_type = 4;
at line 214
$this
setChangeType(int $var)
The type for this change, either ADDED, REMOVED, or MODIFIED.
Generated from protobuf field .google.api.ChangeType change_type = 4;
at line 229
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;
at line 242
$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;