Class InstanceConfigInfo

  • Direct Known Subclasses:
    InstanceConfig

    public class InstanceConfigInfo
    extends Object
    Represents a Cloud Spanner instance config resource.
    • Method Detail

      • getId

        public InstanceConfigId getId()
        Returns the id of this instance config.
      • getDisplayName

        public String getDisplayName()
        Returns the display name of this instance config.
      • getReplicas

        public List<ReplicaInfo> getReplicas()
        The geographic placement of nodes in this instance configuration and their replication properties.
      • getLeaderOptions

        public List<String> getLeaderOptions()
        Allowed values of the default leader schema option for databases in instances that use this instance configuration.
      • getOptionalReplicas

        public List<ReplicaInfo> getOptionalReplicas()
        The available optional replicas to choose from for user managed configurations. Populated for Google managed configurations.
      • getBaseConfig

        public InstanceConfigInfo getBaseConfig()
        Base configuration, e.g. projects/<project_name>/instanceConfigs/nam3, based on which this configuration is created. Only set for user managed configurations. The base config must refer to a configuration of type GOOGLE_MANAGED.
      • getConfigType

        public InstanceConfigInfo.Type getConfigType()
        Config type, indicates whether this instance config is a Google or User Managed Configuration.
      • getEtag

        public String getEtag()
        etag, which is used for optimistic concurrency control as a way to help prevent simultaneous updates of an instance config from overwriting each other.
      • getReconciling

        public boolean getReconciling()
        If true, the instance config is being created or updated. If false, there are no ongoing operations for the instance config.
      • getLabels

        public Map<String,​String> getLabels()
        Cloud Labels, which can be used to filter collections of resources. They can be used to control how resource metrics are aggregated.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object