Service Management V1 API - Class Google::Api::ConfigChange (v1.0.0)

Reference documentation and code samples for the Service Management V1 API class Google::Api::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#advices

def advices() -> ::Array<::Google::Api::Advice>
Returns
  • (::Array<::Google::Api::Advice>) — Collection of advice provided for this change, useful for determining the possible impact of this change.

#advices=

def advices=(value) -> ::Array<::Google::Api::Advice>
Parameter
  • value (::Array<::Google::Api::Advice>) — Collection of advice provided for this change, useful for determining the possible impact of this change.
Returns
  • (::Array<::Google::Api::Advice>) — Collection of advice provided for this change, useful for determining the possible impact of this change.

#change_type

def change_type() -> ::Google::Api::ChangeType
Returns

#change_type=

def change_type=(value) -> ::Google::Api::ChangeType
Parameter
Returns

#element

def element() -> ::String
Returns
  • (::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]

#element=

def element=(value) -> ::String
Parameter
  • value (::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]
Returns
  • (::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]

#new_value

def new_value() -> ::String
Returns
  • (::String) — Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

#new_value=

def new_value=(value) -> ::String
Parameter
  • value (::String) — Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
Returns
  • (::String) — Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

#old_value

def old_value() -> ::String
Returns
  • (::String) — Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

#old_value=

def old_value=(value) -> ::String
Parameter
  • value (::String) — Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
Returns
  • (::String) — Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.