def sample_purge_contexts():
                # Create a client
                client = aiplatform_v1.MetadataServiceClient()

                # Initialize request argument(s)
                request = aiplatform_v1.PurgeContextsRequest(
                    parent="parent_value",
                    filter="filter_value",
                )

                # Make the request
                operation = client.purge_contexts(request=request)

                print("Waiting for operation to complete...")

                response = operation.result()

                # Handle the response
                print(response)