Reference documentation and code samples for the Google API Common Protos Client class ConfigChange.
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 messagegoogle.api.ConfigChange
Namespace
Google \ Api
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ element
string
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.ListBooks"].restriction - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - logging.producer_destinations[0]
↳ old_value
string
Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
↳ new_value
string
Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
↳ change_type
int
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google API Common Protos Client - Class ConfigChange (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.ConfigChange)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.ConfigChange)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.ConfigChange)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.ConfigChange)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.ConfigChange)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.ConfigChange) \nReference documentation and code samples for the Google API Common Protos Client class ConfigChange.\n\nOutput generated from semantically comparing two versions of a service\nconfiguration.\n\nIncludes detailed information about a field that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.\n\nGenerated from protobuf message `google.api.ConfigChange`\n\nNamespace\n---------\n\nGoogle \\\\ Api\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getElement\n\nObject hierarchy path to the change, with levels separated by a '.'\ncharacter. For repeated fields, an applicable unique identifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric index\nis used.\n\nExamples:\n\n- visibility.rules\\[selector==\"google.LibraryService.ListBooks\"\\].restriction\n- quota.metric_rules\\[selector==\"google\"\\].metric_costs\\[key==\"reads\"\\].value\n- logging.producer_destinations\\[0\\]\n\n### setElement\n\nObject hierarchy path to the change, with levels separated by a '.'\ncharacter. For repeated fields, an applicable unique identifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric index\nis used.\n\nExamples:\n\n- visibility.rules\\[selector==\"google.LibraryService.ListBooks\"\\].restriction\n- quota.metric_rules\\[selector==\"google\"\\].metric_costs\\[key==\"reads\"\\].value\n- logging.producer_destinations\\[0\\]\n\n### getOldValue\n\nValue of the changed object in the old Service configuration,\nin JSON format. This field will not be populated if ChangeType == ADDED.\n\n### setOldValue\n\nValue of the changed object in the old Service configuration,\nin JSON format. This field will not be populated if ChangeType == ADDED.\n\n### getNewValue\n\nValue of the changed object in the new Service configuration,\nin JSON format. This field will not be populated if ChangeType == REMOVED.\n\n### setNewValue\n\nValue of the changed object in the new Service configuration,\nin JSON format. This field will not be populated if ChangeType == REMOVED.\n\n### getChangeType\n\nThe type for this change, either ADDED, REMOVED, or MODIFIED.\n\n### setChangeType\n\nThe type for this change, either ADDED, REMOVED, or MODIFIED.\n\n### getAdvices\n\nCollection of advice provided for this change, useful for determining the\npossible impact of this change.\n\n### setAdvices\n\nCollection of advice provided for this change, useful for determining the\npossible impact of this change."]]