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

Represents a set of rules from a single customer.

Attributes

  • description (type: String.t, default: nil) - Short description of the rule-set.
  • name (type: String.t, default: nil) - The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.
  • rules (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Rule.t), default: nil) - List of rules given by the customer.
  • source (type: String.t, default: nil) - Source of the rules i.e., customer name.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1RuleSet{
    description: String.t() | nil,
    name: String.t() | nil,
    rules:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Rule.t()
      ]
      | nil,
    source: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.