SDK reference / Models / AgentPolicies

AgentPolicy

Kind: class

Namespace: Egulu.Sdk.Models.AgentPolicies

A customer agent policy: one or more Cedar forbid statements, versioned.

Properties

NameTypeJSON nameDescription
CreateTimeDateTimeOffset?createTimeThe createTime property
Descriptionstring?descriptionUp to 300 characters: what the policy is for.
DisplayNamestring?displayName1 to 63 characters.
Enabledbool?enabledWhether the policy is in force. A new policy is disabled until it is enabled (test it first).
Etagstring?etagThe etag property
Namestring?nameprojects/{project}/locations/{location}/agentPolicies/{policy}.
StatementCountint?statementCountHow many statements the current version holds.
Textstring?textThe policy text: Cedar forbid statements, at most 16 KiB and 20 statements. A policy that does not validate is refused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
UpdatedBystring?updatedByWho wrote the current version.
Versionint?versionThe current version, from 1. Every change of the text writes a new version.