expectedNextState property
The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated.
Services not integrated with custom org policy can omit this field.
Services integrated with custom org policy must populate this field for
all requests where the API call changes the state of the resource. Custom
org policy backend uses these attributes to enforce custom org policies.
When a proto is wrapped, it is generally the One Platform API proto. When
a JSON string is wrapped, use google.protobuf.StringValue
for the inner
value. It is sufficient to pass just the max set of attributes that are
allowed for use in custom constraints; other attributes can be omitted.
See go/custom-constraints-org-policy-integration-guide for additional
details.
The values for Object must be JSON objects. It can consist of num
,
String
, bool
and null
as well as Map
and List
values.
Implementation
core.Map<core.String, core.Object?>? expectedNextState;