[[["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 Artifact Registry V1 Client - Class CleanupPolicyCondition (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-artifact-registry/latest/V1.CleanupPolicyCondition)\n- [1.2.0](/php/docs/reference/cloud-artifact-registry/1.2.0/V1.CleanupPolicyCondition)\n- [1.1.3](/php/docs/reference/cloud-artifact-registry/1.1.3/V1.CleanupPolicyCondition)\n- [1.0.0](/php/docs/reference/cloud-artifact-registry/1.0.0/V1.CleanupPolicyCondition)\n- [0.6.5](/php/docs/reference/cloud-artifact-registry/0.6.5/V1.CleanupPolicyCondition)\n- [0.5.1](/php/docs/reference/cloud-artifact-registry/0.5.1/V1.CleanupPolicyCondition)\n- [0.4.4](/php/docs/reference/cloud-artifact-registry/0.4.4/V1.CleanupPolicyCondition)\n- [0.3.13](/php/docs/reference/cloud-artifact-registry/0.3.13/V1.CleanupPolicyCondition) \nReference documentation and code samples for the Google Cloud Artifact Registry V1 Client class CleanupPolicyCondition.\n\nCleanupPolicyCondition is a set of conditions attached to a CleanupPolicy.\n\nIf multiple entries are set, all must be satisfied for the condition to be\nsatisfied.\n\nGenerated from protobuf message `google.devtools.artifactregistry.v1.CleanupPolicyCondition`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ArtifactRegistry \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTagState\n\nMatch versions by tag status.\n\n### hasTagState\n\n### clearTagState\n\n### setTagState\n\nMatch versions by tag status.\n\n### getTagPrefixes\n\nMatch versions by tag prefix. Applied on any prefix match.\n\n### setTagPrefixes\n\nMatch versions by tag prefix. Applied on any prefix match.\n\n### getVersionNamePrefixes\n\nMatch versions by version name prefix. Applied on any prefix match.\n\n### setVersionNamePrefixes\n\nMatch versions by version name prefix. Applied on any prefix match.\n\n### getPackageNamePrefixes\n\nMatch versions by package prefix. Applied on any prefix match.\n\n### setPackageNamePrefixes\n\nMatch versions by package prefix. Applied on any prefix match.\n\n### getOlderThan\n\nMatch versions older than a duration.\n\n### hasOlderThan\n\n### clearOlderThan\n\n### setOlderThan\n\nMatch versions older than a duration.\n\n### getNewerThan\n\nMatch versions newer than a duration.\n\n### hasNewerThan\n\n### clearNewerThan\n\n### setNewerThan\n\nMatch versions newer than a duration."]]