The inline source to purge identity mapping entries from.
↳ identity_mapping_store
string
Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}
↳ filter
string
Filter matching identity mappings to purge. The eligible field for filtering is: * * update_time: in ISO 8601 "zulu" format. * * external_id Examples: * * Deleting all identity mappings updated in a time range: update_time > "2012-04-23T18:25:43.511Z" AND update_time < "2012-04-23T18:30:43.511Z" * * Deleting all identity mappings for a given external_id: external_id = "id1" * * Deleting all identity mappings inside an identity mapping store: * The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.
↳ force
bool
Actually performs the purge. If force is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field.
getInlineSource
The inline source to purge identity mapping entries from.
Required. The name of the Identity Mapping Store to purge Identity Mapping
Entries from. Format:
projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}
Returns
Type
Description
string
setIdentityMappingStore
Required. The name of the Identity Mapping Store to purge Identity Mapping
Entries from. Format:
projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Filter matching identity mappings to purge.
The eligible field for filtering is:
update_time: in ISO 8601 "zulu" format.
external_id
Examples:
Deleting all identity mappings updated in a time range:
update_time > "2012-04-23T18:25:43.511Z" AND update_time <
"2012-04-23T18:30:43.511Z"
Deleting all identity mappings for a given external_id:
external_id = "id1"
Deleting all identity mappings inside an identity mapping store:
*
The filtering fields are assumed to have an implicit AND.
Should not be used with source. An error will be thrown, if both are
provided.
Returns
Type
Description
string
setFilter
Filter matching identity mappings to purge.
The eligible field for filtering is:
update_time: in ISO 8601 "zulu" format.
external_id
Examples:
Deleting all identity mappings updated in a time range:
update_time > "2012-04-23T18:25:43.511Z" AND update_time <
"2012-04-23T18:30:43.511Z"
Deleting all identity mappings for a given external_id:
external_id = "id1"
Deleting all identity mappings inside an identity mapping store:
*
The filtering fields are assumed to have an implicit AND.
Should not be used with source. An error will be thrown, if both are
provided.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getForce
Actually performs the purge. If force is set to false, return the
expected purge count without deleting any identity mappings. This field is
only supported for purge with filter. For input source this field is
ignored and data will be purged regardless of the value of this field.
Returns
Type
Description
bool
hasForce
clearForce
setForce
Actually performs the purge. If force is set to false, return the
expected purge count without deleting any identity mappings. This field is
only supported for purge with filter. For input source this field is
ignored and data will be purged regardless of the value of this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class PurgeIdentityMappingsRequest (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.PurgeIdentityMappingsRequest)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.PurgeIdentityMappingsRequest)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.PurgeIdentityMappingsRequest)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.PurgeIdentityMappingsRequest)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.PurgeIdentityMappingsRequest)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.PurgeIdentityMappingsRequest)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.PurgeIdentityMappingsRequest)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.PurgeIdentityMappingsRequest)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.PurgeIdentityMappingsRequest)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.PurgeIdentityMappingsRequest)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.PurgeIdentityMappingsRequest)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.PurgeIdentityMappingsRequest)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.PurgeIdentityMappingsRequest)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.PurgeIdentityMappingsRequest)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.PurgeIdentityMappingsRequest)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.PurgeIdentityMappingsRequest)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.PurgeIdentityMappingsRequest) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class PurgeIdentityMappingsRequest.\n\nRequest message for\n[IdentityMappingStoreService.PurgeIdentityMappings](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.IdentityMappingStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_IdentityMappingStoreServiceClient__purgeIdentityMappings__)\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInlineSource\n\nThe inline source to purge identity mapping entries from.\n\n### hasInlineSource\n\n### setInlineSource\n\nThe inline source to purge identity mapping entries from.\n\n### getIdentityMappingStore\n\nRequired. The name of the Identity Mapping Store to purge Identity Mapping\nEntries from. Format:\n`projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`\n\n### setIdentityMappingStore\n\nRequired. The name of the Identity Mapping Store to purge Identity Mapping\nEntries from. Format:\n`projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`\n\n### getFilter\n\nFilter matching identity mappings to purge.\n\nThe eligible field for filtering is:\n\n- `update_time`: in ISO 8601 \"zulu\" format.\n- `external_id` Examples:\n- Deleting all identity mappings updated in a time range: `update_time \u003e \"2012-04-23T18:25:43.511Z\" AND update_time \u003c\n \"2012-04-23T18:30:43.511Z\"`\n- Deleting all identity mappings for a given external_id: `external_id = \"id1\"`\n- Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.\n\n### setFilter\n\nFilter matching identity mappings to purge.\n\nThe eligible field for filtering is:\n\n- `update_time`: in ISO 8601 \"zulu\" format.\n- `external_id` Examples:\n- Deleting all identity mappings updated in a time range: `update_time \u003e \"2012-04-23T18:25:43.511Z\" AND update_time \u003c\n \"2012-04-23T18:30:43.511Z\"`\n- Deleting all identity mappings for a given external_id: `external_id = \"id1\"`\n- Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.\n\n### getForce\n\nActually performs the purge. If `force` is set to false, return the\nexpected purge count without deleting any identity mappings. This field is\nonly supported for purge with filter. For input source this field is\nignored and data will be purged regardless of the value of this field.\n\n### hasForce\n\n### clearForce\n\n### setForce\n\nActually performs the purge. If `force` is set to false, return the\nexpected purge count without deleting any identity mappings. This field is\nonly supported for purge with filter. For input source this field is\nignored and data will be purged regardless of the value of this field.\n\n### getSource"]]