View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRuleInstance (google_api_content_warehouse v0.4.0)

When we apply a rule to define a particular cluster, we have a RuleInstance. Some kinds of rules for clusters define more than one cluster. In those rules we say things like "for each entity X with this property, we create a cluster where..."; each particular cluster that we create is the result of an instance of that rule, where the argument X has been bound to a particular entity (note that this also applies to rules that define only one cluster; in that case, there are no arguments). An entity that is part of a cluster plays a "role" in such a cluster. This message describes such an instantiation of a rule with a role and with concrete values for the arguments.

Attributes

  • midList (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoMidListRuleInstance.t, default: nil) - Exactly one of these *RuleInstance fields needs to be present for clusters which have not been merged; it selects the specific kind of rule instance. For merged clusters both fields may be present.
  • relation (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRelationRuleInstance.t), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRuleInstance{
    midList:
      GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoMidListRuleInstance.t()
      | nil,
    relation:
      [
        GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRelationRuleInstance.t()
      ]
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.