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
No description
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 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;