Resource: Remediation
Represents a persistent remediation applied to a brand.
| JSON representation |
|---|
{ "name": string, "targetEntityId": string, "targetEntityType": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name. Format: projects/{project}/locations/{location}/brands/{brand}/remediations/{remediation} |
targetEntityId |
Required. The ID of the menu entity this remediation targets. |
targetEntityType |
Required. The type of the menu entity this remediation targets. |
remediationAction |
Required. The underlying remediation action to be executed during ingestion. |
state |
Output only. The current state of this remediation. |
targetStores[] |
Optional. If empty, this remediation applies to all stores within the brand. If populated, it only applies to the specific stores listed here. |
createTime |
Output only. The time this remediation was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time this remediation was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
State
The lifecycle state of the remediation.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified state. |
ACTIVE |
The remediation is actively being applied during ingestion. |
SUSPENDED |
The remediation is temporarily suspended. |
Methods |
|
|---|---|
|
Creates a remediation. |
|
Deletes a remediation. |
|
Gets a remediation. |
|
Lists remediations. |
|
Resumes a suspended remediation. |
|
Suspends a remediation. |