Response for ApplyWorkloadUpdate endpoint.
JSON representation |
---|
{
"appliedUpdate": {
object ( |
Fields | |
---|---|
appliedUpdate |
The update that was applied. |
WorkloadUpdate
A workload update is a change to the workload's compliance configuration.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. Immutable. Identifier. Resource name of the WorkloadUpdate. Format: organizations/{organization}/locations/{location}/workloads/{workload}/updates/{update} |
state |
Output only. The state of the update. |
createTime |
The time the update was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
The time the update was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
details |
The details of the update. |
UpdateDetails
The details of the update.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field kind . The type of the update. This can be an update to a org policy of a resource e.g. gcp.resourceLocation org policy. kind can be only one of the following: |
|
orgPolicyUpdate |
Update to one org policy, e.g. gcp.resourceLocation. |
OrgPolicyUpdate
Represents an update for an org policy control applied on an Assured Workload resource. The inherited org policy is not considered.
JSON representation |
---|
{ "appliedPolicy": { object ( |
Fields | |
---|---|
appliedPolicy |
The org policy currently applied on the assured workload resource. |
suggestedPolicy |
The suggested org policy that replaces the applied policy. |
OrgPolicy
This assured workload service object is used to represent the org policy attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy object but with functionality that is limited to what is supported by Assured Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).
JSON representation |
---|
{
"resource": string,
"constraint": string,
"rule": {
object ( |
Fields | |
---|---|
resource |
Resource that the OrgPolicy attaches to. Format: folders/123" projects/123". |
constraint |
The constraint name of the OrgPolicy. e.g. "constraints/gcp.resourceLocations". |
rule |
The rule of the OrgPolicy. |
inherit |
If |
reset |
Ignores policies set above this resource and restores to the |
PolicyRule
A rule used to express this policy.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field kind . The kind of the rule. kind can be only one of the following: |
|
values |
ListPolicy only when custom values are specified. |
allowAll |
ListPolicy only when all values are allowed. |
denyAll |
ListPolicy only when all values are denied. |
enforce |
BooleanPolicy only. |
StringValues
The values allowed for a ListPolicy.
JSON representation |
---|
{ "allowedValues": [ string ], "deniedValues": [ string ] } |
Fields | |
---|---|
allowedValues[] |
List of values allowed at this resource. |
deniedValues[] |
List of values denied at this resource. |