All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.servicemanagement.model.ConfigChange.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241106-2.0.0
Show newest version






ConfigChange (Service Management API v1-rev20240823-2.0.0)












com.google.api.services.servicemanagement.model

Class ConfigChange

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class ConfigChange
    extends com.google.api.client.json.GenericJson
    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.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • ConfigChange

        public ConfigChange()
    • Method Detail

      • getAdvices

        public List<Advice> getAdvices()
        Collection of advice provided for this change, useful for determining the possible impact of this change.
        Returns:
        value or null for none
      • setAdvices

        public ConfigChange setAdvices(List<Advice> advices)
        Collection of advice provided for this change, useful for determining the possible impact of this change.
        Parameters:
        advices - advices or null for none
      • getChangeType

        public String getChangeType()
        The type for this change, either ADDED, REMOVED, or MODIFIED.
        Returns:
        value or null for none
      • setChangeType

        public ConfigChange setChangeType(String changeType)
        The type for this change, either ADDED, REMOVED, or MODIFIED.
        Parameters:
        changeType - changeType or null for none
      • getElement

        public 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.ListBooks"].restriction - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - logging.producer_destinations[0]
        Returns:
        value or null for none
      • setElement

        public ConfigChange setElement(String element)
        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]
        Parameters:
        element - element or null for none
      • getNewValue

        public String getNewValue()
        Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
        Returns:
        value or null for none
      • setNewValue

        public ConfigChange setNewValue(String newValue)
        Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
        Parameters:
        newValue - newValue or null for none
      • getOldValue

        public String getOldValue()
        Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
        Returns:
        value or null for none
      • setOldValue

        public ConfigChange setOldValue(String oldValue)
        Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
        Parameters:
        oldValue - oldValue or null for none
      • set

        public ConfigChange set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public ConfigChange clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy