View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRelationRuleInstance (google_api_content_warehouse v0.3.0)

An instance of a "relation" rule. Each "relation" rule defines a number of clusters, one for each entity B that that has incoming links of a certain type R; all entities with an outgoing link to B of type R are part of that cluster.

Attributes

  • role (type: String.t, default: nil) -
  • rule (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRelationRule.t, default: nil) - The rule that this is an instance of. Required.
  • target (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityId.t, default: nil) - The one entity that the links of type R point to. Required.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRelationRuleInstance{
    role: String.t() | nil,
    rule:
      GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefClusterProtoRelationRule.t()
      | nil,
    target:
      GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityId.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.